[arch-commits] Commit in polkit/repos/extra-x86_64 (PKGBUILD PKGBUILD polkit.install)
Jan Steffens
heftig at archlinux.org
Sat Dec 16 02:30:54 UTC 2017
Date: Saturday, December 16, 2017 @ 02:30:53
Author: heftig
Revision: 312954
archrelease: copy trunk to extra-x86_64
Added:
polkit/repos/extra-x86_64/PKGBUILD
(from rev 312953, polkit/trunk/PKGBUILD)
Deleted:
polkit/repos/extra-x86_64/PKGBUILD
polkit/repos/extra-x86_64/polkit.install
----------------+
PKGBUILD | 110 +++++++++++++++++++++++++++++--------------------------
polkit.install | 18 ---------
2 files changed, 58 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-16 02:30:13 UTC (rev 312953)
+++ PKGBUILD 2017-12-16 02:30:53 UTC (rev 312954)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=polkit
-pkgver=0.113+29+g3272a98
-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 js)
-makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive)
-install=polkit.install
-_commit=3272a988655c3236b55bad70e9a3af20857f384b # master
-source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
-
- ./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
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
-}
-
-check() {
- cd $pkgname
- make -k check || :
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-
- chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
- chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
-}
Copied: polkit/repos/extra-x86_64/PKGBUILD (from rev 312953, polkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-16 02:30:53 UTC (rev 312954)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=polkit
+pkgver=0.113+34+g29ba7af
+pkgrel=1
+pkgdesc="Application development toolkit for controlling system-wide privileges"
+arch=(x86_64)
+license=(LGPL)
+url="https://www.freedesktop.org/wiki/Software/polkit/"
+depends=(glib2 pam expat systemd js)
+makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive)
+_commit=29ba7afba1b79a325183a71966f35926dfdf506e # master
+source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib \
+ --enable-libsystemd-login=yes --disable-static \
+ --enable-gtk-doc --with-os-type=redhat
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
+ chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
+
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" <<END
+u polkitd 102 "PolicyKit daemon"
+m polkitd proc
+END
+}
+
+# vim: ts=2 sw=2 et:
Deleted: polkit.install
===================================================================
--- polkit.install 2017-12-16 02:30:13 UTC (rev 312953)
+++ polkit.install 2017-12-16 02:30:53 UTC (rev 312954)
@@ -1,18 +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 -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
-
- if (( $(vercmp $2 0.113-4) < 0 )); then
- chown root:102 /{etc,usr/share}/polkit-1/rules.d
- chmod 750 /{etc,usr/share}/polkit-1/rules.d
- fi
-}
More information about the arch-commits
mailing list