wok-current diff cyrus-sasl/receipt @ rev 22330

updated zile (2.3.24 -> 2.4.14)
author Hans-G?nter Theisgen
date Fri Nov 15 11:30:01 2019 +0100 (2019-11-15)
parents eb8067417980
children a1821e12e28a
line diff
     1.1 --- a/cyrus-sasl/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/cyrus-sasl/receipt	Fri Nov 15 11:30:01 2019 +0100
     1.3 @@ -1,41 +1,46 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cyrus-sasl"
     1.7 -VERSION="2.1.23"
     1.8 +VERSION="2.1.27"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="SASL authentication server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +
    1.14 +WEB_SITE="https://cyrusimap.org/sasl"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://cyrusimap.web.cmu.edu/"
    1.18 -WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
    1.19 +WGET_URL="http://cyrusimap.org/releases/$PACKAGE-$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
    1.22 -BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
    1.23 +DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
    1.24 +BUILD_DEPENDS="db-dev openldap-dev openssl-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	patch -Np1 -i $stuff/0027_db5_support.patch
    1.31 -	./configure \
    1.32 -		--with-ldap=/usr \
    1.33 -		--with-openssl=/usr \
    1.34 -		--without-pam \
    1.35 -		--with-devrandom=/dev/urandom \
    1.36 +#	patch -Np1 -i $stuff/0027_db5_support.patch
    1.37 +
    1.38 +	./configure				\
    1.39 +		--with-ldap=/usr		\
    1.40 +		--with-openssl=/usr		\
    1.41 +		--without-pam			\
    1.42 +		--with-devrandom=/dev/urandom	\
    1.43  		$CONFIGURE_ARGS
    1.44  	sed -i 's/WITH_DES/WITH_DES 1/' config.h
    1.45 -	make -j 1 && make install
    1.46 +	make -j 1 &&
    1.47 +	make install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
    1.54 -	cp -a $install/usr/sbin $fs/usr
    1.55 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.56 -	cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
    1.57 -	cp -a $stuff/etc $fs
    1.58 +	mkdir -p $fs/usr/lib/sasl2
    1.59 +	mkdir -p $fs/var/state/saslauthd
    1.60 +
    1.61 +	cp -a $install/usr/sbin			$fs/usr
    1.62 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.63 +	cp -a $install/usr/lib/sasl2/*.so*	$fs/usr/lib/sasl2
    1.64 +	cp -a $stuff/etc			$fs
    1.65  	
    1.66  	cat $stuff/*.files-list | while read file; do
    1.67  		rm -rf $fs$file