miniupnpc: Update to 2.1
authorRosen Penev <rosenp@gmail.com>
Sat, 8 Sep 2018 18:39:06 +0000 (11:39 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 8 Sep 2018 18:39:06 +0000 (11:39 -0700)
Switched URL to official HTTPS variant.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/miniupnpc/Makefile
net/miniupnpc/patches/100-no_minixml_test.patch
net/miniupnpc/patches/200-miniupnpc_desc.patch

index c41766a4891056740809e2ffb91ce5ab10b89ff0..63e55ca9ad4d0cb65f1f0031d274e5dbdfbf1132 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpc
-PKG_VERSION:=2.0.20170509
+PKG_VERSION:=2.1
 PKG_RELEASE:=1
 
-PKG_SOURCE_URL:=http://miniupnp.free.fr/files
+PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a
+PKG_HASH:=e19fb5e01ea5a707e2a8cb96f537fbd9f3a913d53d804a3265e3aeab3d2064c6
 PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
 
 PKG_INSTALL:=1
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define Package/miniupnpc/Default
   TITLE:=Lightweight UPnP
-  URL:=http://miniupnp.tuxfamily.org/
+  URL:=https://miniupnp.tuxfamily.org
 endef
 
 define Package/miniupnpc
index dd8d029ff78916c357efe4da2993b98d632d073e..dd1d01649225d3f43b18756f3d7a86d75b30d6bf 100644 (file)
@@ -1,7 +1,7 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -187,8 +187,8 @@ installpythonmodule3:      pythonmodule3
-       python3 setup.py install
+@@ -186,8 +186,8 @@ installpythonmodule3:      pythonmodule3
+       MAKE=$(MAKE) python3 setup.py install
  
  validateminixml:      minixmlvalid
 -      @echo "minixml validation test"
index c9a5abc58c98ef4dbd3c76ac134c3909667dd56a..61501e177986027d4a31ed847c9802cbf223786b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/upnpcommands.c
 +++ b/upnpcommands.c
-@@ -370,7 +370,7 @@ UPNP_AddPortMapping(const char * control
+@@ -371,7 +371,7 @@ UPNP_AddPortMapping(const char * control
        AddPortMappingArgs[5].elt = "NewEnabled";
        AddPortMappingArgs[5].val = "1";
        AddPortMappingArgs[6].elt = "NewPortMappingDescription";