network/postfix: Updated for version 2.11.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Mario Preksavec 2014-11-10 01:47:28 +07:00 committed by Willy Sudiarto Raharjo
parent f381a30447
commit 4471b1bbe3
2 changed files with 18 additions and 18 deletions

View File

@ -23,7 +23,7 @@
# Modified by Mario Preksavec <mario@slackware.hr>
PRGNAM=postfix
VERSION=${VERSION:-2.11.1}
VERSION=${VERSION:-2.11.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,30 +57,30 @@ fi
# Build with dovecot sasl by default, cyrus/dovecot are supported
SASL=${SASL:-dovecot}
case "$SASL" in
dovecot) SASLARGS='-DDEF_SERVER_SASL_TYPE=\"dovecot\"'
SASLLIBS='' ;;
cyrus) SASLARGS='-I/usr/include/sasl -DUSE_CYRUS_SASL'
SASLLIBS='-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2' ;;
*) SASLARGS=''
SASLLIBS='' ;;
dovecot) SASLARGS="-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
SASLLIBS="" ;;
cyrus) SASLARGS="-I/usr/include/sasl -DUSE_CYRUS_SASL"
SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;;
*) SASLARGS=""
SASLLIBS="" ;;
esac
# Build without database support by default
DATABASE=${DATABASE:-none}
case "$DATABASE" in
mysql) DBARGS='-I/usr/include/mysql -DHAS_MYSQL'
DBLIBS='-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm' ;;
*) DBARGS=''
DBLIBS='' ;;
mysql) DBARGS="-I/usr/include/mysql -DHAS_MYSQL"
DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" ;;
*) DBARGS=""
DBLIBS="" ;;
esac
# Build without ldap support by default
LDAP=${LDAP:-no}
case "$LDAP" in
yes) LDAPARGS='-DHAS_LDAP -DUSE_LDAP_SASL'
LDAPLIBS='-lldap -llber' ;;
*) LDAPARGS=''
LDAPLIBS='' ;;
yes) LDAPARGS="-DUSE_LDAP_SASL -DHAS_LDAP"
LDAPLIBS="-lldap -llber" ;;
*) LDAPARGS=""
LDAPLIBS="" ;;
esac
# MySQL compile hack

View File

@ -1,8 +1,8 @@
PRGNAM="postfix"
VERSION="2.11.1"
VERSION="2.11.3"
HOMEPAGE="http://www.postfix.org/"
DOWNLOAD="http://postfix.cs.utah.edu/source/official/postfix-2.11.1.tar.gz"
MD5SUM="56ac1f1a79737c4ac1e24535a122a4a6"
DOWNLOAD="http://postfix.cs.utah.edu/source/official/postfix-2.11.3.tar.gz"
MD5SUM="c3f0f51d8865559b40e9350eb3816011"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""