talimat 798 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Tanım: Pluggable Authentication Modules to choose how applications authenticate users.
  2. # URL: http://www.kernel.org/pub/libs/pam
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=pam
  6. surum=1.2.1
  7. devir=1
  8. kaynak=(http://linux-pam.org/library/Linux-PAM-$surum.tar.bz2)
  9. derle() {
  10. if [ "`uname -m`" == "x86_64" ]; then
  11. LIB=lib64
  12. else
  13. LIB=lib
  14. fi
  15. mkdir -p $PKG/etc/pam.d
  16. cd Linux-PAM-$surum
  17. ./configure --prefix=/usr --sysconfdir=/etc \
  18. --enable-securedir=/$LIB/security \
  19. --docdir=/usr/share/doc/Linux-PAM-$surum \
  20. --disable-nis --libdir=/usr/lib
  21. make
  22. make DESTDIR=$PKG install
  23. chmod -v 4755 $PKG/sbin/unix_chkpwd
  24. for file in pam pam_misc pamc
  25. do
  26. mv -v $PKG/usr/lib/lib${file}.so.* $PKG/$LIB &&
  27. ln -sfv ../../$LIB/$(readlink $PKG/usr/lib/lib${file}.so) $PKG/usr/lib/lib${file}.so
  28. done
  29. }