From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 7 16:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3A4CC40F for ; Thu, 7 Feb 2013 16:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1DC88B24 for ; Thu, 7 Feb 2013 16:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17GK1nW040100 for ; Thu, 7 Feb 2013 16:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17GK0Ja040099; Thu, 7 Feb 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 7 Feb 2013 16:20:00 GMT Resent-Message-Id: <201302071620.r17GK0Ja040099@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, Tor Halvard Furulund Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9F72F3F4 for ; Thu, 7 Feb 2013 16:18:24 +0000 (UTC) (envelope-from Squat@lutzow.squat.no) Received: from lutzow.squat.no (92.80-203-231.nextgentel.com [80.203.231.92]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCF6B15 for ; Thu, 7 Feb 2013 16:18:23 +0000 (UTC) Received: from lutzow.squat.no (localhost [127.0.0.1]) by lutzow.squat.no (8.14.5/8.14.5) with ESMTP id r17FstuW002811 for ; Thu, 7 Feb 2013 16:54:55 +0100 (CET) (envelope-from Squat@lutzow.squat.no) Received: (from root@localhost) by lutzow.squat.no (8.14.5/8.14.5/Submit) id r17FstjV002810; Thu, 7 Feb 2013 16:54:55 +0100 (CET) (envelope-from Squat) Message-Id: <201302071554.r17FstjV002810@lutzow.squat.no> Date: Thu, 7 Feb 2013 16:54:55 +0100 (CET) From: Tor Halvard Furulund To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175928: [MAINTAINER] net/miniupnpd: update to 1.7 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tor Halvard Furulund List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 16:20:01 -0000 >Number: 175928 >Category: ports >Synopsis: [MAINTAINER] net/miniupnpd: update to 1.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Feb 07 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tor Halvard Furulund >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD 9.1-RELEASE #0 r243825 >Description: Update net/miniupnpd from 1.7 to 1.8 The release notes for miniupnpd 1.8 are as follows: Improvements to UPnP standards compliance, especially when MiniUPnPd is compiled with the UPNP_STRICT config option. For better security, HTTP peer and SSDP source IP are checked to belong to a LAN. It should help to avoid SSDP and SOAP services to be exposed to the internet. >How-To-Repeat: >Fix: diff -ruN /usr/ports/net/miniupnpd/Makefile miniupnpd/Makefile --- /usr/ports/net/miniupnpd/Makefile 2012-11-17 07:00:06.000000000 +0100 +++ miniupnpd/Makefile 2013-02-07 16:03:03.384656544 +0100 @@ -6,7 +6,7 @@ # PORTNAME= miniupnpd -PORTVERSION= 1.7 +PORTVERSION= 1.8 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://miniupnp.tuxfamily.org/files/ \ @@ -37,7 +37,7 @@ do-install: @${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin/miniupnpd @${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample ${PREFIX}/etc/miniupnpd.conf.sample - @${INSTALL_MAN} ${WRKSRC}/miniupnpd.1 ${PREFIX}/man/man8/miniupnpd.8 + @${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 ${PREFIX}/man/man8/miniupnpd.8 @${CAT} ${PKGMESSAGE} .include diff -ruN /usr/ports/net/miniupnpd/distinfo miniupnpd/distinfo --- /usr/ports/net/miniupnpd/distinfo 2012-06-02 13:03:26.000000000 +0200 +++ miniupnpd/distinfo 2013-02-07 15:54:13.467803418 +0100 @@ -1,2 +1,2 @@ -SHA256 (miniupnpd-1.7.tar.gz) = 27cfacea0a2aefc109b44497b756bf3e4ab9f92beb55fc492b09df5c46c6bb74 -SIZE (miniupnpd-1.7.tar.gz) = 138047 +SHA256 (miniupnpd-1.8.tar.gz) = e453a9225a2883e759d09e15c51bb0265b8a019d1132434131e6929fef0076bb +SIZE (miniupnpd-1.8.tar.gz) = 146679 diff -ruN /usr/ports/net/miniupnpd/files/patch-Makefile miniupnpd/files/patch-Makefile --- /usr/ports/net/miniupnpd/files/patch-Makefile 2012-06-02 13:03:26.000000000 +0200 +++ miniupnpd/files/patch-Makefile 2013-02-07 15:58:06.881197472 +0100 @@ -9,16 +9,3 @@ #CFLAGS = -pipe -O -g -DDEBUG CFLAGS += -ansi CFLAGS += -Wall -@@ -43,10 +43,12 @@ - - # better way to find if we are using ipf or pf - .if $(OSNAME) == "FreeBSD" -+.if defined(/etc/rc.subr) && defined(/etc/rc.conf) - FWNAME != . /etc/rc.subr; . /etc/rc.conf; \ - if checkyesno ipfilter_enable; then \ - echo "ipf"; else echo "pf"; fi - .endif -+.endif - - .if $(OSNAME) == "NetBSD" - FWNAME != . /etc/rc.subr; . /etc/rc.conf; \ diff -ruN /usr/ports/net/miniupnpd/files/patch-genconfig.sh miniupnpd/files/patch-genconfig.sh --- /usr/ports/net/miniupnpd/files/patch-genconfig.sh 2012-06-02 13:03:26.000000000 +0200 +++ miniupnpd/files/patch-genconfig.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ ---- genconfig.sh.orig 2012-05-24 20:05:47.000000000 +0200 -+++ genconfig.sh 2012-05-30 20:12:57.685877655 +0200 -@@ -112,18 +112,20 @@ - # new way to see which one to use PF or IPF. - # see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=957 - # source file with handy subroutines like checkyesno -- . /etc/rc.subr -- # source config file so we can probe vars -- . /etc/rc.conf -- if checkyesno ipfilter_enable; then -- echo "Using ipf" -- FW=ipf -- elif checkyesno pf_enable; then -- echo "Using pf" -- FW=pf -- elif checkyesno firewall_enable; then -- echo "Using ifpw" -- FW=ipfw -+ if [ -f /etc/rc.subr ] && [ -f /etc/rc.conf ]; then -+ . /etc/rc.subr -+ # source config file so we can probe vars -+ . /etc/rc.conf -+ if checkyesno ipfilter_enable; then -+ echo "Using ipf" -+ FW=ipf -+ elif checkyesno pf_enable; then -+ echo "Using pf" -+ FW=pf -+ elif checkyesno firewall_enable; then -+ echo "Using ifpw" -+ FW=ipfw -+ fi - else - echo "Could not detect usage of ipf, pf, ipfw. Compiling for pf by default" - FW=pf >Release-Note: >Audit-Trail: >Unformatted: