mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
Added polkit
This commit is contained in:
parent
ee22cae43e
commit
382096d584
2 changed files with 35 additions and 0 deletions
28
extra/polkit/PKGBUILD
Executable file
28
extra/polkit/PKGBUILD
Executable file
|
@ -0,0 +1,28 @@
|
|||
# $Id: PKGBUILD 66482 2010-01-31 10:39:02Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=polkit
|
||||
pkgver=0.96
|
||||
pkgrel=1
|
||||
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||
arch=(arm)
|
||||
license=('LGPL')
|
||||
url="http://www.freedesktop.org/wiki/Software/Policykit"
|
||||
depends=('eggdbus>=0.6' 'pam')
|
||||
makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
|
||||
options=('!libtool')
|
||||
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
|
||||
polkit.pam)
|
||||
md5sums=('e0a06da501b04ed3bab986a9df5b5aa2'
|
||||
'6564f95878297b954f0572bc1610dd15')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
|
||||
--disable-static || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1" || return 1
|
||||
}
|
7
extra/polkit/polkit.pam
Executable file
7
extra/polkit/polkit.pam
Executable file
|
@ -0,0 +1,7 @@
|
|||
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
|
Loading…
Reference in a new issue