1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- Update to 2.7.16

- Mark DEPRECATED [1]
- Adopt new LIB_DEPENDS syntax [1]
- Pet portlint(1) on PKGNAMESUFFIX placement [1]
- Respect upstream Makefile's warning suppression [2]

PR:		[1]: ports/185860

Submitted by:	[1]: Yasuhiro KIMURA <yasu@utahime.org>
		[2]: koobs (via email)
This commit is contained in:
Sahil Tandon 2014-01-21 01:17:43 +00:00
parent c185e98150
commit 3843cd3fd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340538
2 changed files with 15 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= postfix
PORTVERSION= 2.7.15
PORTVERSION= 2.7.16
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
@ -11,8 +11,8 @@ MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
ftp://ftp.samurai.com/pub/postfix/official/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/postfix/official/&,}
MASTER_SITE_SUBDIR= . old related/postfix
DIST_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= 27
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= sahil@FreeBSD.org
COMMENT= Secure alternative to widely-used Sendmail
@ -22,9 +22,12 @@ LICENSE_NAME= IBM PUBLIC LICENSE VERSION 1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
DEPRECATED= No longer supported by upstream
EXPIRATION_DATE= 2014-07-30
VDAVERSION= 2.7.13
CONFLICTS= courier-0.* postfix-1.* postfix2[89]-* \
postfix-2.10.* postfix-base-2.10.* postfix-current-2.* \
CONFLICTS= courier-0.* postfix-1.* postfix2[89]-* postfix21?-* \
postfix-2.* postfix-base-2.* postfix-current-2.* \
postfix-current-base-2.* sendmail-8.* sendmail+*-8.* \
smail-3.* zmailer-2.* opensmtpd-[0-9]*
@ -98,7 +101,8 @@ MAKEFILEFLAGS+= DEBUG=
MAKEFILEFLAGS+= CC="${CC}" OPT="${CFLAGS}"
POSTFIX_CCARGS+= -DDEF_CONFIG_DIR=\\\"${ETCDIR}\\\" \
POSTFIX_CCARGS+= \$$(WARN) \
-DDEF_CONFIG_DIR=\\\"${ETCDIR}\\\" \
-DDEF_DAEMON_DIR=\\\"${DAEMONDIR}\\\" \
-DDEF_COMMAND_DIR=\\\"${PREFIX}/sbin\\\" \
-DDEF_SENDMAIL_PATH=\\\"${PREFIX}/sbin/sendmail\\\" \
@ -116,7 +120,7 @@ POSTFIX_CCARGS+= -DDEF_CONFIG_DIR=\\\"${ETCDIR}\\\" \
_REQUIRE= LOGIN cleanvar
.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
.else
@ -124,7 +128,7 @@ POSTFIX_CCARGS+= -DNO_PCRE
.endif
.if ${PORT_OPTIONS:MSASL2}
LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lsasl2 -lpam -lcrypt
.endif
@ -144,7 +148,7 @@ POSTFIX_AUXLIBS+= -lkrb5 ${KRB5_EXTR} -lcrypto -lcrypt -lcom_err -lasn1 -lroken
.endif
.if ${PORT_OPTIONS:MSASLKMIT}
LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5
LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/krb5
POSTFIX_AUXLIBS+= -Wl,--rpath,$${KRB5_HOME:-${LOCALBASE}}/lib -lkrb5 -lcrypto -lcrypt -lcom_err
.endif
@ -155,7 +159,7 @@ POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto
.endif
.if ${PORT_OPTIONS:MSPF}
LIB_DEPENDS+= spf2:${PORTSDIR}/mail/libspf2
LIB_DEPENDS+= libspf2.so:${PORTSDIR}/mail/libspf2
PATCH_SITES+= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= mm
PATCHFILES+= postfix-2.7.1-libspf2-1.2.x-4.patch.gz

View File

@ -1,5 +1,5 @@
SHA256 (postfix/postfix-2.7.15.tar.gz) = d58acafd1b14270f0f071be7b89971e7b6a9a57243db9c008cf491c6e687a1d1
SIZE (postfix/postfix-2.7.15.tar.gz) = 3421435
SHA256 (postfix/postfix-2.7.16.tar.gz) = ce96e415cbf699bde5cf699ac8d4242c880a68233a7b809dad6a5896c3bf94bb
SIZE (postfix/postfix-2.7.16.tar.gz) = 3421793
SHA256 (postfix/postfix-2.7.1-libspf2-1.2.x-4.patch.gz) = b67efb1ffbcae91f13bf3ed90a5181d4b5bc86ebe15753eaf9db8b2278f5bb16
SIZE (postfix/postfix-2.7.1-libspf2-1.2.x-4.patch.gz) = 8186
SHA256 (postfix/postfix-vda-v10-2.7.13.patch) = aaefb45cec8744c9cd211c87ef5fa779519f459a986d354e11fe1c9a05f1c624