aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2009-12-20 22:38:52 +0800
committerehaupt <ehaupt@FreeBSD.org>2009-12-20 22:38:52 +0800
commita858102b0b19d8e29fa590b3fcf8ee9341fb8b57 (patch)
tree337f37cb69c3375d60dced0925f942e4a3ceeee7 /net
parent6edff848931ff6df1b1bee1a5d7517f749ed5f87 (diff)
downloadfreebsd-ports-gnome-a858102b0b19d8e29fa590b3fcf8ee9341fb8b57.tar.gz
freebsd-ports-gnome-a858102b0b19d8e29fa590b3fcf8ee9341fb8b57.tar.zst
freebsd-ports-gnome-a858102b0b19d8e29fa590b3fcf8ee9341fb8b57.zip
Add minissdpd 1.0, UPnP IGD discovery speed ehancer.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/minissdpd/Makefile30
-rw-r--r--net/minissdpd/distinfo3
-rw-r--r--net/minissdpd/files/minissdpd.in27
-rw-r--r--net/minissdpd/pkg-descr11
5 files changed, 72 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c2fe39ec9636..205320d98a27 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -355,6 +355,7 @@
SUBDIR += micro_inetd
SUBDIR += micro_proxy
SUBDIR += minisapserver
+ SUBDIR += minissdpd
SUBDIR += miniupnpc
SUBDIR += miniupnpd
SUBDIR += miredo
diff --git a/net/minissdpd/Makefile b/net/minissdpd/Makefile
new file mode 100644
index 000000000000..669ec10f0101
--- /dev/null
+++ b/net/minissdpd/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: minissdpd
+# Date created: 20 Dec 2009
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= minissdpd
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://miniupnp.free.fr/files/ \
+ CRITICAL
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= UPnP IGD discovery speed ehancer
+
+USE_RC_SUBR= minissdpd
+MAKE_JOBS_SAFE= yes
+
+CFLAGS+= -D_GNU_SOURCE
+
+PLIST_FILES= sbin/minissdpd
+
+post-patch:
+ @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/net/minissdpd/distinfo b/net/minissdpd/distinfo
new file mode 100644
index 000000000000..521637799860
--- /dev/null
+++ b/net/minissdpd/distinfo
@@ -0,0 +1,3 @@
+MD5 (minissdpd-1.0.tar.gz) = 9c1665cd72f4672f6951af4a809287e7
+SHA256 (minissdpd-1.0.tar.gz) = e04da4aa2eae0c5c5247c8bf65da703ed11e68c53d9f0e62565986f30029b5e9
+SIZE (minissdpd-1.0.tar.gz) = 12996
diff --git a/net/minissdpd/files/minissdpd.in b/net/minissdpd/files/minissdpd.in
new file mode 100644
index 000000000000..32147a897ee1
--- /dev/null
+++ b/net/minissdpd/files/minissdpd.in
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: minissdpd
+# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv
+
+. %%RC_SUBR%%
+
+# Add the following line to /etc/rc.conf to enable minissdpd
+# minissdpd_enable="YES"
+# minissdpd_flags="<set as needed>"
+
+name=minissdpd
+rcvar=`set_rcvar`
+load_rc_config $name
+
+minissdpd_enable=${minissdpd_enable:-"NO"}
+
+command="%%PREFIX%%/sbin/minissdpd"
+pidfile="/var/run/${name}.pid"
+sockfile="/var/run/${name}.sock"
+address="0.0.0.0"
+command_args="-s ${sockfile} -p ${pidfile} -i ${address}"
+
+run_rc_command "$1"
diff --git a/net/minissdpd/pkg-descr b/net/minissdpd/pkg-descr
new file mode 100644
index 000000000000..b5484451d9a0
--- /dev/null
+++ b/net/minissdpd/pkg-descr
@@ -0,0 +1,11 @@
+Every UPnP device and UPnP client (or control point in UPnP terminology) needs
+to listen to SSDP packets broadcasted to the group 239.255.255.250:1900. When
+several UPnP devices are running on the same server, or several UPnP control
+points are trying a discovery process on the same server, there is concurence to
+open a bind a socket on the UDP port 1900.
+
+MiniSSDPd can also provide a history of the SSDP NOTIFY packets sent on the
+network during a period of a few minutes and it keeps track of all UPnP devices
+that announced themselves on the network through SSDP NOTIFY packets.
+
+WWW: http://miniupnp.free.fr/minissdpd.html