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/ \
@@ -17,7 +17,7 @@ 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}
@@ -28,29 +28,23 @@ CONFIGURE_ARGS= --firewall=pf --libpfctl
28
28
29
29
MAKE_JOBS_UNSAFE = yes
30
30
31
- CFLAGS+ = -I${OPENSSLINC}
32
- LDFLAGS+ = -L${OPENSSLLIB} -lpfctl
33
-
34
31
PLIST_FILES = etc/miniupnpd.conf.sample \
35
32
share/man/man8/miniupnpd.8.gz \
36
33
sbin/miniupnpd
37
34
38
35
OPTIONS_DEFINE = CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \
39
- UPNP_STRICT
36
+ UPNP_STRICT UPNP_DISABLEPPPCONN
40
37
CHECK_PORTINUSE_DESC = Check if ports are in use
41
38
LEASEFILE_DESC = Enable lease file
42
39
UPNP_IGDV2_DESC = Build an IGDv2 instead of an IGDv1
43
40
UPNP_STRICT_DESC = More strict UPnP specification compliance
41
+ UPNP_DISABLEPPPCONN_DESC = Disable legacy (IGDv1 only) WANPPPConnection
44
42
45
43
CHECK_PORTINUSE_CONFIGURE_ON = --portinuse
46
44
IPV6_CONFIGURE_ON = --ipv6
47
45
LEASEFILE_CONFIGURE_ON = --leasefile
48
46
UPNP_IGDV2_CONFIGURE_ON = --igd2
49
47
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
48
+ UPNP_DISABLEPPPCONN_CONFIGURE_ON = --disable-pppconn
55
49
56
50
.include <bsd.port.mk>
0 commit comments