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

Jan Steffens heftig at archlinux.org
Wed Aug 12 00:36:59 UTC 2015


    Date: Wednesday, August 12, 2015 @ 02:36:59
  Author: heftig
Revision: 243186

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

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

-------------------------------+
 testing-i686/PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 testing-i686/polkit.install   |    9 +++++++++
 testing-x86_64/PKGBUILD       |   38 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/polkit.install |    9 +++++++++
 4 files changed, 94 insertions(+)

Copied: polkit/repos/testing-i686/PKGBUILD (from rev 243185, polkit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-08-12 00:36:59 UTC (rev 243186)
@@ -0,0 +1,38 @@
+# $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/polkit.install (from rev 243185, polkit/trunk/polkit.install)
===================================================================
--- testing-i686/polkit.install	                        (rev 0)
+++ testing-i686/polkit.install	2015-08-12 00:36:59 UTC (rev 243186)
@@ -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/PKGBUILD (from rev 243185, polkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-08-12 00:36:59 UTC (rev 243186)
@@ -0,0 +1,38 @@
+# $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/polkit.install (from rev 243185, polkit/trunk/polkit.install)
===================================================================
--- testing-x86_64/polkit.install	                        (rev 0)
+++ testing-x86_64/polkit.install	2015-08-12 00:36:59 UTC (rev 243186)
@@ -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
+}



More information about the arch-commits mailing list