From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 17 16:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DDD3106564A for ; Sun, 17 May 2009 16:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7BB8FC19 for ; Sun, 17 May 2009 16:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4HGU1h4022473 for ; Sun, 17 May 2009 16:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4HGU1qK022470; Sun, 17 May 2009 16:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 17 May 2009 16:30:01 GMT Resent-Message-Id: <200905171630.n4HGU1qK022470@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 053F3106566B; Sun, 17 May 2009 16:20:58 +0000 (UTC) (envelope-from johans@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id BB8088FC19; Sun, 17 May 2009 16:20:57 +0000 (UTC) (envelope-from johans@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id C6D32359944; Sun, 17 May 2009 18:20:56 +0200 (CEST) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:230:48ff:fe12:2794]) by mx1.stack.nl (Postfix) with ESMTP id AE44035992C; Sun, 17 May 2009 18:20:54 +0200 (CEST) Received: by mud.stack.nl (Postfix, from userid 801) id 962CB11446; Sun, 17 May 2009 18:20:54 +0200 (CEST) Message-Id: <20090517162054.962CB11446@mud.stack.nl> Date: Sun, 17 May 2009 18:20:54 +0200 (CEST) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: shaun@FreeBSD.org Subject: ports/134618: news/inn update to 2.4.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 16:30:02 -0000 >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@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: