2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Sistem genelinde ayrıcalıkları kontrol etmek için uygulama geliştirme araç seti
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://hal.freedesktop.org/docs/polkit
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: glib js1 gobject-introspection intltool libxslt docbook-xsl
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=polkit
|
|
|
|
|
version=0.113
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://www.freedesktop.org/software/$name/releases/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--enable-libsystemd-login=no \
|
|
|
|
|
--disable-static
|
|
|
|
|
make||make -j1
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
cat > $PKG/etc/pam.d/polkit-1 << "EOF"
|
|
|
|
|
# Begin /etc/pam.d/polkit-1
|
|
|
|
|
|
|
|
|
|
auth include system-auth
|
|
|
|
|
account include system-account
|
|
|
|
|
password include system-password
|
|
|
|
|
session include system-session
|
|
|
|
|
|
|
|
|
|
# End /etc/pam.d/polkit-1
|
|
|
|
|
EOF
|
|
|
|
|
}
|