1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/miniupnpd: remove ipfw port option

It is well-known that net/miniupnpd does not work with IPFW. However,
the port options still allow building with IPFW support. In order to
prevent unnecessary foot-shooting, let us eliminate this option outright
and unconditionally use pf instead.

PR:		271732
Approved by:	squat@squat.no (maintainer timeout, two weeks)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
R. Christian McDonald 2023-05-30 15:03:18 -04:00 committed by Robert Clausecker
parent cb40b0a439
commit dcb400297a

View File

@ -1,10 +1,11 @@
PORTNAME= miniupnpd
PORTVERSION= 2.3.3
DISTVERSION= 2.3.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MAINTAINER= squat@squat.no
COMMENT= UPnP IGD implementation which uses pf/ipf
COMMENT= UPnP IGD implementation which uses pf
WWW= http://miniupnp.free.fr/
LICENSE= BSD3CLAUSE
@ -31,23 +32,19 @@ PLIST_FILES= etc/miniupnpd.conf.sample \
man/man8/miniupnpd.8.gz \
sbin/miniupnpd
# unconditionally use pf, ipfw does not work on FreeBSD
CONFIGURE_ARGS= --firewall=pf
OPTIONS_DEFINE= CHECK_PORTINUSE IPV6 LEASEFILE UPNP_IGDV2 \
UPNP_STRICT
OPTIONS_DEFAULT= AUTODETECT_FW
OPTIONS_SINGLE= FIREWALL
OPTIONS_SINGLE_FIREWALL= AUTODETECT_FW IPFW PF
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