Mon Aug 18 09:46:08 2008 UTC ()
pullup ticket #2495 - requested by martti
postfix: update package for security fixes

revisions pulled up:
pkgsrc/mail/postfix/Makefile	1.218
pkgsrc/mail/postfix/distinfo	1.118

   Module Name:    pkgsrc
   Committed By:   martti
   Date:           Mon Aug 18 07:13:41 UTC 2008

   Modified Files:
           pkgsrc/mail/postfix: Makefile distinfo

   Log Message:
   Updated mail/postfix to 2.5.4

   20080804

           Bugfix: dangling pointer in vstring_sprintf_prepend().
           File: util/vstring.c.

   20080814

           Security: some systems have changed their link() semantics,
           and will hardlink a symlink, contrary to POSIX and XPG4.
           Sebastian Krahmer, SuSE. File: util/safe_open.c.

           The solution introduces the following incompatible change:
           when the target of mail delivery is a symlink, the parent
           directory of that symlink must now be writable by root only
           (in addition to the already existing requirement that the
           symlink itself is owned by root).  This change will break
           legitimate configurations that deliver mail to a symbolic
           link in a directory with less restrictive permissions.


(rtr)
diff -r1.216 -r1.216.6.1 pkgsrc/mail/postfix/Makefile
diff -r1.116 -r1.116.6.1 pkgsrc/mail/postfix/distinfo

cvs diff -r1.216 -r1.216.6.1 pkgsrc/mail/postfix/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/postfix/Makefile 2008/03/14 01:13:36 1.216
+++ pkgsrc/mail/postfix/Makefile 2008/08/18 09:46:08 1.216.6.1
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.216 2008/03/14 01:13:36 taca Exp $ 1# $NetBSD: Makefile,v 1.216.6.1 2008/08/18 09:46:08 rtr Exp $
2 2
3DISTNAME= postfix-2.5.1 3DISTNAME= postfix-2.5.4
4PKGREVISION= 1 4#PKGREVISION= 1
5CATEGORIES= mail 5CATEGORIES= mail
6MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ 6MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/
7DIST_SUBDIR= postfix 7DIST_SUBDIR= postfix
8 8
9MAINTAINER= martti@NetBSD.org 9MAINTAINER= martti@NetBSD.org
10HOMEPAGE= http://www.postfix.org/ 10HOMEPAGE= http://www.postfix.org/
11COMMENT= Postfix SMTP server and tools 11COMMENT= Postfix SMTP server and tools
12#LICENSE= postfix-license 12#LICENSE= postfix-license
13 13
14CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 sendmail-[0-9]* 14CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 sendmail-[0-9]*
15 15
16PKG_INSTALLATION_TYPES= overwrite pkgviews 16PKG_INSTALLATION_TYPES= overwrite pkgviews
17 17
@@ -78,27 +78,27 @@ SUBST_SED.postfix+= \ @@ -78,27 +78,27 @@ SUBST_SED.postfix+= \
78SUBST_SED.postfix+= \ 78SUBST_SED.postfix+= \
79 -e '/^\#define DEF_SGID_GROUP[ ]/s,postdrop,maildrop,g' 79 -e '/^\#define DEF_SGID_GROUP[ ]/s,postdrop,maildrop,g'
80 80
81# options.mk appends to CCARGS and AUXLIBS the options needed to build 81# options.mk appends to CCARGS and AUXLIBS the options needed to build
82# Postfix with support for various add-on modules. 82# Postfix with support for various add-on modules.
83# 83#
84.include "options.mk" 84.include "options.mk"
85 85
86PKG_SYSCONFSUBDIR= postfix 86PKG_SYSCONFSUBDIR= postfix
87LIBEXECDIR= ${PREFIX}/libexec/postfix 87LIBEXECDIR= ${PREFIX}/libexec/postfix
88DOCDIR= ${PREFIX}/share/doc/postfix 88DOCDIR= ${PREFIX}/share/doc/postfix
89EXAMPLEDIR= ${PREFIX}/share/examples/postfix 89EXAMPLEDIR= ${PREFIX}/share/examples/postfix
90 90
91FILES_SUBST+= EXAMPLEDIR=${EXAMPLEDIR:Q} 91FILES_SUBST+= EXAMPLEDIR=${EXAMPLEDIR}
92MESSAGE_SUBST+= EXAMPLEDIR=${EXAMPLEDIR} 92MESSAGE_SUBST+= EXAMPLEDIR=${EXAMPLEDIR}
93MESSAGE_SUBST+= DOCDIR=${DOCDIR} 93MESSAGE_SUBST+= DOCDIR=${DOCDIR}
94 94
95MESSAGE_SRC+= ${PKGDIR}/MESSAGE 95MESSAGE_SRC+= ${PKGDIR}/MESSAGE
96.if exists(${PKGDIR}/MESSAGE.${OPSYS}) 96.if exists(${PKGDIR}/MESSAGE.${OPSYS})
97MESSAGE_SRC+= ${PKGDIR}/MESSAGE.${OPSYS} 97MESSAGE_SRC+= ${PKGDIR}/MESSAGE.${OPSYS}
98.endif 98.endif
99PLIST_SRC+= ${PKGDIR}/PLIST 99PLIST_SRC+= ${PKGDIR}/PLIST
100 100
101BUILD_TARGET= # empty 101BUILD_TARGET= # empty
102MAKE_ENV+= CC=${CC:Q} OPT=${CFLAGS:Q} 102MAKE_ENV+= CC=${CC:Q} OPT=${CFLAGS:Q}
103MAKE_ENV+= AUXLIBS=${AUXLIBS:Q} CCARGS=${CCARGS:Q} 103MAKE_ENV+= AUXLIBS=${AUXLIBS:Q} CCARGS=${CCARGS:Q}
104 104

cvs diff -r1.116 -r1.116.6.1 pkgsrc/mail/postfix/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/postfix/distinfo 2008/02/18 17:45:34 1.116
+++ pkgsrc/mail/postfix/distinfo 2008/08/18 09:46:08 1.116.6.1
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.116 2008/02/18 17:45:34 ghen Exp $ 1$NetBSD: distinfo,v 1.116.6.1 2008/08/18 09:46:08 rtr Exp $
2 2
3SHA1 (postfix/postfix-2.5.1.tar.gz) = 4ceb805b78aff4c872b7e55554d2364e06f695b3 3SHA1 (postfix/postfix-2.5.4.tar.gz) = 995f5873c464ac9427b543d25c4325e2fbbb7bf5
4RMD160 (postfix/postfix-2.5.1.tar.gz) = cf414306742d642ccab78212ee33af955d7a9023 4RMD160 (postfix/postfix-2.5.4.tar.gz) = 83d59f949eb13656b60226fc43b7ab24b227c873
5Size (postfix/postfix-2.5.1.tar.gz) = 3153629 bytes 5Size (postfix/postfix-2.5.4.tar.gz) = 3157713 bytes
6SHA1 (patch-aa) = 757b6f1be1a51696f1c7d41ad520cba3b8420dcf 6SHA1 (patch-aa) = 757b6f1be1a51696f1c7d41ad520cba3b8420dcf
7SHA1 (patch-ag) = 4d66026fe81dde97470bd01d529af191f1547228 7SHA1 (patch-ag) = 4d66026fe81dde97470bd01d529af191f1547228
8SHA1 (patch-ai) = 7b19361e77d25139134511331a82abcd26b5336d 8SHA1 (patch-ai) = 7b19361e77d25139134511331a82abcd26b5336d