Changeset View
Changeset View
Standalone View
Standalone View
mail/postfix/Makefile
# Created by: Torsten Blum <torstenb@FreeBSD.org> | # Created by: Torsten Blum <torstenb@FreeBSD.org> | ||||
PORTNAME= postfix | PORTNAME= postfix | ||||
DISTVERSION= 3.6.1 | DISTVERSION= 3.6.1 | ||||
PORTREVISION?= 0 | PORTREVISION?= 1 | ||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= mail | CATEGORIES= mail | ||||
MASTER_SITES= http://ftp.porcupine.org/mirrors/postfix-release/ \ | MASTER_SITES= http://ftp.porcupine.org/mirrors/postfix-release/ \ | ||||
http://de.postfix.org/ftpmirror/ \ | http://de.postfix.org/ftpmirror/ \ | ||||
http://cdn.postfix.johnriley.me/mirrors/postfix-release/ \ | http://cdn.postfix.johnriley.me/mirrors/postfix-release/ \ | ||||
http://www.artfiles.org/postfix.org/postfix-release/ \ | http://www.artfiles.org/postfix.org/postfix-release/ \ | ||||
http://mirror.lhsolutions.nl/postfix-release/ \ | http://mirror.lhsolutions.nl/postfix-release/ \ | ||||
ftp://postfix.mirrors.pair.com/ | ftp://postfix.mirrors.pair.com/ | ||||
Show All 19 Lines | |||||
USES= shebangfix cpe ssl | USES= shebangfix cpe ssl | ||||
SHEBANG_FILES= auxiliary/qshape/qshape.pl | SHEBANG_FILES= auxiliary/qshape/qshape.pl | ||||
USE_RC_SUBR= postfix | USE_RC_SUBR= postfix | ||||
USE_SUBMAKE= yes | USE_SUBMAKE= yes | ||||
SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}" | SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}" | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
OPTIONS_DEFINE= BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LDAP_SASL \ | OPTIONS_DEFINE= BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP \ | ||||
LMDB MYSQL NIS PCRE PGSQL SASL SQLITE TEST TLS | LMDB MYSQL NIS PCRE PGSQL SASL SQLITE TEST TLS | ||||
OPTIONS_RADIO= RG1 | OPTIONS_RADIO= RG1 | ||||
OPTIONS_RADIO_RG1= SASLKRB5 SASLKMIT | OPTIONS_RADIO_RG1= SASLKRB5 SASLKMIT | ||||
OPTIONS_DEFAULT?= BLACKLISTD EAI PCRE TLS | OPTIONS_DEFAULT?= BLACKLISTD EAI PCRE TLS | ||||
BDB_USES= bdb | BDB_USES= bdb | ||||
BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd | BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd | ||||
CDB_LIB_DEPENDS= libcdb.so:databases/tinycdb | CDB_LIB_DEPENDS= libcdb.so:databases/tinycdb | ||||
EAI_LIB_DEPENDS= libicuuc.so:devel/icu | EAI_LIB_DEPENDS= libicuuc.so:devel/icu | ||||
LDAP_USE= OPENLDAP=yes | LDAP_USE= OPENLDAP=yes | ||||
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb | LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb | ||||
MYSQL_USES?= mysql | MYSQL_USES?= mysql | ||||
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre | PCRE_LIB_DEPENDS= libpcre.so:devel/pcre | ||||
PGSQL_USES= pgsql | PGSQL_USES= pgsql | ||||
SASLKMIT_LIB_DEPENDS= libkrb5.so:security/krb5 | SASLKMIT_LIB_DEPENDS= libkrb5.so:security/krb5 | ||||
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | ||||
SQLITE_USES= sqlite | SQLITE_USES= sqlite | ||||
BLACKLISTD_DESC= Enable blacklistd support (FreeBSD 11.0 and later only) | BLACKLISTD_DESC= Enable blacklistd support (FreeBSD 11.0 and later only) | ||||
CDB_DESC= CDB maps lookups | CDB_DESC= CDB maps lookups | ||||
EAI_DESC= Email Address Internationalization (SMTPUTF8) support | EAI_DESC= Email Address Internationalization (SMTPUTF8) support | ||||
INST_BASE_DESC= Install into /usr and /etc/postfix | INST_BASE_DESC= Install into /usr and /etc/postfix | ||||
LDAP_DESC= LDAP maps (uses WITH_OPENLDAP_VER) | LDAP_DESC= LDAP maps (uses WITH_OPENLDAP_VER) | ||||
LDAP_SASL_DESC= LDAP client-to-server SASL auth | |||||
LMDB_DESC= LMDB maps | LMDB_DESC= LMDB maps | ||||
TEST_DESC= SMTP/LMTP test server and generator | TEST_DESC= SMTP/LMTP test server and generator | ||||
SASL_DESC= Cyrus SASL support (Dovecot SASL is always built in) | SASL_DESC= Cyrus SASL support (Dovecot SASL is always built in) | ||||
RG1_DESC= Kerberos network authentication protocol type | RG1_DESC= Kerberos network authentication protocol type | ||||
SASLKRB5_DESC= If your SASL req. Kerberos5, select this | SASLKRB5_DESC= If your SASL req. Kerberos5, select this | ||||
SASLKMIT_DESC= If your SASL req. MIT Kerberos5, select this | SASLKMIT_DESC= If your SASL req. MIT Kerberos5, select this | ||||
▲ Show 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MLDAP} | .if ${PORT_OPTIONS:MLDAP} | ||||
DYN_EXT+= ldap | DYN_EXT+= ldap | ||||
. if defined(WITH_OPENLDAP_VER) | . if defined(WITH_OPENLDAP_VER) | ||||
WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} | WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} | ||||
. endif | . endif | ||||
POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include | POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include | ||||
POSTFIX_CCARGS+= -I${LOCALBASE}/include/sasl -DUSE_LDAP_SASL | |||||
POSTFIX_DYN_AUXLIBS+= "AUXLIBS_LDAP=-L${LOCALBASE}/lib -lldap -L${LOCALBASE}/lib -llber" | POSTFIX_DYN_AUXLIBS+= "AUXLIBS_LDAP=-L${LOCALBASE}/lib -lldap -L${LOCALBASE}/lib -llber" | ||||
_REQUIRE+= slapd | _REQUIRE+= slapd | ||||
. if ${PORT_OPTIONS:MLDAP_SASL} | |||||
. if ! ${PORT_OPTIONS:MSASL} | |||||
LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 | |||||
. endif | |||||
WANT_OPENLDAP_SASL= yes | |||||
POSTFIX_CCARGS+= -I${LOCALBASE}/include/sasl -DUSE_LDAP_SASL | |||||
. endif | |||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MCDB} | .if ${PORT_OPTIONS:MCDB} | ||||
DYN_EXT+= cdb | DYN_EXT+= cdb | ||||
POSTFIX_CCARGS+= -DHAS_CDB -I${LOCALBASE}/include | POSTFIX_CCARGS+= -DHAS_CDB -I${LOCALBASE}/include | ||||
POSTFIX_DYN_AUXLIBS+= "AUXLIBS_CDB=-L${LOCALBASE}/lib -lcdb" | POSTFIX_DYN_AUXLIBS+= "AUXLIBS_CDB=-L${LOCALBASE}/lib -lcdb" | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |