network/postfix: Updated for version 3.1.1.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2016-07-24 19:23:27 +02:00 committed by Willy Sudiarto Raharjo
parent 4875a9fd93
commit 51277c480f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 17 additions and 5 deletions

View file

@ -13,6 +13,12 @@ You can also enable support for MySQL:
DATABASE=mysql ./postfix.SlackBuild
PostgreSQL support can be enabled with:
DATABASE=pgsql ./postfix.SlackBuild
On systems with multiple instances, add major version, eg: DATABASE=pgsql-9.5
This script will find support for BerkleyDB and PCRE automagically; TLS support
requires openssl package, openssl-solibs alone is not enough. Additionally, this
script doesn't add postfix user and groups, instead it offers sane defaults that

View file

@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright 2006, 2011 Alan Hicks, Lizella, GA
# Copyright 2010, 2011, 2013, 2014, 2015 Mario Preksavec, Zagreb, Croatia
# Copyright 2010, 2011, 2013, 2014, 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=postfix
VERSION=${VERSION:-3.0.3}
VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,12 @@ DATABASE=${DATABASE:-none}
case "$DATABASE" in
mysql) DBARGS="-I/usr/include/mysql -DHAS_MYSQL"
DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" ;;
pgsql*) PGVER=${DATABASE/pgsql-}
[ "$PGVER" = "pgsql" ] && PGVER=$(ls /usr/lib${LIBDIRSUFFIX}/postgresql/)
[ -d "/usr/lib${LIBDIRSUFFIX}/postgresql/$PGVER/lib" ] && {
DBARGS="-I/usr/include/postgresql -DHAS_PGSQL"
DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/postgresql/$PGVER/lib -lpq -lz -lm"
} || echo "PostgreSQL not found" ;;
*) DBARGS=""
DBLIBS="" ;;
esac

View file

@ -1,8 +1,8 @@
PRGNAM="postfix"
VERSION="3.0.3"
VERSION="3.1.1"
HOMEPAGE="http://www.postfix.org/"
DOWNLOAD="http://de.postfix.org/ftpmirror/official/postfix-3.0.3.tar.gz"
MD5SUM="61caffae689c11d09b4c972a394ae3b1"
DOWNLOAD="http://de.postfix.org/ftpmirror/official/postfix-3.1.1.tar.gz"
MD5SUM="40d72ea143af7ab0038c2cee1f483707"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""