From 5a83f7a9b4ce987b2a944d70dd699268e6cf26b1 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 11 Aug 2009 23:13:46 +0200 Subject: policykit#0.9-3 --- extra/policykit/Pkgfile | 28 ++++++++++++++++++++++++++++ extra/policykit/policykit-no-pam.patch | 10 ++++++++++ 2 files changed, 38 insertions(+) create mode 100644 extra/policykit/Pkgfile create mode 100644 extra/policykit/policykit-no-pam.patch (limited to 'extra') diff --git a/extra/policykit/Pkgfile b/extra/policykit/Pkgfile new file mode 100644 index 000000000..37dffc04c --- /dev/null +++ b/extra/policykit/Pkgfile @@ -0,0 +1,28 @@ +# Description: Systeme d'abstraction de materiel +# URL: http://hal.freedesktop.org/docs/PolicyKit/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: dbus, expat + +name=policykit +version=0.9 +release=3 +source=(http://hal.freedesktop.org/releases/PolicyKit-${version}.tar.gz\ + $name-no-pam.patch) +build() { + cd PolicyKit-$version + patch -i $SRC/$name-no-pam.patch \ + src/polkit-dbus/polkit-resolve-exe-helper.c + sed -i "s/\-nonet//" doc/man/Makefile.in + ./configure --prefix=$GNOME_PREFIX\ + --sysconfdir=/etc \ + --libexecdir=$(pkg-config \ + --variable=prefix ORBit-2.0)/lib/PolicyKit \ + --mandir=$(pkg-config \ + --variable=prefix ORBit-2.0)/share/man \ + --localstatedir=/var \ + --with-authfw=shadow + + make + make DESTDIR=$PKG install +} diff --git a/extra/policykit/policykit-no-pam.patch b/extra/policykit/policykit-no-pam.patch new file mode 100644 index 000000000..ef7e5c5ac --- /dev/null +++ b/extra/policykit/policykit-no-pam.patch @@ -0,0 +1,10 @@ +--- polkit-resolve-exe-helper.c.orig 2008-10-30 22:03:03.321858941 -0500 ++++ polkit-resolve-exe-helper.c 2008-10-30 22:03:13.975859197 -0500 +@@ -43,7 +43,6 @@ + #ifdef HAVE_FREEBSD + #include + #endif +-#include + #include + #include + #include -- cgit v1.2.3-70-g09d2