miniupnpc: update to 2.0.

This commit is contained in:
Toyam Cox 2016-04-20 01:10:13 -04:00
parent edbb9ce78a
commit 8880318cd4
3 changed files with 4 additions and 20 deletions

View File

@ -1055,7 +1055,7 @@ librtmp.so.0 librtmp-2.4_1
libORBit-2.so.0 libORBit2-2.14.19_1
libORBit-imodule-2.so.0 libORBit2-2.14.19_1
libORBitCosNaming-2.so.0 libORBit2-2.14.19_1
libminiupnpc.so.10 miniupnpc-1.9_1
libminiupnpc.so.16 miniupnpc-2.0_1
libxbps.so.2 libxbps-0.25_1
libxbps.so.2 libxbps-git-0.25_1
libatf-c.so.1 atf-libs-0.21_1

View File

@ -1,16 +0,0 @@
This patch is equivalent to the original git commit
https://github.com/miniupnp/miniupnp/commit/79cca974a4c2ab1199786732a67ff6d898051b78
The released version with this fix contains a so revbump.
--- igd_desc_parse.c 2011-04-11 11:19:37.000000000 +0200
+++ igd_desc_parse.c 2015-10-25 14:53:40.348424486 +0100
@@ -15,6 +15,8 @@
void IGDstartelt(void * d, const char * name, int l)
{
struct IGDdatas * datas = (struct IGDdatas *)d;
+ if (l >= MINIUPNPC_URL_MAXSIZE)
+ l = MINIUPNPC_URL_MAXSIZE-1;
memcpy( datas->cureltname, name, l);
datas->cureltname[l] = '\0';
datas->level++;

View File

@ -1,13 +1,13 @@
# Template file for 'miniupnpc'
pkgname=miniupnpc
version=1.9
revision=3
version=2.0
revision=1
short_desc="A small UPnP client library/tool to access Internet Gateway Devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://miniupnp.free.fr"
license="BSD"
distfiles="http://miniupnp.free.fr/files/$pkgname-$version.tar.gz"
checksum=2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464
checksum=d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b
do_build() {
make CC=$CC