svn commit: r372368 - head/mail/postfix-current

Olli Hauer ohauer at FreeBSD.org
Sun Nov 9 18:13:20 UTC 2014


Author: ohauer
Date: Sun Nov  9 18:13:18 2014
New Revision: 372368
URL: https://svnweb.freebsd.org/changeset/ports/372368
QAT: https://qat.redports.org/buildarchive/r372368/

Log:
  - update to 2.12-20141106
  - add OPTION for Email Address Internationalization
    (EAI, RFC 6531..6533) [1]
  - sort OPTIONS_DEFINE
  - fix build and install for non root users,
    (sgid and group for sbin/postdrop and sbin/postqueue was lost if build
     as non root and installed with sudo)
  - install /var/spool/postfix directories with correct owner/mode
  - use $WRKDIR instead of /tmp
  
  Changes:
  20141021
         Per IETF TLS WG consensus, the tls_session_ticket_cipher
         default setting was changed from aes-128-cbc to aes-256-cbc.
         Take that, you quantum computer attackers! Viktor Dukhovni.
         Files: proto/postconf.proto, global/mail_params.h.
  
  20141024
         Cleanup: added $smtpd_mumble_restrictions to the proxy_read_maps
         default setting. File: global/mail_params.h.
  
         Documentation: different header/body checks for MX service
         and SMTP submissions. File: proto/BUILTIN_FILTER_README.html.
  
         Cleanup: don't send "bare" original recipient in SMTP DSN
         attributes. File: cleanup/cleanup_addr.c.
  
         Feature: smtp-sink -N option to suppress DSN announcement.
         File: smtpstone/smtp-sink.c.
  
  20141025
         Bugfix (introduced: Postfix 2,11): core dump when
         smtp_policy_maps specifies an invalid TLS level. Viktor
         Dukhovni. File: smtp/smtp_tls_policy.c.
  
  20141103
         Logging: when a connection is closed, log the request counts
         for unimplemented STARTTLS or AUTH commands separately,
         instead of logging such commands as "unknown". File:
         smtpd/smtpd.c.
  
  20141106
         Cleanup: set errno to ETIMEDOUT after postscreen handshake
         timeout event, so that warnings report the correct error.
         File: tlsproxy/tlsproxy.c.
  
  PR:		194786 [1]
  Submitted by:	Mark Martinec
  Approved by:	sahil (imlicit)

Modified:
  head/mail/postfix-current/Makefile
  head/mail/postfix-current/distinfo
  head/mail/postfix-current/pkg-plist

Modified: head/mail/postfix-current/Makefile
==============================================================================
--- head/mail/postfix-current/Makefile	Sun Nov  9 16:35:37 2014	(r372367)
+++ head/mail/postfix-current/Makefile	Sun Nov  9 18:13:18 2014	(r372368)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	postfix
-DISTVERSION=	2.12-20141020
+DISTVERSION=	2.12-20141106
 PORTEPOCH=	4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
@@ -45,6 +45,7 @@ OPTIONS_RADIO_RG2=	SASLKRB5 SASLKMIT
 OPTIONS_DEFAULT=	PCRE
 
 PCRE_DESC=	Perl Compatible Regular Expressions
+EAI_DESC=	Email Address Internationalization (EAI, RFC 6531..6533)
 SASL2_DESC=	Cyrus SASLv2 (Simple Auth. and Sec. Layer)
 DOVECOT_DESC=	Dovecot 1.x SASL authentication method
 DOVECOT2_DESC=	Dovecot 2.x SASL authentication method
@@ -133,6 +134,14 @@ POSTFIX_CCARGS+=	-DDEF_CONFIG_DIR=\\\"${
 # Default requirement for postfix rc script
 _REQUIRE=		LOGIN cleanvar
 
+.if ${PORT_OPTIONS:MEAI}
+LIB_DEPENDS+=		libicuuc.so:${PORTSDIR}/devel/icu
+POSTFIX_CCARGS+=	-DHAS_EAI -I${LOCALBASE}/include
+POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -licuuc
+.else
+POSTFIX_CCARGS+=	-DNO_EAI
+.endif
+
 .if ${PORT_OPTIONS:MPCRE}
 LIB_DEPENDS+=		libpcre.so:${PORTSDIR}/devel/pcre
 POSTFIX_CCARGS+=	-DHAS_PCRE -I${LOCALBASE}/include
