summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2013-04-23 01:49:08 +0000
committerSahil Tandon <sahil@FreeBSD.org>2013-04-23 01:49:08 +0000
commit2a3984a7e36bac6ad8e115df06bb6d684152a2a7 (patch)
treea71765b3a38927cf225bc577cc2fbeb7f6661346 /mail/postfix/Makefile
parent7f8e40d69a37119a53b5c8df9735b98b64f424ed (diff)
Notes
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r--mail/postfix/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index fa4bb5c07fe7..4fa34ddbcd21 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,8 +1,8 @@
-# Created by: torstenb
+# Created by: Torsten Blum <torstenb@FreeBSD.org>
# $FreeBSD$
PORTNAME= postfix
-PORTVERSION= 2.9.5
+PORTVERSION= 2.10.0
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@@ -16,8 +16,13 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= sahil@FreeBSD.org
COMMENT= Secure alternative to widely-used Sendmail
+LICENSE= IPL10
+LICENSE_NAME= IBM PUBLIC LICENSE VERSION 1.0
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
VDAVERSION= 2.9.5
-CONFLICTS= courier-0.* postfix-1.* postfix-2.[0-8].* postfix-base-2.[0-8].* \
+CONFLICTS= courier-0.* postfix-1.* postfix-2.[0-9].* postfix-base-2.[0-9].* \
postfix-current-2.* postfix-current-base-2.* sendmail-8.* \
sendmail+*-8.* smail-3.* zmailer-2.* opensmtpd-[0-9]*
@@ -146,7 +151,7 @@ POSTFIX_AUXLIBS+= -lkrb5 ${KRB5_EXTR} -lcrypto -lcrypt -lcom_err -lasn1 -lroken
.endif
.if ${PORT_OPTIONS:MSASLKMIT}
-LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5
POSTFIX_AUXLIBS+= -Wl,--rpath,$${KRB5_HOME:-${LOCALBASE}}/lib -lkrb5 -lcrypto -lcrypt -lcom_err
.endif
@@ -157,7 +162,7 @@ POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
.endif
.if ${PORT_OPTIONS:MSPF}
-LIB_DEPENDS+= spf2.3:${PORTSDIR}/mail/libspf2
+LIB_DEPENDS+= spf2:${PORTSDIR}/mail/libspf2
PATCH_SITES+= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= mm
PATCHFILES+= postfix-2.8.0-libspf2-1.2.x-0.patch.gz
@@ -205,11 +210,9 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber
_REQUIRE+= slapd
.if ${PORT_OPTIONS:MLDAP_SASL}
.if ! ${PORT_OPTIONS:MSASL2}
-PORT_OPTIONS+=SASL2
-.endif
-.if ${PORT_OPTIONS:MLSASL2}
-POSTFIX_CCARGS+= -DUSE_LDAP_SASL
+LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
.endif
+POSTFIX_CCARGS+= -I${LOCALBASE}/include/sasl -DUSE_LDAP_SASL
.endif
.endif