talimat 850 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Tanım: Sistem genelinde ayrıcalıkları kontrol etmek için uygulama geliştirme araç seti
  2. # URL: http://hal.freedesktop.org/docs/polkit
  3. # Paketçi: milisarge
  4. # Gerekler: glib js1 gobject-introspection intltool libxslt docbook-xsl
  5. # Grup: güvenlik geliştirme
  6. isim=polkit
  7. surum=0.113
  8. devir=1
  9. kaynak=(http://www.freedesktop.org/software/$isim/releases/$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. ./configure --prefix=/usr \
  13. --sysconfdir=/etc \
  14. --mandir=/usr/share/man \
  15. --localstatedir=/var \
  16. --enable-libsystemd-login=no \
  17. --disable-static
  18. make||make -j1
  19. make DESTDIR=$PKG install
  20. cat > $PKG/etc/pam.d/polkit-1 << "EOF"
  21. # Begin /etc/pam.d/polkit-1
  22. auth include system-auth
  23. account include system-account
  24. password include system-password
  25. session include system-session
  26. # End /etc/pam.d/polkit-1
  27. EOF
  28. }