View | Details | Raw Unified | Return to bug 189061 | Differences between
and this patch

Collapse All | Expand All

(-)miniupnpd/Makefile (-2 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/net/miniupnpd/Makefile 350123 2014-04-04 13:55:54Z bapt $
2
# $FreeBSD: head/net/miniupnpd/Makefile 350123 2014-04-04 13:55:54Z bapt $
3
3
4
PORTNAME=	miniupnpd
4
PORTNAME=	miniupnpd
5
PORTVERSION=	1.8.20140310
5
PORTVERSION=	1.8.20140422
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	net
7
CATEGORIES=	net
8
MASTER_SITES=	http://miniupnp.tuxfamily.org/files/ \
8
MASTER_SITES=	http://miniupnp.tuxfamily.org/files/ \
Lines 22-31 Link Here
22
22
23
USE_RC_SUBR=	miniupnpd
23
USE_RC_SUBR=	miniupnpd
24
24
25
OPTIONS_DEFINE=	PF_ENABLE_FILTER_RULES
25
OPTIONS_DEFINE=	PF_ENABLE_FILTER_RULES CHECK_PORTINUSE IPV6 UPNP_IGDV2 UPNP_STRICT LEASEFILE
26
PF_ENABLE_FILTER_RULES_DESC=	Enable pf generation of filter rules
26
PF_ENABLE_FILTER_RULES_DESC=	Enable pf generation of filter rules
27
CHECK_PORTINUSE_DESC=	Check if ports are in use
28
IPV6_DESC=	Enable IPv6
29
UPNP_IGDV2_DESC=	Build an IGDv2 instead of an IGDv1
30
UPNP_STRICT_DESC=	Be more strict regarding compliance with UPnP specifications
31
LEASEFILE_DESC=	Enable lease file
27
32
28
PF_ENABLE_FILTER_RULES_EXTRA_PATCHES=	${PATCHDIR}/pf_enable_filter_rules.patch
33
PF_ENABLE_FILTER_RULES_EXTRA_PATCHES=	${PATCHDIR}/pf_enable_filter_rules.patch
34
CHECK_PORTINUSE_EXTRA_PATCHES=	${PATCHDIR}/enable_check_portinuse.patch
35
IPV6_EXTRA_PATCHES=	${PATCHDIR}/enable_ipv6.patch
36
UPNP_IGDV2_EXTRA_PATCHES=	${PATCHDIR}/enable_igdv2.patch
37
UPNP_STRICT_EXTRA_PATCHES=	${PATCHDIR}/enable_upnp_strict.patch
38
LEASEFILE_EXTRA_PATCHES=	${PATCHDIR}/enable_leasefile.patch
29
39
30
post-patch:
40
post-patch:
31
	@${REINPLACE_CMD} 's|CFLAGS ?= -pipe -Os|CFLAGS ?= -pipe|' \
41
	@${REINPLACE_CMD} 's|CFLAGS ?= -pipe -Os|CFLAGS ?= -pipe|' \
(-)miniupnpd/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (miniupnpd-1.8.20140310.tar.gz) = 733530eee970bfc29f90b0a793612d2c721eb4f19f9c50f6d7677b6e0d59a726
1
SHA256 (miniupnpd-1.8.20140422.tar.gz) = 2980c7dbcdf00d6942ad21c814d88a3c70996b550a8e229eb52362bd472c3961
2
SIZE (miniupnpd-1.8.20140310.tar.gz) = 176585
2
SIZE (miniupnpd-1.8.20140422.tar.gz) = 187225
(-)miniupnpd/files/enable_check_portinuse.patch (+11 lines)
Line 0 Link Here
1
--- genconfig.sh.orig	2014-04-22 00:37:51.000000000 -0700
2
+++ genconfig.sh	2014-04-22 09:30:24.000000000 -0700
3
@@ -401,7 +401,7 @@
4
 if [ -n "$PORTINUSE" ]; then
5
 	echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
6
 else
7
-	echo "/*#define CHECK_PORTINUSE*/" >> ${CONFIGFILE}
8
+	echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
9
 fi
10
 echo "" >> ${CONFIGFILE}
11
 
(-)miniupnpd/files/enable_igdv2.patch (+11 lines)
Line 0 Link Here
1
--- genconfig.sh.orig	2014-04-11 01:16:49.000000000 -0700
2
+++ genconfig.sh	2014-04-26 18:22:26.000000000 -0700
3
@@ -436,7 +436,7 @@
4
 if [ -n "$IGD2" ]; then
5
 	echo "#define IGD_V2" >> ${CONFIGFILE}
6
 else
7
-	echo "/*#define IGD_V2*/" >> ${CONFIGFILE}
8
+	echo "#define IGD_V2" >> ${CONFIGFILE}
9
 fi
10
 echo "" >> ${CONFIGFILE}
11
 
(-)miniupnpd/files/enable_ipv6.patch (+11 lines)
Line 0 Link Here
1
--- genconfig.sh.orig	2014-04-11 01:16:49.000000000 -0700
2
+++ genconfig.sh	2014-04-26 18:23:04.000000000 -0700
3
@@ -417,7 +417,7 @@
4
 if [ -n "$IPV6" ]; then
5
 	echo "#define ENABLE_IPV6" >> ${CONFIGFILE}
6
 else
7
-	echo "/*#define ENABLE_IPV6*/" >> ${CONFIGFILE}
8
+	echo "#define ENABLE_IPV6" >> ${CONFIGFILE}
9
 fi
10
 echo "" >> ${CONFIGFILE}
11
 
(-)miniupnpd/files/enable_leasefile.patch (+11 lines)
Line 0 Link Here
1
--- genconfig.sh.orig   2014-04-22 00:37:51.000000000 -0700
2
+++ genconfig.sh	2014-04-26 18:01:49.000000000 -0700
3
@@ -393,7 +393,7 @@
4
 if [ -n "$LEASEFILE" ] ; then
5
 	echo "#define ENABLE_LEASEFILE" >> ${CONFIGFILE}
6
 else
7
-	echo "/*#define ENABLE_LEASEFILE*/" >> ${CONFIGFILE}
8
+	echo "#define ENABLE_LEASEFILE" >> ${CONFIGFILE}
9
 fi
10
 echo "" >> ${CONFIGFILE}
11
 
(-)miniupnpd/files/enable_upnp_strict.patch (+11 lines)
Line 0 Link Here
1
--- genconfig.sh.orig	2014-04-11 01:16:49.000000000 -0700
2
+++ genconfig.sh	2014-04-26 18:23:27.000000000 -0700
3
@@ -472,7 +472,7 @@
4
 if [ -n "$STRICT" ] ; then
5
 	echo "#define UPNP_STRICT" >> ${CONFIGFILE}
6
 else
7
-	echo "/*#define UPNP_STRICT*/" >> ${CONFIGFILE}
8
+	echo "#define UPNP_STRICT" >> ${CONFIGFILE}
9
 fi
10
 echo "" >> ${CONFIGFILE}
11

Return to bug 189061