wok rev 12163

postfix: add sasl support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 18 00:36:21 2012 +0100 (2012-03-18)
parents 14a6444358dd
children f1e33b9fb90d
files postfix/receipt
line diff
     1.1 --- a/postfix/receipt	Sat Mar 17 22:09:03 2012 +0100
     1.2 +++ b/postfix/receipt	Sun Mar 18 00:36:21 2012 +0100
     1.3 @@ -8,20 +8,24 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.postfix.org/"
     1.6  WGET_URL="ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/$TARBALL"
     1.7 -BUILD_DEPENDS="db-dev openldap-dev pcre-dev openssl-dev perl mysql-dev libsasl"
     1.8 -DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl libkrb5 libcomerr3 libmysqlclient"
     1.9  CONFIG_FILES="/etc/postfix"
    1.10  
    1.11 +DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl libkrb5 \
    1.12 +libcomerr3 libmysqlclient"
    1.13 +BUILD_DEPENDS="db-dev openldap-dev pcre-dev openssl-dev perl mysql-dev \
    1.14 +cyrus-sasl-dev libsasl"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19  	cd $src
    1.20  	make makefiles \
    1.21  	CCARGS='-DHAS_DB -DHAS_LDAP \
    1.22 +		-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/include/sasl \
    1.23  		-DHAS_MYSQL -I/usr/include/mysql \
    1.24  		-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
    1.25  		-DDEF_MANPAGE_DIR=\"/usr/share/man\"' \
    1.26 -	AUXLIBS="-ldb -lldap -llber \
    1.27 +	AUXLIBS="-ldb -lldap -llber -lsasl2 \
    1.28  		-L/usr/lib/mysql -lmysqlclient -lz -lm " &&
    1.29  	make
    1.30  	install_root=$WOK/$PACKAGE/install \