[packages] miniupnpc: update to 1.5
* add libminiupnpc package * use PKG_INSTALL & MAKE_FLAGS * add copyright info * refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/packages@26921 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
--- miniupnpc-1.4/Makefile 2009-10-10 12:19:40.000000000 -0700
|
||||
+++ miniupnpc-1.4/Makefile 2010-03-03 13:31:02.000000000 -0800
|
||||
@@ -67,8 +67,8 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -107,8 +107,8 @@ installpythonmodule: pythonmodule
|
||||
python setup.py install
|
||||
|
||||
validateminixml: minixmlvalid
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- miniupnpc-1.4/upnpcommands.c 2009-07-13 01:44:43.000000000 -0700
|
||||
+++ miniupnpc-1.4/upnpcommands.c 2010-03-03 13:33:21.000000000 -0800
|
||||
@@ -335,7 +335,7 @@
|
||||
--- a/upnpcommands.c
|
||||
+++ b/upnpcommands.c
|
||||
@@ -351,7 +351,7 @@ UPNP_AddPortMapping(const char * control
|
||||
AddPortMappingArgs[5].elt = "NewEnabled";
|
||||
AddPortMappingArgs[5].val = "1";
|
||||
AddPortMappingArgs[6].elt = "NewPortMappingDescription";
|
||||
@ -8,4 +8,4 @@
|
||||
+ AddPortMappingArgs[6].val = desc?desc:"miniupnpc";
|
||||
AddPortMappingArgs[7].elt = "NewLeaseDuration";
|
||||
AddPortMappingArgs[7].val = "0";
|
||||
simpleUPnPcommand(-1, controlURL, servicetype, "AddPortMapping", AddPortMappingArgs, buffer, &bufsize);
|
||||
if(simpleUPnPcommand(-1, controlURL, servicetype, "AddPortMapping", AddPortMappingArgs, buffer, &bufsize) < 0) {
|
||||
|
Reference in New Issue
Block a user