summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/polkit
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:09:19 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:09:19 (GMT)
commitf9d54ab7c3853208484e304bc6cf40ab0f79d400 (patch)
treee2bbffe70261682751620c4bc1b02e0608546255 /abs/extra-testing/polkit
parent1bfd212351215d357966a3e528becb2771acf0fb (diff)
downloadlinhes_pkgbuild-f9d54ab7c3853208484e304bc6cf40ab0f79d400.zip
linhes_pkgbuild-f9d54ab7c3853208484e304bc6cf40ab0f79d400.tar.gz
linhes_pkgbuild-f9d54ab7c3853208484e304bc6cf40ab0f79d400.tar.bz2
polkit:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/extra-testing/polkit')
-rw-r--r--abs/extra-testing/polkit/PKGBUILD29
-rw-r--r--abs/extra-testing/polkit/polkit.pam7
2 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra-testing/polkit/PKGBUILD b/abs/extra-testing/polkit/PKGBUILD
new file mode 100644
index 0000000..78cbc77
--- /dev/null
+++ b/abs/extra-testing/polkit/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 72186 2010-03-13 19:06:23Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=polkit
+pkgver=0.96
+pkgrel=2
+pkgdesc="Application development toolkit for controlling system-wide privileges"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://www.freedesktop.org/wiki/Software/Policykit"
+depends=('eggdbus>=0.6' 'pam')
+makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
+replaces=('policykit')
+options=('!libtool')
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
+ polkit.pam)
+md5sums=('e0a06da501b04ed3bab986a9df5b5aa2'
+ '6564f95878297b954f0572bc1610dd15')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
+ --disable-static --enable-gtk-doc || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+ install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1" || return 1
+}
diff --git a/abs/extra-testing/polkit/polkit.pam b/abs/extra-testing/polkit/polkit.pam
new file mode 100644
index 0000000..04f53e0
--- /dev/null
+++ b/abs/extra-testing/polkit/polkit.pam
@@ -0,0 +1,7 @@
+auth requisite pam_nologin.so
+auth required pam_env.so
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_limits.so
+session required pam_unix.so
+password required pam_unix.so