wok-6.x diff perdition-pam/receipt @ rev 21954

Up putty (0.73)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 09 18:12:57 2019 +0200 (2019-10-09)
parents c7a23f0fad68
children 2a0479881723
line diff
     1.1 --- a/perdition-pam/receipt	Wed Jan 13 23:15:10 2016 +0100
     1.2 +++ b/perdition-pam/receipt	Wed Oct 09 18:12:57 2019 +0200
     1.3 @@ -1,32 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perdition-pam"
     1.7 -VERSION="2.1"
     1.8 +VERSION="2.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="IMAP/POP proxy."
    1.11 +SHORT_DESC="Fully featured POP3 and IMAP4 proxy server."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.vergenet.net/linux/perdition"
    1.15 +
    1.16  SOURCE="perdition"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.vergenet.net/linux/$SOURCE"
    1.19  WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
    1.20 +
    1.21 +PROVIDE="perdition:pam"
    1.22 +DEPENDS="vanessa_logger vanessa_adt vanessa_socket libldap openssl cyrus-sasl \
    1.23 +	pam glibc-base libkrb5 libcomerr3 gdbm"
    1.24 +BUILD_DEPENDS="vanessa_logger-dev vanessa_adt-dev vanessa_socket-dev \
    1.25 +	openldap-dev pam pam-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev"
    1.26  CONFIG_FILES="/etc/perdition"
    1.27 -PROVIDE="perdition:pam"
    1.28 -
    1.29 -DEPENDS="vanessa_logger vanessa_adt vanessa_socket libldap openssl cyrus-sasl \
    1.30 -pam glibc-base libkrb5 libcomerr3 gdbm"
    1.31 -BUILD_DEPENDS="vanessa_logger-dev vanessa_adt-dev vanessa_socket-dev \
    1.32 -openldap-dev pam pam-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev"
    1.33  
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.38 -		--disable-ldap-doc --disable-nis \
    1.39 -		--disable-odbc --disable-mysql --disable-pg --disable-bdb \
    1.40 -		--disable-cdb --disable-gdbm \
    1.41 -		--sysconfdir=/etc --localstatedir=/var \
    1.42 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.43 +	./configure				\
    1.44 +		--prefix=/usr			\
    1.45 +		--infodir=/usr/share/info	\
    1.46 +		--disable-ldap-doc		\
    1.47 +		--disable-nis			\
    1.48 +		--disable-odbc			\
    1.49 +		--disable-mysql			\
    1.50 +		--disable-pg			\
    1.51 +		--disable-bdb			\
    1.52 +		--disable-cdb			\
    1.53 +		--disable-gdbm			\
    1.54 +		--sysconfdir=/etc		\
    1.55 +		--localstatedir=/var		\
    1.56 +		--mandir=/usr/share/man		\
    1.57 +		$CONFIGURE_ARGS &&
    1.58  	make &&
    1.59  	make DESTDIR=$DESTDIR install
    1.60  }
    1.61 @@ -34,16 +44,21 @@
    1.62  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.63  genpkg_rules()
    1.64  {
    1.65 -	mkdir -p $fs/usr/lib $fs/etc/openldap/schema
    1.66 -	cp -a $install/etc $fs
    1.67 +	mkdir -p $fs/usr/lib
    1.68 +	mkdir -p $fs/etc/openldap/schema
    1.69 +
    1.70 +	cp -a $install/etc		$fs
    1.71  	rm -f $fs/etc/perdition/perdition.conf
    1.72 -	cp -a ../$SOURCE/stuff/etc $fs
    1.73 -	cp -a $install/usr/sbin $fs/usr
    1.74 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.75 +
    1.76 +	cp -a ../$SOURCE/stuff/etc	$fs
    1.77 +	cp -a $install/usr/sbin		$fs/usr
    1.78 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.79 +
    1.80  	for i in pop3 pop3s imap4 imap4s imaps; do
    1.81  		mkdir -p $fs/var/run/perdition.$i
    1.82  	done
    1.83 -	cp $src/perdition/db/ldap/perdition.schema $fs/etc/openldap/schema
    1.84 +	cp $src/perdition/db/ldap/perdition.schema \
    1.85 +		$fs/etc/openldap/schema
    1.86  }
    1.87  
    1.88  # Pre and post install commands for Tazpkg.