wok-next rev 20121

Up libsasl-without-ldap, cyrus-sasl-pam: (2.1.26)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 09:01:11 2017 +0100 (2017-10-31)
parents a566e73b574d
children 3a164e61ff40
files cyrus-sasl-pam/receipt libsasl-without-ldap/receipt libsasl-without-ldap/stuff/0027_db5_support.patch
line diff
     1.1 --- a/cyrus-sasl-pam/receipt	Tue Oct 31 01:54:07 2017 +0200
     1.2 +++ b/cyrus-sasl-pam/receipt	Tue Oct 31 09:01:11 2017 +0100
     1.3 @@ -1,30 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cyrus-sasl-pam"
     1.7 -VERSION="2.1.23"
     1.8 +VERSION="2.1.26"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="SASL authentication server using PAM."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="http://cyrusimap.web.cmu.edu/"
    1.14  SOURCE="cyrus-sasl"
    1.15 +
    1.16  TARBALL="$SOURCE-$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="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL"
    1.20  PROVIDE="cyrus-sasl:pam"
    1.21  
    1.22  DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
    1.23 -BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev"
    1.24 +BUILD_DEPENDS="automake libtool openldap-dev pam pam-dev openssl-dev krb5-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 -	--with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \
    1.32 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.33 -	sed -i 's/WITH_DES/WITH_DES 1/' config.h
    1.34 +	autoreconf -fi &&
    1.35 +
    1.36 +	./configure
    1.37 +		--prefix=/usr \
    1.38 +		--sysconfdir=/etc \
    1.39 +		--infodir=/usr/share/info \
    1.40 +		--with-ldap=/usr \
    1.41 +		--with-pam=/usr \
    1.42 +		--with-devrandom=/dev/urandom \
    1.43 +		--with-openssl \
    1.44 +		--mandir=/usr/share/man \
    1.45 +		$CONFIGURE_ARGS
    1.46  	make &&
    1.47  	make -j1 DESTDIR=$DESTDIR install
    1.48 +
    1.49 +	docdir="$install/usr/share/doc/cyrus-sasl-$VERSION"
    1.50 +	mkdir -p $docdir &&
    1.51 +	cd $src/doc &&
    1.52 +	cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir &&
    1.53 +	
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/libsasl-without-ldap/receipt	Tue Oct 31 01:54:07 2017 +0200
     2.2 +++ b/libsasl-without-ldap/receipt	Tue Oct 31 09:01:11 2017 +0100
     2.3 @@ -1,29 +1,38 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libsasl-without-ldap"
     2.7 -VERSION="2.1.23"
     2.8 +VERSION="2.1.26"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 +WEB_SITE="http://cyrusimap.web.cmu.edu/"
    2.14 +
    2.15  SOURCE="cyrus-sasl"
    2.16  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://cyrusimap.web.cmu.edu/"
    2.18 -WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
    2.19 +WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL"
    2.20  
    2.21  DEPENDS="db openssl"
    2.22 -BUILD_DEPENDS="db-dev openssl-dev"
    2.23 +BUILD_DEPENDS="automake libtool db-dev openssl-dev"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29 -	patch -Np1 -i $stuff/0027_db5_support.patch
    2.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    2.31 -		--without-pam --disable-anon \
    2.32 -		--disable-cram --disable-digest \
    2.33 -		--disable-gssapi --enable-login \
    2.34 -		--disable-otp --enable-plain \
    2.35 +	autoreconf -fi &&
    2.36 +
    2.37 +	./configure \
    2.38 +		--prefix=/usr \
    2.39 +		--infodir=/usr/share/info \
    2.40 +		--without-pam \
    2.41 +		--disable-anon \
    2.42 +		--disable-cram \
    2.43 +		--disable-digest \
    2.44 +		--disable-gssapi \
    2.45 +		--enable-login \
    2.46 +		--disable-otp \
    2.47 +		--enable-plain \
    2.48 +		--with-openssl \
    2.49 +		--with-devrandom=/dev/urandom \
    2.50  		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.51  	make -j1 &&
    2.52  	make -j1 DESTDIR=$DESTDIR install
     3.1 --- a/libsasl-without-ldap/stuff/0027_db5_support.patch	Tue Oct 31 01:54:07 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,24 +0,0 @@
     3.4 -Author: Ondřej Surý <ondrej@debian.org>
     3.5 -Description: Support newer Berkeley DB versions
     3.6 ---- a/sasldb/db_berkeley.c
     3.7 -+++ b/sasldb/db_berkeley.c
     3.8 -@@ -101,7 +101,7 @@ static int berkeleydb_open(const sasl_ut
     3.9 -     ret = db_create(mbdb, NULL, 0);
    3.10 -     if (ret == 0 && *mbdb != NULL)
    3.11 -     {
    3.12 --#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
    3.13 -+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
    3.14 - 	ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
    3.15 - #else
    3.16 - 	ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660);
    3.17 ---- a/utils/dbconverter-2.c
    3.18 -+++ b/utils/dbconverter-2.c
    3.19 -@@ -214,7 +214,7 @@ static int berkeleydb_open(const char *p
    3.20 -     ret = db_create(mbdb, NULL, 0);
    3.21 -     if (ret == 0 && *mbdb != NULL)
    3.22 -     {
    3.23 --#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
    3.24 -+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
    3.25 - 	ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, DB_CREATE, 0664);
    3.26 - #else
    3.27 - 	ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, DB_CREATE, 0664);