mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
cf362d342e
From Tor Halvard Furulund: * Update to latest upstream. * Remove the extra patches as they are incorporated upstream From Emanuel Haupt: * Port cleanups PR: 246925 Reported by: Tor Halvard Furulund <squat@squat.no> Approved by: maintainer timeout, maintainer (previous version)
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# Created by: Daniel O'Connor <darius@dons.net.au>
|
|
|
|
PORTNAME= miniupnpd
|
|
PORTVERSION= 2.1.20200510
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://miniupnp.tuxfamily.org/files/ \
|
|
http://miniupnp.free.fr/files/
|
|
|
|
MAINTAINER= squat@squat.no
|
|
COMMENT= UPnP IGD implementation which uses pf/ipf
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= cpe ssl
|
|
CPE_VENDOR= miniupnp_project
|
|
USE_RC_SUBR= miniupnpd
|
|
|
|
HAS_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
PLIST_FILES= etc/miniupnpd.conf.sample \
|
|
man/man8/miniupnpd.8.gz \
|
|
sbin/miniupnpd
|
|
|
|
OPTIONS_DEFINE= CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \
|
|
UPNP_STRICT
|
|
OPTIONS_DEFAULT= AUTODETECT_FW
|
|
OPTIONS_SINGLE= FIREWALL
|
|
OPTIONS_SINGLE_FIREWALL= AUTODETECT_FW PF IPFW
|
|
AUTODETECT_FW_DESC= Try to autodetect firewall type
|
|
CHECK_PORTINUSE_DESC= Check if ports are in use
|
|
IPFW_DESC= Use IPFW as firewall type
|
|
LEASEFILE_DESC= Enable lease file
|
|
PF_DESC= Use PF as firewall type
|
|
UPNP_IGDV2_DESC= Build an IGDv2 instead of an IGDv1
|
|
UPNP_STRICT_DESC= More strict UPnP specification compliance
|
|
|
|
CHECK_PORTINUSE_CONFIGURE_ON= --portinuse
|
|
IPV6_CONFIGURE_ON= --ipv6
|
|
LEASEFILE_CONFIGURE_ON= --leasefile
|
|
PF_CONFIGURE_ON= --firewall=pf
|
|
UPNP_IGDV2_CONFIGURE_ON= --igd2
|
|
UPNP_STRICT_CONFIGURE_ON= --strict
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \
|
|
${WRKSRC}/Makefile.bsd
|
|
|
|
.include <bsd.port.mk>
|