talimat 1.1 KB

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