wok-next diff perdition/receipt @ rev 19211

Up python-mako (1.0.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 09:54:21 2016 +0200 (2016-06-14)
parents 9e01bc6321ea
children b8b371b1b165
line diff
     1.1 --- a/perdition/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/perdition/receipt	Tue Jun 14 09:54:21 2016 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perdition"
     1.7 -VERSION="1.17.1"
     1.8 +VERSION="2.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="IMAP/POP proxy."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,21 +12,20 @@
    1.13  CONFIG_FILES="/etc/perdition"
    1.14  BUGS="Very slow: more than 10 seconds for login with squirrelmail, why ?"
    1.15  
    1.16 -BUILD_DEPENDS="vanessa_logger-dev vanessa_logger vanessa_adt-dev vanessa_adt vanessa_socket-dev vanessa_socket openldap-dev popt-dev cyrus-sasl-dev"
    1.17  DEPENDS="vanessa_logger vanessa_adt vanessa_socket libldap openssl cyrus-sasl \
    1.18   glibc-base libkrb5 libcomerr3 gdbm"
    1.19 +BUILD_DEPENDS="vanessa_logger-dev vanessa_adt-dev vanessa_socket-dev \
    1.20 +openldap-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	cd $src
    1.26 -	sed -i 's/pam=yes/pam=no/' configure
    1.27  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.28 -	--enable-openldap --disable-ldap-doc --disable-nis \
    1.29 -	--disable-odbc --disable-mysql --disable-pg --disable-bdb \
    1.30 -	--sysconfdir=/etc --localstatedir=/var \
    1.31 -	--mandir=/usr/share/man $CONFIGURE_ARGS || return 1
    1.32 -	sed -i 's/#define WITH_PAM_SUPPORT 1/#undef WITH_PAM_SUPPORT/' config.h
    1.33 +		--disable-ldap-doc --disable-nis \
    1.34 +		--disable-odbc --disable-mysql --disable-pg --disable-bdb \
    1.35 +		--disable-cdb --disable-gdbm --disable-pam \
    1.36 +		--sysconfdir=/etc --localstatedir=/var \
    1.37 +		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.38  	make &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40  }
    1.41 @@ -37,7 +36,7 @@
    1.42  	mkdir -p $fs/usr/lib $fs/etc/openldap/schema
    1.43  	cp -a $install/etc $fs
    1.44  	rm -f $fs/etc/perdition/perdition.conf
    1.45 -	cp -a stuff/etc $fs
    1.46 +	cp -a $stuff/etc $fs
    1.47  	cp -a $install/usr/sbin $fs/usr
    1.48  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.49  	for i in pop3 pop3s imap4 imap4s imaps; do