1
1
PORTNAME = miniupnpd
2
2
DISTVERSION = 2.3.9
3
- PORTREVISION = 1
3
+ PORTREVISION = 2
4
4
PORTEPOCH = 1
5
5
CATEGORIES = net
6
6
MASTER_SITES = http://miniupnp.free.fr/files/ \
@@ -11,46 +11,44 @@ PATCHFILES= 7949a7acb3b8471681157863387339ea2ca749fb.patch:-p2
11
11
12
12
13
13
COMMENT = Lightweight UPnP IGD & PCP/NAT-PMP daemon which uses pf
14
- WWW = http ://miniupnp.free.fr /
14
+ WWW = https ://miniupnp.tuxfamily.org /
15
15
16
16
LICENSE = BSD3CLAUSE
17
17
18
18
LIB_DEPENDS = libpfctl.so:net/libpfctl
19
19
20
- USES = cpe localbase:ldflags ssl
20
+ USES = cpe
21
21
CPE_VENDOR = miniupnp_project
22
22
23
23
USE_RC_SUBR = ${PORTNAME}
24
24
25
25
HAS_CONFIGURE = yes
26
26
# unconditionally use pf, ipfw does not work on FreeBSD
27
- CONFIGURE_ARGS = --firewall=pf --libpfctl
27
+ CONFIGURE_ARGS = --firewall=pf \
28
+ --libpfctl
28
29
29
30
MAKE_JOBS_UNSAFE = yes
30
31
31
- CFLAGS+ = -I${OPENSSLINC}
32
- LDFLAGS+ = -L${OPENSSLLIB} -lpfctl
33
-
34
32
PLIST_FILES = etc/miniupnpd.conf.sample \
35
- share/man/man8/ miniupnpd.8.gz \
36
- sbin/ miniupnpd
33
+ sbin/ miniupnpd \
34
+ share/man/man8/ miniupnpd.8.gz
37
35
38
- OPTIONS_DEFINE = CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \
39
- UPNP_STRICT
36
+ OPTIONS_DEFINE = CHECK_PORTINUSE IPV6 LEASEFILE \
37
+ UPNP_DISABLEPPPCONN UPNP_IGDV2 UPNP_STRICT \
38
+ UPNP_VENDORCFG
40
39
CHECK_PORTINUSE_DESC = Check if ports are in use
41
40
LEASEFILE_DESC = Enable lease file
41
+ UPNP_DISABLEPPPCONN_DESC = Disable additional legacy (IGDv1 only) WANPPPConnection
42
42
UPNP_IGDV2_DESC = Build an IGDv2 instead of an IGDv1
43
43
UPNP_STRICT_DESC = More strict UPnP specification compliance
44
-
45
- CHECK_PORTINUSE_CONFIGURE_ON = --portinuse
46
- IPV6_CONFIGURE_ON = --ipv6
47
- LEASEFILE_CONFIGURE_ON = --leasefile
48
- UPNP_IGDV2_CONFIGURE_ON = --igd2
49
- UPNP_STRICT_CONFIGURE_ON = --strict
50
-
51
- post-patch :
52
- @${REINPLACE_CMD} -e ' s|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \
53
- -e ' s|^INSTALLMANDIR.*|INSTALLMANDIR = ${PREFIX}/share/man|' \
54
- ${WRKSRC} /Makefile.bsd
44
+ UPNP_VENDORCFG_DESC = Enable configuration of manufacturer info
45
+
46
+ CHECK_PORTINUSE_CONFIGURE_ON = --portinuse
47
+ IPV6_CONFIGURE_ON = --ipv6
48
+ LEASEFILE_CONFIGURE_ON = --leasefile
49
+ UPNP_DISABLEPPPCONN_CONFIGURE_ON = --disable-pppconn
50
+ UPNP_IGDV2_CONFIGURE_ON = --igd2
51
+ UPNP_STRICT_CONFIGURE_ON = --strict
52
+ UPNP_VENDORCFG_CONFIGURE_ON = --vendorcfg
55
53
56
54
.include <bsd.port.mk>
0 commit comments