blob: 495937bcad19d96cc2f71f543b4b27dfc031392e (
plain)
1 # Description: Lightweight Directory Access Protocol (LDAP) Toolkit
2 # URL: http://www.openldap.org/
3 # Packager: Daniel Mueller, daniel at danm dot de
4 # Maintainer: Jose V Beneyto, sepen at crux dot nu
5 # Depends on: perl, openssl, cyrus-sasl
6
7 name=openldap
8 version=2.4.43
9 release=2
10 source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$name-$version.tgz \
11 $name-config.patch slapd)
12
13 build() {
14 cd $name-$version
15 patch -p0 -i $SRC/$name-config.patch
16
17 ./configure --prefix=/usr \
18 --sysconfdir=/etc \
19 --libexecdir=/usr/sbin \
20 --localstatedir=/var/openldap \
21 --enable-syslog \
22 --with-threads \
23 --with-tls \
24 --with-cyrus-sasl \
25 --enable-spasswd \
26 --enable-dynamic \
27 --enable-ipv6 \
28 --enable-modules \
29 --enable-crypt \
30 --enable-rewrite \
31 --enable-bdb \
32 --enable-hdb \
33 --enable-ldap \
34 --enable-meta \
35 --enable-monitor \
36 --enable-dnssrv \
37 --enable-null \
38 --enable-perl \
39 --enable-aci \
40 --enable-shared
41
42 make depend
43 make
44 make DESTDIR=$PKG install
45
46 ln -sf liblber.so $PKG/usr/lib/liblber.so.2
47 ln -sf libldap.so $PKG/usr/lib/libldap.so.2
48 ln -sf libldap_r.so $PKG/usr/lib/libldap_r.so.2
49
50 install -D -m 0755 $SRC/slapd $PKG/etc/rc.d/slapd
51 rm -f $PKG/etc/openldap/schema/README
52 }
|