Hello community, here is the log from the commit of package miniupnpc for openSUSE:Factory checked in at 2016-05-02 10:43:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/miniupnpc (Old) and /work/SRC/openSUSE:Factory/.miniupnpc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "miniupnpc" Changes: -------- --- /work/SRC/openSUSE:Factory/miniupnpc/miniupnpc.changes 2016-03-01 09:36:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.miniupnpc.new/miniupnpc.changes 2016-05-02 10:43:04.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Apr 24 19:05:35 UTC 2016 - idonmez@suse.com + +- Update to version 2.0 + * No code changes since 1.9.20160209 + +------------------------------------------------------------------- Old: ---- miniupnpc-1.9.20160209.tar.gz New: ---- miniupnpc-2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ miniupnpc.spec ++++++ --- /var/tmp/diff_new_pack.zsuaZm/_old 2016-05-02 10:43:05.000000000 +0200 +++ /var/tmp/diff_new_pack.zsuaZm/_new 2016-05-02 10:43:05.000000000 +0200 @@ -18,7 +18,7 @@ %define soname 16 Name: miniupnpc -Version: 1.9.20160209 +Version: 2.0 Release: 0 Summary: Universal Plug'n'Play (UPnP) Client License: BSD-3-Clause ++++++ miniupnpc-1.9.20160209.tar.gz -> miniupnpc-2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/CMakeLists.txt new/miniupnpc-2.0/CMakeLists.txt --- old/miniupnpc-1.9.20160209/CMakeLists.txt 2016-02-09 10:38:56.000000000 +0100 +++ new/miniupnpc-2.0/CMakeLists.txt 2016-04-19 23:04:55.000000000 +0200 @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 2.6) project (miniupnpc C) -set (MINIUPNPC_VERSION 1.9) +set (MINIUPNPC_VERSION 2.0) set (MINIUPNPC_API_VERSION 16) if (NOT CMAKE_BUILD_TYPE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/Changelog.txt new/miniupnpc-2.0/Changelog.txt --- old/miniupnpc-1.9.20160209/Changelog.txt 2016-02-09 10:38:56.000000000 +0100 +++ new/miniupnpc-2.0/Changelog.txt 2016-04-19 23:06:20.000000000 +0200 @@ -1,6 +1,8 @@ -$Id: Changelog.txt,v 1.222 2016/01/24 17:24:35 nanard Exp $ +$Id: Changelog.txt,v 1.223 2016/04/19 21:06:20 nanard Exp $ miniUPnP client Changelog. +VERSION 2.0 : released 2016/04/19 + 2016/01/24: change miniwget to return HTTP status code increments API_VERSION to 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/README new/miniupnpc-2.0/README --- old/miniupnpc-1.9.20160209/README 2014-11-04 17:48:02.000000000 +0100 +++ new/miniupnpc-2.0/README 2016-04-19 23:01:03.000000000 +0200 @@ -3,7 +3,7 @@ github: https://github.com/miniupnp/miniupnp freecode: http://freecode.com/projects/miniupnp Author: Thomas Bernard -Copyright (c) 2005-2014 Thomas Bernard +Copyright (c) 2005-2016 Thomas Bernard This software is subject to the conditions detailed in the LICENSE file provided within this distribution. @@ -32,6 +32,7 @@ libminiupnpc.a (or .so) and use the following functions found in miniupnpc.h, upnpcommands.h and miniwget.h : - upnpDiscover() +- UPNP_GetValidIGD() - miniwget() - parserootdesc() - GetUPNPUrls() @@ -59,3 +60,5 @@ For any question, you can use the web forum : http://miniupnp.tuxfamily.org/forum/ +Bugs should be reported on github : +https://github.com/miniupnp/miniupnp/issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/VERSION new/miniupnpc-2.0/VERSION --- old/miniupnpc-1.9.20160209/VERSION 2014-01-31 14:18:56.000000000 +0100 +++ new/miniupnpc-2.0/VERSION 2016-04-19 23:03:41.000000000 +0200 @@ -1 +1 @@ -1.9 +2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/miniupnpc.c new/miniupnpc-2.0/miniupnpc.c --- old/miniupnpc-1.9.20160209/miniupnpc.c 2016-02-09 10:38:56.000000000 +0100 +++ new/miniupnpc-2.0/miniupnpc.c 2016-02-09 10:50:46.000000000 +0100 @@ -1,4 +1,4 @@ -/* $Id: miniupnpc.c,v 1.148 2016/01/24 17:24:36 nanard Exp $ */ +/* $Id: miniupnpc.c,v 1.149 2016/02/09 09:50:46 nanard Exp $ */ /* vim: tabstop=4 shiftwidth=4 noexpandtab * Project : miniupnp * Web : http://miniupnp.free.fr/ @@ -706,7 +706,7 @@ int descXMLsize = 0; descXML = miniwget_getaddr(rootdescurl, &descXMLsize, - lanaddr, lanaddrlen, 0, NULL); + lanaddr, lanaddrlen, 0, NULL); if(descXML) { memset(data, 0, sizeof(struct IGDdatas)); memset(urls, 0, sizeof(struct UPNPUrls)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/miniupnpc.h new/miniupnpc-2.0/miniupnpc.h --- old/miniupnpc-1.9.20160209/miniupnpc.h 2016-02-09 10:44:39.000000000 +0100 +++ new/miniupnpc-2.0/miniupnpc.h 2016-04-19 23:07:20.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: miniupnpc.h,v 1.49 2016/01/24 17:24:36 nanard Exp $ */ +/* $Id: miniupnpc.h,v 1.50 2016/04/19 21:06:21 nanard Exp $ */ /* Project: miniupnp * http://miniupnp.free.fr/ * Author: Thomas Bernard @@ -19,7 +19,7 @@ #define UPNPDISCOVER_MEMORY_ERROR (-102) /* versions : */ -#define MINIUPNPC_VERSION "1.9.20160209" +#define MINIUPNPC_VERSION "2.0" #define MINIUPNPC_API_VERSION 16 /* Source port: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/miniupnpc-1.9.20160209/upnpcommands.c new/miniupnpc-2.0/upnpcommands.c --- old/miniupnpc-1.9.20160209/upnpcommands.c 2015-07-15 18:14:01.000000000 +0200 +++ new/miniupnpc-2.0/upnpcommands.c 2016-04-19 23:01:04.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: upnpcommands.c,v 1.46 2015/07/15 12:19:00 nanard Exp $ */ +/* $Id: upnpcommands.c,v 1.47 2016/03/07 12:26:48 nanard Exp $ */ /* Project : miniupnp * Author : Thomas Bernard * Copyright (c) 2005-2015 Thomas Bernard @@ -616,14 +616,14 @@ protocol[3] = '\0'; } p = GetValueFromNameValueList(&pdata, "NewInternalClient"); - if(p && intClient) + if(p) { strncpy(intClient, p, 16); intClient[15] = '\0'; r = 0; } p = GetValueFromNameValueList(&pdata, "NewInternalPort"); - if(p && intPort) + if(p) { strncpy(intPort, p, 6); intPort[5] = '\0';