milis/talimatname/genel/o/openldap/talimat

52 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Basit Dizin Erişim Protokolü (LDAP) Araç Seti
2017-03-06 00:02:58 +01:00
# URL: https://www.openldap.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cyrus-sasl
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=openldap
surum=2.4.44
devir=1
kaynak=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/$isim-$surum.tgz
$isim-config.patch slapd bdb.yama)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
patch -p0 -i $SRC/$isim-config.patch
2017-03-06 00:02:58 +01:00
patch -p0 -i $SRC/bdb.yama
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/sbin \
--localstatedir=/var/openldap \
--enable-syslog \
--with-threads \
--with-tls \
--with-cyrus-sasl \
--enable-spasswd \
--enable-dynamic \
--enable-ipv6 \
--enable-modules \
--enable-crypt \
--enable-rewrite \
--enable-bdb \
--enable-hdb \
--enable-ldap \
--enable-meta \
--enable-monitor \
--enable-dnssrv \
--enable-null \
--enable-perl \
--enable-aci \
--enable-shared
make depend
make
make DESTDIR=$PKG install
ln -sf liblber.so $PKG/usr/lib/liblber.so.2
ln -sf libldap.so $PKG/usr/lib/libldap.so.2
ln -sf libldap_r.so $PKG/usr/lib/libldap_r.so.2
install -D -m 0755 $SRC/slapd $PKG/etc/rc.d/init.d/slapd
2016-02-24 01:27:23 +01:00
}