talimat 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Tanım: Kullanıcı tanımlama ve izleme, oturumlar girişi ve aktif oturumların çerçevesi
  2. # URL: https://github.com/ConsoleKit2/ConsoleKit2
  3. # Paketçi: milisarge
  4. # Gerekler: acl dbus glib xorg-libx11 polkit eudev pam zlib xmlto
  5. # Grup: sistem
  6. isim=consolekit2
  7. surum=1.0.0
  8. devir=2
  9. kaynak=(https://github.com/Consolekit2/ConsoleKit2/releases/download/$surum/ConsoleKit2-$surum.tar.bz2
  10. consolekit2.tmpfiles.conf
  11. 75-consolekit2.rules
  12. consolekit2.logrotate)
  13. derle() {
  14. cd ConsoleKit2-$surum
  15. ./configure \
  16. --prefix=/usr \
  17. --sysconfdir=/etc \
  18. --sbindir=/usr/bin \
  19. --with-rundir=/run \
  20. --libexecdir=/usr/lib/ConsoleKit \
  21. --localstatedir=/var \
  22. --enable-polkit \
  23. --enable-pam-module \
  24. --enable-udev-acl \
  25. --enable-docbook-docs \
  26. --with-dbus-services=/usr/share/dbus-1/services \
  27. --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \
  28. --without-systemdsystemunitdir
  29. make
  30. make DESTDIR=$PKG install
  31. install -Dm644 $SRC/consolekit2.tmpfiles.conf $PKG/usr/lib/tmpfiles.d/consolekit.conf
  32. rm -rf $PKG/run
  33. install -D -m644 $SRC/consolekit2.logrotate $PKG/etc/logrotate.d/consolekit
  34. install -dm700 -o polkitd $PKG/usr/share/polkit-1/rules.d
  35. install -m644 $SRC/75-consolekit2.rules $PKG/usr/share/polkit-1/rules.d/75-consolekit.rules
  36. install -dm755 $PKG/etc/pam.d/
  37. cat >> $PKG/etc/pam.d/consolekit << "EOF"
  38. auth include system-login
  39. account include system-login
  40. session include system-login
  41. password include system-login
  42. session optional pam_ck_connector.so nox11
  43. EOF
  44. }