diff options
author | drochner <drochner> | 2009-08-02 11:24:06 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-08-02 11:24:06 +0000 |
commit | 57ea5b298d5bc4d4407ad5e322788532af05b7df (patch) | |
tree | 3fd99638f9ebf98b61f3b86c75fb10347a39c909 /net/gssdp | |
parent | 76a245e89c228092fd1f813ea4961df0de8eca1b (diff) | |
download | pkgsrc-57ea5b298d5bc4d4407ad5e322788532af05b7df.tar.gz |
add gssdp-0.6.4, a service discovery library for for UPnP
Diffstat (limited to 'net/gssdp')
-rw-r--r-- | net/gssdp/DESCR | 2 | ||||
-rw-r--r-- | net/gssdp/Makefile | 22 | ||||
-rw-r--r-- | net/gssdp/PLIST | 24 | ||||
-rw-r--r-- | net/gssdp/buildlink3.mk | 15 | ||||
-rw-r--r-- | net/gssdp/distinfo | 7 | ||||
-rw-r--r-- | net/gssdp/patches/patch-aa | 21 | ||||
-rw-r--r-- | net/gssdp/patches/patch-ab | 13 |
7 files changed, 104 insertions, 0 deletions
diff --git a/net/gssdp/DESCR b/net/gssdp/DESCR new file mode 100644 index 00000000000..259c01c7a8e --- /dev/null +++ b/net/gssdp/DESCR @@ -0,0 +1,2 @@ +A GObject-based API for handling resource discovery and announcement +over SSDP. diff --git a/net/gssdp/Makefile b/net/gssdp/Makefile new file mode 100644 index 00000000000..52b77c970fe --- /dev/null +++ b/net/gssdp/Makefile @@ -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 +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 --git a/net/gssdp/PLIST b/net/gssdp/PLIST new file mode 100644 index 00000000000..c8fd6c2f02d --- /dev/null +++ b/net/gssdp/PLIST @@ -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 --git a/net/gssdp/buildlink3.mk b/net/gssdp/buildlink3.mk new file mode 100644 index 00000000000..d096fe5fa41 --- /dev/null +++ b/net/gssdp/buildlink3.mk @@ -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 --git a/net/gssdp/distinfo b/net/gssdp/distinfo new file mode 100644 index 00000000000..c176f75d849 --- /dev/null +++ b/net/gssdp/distinfo @@ -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 --git a/net/gssdp/patches/patch-aa b/net/gssdp/patches/patch-aa new file mode 100644 index 00000000000..2e2f92491d3 --- /dev/null +++ b/net/gssdp/patches/patch-aa @@ -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 --git a/net/gssdp/patches/patch-ab b/net/gssdp/patches/patch-ab new file mode 100644 index 00000000000..81ced292a60 --- /dev/null +++ b/net/gssdp/patches/patch-ab @@ -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); |