2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Basit Dizin Erişim Protokolü (LDAP) Araç Seti
|
|
|
|
|
# URL: https://www.openldap.org/
|
|
|
|
|
# Paketçi: milisarge
|
2018-09-01 15:51:37 +02:00
|
|
|
|
# Gerekler: cyrus-sasl unixodbc
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=openldap
|
2018-09-01 15:51:37 +02:00
|
|
|
|
surum=2.4.46
|
2018-06-09 00:06:58 +02:00
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/$isim-$surum.tgz
|
2018-09-01 15:51:37 +02:00
|
|
|
|
$isim-config.patch
|
|
|
|
|
slapd
|
|
|
|
|
bdb.yama
|
|
|
|
|
openldap-ntlm.patch)
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
patch -p0 -i $SRC/$isim-config.patch
|
|
|
|
|
patch -p0 -i $SRC/bdb.yama
|
2018-09-01 15:51:37 +02:00
|
|
|
|
patch -p1 -i "${SRC}"/openldap-ntlm.patch
|
2018-06-09 00:06:58 +02:00
|
|
|
|
./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
|
2018-09-01 15:51:37 +02:00
|
|
|
|
rm -rf $PKG/var/run
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|