talimat 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Tanım: Basit Dizin Erişim Protokolü (LDAP) Araç Seti
  2. # URL: https://www.openldap.org/
  3. # Paketçi: milisarge
  4. # Gerekler: cyrus-sasl unixodbc
  5. isim=openldap
  6. surum=2.4.46
  7. devir=1
  8. kaynak=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/$isim-$surum.tgz
  9. $isim-config.patch
  10. slapd
  11. bdb.yama
  12. openldap-ntlm.patch)
  13. derle() {
  14. cd $isim-$surum
  15. patch -p0 -i $SRC/$isim-config.patch
  16. patch -p0 -i $SRC/bdb.yama
  17. patch -p1 -i "${SRC}"/openldap-ntlm.patch
  18. ./configure --prefix=/usr \
  19. --sysconfdir=/etc \
  20. --libexecdir=/usr/sbin \
  21. --localstatedir=/var/openldap \
  22. --enable-syslog \
  23. --with-threads \
  24. --with-tls \
  25. --with-cyrus-sasl \
  26. --enable-spasswd \
  27. --enable-dynamic \
  28. --enable-ipv6 \
  29. --enable-modules \
  30. --enable-crypt \
  31. --enable-rewrite \
  32. --enable-bdb \
  33. --enable-hdb \
  34. --enable-ldap \
  35. --enable-meta \
  36. --enable-monitor \
  37. --enable-dnssrv \
  38. --enable-null \
  39. --enable-perl \
  40. --enable-aci \
  41. --enable-shared
  42. make depend
  43. make
  44. make DESTDIR=$PKG install
  45. ln -sf liblber.so $PKG/usr/lib/liblber.so.2
  46. ln -sf libldap.so $PKG/usr/lib/libldap.so.2
  47. ln -sf libldap_r.so $PKG/usr/lib/libldap_r.so.2
  48. install -D -m 0755 $SRC/slapd $PKG/etc/rc.d/init.d/slapd
  49. rm -rf $PKG/var/run
  50. }