summaryrefslogtreecommitdiff
path: root/network/postfix
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2014-07-02 06:55:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-03 19:23:13 +0700
commit1628857bd9c9210d13229e51810bb20ffb26d9e0 (patch)
tree9c68c479e8c7959abac93d644281b4ba3bdd45d4 /network/postfix
parent29ff4bcb7e9b445ee3abe04fb2eb7fefb9b9981c (diff)
downloadslackbuilds-1628857bd9c9210d13229e51810bb20ffb26d9e0.tar.gz
network/postfix: Updated for version 2.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/postfix')
-rw-r--r--network/postfix/postfix.SlackBuild31
-rw-r--r--network/postfix/postfix.info6
2 files changed, 23 insertions, 14 deletions
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild
index ca3332f3b9..80884b1e56 100644
--- a/network/postfix/postfix.SlackBuild
+++ b/network/postfix/postfix.SlackBuild
@@ -23,7 +23,7 @@
# Modified by Mario Preksavec <mario@slackware.hr>
PRGNAM=postfix
-VERSION=${VERSION:-2.10.2}
+VERSION=${VERSION:-2.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,20 +58,29 @@ fi
SASL=${SASL:-dovecot}
case "$SASL" in
dovecot) SASLARGS='-DDEF_SERVER_SASL_TYPE=\"dovecot\"'
- SASLLIBS="" ;;
- cyrus) SASLARGS='-DUSE_CYRUS_SASL -I/usr/include/sasl'
- SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;;
+ SASLLIBS='' ;;
+ cyrus) SASLARGS='-I/usr/include/sasl -DUSE_CYRUS_SASL'
+ SASLLIBS='-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2' ;;
*) SASLARGS=''
- SASLLIBS="" ;;
+ SASLLIBS='' ;;
esac
-# Build with no database support by default
+# Build without database support by default
DATABASE=${DATABASE:-none}
case "$DATABASE" in
- mysql) DBARGS='-DHAS_MYSQL -I/usr/include/mysql'
- DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" ;;
+ mysql) DBARGS='-I/usr/include/mysql -DHAS_MYSQL'
+ DBLIBS='-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm' ;;
*) DBARGS=''
- DBLIBS="" ;;
+ 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='' ;;
esac
# MySQL compile hack
@@ -147,8 +156,8 @@ cd $PRGNAM-$VERSION
# for adding additional support such as LDAP.
make makefiles \
- CCARGS="-DUSE_SASL_AUTH -DUSE_TLS $SASLARGS $DBARGS" \
- AUXLIBS="-lssl -lcrypto $SASLLIBS $DBLIBS" \
+ CCARGS="-DUSE_SASL_AUTH -DUSE_TLS $SASLARGS $DBARGS $LDAPARGS" \
+ AUXLIBS="-lssl -lcrypto $SASLLIBS $DBLIBS $LDAPLIBS" \
OPT="$SLKCFLAGS" DEBUG=""
make
diff --git a/network/postfix/postfix.info b/network/postfix/postfix.info
index c948b3d842..80256d3221 100644
--- a/network/postfix/postfix.info
+++ b/network/postfix/postfix.info
@@ -1,8 +1,8 @@
PRGNAM="postfix"
-VERSION="2.10.2"
+VERSION="2.11.1"
HOMEPAGE="http://www.postfix.org/"
-DOWNLOAD="http://postfix.cs.utah.edu/source/official/postfix-2.10.2.tar.gz"
-MD5SUM="109e753aecafe487207b425dd46e6ee9"
+DOWNLOAD="http://postfix.cs.utah.edu/source/official/postfix-2.11.1.tar.gz"
+MD5SUM="56ac1f1a79737c4ac1e24535a122a4a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""