aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2015-02-15 01:45:02 +0800
committerohauer <ohauer@FreeBSD.org>2015-02-15 01:45:02 +0800
commita3ad8a22f5bef627f90b6e4ec343ca1dff3aa67f (patch)
tree5ad98df551a0fd9d8569f923fda9045d5a9418e5
parent165c3f6b6f36aa19ae1642c0bffb150a8627d86b (diff)
downloadfreebsd-ports-gnome-a3ad8a22f5bef627f90b6e4ec343ca1dff3aa67f.tar.gz
freebsd-ports-gnome-a3ad8a22f5bef627f90b6e4ec343ca1dff3aa67f.tar.zst
freebsd-ports-gnome-a3ad8a22f5bef627f90b6e4ec343ca1dff3aa67f.zip
- update to postfix 3.0.0 release [1]
- cleanup MASTER_SITES - enable new pie parameter (build with -fPIC) [1] keep the port as postfix-current until we are sure the new distributed layout will not change (location of libs, dynamicmaps.cf.d, postfix-files.d ...) Release announcement: http://www.postfix.org/announcements/postfix-3.0.0.html Release Notes: ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.0.0.RELEASE_NOTES Approved by: sahil (implicit)
-rw-r--r--mail/postfix-current/Makefile21
-rw-r--r--mail/postfix-current/distinfo4
-rw-r--r--mail/postfix-current/pkg-plist2
3 files changed, 15 insertions, 12 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 8e1b8e80dec5..3283f43a80d1 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -2,16 +2,19 @@
# $FreeBSD$
PORTNAME= postfix
-DISTVERSION= 3.0-20150129
+DISTVERSION= 3.0-20150208
PORTEPOCH= 4
CATEGORIES= mail ipv6
-MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
- ftp://postfix.mirrors.pair.com/experimental/ \
- ftp://ftp.tux.org/pub/net/postfix/experimental/ \
- http://mirrors.rootservices.net/postfix/experimental/ \
- ftp://ftp.samurai.com/pub/postfix/experimental/ \
- http://ftp.unicamp.br/pub/postfix/experimental/
+MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/ \
+ http://de.postfix.org/ftpmirror/ \
+ http://cdn.postfix.johnriley.me/mirrors/postfix-release/ \
+ http://www.artfiles.org/postfix.org/postfix-release/ \
+ http://mirror.lhsolutions.nl/postfix-release/ \
+ ftp://postfix.mirrors.pair.com/
+#MASTER_SITES:= ${MASTER_SITES:S|$|experimental/|}
+MASTER_SITES:= ${MASTER_SITES:S|$|official/|}
PKGNAMESUFFIX= -current
+DISTNAME= ${PORTNAME}-3.0.0
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= sahil@FreeBSD.org
@@ -90,7 +93,7 @@ IS_INTERACTIVE= yes
MAKEFILEFLAGS+= DEBUG=
.endif
-MAKEFILEFLAGS+= CC="${CC}" OPT="${CFLAGS}"
+MAKEFILEFLAGS+= pie=yes CC="${CC}" OPT="${CFLAGS}"
.if ${PORT_OPTIONS:MINST_BASE}
PKGNAMESUFFIX= -base
@@ -186,7 +189,7 @@ POSTFIX_AUXLIBS+= -Wl,--rpath,$${KRB5_HOME:-${LOCALBASE}}/lib -lkrb5 -lcrypto -l
.if ${PORT_OPTIONS:MTLS}
USE_OPENSSL= yes
POSTFIX_CCARGS+= -DUSE_TLS -I${OPENSSLINC}
-# XXX LDFLAGS possible breaks dynamic building
+# XXX LDFLAGS possible breaks dynamic building
POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
.else
POSTFIX_CCARGS+= -DNO_TLS
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index c987069b8d44..c9cbb1f71449 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,2 +1,2 @@
-SHA256 (postfix/postfix-3.0-20150129.tar.gz) = d8055245af463e286513ac143ccfbae6f09ceefb3f7c689f24bcc7413f269fe7
-SIZE (postfix/postfix-3.0-20150129.tar.gz) = 4239461
+SHA256 (postfix/postfix-3.0.0.tar.gz) = c2f2f10aa3e6b7090ba979e9c515e42b3140c5c1c17a33d58787569df7ae0955
+SIZE (postfix/postfix-3.0.0.tar.gz) = 4239248
diff --git a/mail/postfix-current/pkg-plist b/mail/postfix-current/pkg-plist
index 46192e25de5d..895a7f5ef008 100644
--- a/mail/postfix-current/pkg-plist
+++ b/mail/postfix-current/pkg-plist
@@ -155,7 +155,7 @@ sbin/sendmail
@dir libexec/postfix/dynamicmaps.cf.d
@dir libexec/postfix/postfix-files.d
@dir %%PFETC%%
-@dir /var/db/postfix
+@dir(postfix,,700) /var/db/postfix
@dir(postfix,,700) /var/spool/postfix/active
@dir(postfix,,700) /var/spool/postfix/bounce
@dir(postfix,,700) /var/spool/postfix/corrupt