milis/talimatname/genel/c/consolekit2/talimat

54 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Kullanıcı tanımlama ve izleme, oturumlar girişi ve aktif oturumların çerçevesi
2016-02-24 01:27:23 +01:00
# URL: https://github.com/ConsoleKit2/ConsoleKit2
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: acl dbus glib xorg-libx11 polkit eudev pam zlib xmlto
2018-08-17 13:19:12 +02:00
# Grup: sistem
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=consolekit2
surum=1.0.0
devir=2
kaynak=(https://github.com/Consolekit2/ConsoleKit2/releases/download/$surum/ConsoleKit2-$surum.tar.bz2
2016-02-24 01:27:23 +01:00
consolekit2.tmpfiles.conf
75-consolekit2.rules
consolekit2.logrotate)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ConsoleKit2-$surum
2016-02-24 01:27:23 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--with-rundir=/run \
--libexecdir=/usr/lib/ConsoleKit \
--localstatedir=/var \
--enable-polkit \
--enable-pam-module \
--enable-udev-acl \
--enable-docbook-docs \
--with-dbus-services=/usr/share/dbus-1/services \
--with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \
--without-systemdsystemunitdir
make
make DESTDIR=$PKG install
install -Dm644 $SRC/consolekit2.tmpfiles.conf $PKG/usr/lib/tmpfiles.d/consolekit.conf
rm -rf $PKG/run
install -D -m644 $SRC/consolekit2.logrotate $PKG/etc/logrotate.d/consolekit
install -dm700 -o polkitd $PKG/usr/share/polkit-1/rules.d
install -m644 $SRC/75-consolekit2.rules $PKG/usr/share/polkit-1/rules.d/75-consolekit.rules
install -dm755 $PKG/etc/pam.d/
cat >> $PKG/etc/pam.d/consolekit << "EOF"
auth include system-login
account include system-login
session include system-login
password include system-login
session optional pam_ck_connector.so nox11
EOF
}