diff --git a/extra/polkit/PKGBUILD b/extra/polkit/PKGBUILD deleted file mode 100644 index fcd09bfa4..000000000 --- a/extra/polkit/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -# ALARM: Kevin Mihelich -# - added rules.d directory ownership to polkit.install - -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 -} diff --git a/extra/polkit/polkit.install b/extra/polkit/polkit.install deleted file mode 100644 index c4ea7227f..000000000 --- a/extra/polkit/polkit.install +++ /dev/null @@ -1,14 +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 /bin/nologin polkitd - passwd -l polkitd &>/dev/null - chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d - chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d -} - -post_upgrade() { - post_install - if (( $(vercmp $2 0.113-2) < 0 )); then - usermod -aG proc -s /usr/bin/nologin polkitd - fi -}