aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix28/Makefile
diff options
context:
space:
mode:
authorsahil <sahil@FreeBSD.org>2010-05-14 08:29:36 +0800
committersahil <sahil@FreeBSD.org>2010-05-14 08:29:36 +0800
commitac813b41a3f6d3fc297316b8d27611d6806f0784 (patch)
tree3eb009b5816179401dbc4e891e8b5ad90ddf85fe /mail/postfix28/Makefile
parentfcb27f4cf341e6e936b10090f76cb435559e2683 (diff)
downloadfreebsd-ports-gnome-ac813b41a3f6d3fc297316b8d27611d6806f0784.tar.gz
freebsd-ports-gnome-ac813b41a3f6d3fc297316b8d27611d6806f0784.tar.zst
freebsd-ports-gnome-ac813b41a3f6d3fc297316b8d27611d6806f0784.zip
- Set INVALID_BDB_VER; upstream does not yet support Berkeley DB 5 [1]
- Remove OPTION for Kerberos IV - Change my email to @FreeBSD.org PR: ports/146371 [1] Reported by: Volodymyr Kostyrko <c.kworr@gmail.com> [1] Approved by: itetcu@ (mentor)
Diffstat (limited to 'mail/postfix28/Makefile')
-rw-r--r--mail/postfix28/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile
index 9ab317a5359c..9edcdb9d14e3 100644
--- a/mail/postfix28/Makefile
+++ b/mail/postfix28/Makefile
@@ -19,7 +19,7 @@ MASTER_SITE_SUBDIR= . old related/postfix
DISTNAME= postfix-${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
-MAINTAINER= sahil@tandon.net
+MAINTAINER= sahil@FreeBSD.org
COMMENT= A secure alternative to widely-used Sendmail
VDAVERSION= 2.6.5
@@ -32,7 +32,7 @@ SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
# back compat pull in settings from POSTFIX_OPTIONS for convenience when
# make config is run (happens first time port is built, too)
-.for o in SASL2 SASLKRB SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test
+.for o in SASL2 SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test
STATUS_${o}=off
.endfor
.if defined(POSTFIX_OPTIONS)
@@ -44,7 +44,6 @@ STATUS_${o}=on
OPTIONS= PCRE "Perl Compatible Regular Expressions" on \
SASL2 "Cyrus SASLv2 (Simple Auth. and Sec. Layer)" ${STATUS_SASL2} \
DOVECOT "Dovecot SASL authentication method" off \
- SASLKRB "If your SASL req. Kerberos select this option" ${STATUS_SASLKRB} \
SASLKRB5 "If your SASL req. Kerberos5 select this option" ${STATUS_SASLKRB5} \
SASLKMIT "If your SASL req. MIT Kerberos5 select this option" ${STATUS_SASLKRB5MIT} \
TLS "Enable SSL and TLS support" ${STATUS_TLS} \
@@ -130,22 +129,15 @@ POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"
_REQUIRE+= dovecot
.endif
-.if defined(WITH_SASLKRB)
-.if defined(WITH_SASLKRB5) || defined(WITH_SASLKMIT)
-BROKEN= Select only one SASL Kerberos option
-.endif
-POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err
-.endif
-
.if defined(WITH_SASLKRB5)
-.if defined(WITH_SASLKRB) || defined(WITH_SASLKMIT)
+.if defined(WITH_SASLKMIT)
BROKEN= Select only one SASL Kerberos option
.endif
POSTFIX_AUXLIBS+= -lkrb5 ${KRB5_EXTR} -lcrypto -lcrypt -lcom_err -lasn1 -lroken
.endif
.if defined(WITH_SASLKMIT)
-.if defined(WITH_SASLKRB) || defined(WITH_SASLKRB5)
+.if defined(WITH_SASLKRB5)
BROKEN= Select only one SASL Kerberos option
.endif
LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
@@ -160,6 +152,7 @@ POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
.if defined(WITH_BDB)
USE_BDB= yes
+INVALID_BDB_VER= 50+
POSTFIX_CCARGS+= -I${BDB_INCLUDE_DIR}
POSTFIX_AUXLIBS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
.endif