miniupnpd: Update to 2.0.20161216 249/head
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 9 Jan 2017 10:44:27 +0000 (11:44 +0100)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 9 Jan 2017 10:44:34 +0000 (11:44 +0100)
Enable IGDv2 as v1 Device DCPs were deprecated as of March 30, 2015
Source: http://upnp.org/specs/gw/igd2

Enable port in use check

Patches are originally from the FreeBSD Ports repo and refreshed for this repo.
Source: https://svnweb.freebsd.org/ports/head/net/miniupnpd/files/

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
miniupnpd/Makefile
miniupnpd/patches/105-enable_check_portinuse.patch [new file with mode: 0644]
miniupnpd/patches/106-enable_igdv2.patch [new file with mode: 0644]

index 9a33bbebd879c0c3b57c4fb3d7174c14b61fd319..fdfac91262d5c0540b6ac6bcf48a56ea9a383744 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
-PKG_VERSION:=2.0
-PKG_RELEASE:=3
+PKG_VERSION:=2.0.20161216
+PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=http://miniupnp.free.fr/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM:=1c07a215dd9b362e75a9efc05e2fb3b4
+PKG_MD5SUM:=9e73d50ac830b5e08b6eb1df4e4c917833a5ab54351809f615d15d0f30cdeef3
 
 PKG_MAINTAINER:=Markus Stenberg <fingon@iki.fi>
 PKG_LICENSE:=BSD-3-Clause
diff --git a/miniupnpd/patches/105-enable_check_portinuse.patch b/miniupnpd/patches/105-enable_check_portinuse.patch
new file mode 100644 (file)
index 0000000..8bf6c33
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/genconfig.sh
++++ b/genconfig.sh
+@@ -467,7 +467,7 @@ echo "/* Uncomment the following line to
+ if [ -n "$PORTINUSE" ]; then
+       echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
+ else
+-      echo "/*#define CHECK_PORTINUSE*/" >> ${CONFIGFILE}
++      echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
+ fi
+ echo "" >> ${CONFIGFILE}
diff --git a/miniupnpd/patches/106-enable_igdv2.patch b/miniupnpd/patches/106-enable_igdv2.patch
new file mode 100644 (file)
index 0000000..26811a0
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/genconfig.sh
++++ b/genconfig.sh
+@@ -516,7 +516,7 @@ echo " * control points, so enable with
+ if [ -n "$IGD2" ]; then
+       echo "#define IGD_V2" >> ${CONFIGFILE}
+ else
+-      echo "/*#define IGD_V2*/" >> ${CONFIGFILE}
++      echo "#define IGD_V2" >> ${CONFIGFILE}
+ fi
+ echo "" >> ${CONFIGFILE}