[arch-commits] Commit in polkit/trunk (PKGBUILD polkit.pam)
Jan Steffens
heftig at archlinux.org
Wed Aug 12 00:36:05 UTC 2015
Date: Wednesday, August 12, 2015 @ 02:36:04
Author: heftig
Revision: 243185
0.113
Modified:
polkit/trunk/PKGBUILD
Deleted:
polkit/trunk/polkit.pam
------------+
PKGBUILD | 25 ++++++++++++-------------
polkit.pam | 7 -------
2 files changed, 12 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-11 22:59:54 UTC (rev 243184)
+++ PKGBUILD 2015-08-12 00:36:04 UTC (rev 243185)
@@ -2,8 +2,8 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=polkit
-pkgver=0.112
-pkgrel=4
+pkgver=0.113
+pkgrel=1
pkgdesc="Application development toolkit for controlling system-wide privileges"
arch=(i686 x86_64)
license=(LGPL)
@@ -11,29 +11,28 @@
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')
+source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('4b77776c9e4f897dcfe03b2c34198edf')
build() {
- cd $pkgname
+ cd $pkgname-$pkgver
- 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
+ --enable-gtk-doc --with-os-type=redhat
make
}
+check() {
+ cd $pkgname-$pkgver
+ make -k check || :
+}
+
package() {
- cd $pkgname
+ cd $pkgname-$pkgver
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"
}
Deleted: polkit.pam
===================================================================
--- polkit.pam 2015-08-11 22:59:54 UTC (rev 243184)
+++ polkit.pam 2015-08-12 00:36:04 UTC (rev 243185)
@@ -1,7 +0,0 @@
-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