wok-next rev 10430

openldap: use openssl for tls and clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 00:04:49 2011 +0200 (2011-05-25)
parents ce538de5d43c
children a0228cea2931
files openldap/receipt
line diff
     1.1 --- a/openldap/receipt	Tue May 24 23:16:46 2011 +0200
     1.2 +++ b/openldap/receipt	Wed May 25 00:04:49 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openldap"
     1.7 -VERSION="2.4.24"
     1.8 +VERSION="2.4.25"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="LDAP database system."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,21 +11,24 @@
    1.13  CONFIG_FILES="/etc/openldap"
    1.14  DATABASE_FILES="/var/openldap-*"
    1.15  
    1.16 -DEPENDS="libdb openssl libkrb5 libcomerr3 util-linux-ng-uuid icu libldap nspr nss"
    1.17 -BUILD_DEPENDS="db-dev libdb libsasl-without-ldap util-linux-ng-uuid-dev
    1.18 -nspr-dev nss-dev"
    1.19 +DEPENDS="libdb openssl libcomerr3 util-linux-ng-uuid libldap"
    1.20 +BUILD_DEPENDS="db-dev libdb util-linux-ng-uuid-dev openssl-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -
    1.26  	cd $src
    1.27 +	#--enable-wrappers
    1.28 +	#--with-tls openssl|gnutls|moznss
    1.29 +	#--enable-spasswd to use Cyrus SASL password
    1.30  	./configure \
    1.31  		--prefix=/usr \
    1.32  		--sysconfdir=/etc \
    1.33 -		--localstatedir=/var \
    1.34  		--libexecdir=/usr/lib/$PACKAGE \
    1.35 -		$CONFIGURE_ARGS
    1.36 +		--localstatedir=/var/lib/$PACKAGE  \
    1.37 +		--enable-crypt \
    1.38 +		--with-threads \
    1.39 +		$CONFIGURE_ARGS &&
    1.40  	which soelim || find -name Makefile | xargs sed -i 's/soelim/cat/'
    1.41  	make -j 4 CPPFLAGS=-D_GNU_SOURCE &&
    1.42  	make DESTDIR=$DESTDIR install
    1.43 @@ -39,10 +42,9 @@
    1.44  	cp -a $_pkg/usr/bin $fs/usr
    1.45  	cp -a $_pkg/usr/sbin $fs/usr
    1.46  	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.47 -	strip -s $fs/usr/lib/$PACKAGE/*
    1.48  	cp -a $_pkg/var $fs
    1.49 -	cp -a stuff/etc/init.d $fs/etc
    1.50 -	chmod 700 $fs/var/openldap-data $fs/etc/openldap
    1.51 +	cp -a $stuff/etc/init.d $fs/etc
    1.52 +	chmod 700 $fs/var/lib/openldap $fs/etc/openldap
    1.53  }
    1.54  
    1.55  # Pre and post install commands for Tazpkg.