aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorRyan Wagoner <rsw686@pfsense.org>2006-11-24 01:40:39 +0000
committerRyan Wagoner <rsw686@pfsense.org>2006-11-24 01:40:39 +0000
commitb5adf62c75a45bc09fdd93201f297304c9ead2d0 (patch)
treefbc380b6ae20c1b969dbbeede04e35aecb939eb8 /packages
parent909907fa2b59d290c6bd0653c263a1c5635cdb38 (diff)
downloadpfsense-packages-b5adf62c75a45bc09fdd93201f297304c9ead2d0.tar.gz
pfsense-packages-b5adf62c75a45bc09fdd93201f297304c9ead2d0.tar.bz2
pfsense-packages-b5adf62c75a45bc09fdd93201f297304c9ead2d0.zip
bump miniupnpd version -- fixes http socket address in use
Diffstat (limited to 'packages')
-rw-r--r--packages/miniupnpd/miniupnpd.inc30
-rw-r--r--packages/miniupnpd/miniupnpd.xml2
-rwxr-xr-xpackages/miniupnpd/sbin/miniupnpdbin51285 -> 44737 bytes
3 files changed, 18 insertions, 14 deletions
diff --git a/packages/miniupnpd/miniupnpd.inc b/packages/miniupnpd/miniupnpd.inc
index e69dcb26..fa5160c6 100644
--- a/packages/miniupnpd/miniupnpd.inc
+++ b/packages/miniupnpd/miniupnpd.inc
@@ -102,19 +102,23 @@
}
/* valid paramters lets create rc file and start miniupnpd */
-
- $stop = "if [ `pgrep miniupnpd | wc -l` != 0 ]; then\n";
- $stop .= "\t\t/usr/bin/killall miniupnpd\n";
- $stop .= "\t\twhile [ `pgrep miniupnpd | wc -l` != 0 ]; do sleep 1; done\n";
- $stop .= "\tfi\n";
- $stop .= "\t# Clear existing rules and rdr entries\n";
- $stop .= "\tif [ `pfctl -aminiupnpd -sr | wc -l` != 0 ]; then\n";
- $stop .= "\t\t/sbin/pfctl -aminiupnpd -Fr 2>&1 >/dev/null\n";
- $stop .= "\tfi\n";
- $stop .= "\tif [ `pfctl -aminiupnpd -sn | wc -l` != 0 ]; then\n";
- $stop .= "\t\t/sbin/pfctl -aminiupnpd -Fn 2>&1 >/dev/null\n";
- $stop .= "\tfi";
-
+
+ $stop = <<<EOD
+if [ `pgrep miniupnpd | wc -l` != 0 ]; then
+ /usr/bin/killall miniupnpd
+ while [ `pgrep miniupnpd | wc -l` != 0 ]; do
+ sleep 1
+ done
+ fi
+ # Clear existing rules and rdr entries
+ if [ `pfctl -aminiupnpd -sr | wc -l` != 0 ]; then
+ /sbin/pfctl -aminiupnpd -Fr 2>&1 >/dev/null
+ fi
+ if [ `pfctl -aminiupnpd -sn | wc -l` != 0 ]; then
+ /sbin/pfctl -aminiupnpd -Fn 2>&1 >/dev/null
+ fi
+EOD;
+
$start = $stop."\n\t/usr/local/sbin/miniupnpd -p 2869 -i {$wanif}{$ifaces_final}";
/* define maximum downstream and upstream bitrates */
diff --git a/packages/miniupnpd/miniupnpd.xml b/packages/miniupnpd/miniupnpd.xml
index 4b166bad..15c99139 100644
--- a/packages/miniupnpd/miniupnpd.xml
+++ b/packages/miniupnpd/miniupnpd.xml
@@ -2,7 +2,7 @@
<packagegui>
<title>Services: Miniupnpd</title>
<name>miniupnpd</name>
- <version>20061110</version>
+ <version>20061123</version>
<savetext>Change</savetext>
<include_file>/usr/local/pkg/miniupnpd.inc</include_file>
<aftersaveredirect>status_upnp.php</aftersaveredirect>
diff --git a/packages/miniupnpd/sbin/miniupnpd b/packages/miniupnpd/sbin/miniupnpd
index 800a0472..447b925d 100755
--- a/packages/miniupnpd/sbin/miniupnpd
+++ b/packages/miniupnpd/sbin/miniupnpd
Binary files differ