Subject: pkg/29267: Update request of IPv6 patch for Postfix
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 02/07/2005 14:31:01
>Number:         29267
>Category:       pkg
>Synopsis:       Update request of IPv6 patch for Postfix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 07 14:31:00 +0000 2005
>Originator:     Takahiro Kambe
>Release:        NetBSD 2.99.15
>Organization:
Takahiro Kambe
>Environment:
	
	
System: NetBSD reef.back-street.net 2.99.15 NetBSD 2.99.15 (CF-R3E) #23: Tue Jan 25 19:12:54 JST 2005 taca@reef.back-street.net:/var/obj/sys/arch/i386/compile/CF-R3E i386
Architecture: i386
Machine: i386
>Description:
	IPv6 patch for Postfix was updated and it fixes some serious problem
	especially on Linux.

Version 1.26	Postfix release 2.1.5
		Postfix release 2.0.20

	Bugfix: Incomplete error checking in getaddrinfo() could cause
	lmtpd to crash with debug_peer_list defined. Carsten Hoeger, SuSE.
	File: util/match_ops.c

	Linux workaround: When mynetworks isn't set, a chrooted
	process could not read the IPv6 address information from
	/proc. We now invoke own_inet_addr() before chrooting, while
	processing main.cf. [backported from 2.2-nonprod snapshot]
	File: global/mail_params.c

	Safety: when IPv6 netmask can't be determined, mynetworks is not
	set and mynetworks_style = subnet, assume /128 (host only).
	Until now, Tru64Unix assumed /64 (good for real subnets, but not
	safe for tunnel ranges etc.).
	File: util/inet_addr_local.c

>How-To-Repeat:
	
>Fix:
	This change should be pulled-upt to pkgsrc-2004Q4 branch.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/postfix/Makefile,v
retrieving revision 1.156
diff -u -u -r1.156 Makefile
--- Makefile	28 Dec 2004 02:47:45 -0000	1.156
+++ Makefile	7 Feb 2005 11:24:12 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.156 2004/12/28 02:47:45 reed Exp $
 
 DISTNAME=	postfix-2.1.5
-PKGREVISION=	4
+PKGREVISION=	5
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/
 DIST_SUBDIR=	postfix
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/postfix/distinfo,v
retrieving revision 1.80
diff -u -u -r1.80 distinfo
--- distinfo	28 Dec 2004 16:13:28 -0000	1.80
+++ distinfo	7 Feb 2005 11:24:12 -0000
@@ -4,8 +4,8 @@
 Size (postfix/postfix-2.1.5.tar.gz) = 1971931 bytes
 SHA1 (postfix/postfix-2.1.1-canonical_classes-with_docs.diff) = d11d839210db3aa6e0a62850cb45edabe257c3fe
 Size (postfix/postfix-2.1.1-canonical_classes-with_docs.diff) = 13110 bytes
-SHA1 (postfix/tls+ipv6-1.25-pf-2.1.5.patch.gz) = 04431d177f67ad4091df4660b2318d9f7f85f75c
-Size (postfix/tls+ipv6-1.25-pf-2.1.5.patch.gz) = 251571 bytes
+SHA1 (postfix/tls+ipv6-1.26-pf-2.1.5.patch.gz) = 6813eb7d1c1ac9a76a04b7495d540236aa0aa625
+Size (postfix/tls+ipv6-1.26-pf-2.1.5.patch.gz) = 256725 bytes
 SHA1 (postfix/pfixtls-0.8.18-2.1.3-0.9.7d.tar.gz) = 313d572bcd960e3cafd78ac9ee4b87bdc1f02fc8
 Size (postfix/pfixtls-0.8.18-2.1.3-0.9.7d.tar.gz) = 239141 bytes
 SHA1 (patch-aa) = 279b54f19289b56a423214716386c5aab79a57d5
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/postfix/options.mk,v
retrieving revision 1.14
diff -u -u -r1.14 options.mk
--- options.mk	28 Dec 2004 16:13:28 -0000	1.14
+++ options.mk	7 Feb 2005 11:24:12 -0000
@@ -25,9 +25,9 @@
 .  if empty(PKG_OPTIONS:Mtls)
 PKG_OPTIONS+=		tls
 .  endif
-IPV6TLS_PATCH=		tls+ipv6-1.25-pf-2.1.5.patch.gz
+IPV6TLS_PATCH=		tls+ipv6-1.26-pf-2.1.5.patch.gz
 PATCHFILES+=		${IPV6TLS_PATCH}
-SITES_${IPV6TLS_PATCH}=	ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.25/
+SITES_${IPV6TLS_PATCH}=	ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.26/
 PATCH_DIST_STRIP.${IPV6TLS_PATCH}=	-p1
 PLIST_SRC+=		${PKGDIR}/PLIST.inet6
 

>Unformatted: