1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

A GObject-based API for handling resource discovery and announcement

over SSDP.

WWW:	http://www.gupnp.org/
This commit is contained in:
Martin Wilke 2009-12-26 13:53:36 +00:00
parent 69be213910
commit 78c652efbf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246710
7 changed files with 93 additions and 0 deletions

View File

@ -200,6 +200,7 @@
SUBDIR += gsambad
SUBDIR += gsk
SUBDIR += gspoof
SUBDIR += gssdp
SUBDIR += gstreamer-plugins-libmms
SUBDIR += gtic
SUBDIR += gtk-vnc

23
net/gssdp/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: gssdp
# Date created: 2009-12-26
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gssdp
PORTVERSION= 0.7.1
CATEGORIES= net
MASTER_SITES= http://www.gupnp.org/sources/${PORTNAME}/
MAINTAINER= miwi@FreeBSD.org
COMMENT= Framework for UPnP devices
LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
USE_PYTHON= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack intlhack libglade2 glib20
USE_LDCONFIG= yes
.include <bsd.port.mk>

3
net/gssdp/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gssdp-0.7.1.tar.gz) = 725c32e8f92a072cc34f0e091937df2a
SHA256 (gssdp-0.7.1.tar.gz) = 8eaab799f699836770ec2fcc08abfef2f824a82ae959c6af7b39ffb6968b9fd7
SIZE (gssdp-0.7.1.tar.gz) = 367681

View File

@ -0,0 +1,19 @@
--- libgssdp/gssdp-socket-source.c.orig 2009-12-02 12:06:02.000000000 +0100
+++ libgssdp/gssdp-socket-source.c 2009-12-26 13:55:10.000000000 +0100
@@ -154,6 +154,16 @@
if (res == -1)
goto error;
+#ifdef __FreeBSD__
+ res = setsockopt (socket_source->poll_fd.fd,
+ SOL_SOCKET,
+ SO_REUSEPORT,
+ &boolean,
+ sizeof (boolean));
+ if (res == -1)
+ goto error;
+#endif
+
/* Subscribe to multicast channel */
res = inet_aton (SSDP_ADDR, &(mreq.imr_multiaddr));
if (res == 0)

View File

@ -0,0 +1,11 @@
--- tools/gssdp-device-sniffer.c.orig 2009-07-29 15:53:32.000000000 +0200
+++ tools/gssdp-device-sniffer.c 2009-12-26 13:56:48.000000000 +0100
@@ -319,7 +319,7 @@
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);

4
net/gssdp/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
A GObject-based API for handling resource discovery and announcement
over SSDP.
WWW: http://www.gupnp.org/

32
net/gssdp/pkg-plist Normal file
View File

@ -0,0 +1,32 @@
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.a
lib/libgssdp-1.0.la
lib/libgssdp-1.0.so
lib/libgssdp-1.0.so.2
libdata/pkgconfig/gssdp-1.0.pc
%%DATADIR%%/gssdp-device-sniffer.ui
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
@dirrmtry share/gtk-doc/html/gssdp
@dirrmtry share/gtk-doc/html
@dirrmtry share/gtk-doc
@dirrm %%DATADIR%%
@dirrmtry include/gssdp-1.0/libgssdp
@dirrmtry include/gssdp-1.0