openldap/openldap.spec

changeset 586
e10b124b2f21
parent 380
4f3b1ee715dd
child 587
d0df67c21897
equal deleted inserted replaced
3:af3a5bee0018 4:542fc8c24656
29 Packager: OpenPKG Foundation e.V. 29 Packager: OpenPKG Foundation e.V.
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: BASE 31 Class: BASE
32 Group: LDAP 32 Group: LDAP
33 License: GPL 33 License: GPL
34 Version: 2.4.26 34 Version: 2.4.29
35 Release: 20110914 35 Release: 20120208
36 36
37 # package options 37 # package options
38 %option with_server yes 38 %option with_server yes
39 %option with_fsl yes 39 %option with_fsl yes
40 %option with_crypt yes 40 %option with_crypt yes
83 AutoReqProv: no 83 AutoReqProv: no
84 84
85 %description 85 %description
86 OpenLDAP is an open source implementation of the Lightweight 86 OpenLDAP is an open source implementation of the Lightweight
87 Directory Access Protocol (LDAP). The suite includes libraries 87 Directory Access Protocol (LDAP). The suite includes libraries
88 implementing the LDAP protocol plus a stand-alone LDAP server 88 implementing the LDAP protocol plus a stand alone LDAP server
89 slapd(8). 89 slapd(8).
90 90
91 %track 91 %track
92 prog openldap = { 92 prog openldap = {
93 version = %{version} 93 version = %{version}
121 ARGS="$ARGS --libexecdir=%{l_prefix}/libexec/openldap" 121 ARGS="$ARGS --libexecdir=%{l_prefix}/libexec/openldap"
122 ARGS="$ARGS --localstatedir=%{l_prefix}/var/openldap" 122 ARGS="$ARGS --localstatedir=%{l_prefix}/var/openldap"
123 ARGS="$ARGS --enable-syslog" 123 ARGS="$ARGS --enable-syslog"
124 ARGS="$ARGS --with-tls" 124 ARGS="$ARGS --with-tls"
125 ARGS="$ARGS --without-fetch" 125 ARGS="$ARGS --without-fetch"
126 ARGS="$ARGS --without-gssapi"
127 ARGS="$ARGS --disable-dynamic" 126 ARGS="$ARGS --disable-dynamic"
128 ARGS="$ARGS --disable-shared" 127 ARGS="$ARGS --disable-shared"
129 %if "%{with_server}" == "yes" 128 %if "%{with_server}" == "yes"
130 ARGS="$ARGS --enable-slapd" 129 ARGS="$ARGS --enable-slapd"
131 ARGS="$ARGS --disable-modules" 130 ARGS="$ARGS --disable-modules"
204 # configuration: special platform support 203 # configuration: special platform support
205 case "%{l_platform -t}" in 204 case "%{l_platform -t}" in
206 *-sunos* ) CFLAGS="$CFLAGS -D_AVL_H"; LIBS="$LIBS -lrt" ;; 205 *-sunos* ) CFLAGS="$CFLAGS -D_AVL_H"; LIBS="$LIBS -lrt" ;;
207 esac 206 esac
208 207
209 # configuration: use hard-links and make sure our Berkeley-DB is picked up first 208 # configuration: use hard links and make sure our Berkeley-DB is picked up first
210 %{l_shtool} subst \ 209 %{l_shtool} subst \
211 -e 's;ln -s;ln;g' \ 210 -e 's;ln -s;ln;g' \
212 -e 's;-ldb4[1-9];%{l_prefix}/lib/libdb.a;g' \ 211 -e 's;-ldb4[1-9];%{l_prefix}/lib/libdb.a;g' \
213 -e 's;<db\.h>;"db.h";g' \ 212 -e 's;<db\.h>;"db.h";g' \
214 configure 213 configure

mercurial