wok diff cyrus-sasl-pam/receipt @ rev 22950

updated inotify-tools again (3.14 -> 3.20.2.2)
author Hans-G?nter Theisgen
date Fri Feb 28 14:33:03 2020 +0100 (2020-02-28)
parents eb8067417980
children a1821e12e28a
line diff
     1.1 --- a/cyrus-sasl-pam/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/cyrus-sasl-pam/receipt	Fri Feb 28 14:33:03 2020 +0100
     1.3 @@ -1,39 +1,47 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cyrus-sasl-pam"
     1.7 -VERSION="2.1.23"
     1.8 +VERSION="2.1.27"
     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="https://cyrusimap.org/sasl"
    1.14 +
    1.15  SOURCE="cyrus-sasl"
    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="http://cyrusimap.org/releases/$SOURCE-$VERSION.tar.gz"
    1.20 +
    1.21  PROVIDE="cyrus-sasl:pam"
    1.22 -
    1.23 -DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
    1.24 -BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev"
    1.25 +DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam"
    1.26 +BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.33 -	--with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \
    1.34 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.35 +	./configure				\
    1.36 +		--prefix=/usr			\
    1.37 +		--infodir=/usr/share/info	\
    1.38 +		--with-ldap=/usr		\
    1.39 +		--with-pam=/usr			\
    1.40 +		--with-devrandom=/dev/urandom	\
    1.41 +		--mandir=/usr/share/man		\
    1.42 +		$CONFIGURE_ARGS
    1.43  	sed -i 's/WITH_DES/WITH_DES 1/' config.h
    1.44 -	make &&
    1.45 +	make -j1 &&
    1.46  	make -j1 DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
    1.53 -	cp -a $install/usr/sbin $fs/usr
    1.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.55 -	cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
    1.56 -	cp -a ../$SOURCE/stuff/etc $fs
    1.57 +	mkdir -p $fs/usr/lib/sasl2
    1.58 +	mkdir -p $fs/var/state/saslauthd
    1.59 +
    1.60 +	cp -a $install/usr/sbin			$fs/usr
    1.61 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.62 +	cp -a $install/usr/lib/sasl2/*.so*	$fs/usr/lib/sasl2
    1.63 +	cp -a ../$SOURCE/stuff/etc		$fs
    1.64 +
    1.65  	sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
    1.66  }