mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add minissdpd 1.0, UPnP IGD discovery speed ehancer.
This commit is contained in:
parent
bae5602d5f
commit
0f4258f20f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246303
5 changed files with 72 additions and 0 deletions
|
@ -355,6 +355,7 @@
|
||||||
SUBDIR += micro_inetd
|
SUBDIR += micro_inetd
|
||||||
SUBDIR += micro_proxy
|
SUBDIR += micro_proxy
|
||||||
SUBDIR += minisapserver
|
SUBDIR += minisapserver
|
||||||
|
SUBDIR += minissdpd
|
||||||
SUBDIR += miniupnpc
|
SUBDIR += miniupnpc
|
||||||
SUBDIR += miniupnpd
|
SUBDIR += miniupnpd
|
||||||
SUBDIR += miredo
|
SUBDIR += miredo
|
||||||
|
|
30
net/minissdpd/Makefile
Normal file
30
net/minissdpd/Makefile
Normal file
|
@ -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>
|
3
net/minissdpd/distinfo
Normal file
3
net/minissdpd/distinfo
Normal file
|
@ -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
|
27
net/minissdpd/files/minissdpd.in
Normal file
27
net/minissdpd/files/minissdpd.in
Normal file
|
@ -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"
|
11
net/minissdpd/pkg-descr
Normal file
11
net/minissdpd/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue