aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2009-11-21 06:28:28 +0800
committersylvio <sylvio@FreeBSD.org>2009-11-21 06:28:28 +0800
commit8c5cc3e9bd4ed472d87371dafd784da2f14c851b (patch)
treee8f1201a3e8f7274348da737a669d4f770f5d446 /net
parent86cd8c2b3975290d076fc190b5f4f8993b0365ab (diff)
downloadfreebsd-ports-gnome-8c5cc3e9bd4ed472d87371dafd784da2f14c851b.tar.gz
freebsd-ports-gnome-8c5cc3e9bd4ed472d87371dafd784da2f14c851b.tar.zst
freebsd-ports-gnome-8c5cc3e9bd4ed472d87371dafd784da2f14c851b.zip
- Update to 1.4
PR: ports/140319 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: maintainer (timeout > 14 days), miwi (mentor)
Diffstat (limited to 'net')
-rw-r--r--net/miniupnpd/Makefile3
-rw-r--r--net/miniupnpd/distinfo6
-rw-r--r--net/miniupnpd/files/patch-Makefile8
-rw-r--r--net/miniupnpd/files/patch-genconfig.sh38
4 files changed, 8 insertions, 47 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile
index f0a9bdcb181b..b5547e659d89 100644
--- a/net/miniupnpd/Makefile
+++ b/net/miniupnpd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= miniupnpd
-PORTVERSION= 1.3
-PORTEPOCH= 1
+PORTVERSION= 1.4
CATEGORIES= net
MASTER_SITES= http://miniupnp.tuxfamily.org/files/ \
http://miniupnp.free.fr/files/
diff --git a/net/miniupnpd/distinfo b/net/miniupnpd/distinfo
index 2280f049c346..1cdfd418f09c 100644
--- a/net/miniupnpd/distinfo
+++ b/net/miniupnpd/distinfo
@@ -1,3 +1,3 @@
-MD5 (miniupnpd-1.3.tar.gz) = b5e70e80dcf45b424b8fe3c966bdc613
-SHA256 (miniupnpd-1.3.tar.gz) = b4585c77ac5a7fb00a687772db95996dd2e8854db9d628c9bb85e5ecfd67f2ff
-SIZE (miniupnpd-1.3.tar.gz) = 83464
+MD5 (miniupnpd-1.4.tar.gz) = ffa33d4ed8732c662bdb7d511e86db76
+SHA256 (miniupnpd-1.4.tar.gz) = 85ba7cd28cb9f5ac2c96484325a30c64e385e011f57ead5997568bfde753051b
+SIZE (miniupnpd-1.4.tar.gz) = 90071
diff --git a/net/miniupnpd/files/patch-Makefile b/net/miniupnpd/files/patch-Makefile
index 340adb1e2da1..ec0841685816 100644
--- a/net/miniupnpd/files/patch-Makefile
+++ b/net/miniupnpd/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2009-01-29 19:21:05.000000000 +0100
-+++ Makefile 2009-04-19 14:27:04.264746884 +0200
+--- Makefile.orig 2009-11-06 08:23:18.000000000 +0800
++++ Makefile 2009-11-06 08:23:31.000000000 +0800
@@ -25,10 +25,12 @@
# better way to find if we are using ipf or pf
@@ -11,5 +11,5 @@
.endif
+.endif
- # Solaris specific CFLAGS
- .if $(OSNAME) == "SunOS"
+ .if $(OSNAME) == "NetBSD"
+ FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
diff --git a/net/miniupnpd/files/patch-genconfig.sh b/net/miniupnpd/files/patch-genconfig.sh
deleted file mode 100644
index 695f6eee306b..000000000000
--- a/net/miniupnpd/files/patch-genconfig.sh
+++ /dev/null
@@ -1,38 +0,0 @@
---- genconfig.sh.orig 2008-10-01 14:49:26.000000000 +0200
-+++ genconfig.sh 2009-04-19 14:15:37.574904740 +0200
-@@ -70,17 +70,24 @@
- # new way to see which one to use PF or IPF.
- # see http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=957
- # source file with handy subroutines like checkyesno
-- . /etc/rc.subr
-- # source config file so we can probe vars
-- . /etc/rc.conf
-- if checkyesno ipfilter_enable; then
-- echo "Using ipf"
-- FW=ipf
-- echo "#define USE_IPF 1" >> ${CONFIGFILE}
-- elif checkyesno pf_enable; then
-- echo "Using pf"
-- FW=pf
-- echo "#define USE_PF 1" >> ${CONFIGFILE}
-+ if [ -f /etc/rc.subr ] && [ -f /etc/rc.conf ]; then
-+ # source file with handy subroutines like checkyesno
-+ . /etc/rc.subr
-+ # source config file so we can probe vars
-+ . /etc/rc.conf
-+ if checkyesno ipfilter_enable; then
-+ echo "Using ipf"
-+ FW=ipf
-+ echo "#define USE_IPF 1" >> ${CONFIGFILE}
-+ elif checkyesno pf_enable; then
-+ echo "Using pf"
-+ FW=pf
-+ echo "#define USE_PF 1" >> ${CONFIGFILE}
-+ else
-+ echo "Could not detect usage of ipf or pf. Compiling for pf by default"
-+ FW=pf
-+ echo "#define USE_PF 1" >> ${CONFIGFILE}
-+ fi
- else
- echo "Could not detect usage of ipf or pf. Compiling for pf by default"
- FW=pf