@@ -320,7 +329,7 @@ pre-install:
 .endif
 
 do-install:
-	@(cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=${STAGEDIR} tempdir=/tmp \
+	@(cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=${STAGEDIR} tempdir=${WRKDIR} \
 		config_directory=${ETCDIR} \
 		command_directory=${PREFIX}/sbin \
 		daemon_directory=${DAEMONDIR} \

Modified: head/mail/postfix-current/distinfo
==============================================================================
--- head/mail/postfix-current/distinfo	Sun Nov  9 16:35:37 2014	(r372367)
+++ head/mail/postfix-current/distinfo	Sun Nov  9 18:13:18 2014	(r372368)
@@ -1,2 +1,2 @@
-SHA256 (postfix/postfix-2.12-20141020.tar.gz) = 3a836863d04fd455032ec35c61eee7881fd6e992e18e8642e02e1fe24b541785
-SIZE (postfix/postfix-2.12-20141020.tar.gz) = 4183161
+SHA256 (postfix/postfix-2.12-20141106.tar.gz) = 1491bab76c8fbe56f77f763a07bdc627365958babc85dab20a8b124b69608021
+SIZE (postfix/postfix-2.12-20141106.tar.gz) = 4185630

Modified: head/mail/postfix-current/pkg-plist
==============================================================================
--- head/mail/postfix-current/pkg-plist	Sun Nov  9 16:35:37 2014	(r372367)
+++ head/mail/postfix-current/pkg-plist	Sun Nov  9 18:13:18 2014	(r372368)
@@ -127,32 +127,37 @@ libexec/postfix/virtual
 sbin/postalias
 sbin/postcat
 sbin/postconf
-sbin/postdrop
 sbin/postfix
 sbin/postkick
 sbin/postlock
 sbin/postlog
 sbin/postmap
 sbin/postmulti
+ at group maildrop
+ at mode 2755
+sbin/postdrop
 sbin/postqueue
+ at group
+ at mode
 sbin/postsuper
 sbin/sendmail
+ at dir libexec/postfix/postfix-files.d
 @dir /var/db/postfix
- at dir /var/spool/postfix/active
- at dir /var/spool/postfix/bounce
- at dir /var/spool/postfix/corrupt
- at dir /var/spool/postfix/defer
- at dir /var/spool/postfix/deferred
- at dir /var/spool/postfix/flush
- at dir /var/spool/postfix/hold
- at dir /var/spool/postfix/incoming
- at dir /var/spool/postfix/maildrop
- at dir /var/spool/postfix/pid
- at dir /var/spool/postfix/private
- at dir /var/spool/postfix/public
- at dir /var/spool/postfix/saved
- at dir /var/spool/postfix/trace
- at dir /var/spool/postfix
+ at dir(postfix,,700) /var/spool/postfix/active
+ at dir(postfix,,700) /var/spool/postfix/bounce
+ at dir(postfix,,700) /var/spool/postfix/corrupt
+ at dir(postfix,,700) /var/spool/postfix/defer
+ at dir(postfix,,700) /var/spool/postfix/deferred
+ at dir(postfix,,700) /var/spool/postfix/flush
+ at dir(postfix,,700) /var/spool/postfix/hold
+ at dir(postfix,,700) /var/spool/postfix/incoming
+ at dir(postfix,maildrop,730) /var/spool/postfix/maildrop
+ at dir(,postfix,755) /var/spool/postfix/pid
+ at dir(postfix,,700) /var/spool/postfix/private
+ at dir(postfix,maildrop,710) /var/spool/postfix/public
+ at dir(postfix,,700) /var/spool/postfix/saved
+ at dir(postfix,,700) /var/spool/postfix/trace
+ at dir(postfix,postfix,700) /var/spool/postfix
 %%BASE%%@cwd /
 @dir etc/postfix
 @cwd %%RESETPREFIX%%


More information about the svn-ports-head mailing list