# HG changeset patch # User Christophe Lincoln # Date 1306274689 -7200 # Node ID f7be9547634c2d04d1d7f2c24320998ff586c1d5 # Parent ce538de5d43c02227cbd9d66ec06b3d2b195c4ec openldap: use openssl for tls and clean receipt diff -r ce538de5d43c -r f7be9547634c openldap/receipt --- a/openldap/receipt Tue May 24 23:16:46 2011 +0200 +++ b/openldap/receipt Wed May 25 00:04:49 2011 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="openldap" -VERSION="2.4.24" +VERSION="2.4.25" CATEGORY="misc" SHORT_DESC="LDAP database system." MAINTAINER="pascal.bellard@slitaz.org" @@ -11,21 +11,24 @@ CONFIG_FILES="/etc/openldap" DATABASE_FILES="/var/openldap-*" -DEPENDS="libdb openssl libkrb5 libcomerr3 util-linux-ng-uuid icu libldap nspr nss" -BUILD_DEPENDS="db-dev libdb libsasl-without-ldap util-linux-ng-uuid-dev -nspr-dev nss-dev" +DEPENDS="libdb openssl libcomerr3 util-linux-ng-uuid libldap" +BUILD_DEPENDS="db-dev libdb util-linux-ng-uuid-dev openssl-dev" # Rules to configure and make the package. compile_rules() { - cd $src + #--enable-wrappers + #--with-tls openssl|gnutls|moznss + #--enable-spasswd to use Cyrus SASL password ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var \ --libexecdir=/usr/lib/$PACKAGE \ - $CONFIGURE_ARGS + --localstatedir=/var/lib/$PACKAGE \ + --enable-crypt \ + --with-threads \ + $CONFIGURE_ARGS && which soelim || find -name Makefile | xargs sed -i 's/soelim/cat/' make -j 4 CPPFLAGS=-D_GNU_SOURCE && make DESTDIR=$DESTDIR install @@ -39,10 +42,9 @@ cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib - strip -s $fs/usr/lib/$PACKAGE/* cp -a $_pkg/var $fs - cp -a stuff/etc/init.d $fs/etc - chmod 700 $fs/var/openldap-data $fs/etc/openldap + cp -a $stuff/etc/init.d $fs/etc + chmod 700 $fs/var/lib/openldap $fs/etc/openldap } # Pre and post install commands for Tazpkg.