pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gssdp add gssdp-0.6.4, a service discovery library...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbeaa65f54d4
branches:  trunk
changeset: 562595:cbeaa65f54d4
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Sun Aug 02 11:24:06 2009 +0000

description:
add gssdp-0.6.4, a service discovery library for for UPnP

diffstat:

 net/gssdp/DESCR            |   2 ++
 net/gssdp/Makefile         |  22 ++++++++++++++++++++++
 net/gssdp/PLIST            |  24 ++++++++++++++++++++++++
 net/gssdp/buildlink3.mk    |  15 +++++++++++++++
 net/gssdp/distinfo         |   7 +++++++
 net/gssdp/patches/patch-aa |  21 +++++++++++++++++++++
 net/gssdp/patches/patch-ab |  13 +++++++++++++
 7 files changed, 104 insertions(+), 0 deletions(-)

diffs (132 lines):

diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/DESCR   Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,2 @@
+A GObject-based API for handling resource discovery and announcement
+over SSDP.
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/Makefile        Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+#
+
+DISTNAME=      gssdp-0.6.4
+CATEGORIES=    net
+MASTER_SITES=  http://www.gupnp.org/sources/gssdp/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gupnp.org/
+COMMENT=       SSDP library
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKGCONFIG_OVERRIDE+=   gssdp-1.0.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../net/libsoup24/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/PLIST   Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+bin/gssdp-device-sniffer
+include/gssdp-1.0/libgssdp/gssdp-client.h
+include/gssdp-1.0/libgssdp/gssdp-error.h
+include/gssdp-1.0/libgssdp/gssdp-resource-browser.h
+include/gssdp-1.0/libgssdp/gssdp-resource-group.h
+include/gssdp-1.0/libgssdp/gssdp.h
+lib/libgssdp-1.0.la
+lib/pkgconfig/gssdp-1.0.pc
+share/gssdp/gssdp-device-sniffer.glade
+share/gtk-doc/html/gssdp/GSSDPClient.html
+share/gtk-doc/html/gssdp/GSSDPResourceBrowser.html
+share/gtk-doc/html/gssdp/GSSDPResourceGroup.html
+share/gtk-doc/html/gssdp/ch01.html
+share/gtk-doc/html/gssdp/gssdp-Error-codes.html
+share/gtk-doc/html/gssdp/gssdp.devhelp
+share/gtk-doc/html/gssdp/gssdp.devhelp2
+share/gtk-doc/html/gssdp/home.png
+share/gtk-doc/html/gssdp/index.html
+share/gtk-doc/html/gssdp/index.sgml
+share/gtk-doc/html/gssdp/left.png
+share/gtk-doc/html/gssdp/right.png
+share/gtk-doc/html/gssdp/style.css
+share/gtk-doc/html/gssdp/up.png
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/buildlink3.mk   Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+
+BUILDLINK_TREE+=       gssdp
+
+.if !defined(GSSDP_BUILDLINK3_MK)
+GSSDP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gssdp+=  gssdp>=0.6.4
+BUILDLINK_PKGSRCDIR.gssdp?=    ../../net/gssdp
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../net/libsoup24/buildlink3.mk"
+.endif # GSSDP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -gssdp
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/distinfo        Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+
+SHA1 (gssdp-0.6.4.tar.gz) = c618fa3438f38ff6b7cf7a1b470fc2cd4420eb90
+RMD160 (gssdp-0.6.4.tar.gz) = 8dfbd41f96a55407bc7ccef6a2ca4e278acff55d
+Size (gssdp-0.6.4.tar.gz) = 390297 bytes
+SHA1 (patch-aa) = dbccb5fad660287041f63076b6bdd7ddca9e1305
+SHA1 (patch-ab) = 16088d79afd534ec44b47f26ee30d3f9be126897
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/patches/patch-aa        Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+
+--- ./libgssdp/gssdp-socket-source.c.orig      2009-01-06 15:44:15.000000000 +0100
++++ ./libgssdp/gssdp-socket-source.c
+@@ -121,6 +121,16 @@ gssdp_socket_source_new (GSSDPSocketSour
+                 if (res == -1)
+                         goto error;
+ 
++#ifdef __NetBSD__
++                res = setsockopt (socket_source->poll_fd.fd,
++                                  SOL_SOCKET,
++                                  SO_REUSEPORT,
++                                  &boolean,
++                                  sizeof (boolean));
++                if (res == -1)
++                        goto error;
++#endif
++
+                 /* Subscribe to multicast channel */
+                 mreq.imr_multiaddr.s_addr = inet_addr (SSDP_ADDR);
+                 mreq.imr_interface.s_addr = htonl (INADDR_ANY);
diff -r 7c6c08539419 -r cbeaa65f54d4 net/gssdp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gssdp/patches/patch-ab        Sun Aug 02 11:24:06 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/08/02 11:24:06 drochner Exp $
+
+--- tools/gssdp-device-sniffer.c.orig  2009-03-29 22:07:57.000000000 +0200
++++ tools/gssdp-device-sniffer.c
+@@ -317,7 +317,7 @@ resource_available_cb (GSSDPResourceBrow
+ 
+         uuid = usn_tokens[0] + 5; /* skip the prefix 'uuid:' */
+ 
+-        if (usn_tokens[1]) {
++        if (usn_tokens[1] && strlen(usn_tokens[1]) != 0) {
+                 char **urn_tokens;
+ 
+                 urn_tokens = g_strsplit (usn_tokens[1], ":device:", -1);



Home | Main Index | Thread Index | Old Index