mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
update mail/postfix-current to latest
update postfix-current to latest version add option to enable NIS maps IPv6 and TLS patches are still broken, unfortunately PR: ports/74010 Submitted by: Vivek Khera <vivek@khera.org>
This commit is contained in:
parent
81f580eaca
commit
72029aab04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122544
4 changed files with 34 additions and 23 deletions
|
@ -15,7 +15,7 @@
|
||||||
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSIONRAW= 2.2-20040919
|
PORTVERSIONRAW= 2.2-20041030
|
||||||
PORTVERSION= ${PORTVERSIONRAW:S/-/./}
|
PORTVERSION= ${PORTVERSIONRAW:S/-/./}
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
|
@ -24,6 +24,7 @@ MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
|
||||||
ftp://ftp.tux.org/pub/net/postfix/experimental/ \
|
ftp://ftp.tux.org/pub/net/postfix/experimental/ \
|
||||||
ftp://ftp.utoronto.ca/mirror/packages/postfix/experimental/ \
|
ftp://ftp.utoronto.ca/mirror/packages/postfix/experimental/ \
|
||||||
ftp://ftp.samurai.com/pub/postfix/experimental/ \
|
ftp://ftp.samurai.com/pub/postfix/experimental/ \
|
||||||
|
http://people.FreeBSD.org/~seanc/ports/ \
|
||||||
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/postfix/experimental/&,}
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/postfix/experimental/&,}
|
||||||
MASTER_SITE_SUBDIR= . old related/postfix
|
MASTER_SITE_SUBDIR= . old related/postfix
|
||||||
DISTNAME= postfix-${PORTVERSIONRAW}
|
DISTNAME= postfix-${PORTVERSIONRAW}
|
||||||
|
@ -44,7 +45,7 @@ MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \
|
||||||
MAN5= access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \
|
MAN5= access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \
|
||||||
mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \
|
mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \
|
||||||
regexp_table.5 relocated.5 tcp_table.5 transport.5 virtual.5 \
|
regexp_table.5 relocated.5 tcp_table.5 transport.5 virtual.5 \
|
||||||
header_checks.5 body_checks.5
|
header_checks.5 body_checks.5 master.5 nisplus_table.5
|
||||||
|
|
||||||
MAN8= anvil.8 bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
|
MAN8= anvil.8 bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
|
||||||
master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \
|
master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \
|
||||||
|
@ -104,26 +105,26 @@ post-patch:
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html
|
${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html
|
||||||
.for file in ${MAN1}
|
.for f in ${MAN1}
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
||||||
${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html
|
${WRKSRC}/man/man1/${f} ${WRKSRC}/html/${f}.html
|
||||||
.endfor
|
.endfor
|
||||||
.for file in ${MAN5}
|
.for f in ${MAN5}
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
||||||
${WRKSRC}/man/man5/${file} ${WRKSRC}/html/${file}.html
|
${WRKSRC}/man/man5/${f} ${WRKSRC}/html/${f}.html
|
||||||
.endfor
|
.endfor
|
||||||
.for file in ${MAN8base}
|
.for f in ${MAN8base}
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
||||||
${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html
|
${WRKSRC}/man/man8/${f} ${WRKSRC}/html/${f}.html
|
||||||
.endfor
|
.endfor
|
||||||
.for file in ${README}
|
.for f in ${README}
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
||||||
${WRKSRC}/html/${file}.html
|
${WRKSRC}/html/${f}.html
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \
|
||||||
${WRKSRC}/README_FILES/${file}
|
${WRKSRC}/README_FILES/${f}
|
||||||
.endfor
|
.endfor
|
||||||
.for file in ${CONF1}
|
.for f in ${CONF1}
|
||||||
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file}
|
@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${f}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
@ -150,9 +151,9 @@ do-install:
|
||||||
sample_directory=${PREFIX}/etc/postfix \
|
sample_directory=${PREFIX}/etc/postfix \
|
||||||
readme_directory=${READMEDIR}
|
readme_directory=${READMEDIR}
|
||||||
|
|
||||||
.for file in ${CONF1}
|
.for f in ${CONF1}
|
||||||
${INSTALL_DATA} ${WRKSRC}/conf/${file} \
|
${INSTALL_DATA} ${WRKSRC}/conf/${f} \
|
||||||
${PREFIX}/etc/postfix/dist-${file}
|
${PREFIX}/etc/postfix/dist-${f}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
@${INSTALL_SCRIPT} \
|
@${INSTALL_SCRIPT} \
|
||||||
|
@ -160,8 +161,8 @@ do-install:
|
||||||
${PREFIX}/bin/rmail
|
${PREFIX}/bin/rmail
|
||||||
|
|
||||||
# optional TEST binaries
|
# optional TEST binaries
|
||||||
.for file in ${BIN1}
|
.for f in ${BIN1}
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/sbin
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
MD5 (postfix/postfix-2.2-20040919.tar.gz) = 4611a1087f346c3d1ddcc0c1ec9466ab
|
MD5 (postfix/postfix-2.2-20041030.tar.gz) = f179f5d50d387d2eb82351bdb03dac9e
|
||||||
SIZE (postfix/postfix-2.2-20040919.tar.gz) = 2077140
|
SIZE (postfix/postfix-2.2-20041030.tar.gz) = 2106328
|
||||||
|
MD5 (postfix/pfixtls-0.8.19-2.2-20040919-0.9.7d.tar.gz) = 2f5df0781abd0390611158b4a5fb63c4
|
||||||
|
SIZE (postfix/pfixtls-0.8.19-2.2-20040919-0.9.7d.tar.gz) = 239159
|
||||||
|
|
|
@ -167,8 +167,10 @@ bin/mailq
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html
|
%%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/local.8.html
|
%%PORTDOCS%%%%DOCSDIR%%/local.8.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/mailq.1.html
|
%%PORTDOCS%%%%DOCSDIR%%/mailq.1.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/master.5.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/master.8.html
|
%%PORTDOCS%%%%DOCSDIR%%/master.8.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html
|
%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/nisplus_table.5.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html
|
%%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html
|
%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html
|
%%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html
|
||||||
|
@ -181,6 +183,7 @@ bin/mailq
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html
|
%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html
|
%%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg
|
%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/postfix-manuals.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png
|
%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postfix.1.html
|
%%PORTDOCS%%%%DOCSDIR%%/postfix.1.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/postkick.1.html
|
%%PORTDOCS%%%%DOCSDIR%%/postkick.1.html
|
||||||
|
|
|
@ -35,6 +35,7 @@ PgSQL "PostgreSQL v7.4 map lookups" "$status_PgSQL" \
|
||||||
PgSQL73 "PostgreSQL v7.3 map lookups" "$status_PgSQL73" \
|
PgSQL73 "PostgreSQL v7.3 map lookups" "$status_PgSQL73" \
|
||||||
PgSQL72 "PostgreSQL v7.2 map lookups" "$status_PgSQL72" \
|
PgSQL72 "PostgreSQL v7.2 map lookups" "$status_PgSQL72" \
|
||||||
OpenLDAP "OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \
|
OpenLDAP "OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \
|
||||||
|
NIS "NIS map lookups" "$status_NIS" \
|
||||||
Test "SMTP/LMTP test server and generator" "$status_Test" \
|
Test "SMTP/LMTP test server and generator" "$status_Test" \
|
||||||
2> $tempfile
|
2> $tempfile
|
||||||
|
|
||||||
|
@ -108,8 +109,8 @@ while [ "$1" ]; do
|
||||||
echo "USE_OPENSSL= yes"
|
echo "USE_OPENSSL= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_SSL -I\${OPENSSLINC}"
|
echo "POSTFIX_CCARGS+= -DHAS_SSL -I\${OPENSSLINC}"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
|
echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
|
||||||
echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.19-2.2-20040829-0.9.7d.tar.gz"
|
echo "DISTFILES+= \${DISTNAME}.tar.gz pfixtls-0.8.19-2.2-20040919-0.9.7d.tar.gz"
|
||||||
echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.19-2.2-20040829-0.9.7d/pfixtls.diff"
|
echo "EXTRA_PATCHES+= \${WRKDIR}/pfixtls-0.8.19-2.2-20040919-0.9.7d/pfixtls.diff"
|
||||||
echo "PATCH_STRIP= -p1"
|
echo "PATCH_STRIP= -p1"
|
||||||
echo "TLS_SUFFIX= +tls"
|
echo "TLS_SUFFIX= +tls"
|
||||||
SUB_TLS=""
|
SUB_TLS=""
|
||||||
|
@ -195,6 +196,10 @@ while [ "$1" ]; do
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lldap -llber"
|
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lldap -llber"
|
||||||
echo "OPENLDAP_SUFFIX= +openldap"
|
echo "OPENLDAP_SUFFIX= +openldap"
|
||||||
;;
|
;;
|
||||||
|
NIS)
|
||||||
|
echo "POSTFIX_CCARGS+= -DHAS_NIS"
|
||||||
|
echo "NIS_SUFFIX= +nis"
|
||||||
|
;;
|
||||||
Test)
|
Test)
|
||||||
echo "BIN1= smtp-sink smtp-source qmqp-source"
|
echo "BIN1= smtp-sink smtp-source qmqp-source"
|
||||||
# echo "MAN1+= smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"
|
# echo "MAN1+= smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"
|
||||||
|
@ -248,4 +253,4 @@ echo "PLIST_SUB+= SUB_IPV6=\"${SUB_IPV6}\""
|
||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}\${NIS_SUFFIX}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue