From b78137fb721e7c0d9ce81e5ff6ea4b291600a82e Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 16 Feb 2010 15:30:50 +0000 Subject: Update to 0.8: 0.8 ==== Changes since 0.7.1: - Add lenient mode: Just pick-up the first resource available. - Specify filter in Browse actions to reduce network usage. - Don't browse containers with no children. - Always re-browse containers on updates. - Update childCount after browsing is done. - Support for multiple networks. - Leave selection of resource to gupnp-av. - No need to search for all UPnP resources anymore. - Fix infinite loop in icon cancelation code. - No need to care about hosting of description document anymore. - Adapt to new gupnp-av API. - Add cmdline option to gupnp-upload to specify network interface. - Many other minor/internal fixes. Dependencies changed: - gssdp >= 0.7 - gupnp >= 0.13 - gupnp-av >= 0.5 All contributors: Zeeshan Ali (Khattak) Ross Burton --- net/gupnp-tools/Makefile | 5 ++--- net/gupnp-tools/distinfo | 10 +++++----- net/gupnp-tools/patches/patch-aa | 35 +++++++++++++++-------------------- 3 files changed, 22 insertions(+), 28 deletions(-) (limited to 'net') diff --git a/net/gupnp-tools/Makefile b/net/gupnp-tools/Makefile index 36c610882ff..889d62942e1 100644 --- a/net/gupnp-tools/Makefile +++ b/net/gupnp-tools/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2010/01/20 14:04:53 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/16 15:30:50 wiz Exp $ # -DISTNAME= gupnp-tools-0.7.1 -PKGREVISION= 2 +DISTNAME= gupnp-tools-0.8 CATEGORIES= net MASTER_SITES= http://www.gupnp.org/sources/gupnp-tools/ diff --git a/net/gupnp-tools/distinfo b/net/gupnp-tools/distinfo index d908da08378..cd9e607e0d6 100644 --- a/net/gupnp-tools/distinfo +++ b/net/gupnp-tools/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2009/08/18 18:31:18 hasso Exp $ +$NetBSD: distinfo,v 1.3 2010/02/16 15:30:50 wiz Exp $ -SHA1 (gupnp-tools-0.7.1.tar.gz) = 2dbfc6b09eebe00c6584bffc1fcd1eb5e38074b7 -RMD160 (gupnp-tools-0.7.1.tar.gz) = bd960e5e961288e66c8110c6639e8ed8709c2e00 -Size (gupnp-tools-0.7.1.tar.gz) = 580161 bytes -SHA1 (patch-aa) = 7f378dbd6d08daace9fe4b4232e50f05fdc88f1a +SHA1 (gupnp-tools-0.8.tar.gz) = a0ef317e752ba08be3e20b3c183b3a0c2dadbb6e +RMD160 (gupnp-tools-0.8.tar.gz) = 2e0ff56ff148a7bcfba779219421022f88bb1b8b +Size (gupnp-tools-0.8.tar.gz) = 544621 bytes +SHA1 (patch-aa) = fc9305718230db24d367394efc840f35bb9330e8 diff --git a/net/gupnp-tools/patches/patch-aa b/net/gupnp-tools/patches/patch-aa index f449c824ef7..0d6d41c149e 100644 --- a/net/gupnp-tools/patches/patch-aa +++ b/net/gupnp-tools/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.2 2009/08/18 18:31:18 hasso Exp $ +$NetBSD: patch-aa,v 1.3 2010/02/16 15:30:50 wiz Exp $ ---- src/network-light/upnp.c.orig 2009-04-30 14:30:23.000000000 +0200 +--- src/network-light/upnp.c.orig 2009-08-26 14:54:42.000000000 +0000 +++ src/network-light/upnp.c @@ -25,7 +25,11 @@ #include @@ -14,29 +14,24 @@ $NetBSD: patch-aa,v 1.2 2009/08/18 18:31:18 hasso Exp $ #include #include "gui.h" -@@ -265,6 +269,9 @@ change_uuid (xmlDoc *doc) +@@ -317,9 +321,19 @@ static void init_uuid () + uuid_t uuid_context; xmlNode *uuid_node; - uuid_t uuid; - char *udn, uuidstr[37]; + char *udn; +- +#if defined(__NetBSD__) || defined(__DragonFly__) + char *myuuidstr; +#endif - - uuid_node = xml_util_get_element ((xmlNode *) doc, - "root", -@@ -278,8 +285,15 @@ change_uuid (xmlDoc *doc) - return NULL; - } - ++ +#if defined(__NetBSD__) || defined(__DragonFly__) -+ uuid_create(&uuid, 0); -+ uuid_to_string(&uuid, &myuuidstr, 0); -+ strncpy(uuidstr, myuuidstr, sizeof(uuidstr)); -+ free(myuuidstr); ++ uuid_create(&uuid_context, 0); ++ uuid_to_string(&uuid_context, &myuuidstr, 0); ++ strncpy(uuid, myuuidstr, sizeof(uuid)); ++ free(myuuidstr); +#else - uuid_generate (uuid); - uuid_unparse (uuid, uuidstr); + uuid_generate (uuid_context); + uuid_unparse (uuid_context, uuid); +#endif - if (uuidstr == NULL) { - udn = (char *) xmlNodeGetContent (uuid_node); + uuid_node = xml_util_get_element ((xmlNode *) doc->doc, + "root", -- cgit v1.2.3