diff options
author | riggs <riggs@FreeBSD.org> | 2015-11-23 14:20:46 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-11-23 14:20:46 +0800 |
commit | ca8ba5f407817ba3efc68a6af1cd7a14081dceb8 (patch) | |
tree | 887cacb5f525fbb1054eb54ab322c7b939579528 /security | |
parent | cbabd66dffc4bc566f69a54fa33cc8aeef6186cf (diff) | |
download | freebsd-ports-gnome-ca8ba5f407817ba3efc68a6af1cd7a14081dceb8.tar.gz freebsd-ports-gnome-ca8ba5f407817ba3efc68a6af1cd7a14081dceb8.tar.zst freebsd-ports-gnome-ca8ba5f407817ba3efc68a6af1cd7a14081dceb8.zip |
Allow to select pf instead of default ipfw for firewall backend
PR: 204334
Submitted by: jan0sch@mykolab.com
Reviewed by: sean.greven@gmail.com (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/fwknop/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/security/fwknop/Makefile b/security/fwknop/Makefile index e41e78f918d6..067fd1a6e976 100644 --- a/security/fwknop/Makefile +++ b/security/fwknop/Makefile @@ -13,9 +13,16 @@ LICENSE= GPLv2 CPE_VENDOR= cipherdyne -OPTIONS_DEFINE= GPGME -OPTIONS_DEFAULT= GPGME +OPTIONS_DEFINE= GPGME +OPTIONS_SINGLE= FW +OPTIONS_SINGLE_FW= IPFW PF + +OPTIONS_DEFAULT= GPGME IPFW + +FW_DESC= Firewall Backend +IPFW_DESC= Use the IPFW firewall +PF_DESC= Use the PF firewall. GPGME_DESC= Build support for gpgme USES= cpe libtool @@ -27,6 +34,10 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INFO= libfko +IPFW_CONFIGURE_WITH= ipfw=/sbin/ipfw + +PF_CONFIGURE_WITH= pf=/sbin/pfctl + GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme GPGME_CONFIGURE_WITH= gpgme |