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

Collapse All | Expand All

(-)miniupnpd/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/net/miniupnpd/Makefile 358711 2014-06-21 15:52:16Z wg $
2
# $FreeBSD: head/net/miniupnpd/Makefile 358711 2014-06-21 15:52:16Z wg $
3
3
4
PORTNAME=	miniupnpd
4
PORTNAME=	miniupnpd
5
PORTVERSION=	1.8.20140523
5
PORTVERSION=	1.8.20141022
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/ \
(-)miniupnpd/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (miniupnpd-1.8.20140523.tar.gz) = e72cd1e515aa9e6281e519e1814fe74e7689f5da71ce463a996a17e787ffe490
1
SHA256 (miniupnpd-1.8.20141022.tar.gz) = e6dc0776b2af7adf815a893876617dcdbb569039844719b8d171c9209ab11ecb
2
SIZE (miniupnpd-1.8.20140523.tar.gz) = 190936
2
SIZE (miniupnpd-1.8.20141022.tar.gz) = 191630
(-)miniupnpd/files/patch-Makefile (-51 lines)
Lines 1-51 Link Here
1
--- Makefile.orig	2014-04-20 09:47:29.000000000 -0700
2
+++ Makefile	2014-06-20 22:53:14.863342337 -0700
3
@@ -15,7 +15,7 @@
4
 # $ CONFIG_OPTIONS="--ipv6 --igd2" make
5
 #
6
 
7
-CFLAGS ?= -pipe -Os
8
+CFLAGS ?= -pipe
9
 #CFLAGS = -pipe -O -g -DDEBUG
10
 #CFLAGS += -ansi
11
 CFLAGS += -Wall
12
@@ -45,25 +45,36 @@
13
 .endif
14
 
15
 # better way to find if we are using ipf or pf
16
-.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
17
 .if $(OSNAME) == "FreeBSD"
18
+.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
19
 FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
20
-          if checkyesno ipfilter_enable; then \
21
+          if checkyesno firewall_enable; then \
22
+          echo "ipfw"; elif checkyesno ipfilter_enable; then \
23
           echo "ipf"; elif checkyesno pf_enable; then \
24
-          echo "pf"; else echo "ipfw"; fi
25
+          echo "pf"; else echo "pf"; fi
26
+.else
27
+FWNAME = pf
28
+.endif
29
 .endif
30
 
31
 .if $(OSNAME) == "NetBSD"
32
+.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
33
 FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
34
           if checkyesno ipfilter; then \
35
           echo "ipf"; else echo "pf"; fi
36
+.else
37
+FWNAME = pf
38
+.endif
39
 .endif
40
 
41
 .if $(OSNAME) == "DragonFly"
42
+.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
43
 FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
44
           if checkyesno ipfilter; then \
45
           echo "ipf"; elif checkyesno pf_enable; then \
46
           echo "pf"; else echo "ipfw"; fi
47
+.else
48
+FWNAME = ipfw
49
 .endif
50
 .endif
51
 

Return to bug 193577