2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Sistem genelinde ayrıcalıkları kontrol etmek için uygulama geliştirme araç seti
|
|
|
|
|
# URL: http://hal.freedesktop.org/docs/polkit
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: glib js1 gobject-introspection intltool libxslt docbook-xsl
|
2018-07-31 14:09:08 +02:00
|
|
|
|
# Grup: güvenlik geliştirme
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=polkit
|
|
|
|
|
surum=0.113
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(http://www.freedesktop.org/software/$isim/releases/$isim-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
|
|
|
|
|
./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
|
|
|
|
|
}
|