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

Jan Steffens heftig at archlinux.org
Wed Aug 12 04:46:15 UTC 2015


    Date: Wednesday, August 12, 2015 @ 06:46:15
  Author: heftig
Revision: 243188

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

Added:
  polkit/repos/testing-i686/PKGBUILD
    (from rev 243187, polkit/trunk/PKGBUILD)
  polkit/repos/testing-i686/polkit.install
    (from rev 243187, polkit/trunk/polkit.install)
  polkit/repos/testing-x86_64/PKGBUILD
    (from rev 243187, polkit/trunk/PKGBUILD)
  polkit/repos/testing-x86_64/polkit.install
    (from rev 243187, polkit/trunk/polkit.install)
Deleted:
  polkit/repos/testing-i686/PKGBUILD
  polkit/repos/testing-i686/polkit.install
  polkit/repos/testing-x86_64/PKGBUILD
  polkit/repos/testing-x86_64/polkit.install

-------------------------------+
 /PKGBUILD                     |   76 ++++++++++++++++++++++++++++++++++++++++
 /polkit.install               |   26 +++++++++++++
 testing-i686/PKGBUILD         |   38 --------------------
 testing-i686/polkit.install   |    9 ----
 testing-x86_64/PKGBUILD       |   38 --------------------
 testing-x86_64/polkit.install |    9 ----
 6 files changed, 102 insertions(+), 94 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2015-08-12 04:45:04 UTC (rev 243187)
+++ testing-i686/PKGBUILD	2015-08-12 04:46:15 UTC (rev 243188)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=polkit
-pkgver=0.113
-pkgrel=1
-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=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
-      --enable-libsystemd-login=yes --disable-static \
-      --enable-gtk-doc --with-os-type=redhat
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make -k check || :
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  chown 102 "$pkgdir/etc/polkit-1/rules.d"
-  chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
-}

Copied: polkit/repos/testing-i686/PKGBUILD (from rev 243187, polkit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-08-12 04:46:15 UTC (rev 243188)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.113
+pkgrel=2
+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=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
+      --enable-libsystemd-login=yes --disable-static \
+      --enable-gtk-doc --with-os-type=redhat
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check || :
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  chown 102 "$pkgdir/etc/polkit-1/rules.d"
+  chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Deleted: testing-i686/polkit.install
===================================================================
--- testing-i686/polkit.install	2015-08-12 04:45:04 UTC (rev 243187)
+++ testing-i686/polkit.install	2015-08-12 04:46:15 UTC (rev 243188)
@@ -1,9 +0,0 @@
-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.install (from rev 243187, polkit/trunk/polkit.install)
===================================================================
--- testing-i686/polkit.install	                        (rev 0)
+++ testing-i686/polkit.install	2015-08-12 04:46:15 UTC (rev 243188)
@@ -0,0 +1,13 @@
+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 -G proc -d '/' -s /usr/bin/nologin polkitd
+  passwd -l polkitd &>/dev/null
+}
+
+post_upgrade() {
+  post_install
+
+  if (( $(vercmp $2 0.113-2) < 0 )); then
+    usermod -aG proc -s /usr/bin/nologin polkitd
+  fi
+}

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2015-08-12 04:45:04 UTC (rev 243187)
+++ testing-x86_64/PKGBUILD	2015-08-12 04:46:15 UTC (rev 243188)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=polkit
-pkgver=0.113
-pkgrel=1
-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=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
-      --enable-libsystemd-login=yes --disable-static \
-      --enable-gtk-doc --with-os-type=redhat
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make -k check || :
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  chown 102 "$pkgdir/etc/polkit-1/rules.d"
-  chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
-}

Copied: polkit/repos/testing-x86_64/PKGBUILD (from rev 243187, polkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-08-12 04:46:15 UTC (rev 243188)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.113
+pkgrel=2
+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=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
+      --enable-libsystemd-login=yes --disable-static \
+      --enable-gtk-doc --with-os-type=redhat
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check || :
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  chown 102 "$pkgdir/etc/polkit-1/rules.d"
+  chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Deleted: testing-x86_64/polkit.install
===================================================================
--- testing-x86_64/polkit.install	2015-08-12 04:45:04 UTC (rev 243187)
+++ testing-x86_64/polkit.install	2015-08-12 04:46:15 UTC (rev 243188)
@@ -1,9 +0,0 @@
-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.install (from rev 243187, polkit/trunk/polkit.install)
===================================================================
--- testing-x86_64/polkit.install	                        (rev 0)
+++ testing-x86_64/polkit.install	2015-08-12 04:46:15 UTC (rev 243188)
@@ -0,0 +1,13 @@
+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 -G proc -d '/' -s /usr/bin/nologin polkitd
+  passwd -l polkitd &>/dev/null
+}
+
+post_upgrade() {
+  post_install
+
+  if (( $(vercmp $2 0.113-2) < 0 )); then
+    usermod -aG proc -s /usr/bin/nologin polkitd
+  fi
+}



More information about the arch-commits mailing list