[arch-commits] Commit in polkit/repos (8 files)

Jan de Groot jgc at archlinux.org
Tue Jun 2 06:08:23 UTC 2015


    Date: Tuesday, June 2, 2015 @ 08:08:22
  Author: jgc
Revision: 240000

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  polkit/repos/testing-i686/
  polkit/repos/testing-i686/PKGBUILD
    (from rev 239999, polkit/trunk/PKGBUILD)
  polkit/repos/testing-i686/polkit.install
    (from rev 239999, polkit/trunk/polkit.install)
  polkit/repos/testing-i686/polkit.pam
    (from rev 239999, polkit/trunk/polkit.pam)
  polkit/repos/testing-x86_64/
  polkit/repos/testing-x86_64/PKGBUILD
    (from rev 239999, polkit/trunk/PKGBUILD)
  polkit/repos/testing-x86_64/polkit.install
    (from rev 239999, polkit/trunk/polkit.install)
  polkit/repos/testing-x86_64/polkit.pam
    (from rev 239999, 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 239999, polkit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-06-02 06:08:22 UTC (rev 240000)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.112
+pkgrel=3
+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=f4d71e0de885010494b8b0b8d62ca910011d7544"
+        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 239999, polkit/trunk/polkit.install)
===================================================================
--- testing-i686/polkit.install	                        (rev 0)
+++ testing-i686/polkit.install	2015-06-02 06:08:22 UTC (rev 240000)
@@ -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 239999, polkit/trunk/polkit.pam)
===================================================================
--- testing-i686/polkit.pam	                        (rev 0)
+++ testing-i686/polkit.pam	2015-06-02 06:08:22 UTC (rev 240000)
@@ -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 239999, polkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-06-02 06:08:22 UTC (rev 240000)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.112
+pkgrel=3
+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=f4d71e0de885010494b8b0b8d62ca910011d7544"
+        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 239999, polkit/trunk/polkit.install)
===================================================================
--- testing-x86_64/polkit.install	                        (rev 0)
+++ testing-x86_64/polkit.install	2015-06-02 06:08:22 UTC (rev 240000)
@@ -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 239999, polkit/trunk/polkit.pam)
===================================================================
--- testing-x86_64/polkit.pam	                        (rev 0)
+++ testing-x86_64/polkit.pam	2015-06-02 06:08:22 UTC (rev 240000)
@@ -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