[arch-commits] Commit in polkit/repos (8 files)
Jan de Groot
jgc at archlinux.org
Thu Jun 25 04:58:44 UTC 2015
Date: Thursday, June 25, 2015 @ 06:58:43
Author: jgc
Revision: 241268
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
polkit/repos/testing-i686/
polkit/repos/testing-i686/PKGBUILD
(from rev 241267, polkit/trunk/PKGBUILD)
polkit/repos/testing-i686/polkit.install
(from rev 241267, polkit/trunk/polkit.install)
polkit/repos/testing-i686/polkit.pam
(from rev 241267, polkit/trunk/polkit.pam)
polkit/repos/testing-x86_64/
polkit/repos/testing-x86_64/PKGBUILD
(from rev 241267, polkit/trunk/PKGBUILD)
polkit/repos/testing-x86_64/polkit.install
(from rev 241267, polkit/trunk/polkit.install)
polkit/repos/testing-x86_64/polkit.pam
(from rev 241267, polkit/trunk/polkit.pam)
-------------------------------+
testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-i686/polkit.install | 9 +++++++++
testing-i686/polkit.pam | 7 +++++++
testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/polkit.install | 9 +++++++++
testing-x86_64/polkit.pam | 7 +++++++
6 files changed, 110 insertions(+)
Copied: polkit/repos/testing-i686/PKGBUILD (from rev 241267, polkit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-06-25 04:58:43 UTC (rev 241268)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.112
+pkgrel=4
+pkgdesc="Application development toolkit for controlling system-wide privileges"
+arch=(i686 x86_64)
+license=(LGPL)
+url="http://www.freedesktop.org/wiki/Software/polkit"
+depends=(glib2 pam expat systemd js17)
+makedepends=(intltool gtk-doc gobject-introspection git)
+install=polkit.install
+source=("git://anongit.freedesktop.org/polkit#commit=fb5076b7c05d01a532d593a4079a29cf2d63a228"
+ polkit.pam)
+md5sums=('SKIP'
+ '6564f95878297b954f0572bc1610dd15')
+
+build() {
+ cd $pkgname
+
+ NOCONFIGURE=1 ./autogen.sh
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
+ --enable-libsystemd-login=yes --disable-static \
+ --enable-gtk-doc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ chown 102 "$pkgdir/etc/polkit-1/rules.d"
+ chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
+
+ install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
+}
Copied: polkit/repos/testing-i686/polkit.install (from rev 241267, polkit/trunk/polkit.install)
===================================================================
--- testing-i686/polkit.install (rev 0)
+++ testing-i686/polkit.install 2015-06-25 04:58:43 UTC (rev 241268)
@@ -0,0 +1,9 @@
+post_install() {
+ getent group polkitd >/dev/null || groupadd -g 102 polkitd
+ getent passwd polkitd >/dev/null || useradd -c 'Policy Kit Daemon' -u 102 -g polkitd -d '/' -s /bin/false polkitd
+ passwd -l polkitd &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
Copied: polkit/repos/testing-i686/polkit.pam (from rev 241267, polkit/trunk/polkit.pam)
===================================================================
--- testing-i686/polkit.pam (rev 0)
+++ testing-i686/polkit.pam 2015-06-25 04:58:43 UTC (rev 241268)
@@ -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
Copied: polkit/repos/testing-x86_64/PKGBUILD (from rev 241267, polkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-06-25 04:58:43 UTC (rev 241268)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.112
+pkgrel=4
+pkgdesc="Application development toolkit for controlling system-wide privileges"
+arch=(i686 x86_64)
+license=(LGPL)
+url="http://www.freedesktop.org/wiki/Software/polkit"
+depends=(glib2 pam expat systemd js17)
+makedepends=(intltool gtk-doc gobject-introspection git)
+install=polkit.install
+source=("git://anongit.freedesktop.org/polkit#commit=fb5076b7c05d01a532d593a4079a29cf2d63a228"
+ polkit.pam)
+md5sums=('SKIP'
+ '6564f95878297b954f0572bc1610dd15')
+
+build() {
+ cd $pkgname
+
+ NOCONFIGURE=1 ./autogen.sh
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
+ --enable-libsystemd-login=yes --disable-static \
+ --enable-gtk-doc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ chown 102 "$pkgdir/etc/polkit-1/rules.d"
+ chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
+
+ install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
+}
Copied: polkit/repos/testing-x86_64/polkit.install (from rev 241267, polkit/trunk/polkit.install)
===================================================================
--- testing-x86_64/polkit.install (rev 0)
+++ testing-x86_64/polkit.install 2015-06-25 04:58:43 UTC (rev 241268)
@@ -0,0 +1,9 @@
+post_install() {
+ getent group polkitd >/dev/null || groupadd -g 102 polkitd
+ getent passwd polkitd >/dev/null || useradd -c 'Policy Kit Daemon' -u 102 -g polkitd -d '/' -s /bin/false polkitd
+ passwd -l polkitd &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
Copied: polkit/repos/testing-x86_64/polkit.pam (from rev 241267, polkit/trunk/polkit.pam)
===================================================================
--- testing-x86_64/polkit.pam (rev 0)
+++ testing-x86_64/polkit.pam 2015-06-25 04:58:43 UTC (rev 241268)
@@ -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
More information about the arch-commits
mailing list