ports/175928: [MAINTAINER] net/miniupnpd: update to 1.7
Tor Halvard Furulund
squat at squat.no
Thu Feb 7 16:20:01 UTC 2013
>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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list