aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2009-12-21 17:57:08 +0800
committerehaupt <ehaupt@FreeBSD.org>2009-12-21 17:57:08 +0800
commitf36c66b0aa22c2ec288772f2a1cba291abc600a4 (patch)
treec3278a099ba01f952b8a1c0fa3b0f318a4237f00 /net
parent24a4080885f71b7cf28a204c27465a6d68d23440 (diff)
downloadfreebsd-ports-gnome-f36c66b0aa22c2ec288772f2a1cba291abc600a4.tar.gz
freebsd-ports-gnome-f36c66b0aa22c2ec288772f2a1cba291abc600a4.tar.zst
freebsd-ports-gnome-f36c66b0aa22c2ec288772f2a1cba291abc600a4.zip
Provide the possibility to specify the listening address via rc.d script
Diffstat (limited to 'net')
-rw-r--r--net/minissdpd/Makefile1
-rw-r--r--net/minissdpd/files/minissdpd.in5
2 files changed, 3 insertions, 3 deletions
diff --git a/net/minissdpd/Makefile b/net/minissdpd/Makefile
index 669ec10f0101..42ab0d6b71ac 100644
--- a/net/minissdpd/Makefile
+++ b/net/minissdpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= minissdpd
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://miniupnp.free.fr/files/ \
CRITICAL
diff --git a/net/minissdpd/files/minissdpd.in b/net/minissdpd/files/minissdpd.in
index 32147a897ee1..2850617c8e8e 100644
--- a/net/minissdpd/files/minissdpd.in
+++ b/net/minissdpd/files/minissdpd.in
@@ -10,7 +10,7 @@
# Add the following line to /etc/rc.conf to enable minissdpd
# minissdpd_enable="YES"
-# minissdpd_flags="<set as needed>"
+# minissdpd_flags="-i listen_addr"
name=minissdpd
rcvar=`set_rcvar`
@@ -21,7 +21,6 @@ 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}"
+command_args="-s ${sockfile} -p ${pidfile}"
run_rc_command "$1"