- Update to 2.9-20110228 and modify patching for

src/util/sys_defs.h, which is updated upstream
  to be aware of the FreeBSD closefrom() support
  time window [1]

- Take maintainership [2]

PR:		ports/155176 [1]
Submitted by:	sahil (myself)
Approved by:	portmgr (linimon) [2]
This commit is contained in:
Sahil Tandon 2011-03-02 03:10:49 +00:00
parent 11a6fb8ab0
commit 4dda070150
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270101
3 changed files with 6 additions and 16 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= postfix
DISTVERSION= 2.9-20110219
DISTVERSION= 2.9-20110228
PORTEPOCH= 4
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
PKGNAMESUFFIX= -current
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= mnag@FreeBSD.org
MAINTAINER= sahil@FreeBSD.org
COMMENT= A secure alternative to widely-used Sendmail
CONFLICTS= courier-0.* postfix-1.* postfix-2.* postfix-base-2.* \

View file

@ -1,2 +1,2 @@
SHA256 (postfix/postfix-2.9-20110219.tar.gz) = 0146816869862f86243cd05a61d8cf319c95c2a9d40c9fe193998944b3dec7d9
SIZE (postfix/postfix-2.9-20110219.tar.gz) = 3651218
SHA256 (postfix/postfix-2.9-20110228.tar.gz) = a792eb21e95f19d572ac77c546d2b093865f34952023d6b6680c07a9d687a7b2
SIZE (postfix/postfix-2.9-20110228.tar.gz) = 3653686

View file

@ -1,5 +1,5 @@
--- src/util/sys_defs.h.orig 2009-12-03 22:30:03.000000000 -0200
+++ src/util/sys_defs.h 2009-12-03 22:31:51.000000000 -0200
--- src/util/sys_defs.h.orig 2011-03-01 19:35:19.000000000 -0500
+++ src/util/sys_defs.h 2011-03-01 19:36:54.000000000 -0500
@@ -25,7 +25,7 @@
*/
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
@ -9,13 +9,3 @@
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
@@ -111,7 +111,8 @@
#define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */
#endif
-#if __FreeBSD_version >= 800107 /* safe; don't believe the experts */
+#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \
+ || __FreeBSD_version >= 800100
#define HAS_CLOSEFROM
#endif