ports/134618: news/inn update to 2.4.6

Johan van Selst johans at FreeBSD.org
Sun May 17 16:30:02 UTC 2009


>Number:         134618
>Category:       ports
>Synopsis:       news/inn update to 2.4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 17 16:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 7.2-STABLE FreeBSD 7.2-STABLE #7: Fri May 8 16:37:49 CEST 2009 root at mud.stack.nl:/extra1/obj/usr/src/sys/GENERIC i386


	
>Description:
	
	2.4.6 is the latest stable version of INN.
	It includes a fix for reported bugs (perl 5.8.9)
	and obsoletes a local ports patch (patch-ipv6; now included)
>How-To-Repeat:
	
>Fix:

	

diff -uNr inn/Makefile inn/Makefile
--- inn/Makefile	2008-11-17 17:44:11.000000000 +0100
+++ inn/Makefile	2009-05-17 14:07:08.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	inn
-PORTVERSION?=	2.4.5
+PORTVERSION?=	2.4.6
 PORTREVISION?=	0
 CATEGORIES=	news ipv6
 MASTER_SITES?=	${MASTER_SITE_ISC}
diff -uNr inn/distinfo inn/distinfo
--- inn/distinfo	2008-11-14 17:11:08.000000000 +0100
+++ inn/distinfo	2009-05-17 14:07:20.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (inn-2.4.5.tar.gz) = 07bc6530c5e296b0ee81a5d6ac4cd355
-SHA256 (inn-2.4.5.tar.gz) = 7d33c383fccb119ff2d474c35ad09ffb223822cce3575cb457eab8a2c4b1f23e
-SIZE (inn-2.4.5.tar.gz) = 1908550
+MD5 (inn-2.4.6.tar.gz) = 50741ff1b9c230af9109aafc7e98b1a2
+SHA256 (inn-2.4.6.tar.gz) = 912b4c56a08697b49be279b15ed4ca007de2204b6485a58d1f9db60e3d4a6690
+SIZE (inn-2.4.6.tar.gz) = 1942874
diff -uNr inn/files/patch-ipv6 inn/files/patch-ipv6
--- inn/files/patch-ipv6	2008-11-14 17:11:09.000000000 +0100
+++ inn/files/patch-ipv6	1970-01-01 01:00:00.000000000 +0100
@@ -1,40 +0,0 @@
---- nnrpd/nnrpd.c	2008/08/23 13:45:02	7953
-+++ nnrpd/nnrpd.c	2008/10/25 17:06:15	8144
-@@ -804,9 +804,9 @@
-     struct		timeval tv;
-     unsigned short	ListenPort = NNTP_PORT;
- #ifdef HAVE_INET6
--    char		ListenAddr[INET6_ADDRSTRLEN];
-+    char		ListenAddr[INET6_ADDRSTRLEN] = "::0";
- #else
--    char		ListenAddr[16];
-+    char		ListenAddr[16] = "0.0.0.0";
- #endif
-     int			lfd, fd;
-     socklen_t		clen;
-@@ -948,11 +948,14 @@
-     SPOOLlen = strlen(innconf->patharticles);
- 
-     if (DaemonMode) {
-+        bool ipv4binding = true;
-+
- #ifdef HAVE_INET6
- 	memset(&ssa, '\0', sizeof(struct sockaddr_in6));
- 	ssa6->sin6_family = AF_INET6;
- 	ssa6->sin6_port   = htons(ListenPort);
- 	if (inet_pton(AF_INET6, ListenAddr, ssa6->sin6_addr.s6_addr) > 0) {
-+            ipv4binding = false;
- 	    if ( (lfd = socket(AF_INET6, SOCK_STREAM, 0)) < 0) {
- 		syslog(L_FATAL, "can't open socket (%m)");
- 		exit(1);
-@@ -979,7 +982,9 @@
- 	    exit(1);
- 	}
- 
--	if (bind(lfd, (struct sockaddr *) &ssa, sizeof(ssa)) < 0) {
-+        if (bind(lfd, (struct sockaddr *) &ssa,
-+                 ipv4binding ? sizeof(struct sockaddr_in)
-+                             : sizeof(struct sockaddr_storage)) < 0) {
- 	    fprintf(stderr, "%s: can't bind (%s)\n", argv[0], strerror(errno));
- 	    syslog(L_FATAL, "can't bind local address (%m)");
- 	    exit(1);

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list