[Frugalware-git] gnometesting: gksu-frugalware-0.1-1-i686 *new package *gksu script that use pam for replaces gksu *gksu is broken with new gnome-keyring *gksu-polkit, new version of gksu is broken as well

bouleetbil bouleetbil at frogdev.info
Sun Mar 28 23:34:59 CEST 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=ba7ec57aa86ee4432f163665337c5473bacd34b1

commit ba7ec57aa86ee4432f163665337c5473bacd34b1
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Sun Mar 28 22:47:02 2010 +0200

gksu-frugalware-0.1-1-i686
*new package
*gksu script that use pam for replaces gksu
*gksu is broken with new gnome-keyring
*gksu-polkit, new version of gksu is broken as well

diff --git a/source/gnome/gksu-frugalware/FrugalBuild b/source/gnome/gksu-frugalware/FrugalBuild
new file mode 100644
index 0000000..b822ed0
--- /dev/null
+++ b/source/gnome/gksu-frugalware/FrugalBuild
@@ -0,0 +1,43 @@
+# Compiling time: 0 SBU
+# Maintainer: bouleetbil <bouleetbil at frogdev.info>
+
+pkgname=gksu-frugalware
+pkgver=0.1
+up2date=$pkgver
+pkgrel=1
+pkgdesc="Launch X application as root"
+rodepends=('gtk+2' 'gtk-usermode')
+url=http://www.frugalware.org
+groups=('gnome' 'gnome-apps')
+archs=('i686' 'x86_64' 'ppc')
+replaces=('libgksu' 'gksu')
+conflicts=('gksu')
+provides=('gksu')
+
+build() {
+	Fmkdir usr/share/apps/gksu
+	Fmkdir etc/pam.d
+	Fmkdir etc/security/console.apps
+
+cat > $Fdestdir/usr/share/apps/gksu/gksu << "EOF"
+#!/bin/sh
+exec $@
+EOF
+
+	chmod +x $Fdestdir/usr/share/apps/gksu/gksu || Fdie
+
+cat > $Fdestdir/etc/pam.d/gksu << "EOF"
+#%PAM-1.0
+auth        include     config-util
+account     include     config-util
+session     include     config-util
+EOF
+
+cat >  $Fdestdir/etc/security/console.apps/gksu << "EOF"
+USER=root
+PROGRAM=/usr/share/apps/gksu/gksu
+SESSION=true
+EOF
+
+	Fln /usr/bin/consolehelper /usr/bin/gksu
+}


More information about the Frugalware-git mailing list