aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2021-10-06 19:12:15 +0000
committerJason Helfman <jgh@FreeBSD.org>2021-10-06 19:13:53 +0000
commitf51671acbd7d33d22cd4d3a8176d34bad237edde (patch)
tree3332db4f460a9eba7ae1a07b34ee1befff263355
parent0825a5664b202c72aa1aa6f4f84002531436a2fe (diff)
downloadports-f51671acbd7d33d22cd4d3a8176d34bad237edde.tar.gz
ports-f51671acbd7d33d22cd4d3a8176d34bad237edde.zip
security/passivedns: add JSON option
PR: 254435 (based on) Submitted by: freebsd@monkeyspunk.net Approved by: maintainer timeout
-rw-r--r--security/passivedns/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/passivedns/Makefile b/security/passivedns/Makefile
index 73b5875cecf5..458f085bda65 100644
--- a/security/passivedns/Makefile
+++ b/security/passivedns/Makefile
@@ -1,6 +1,7 @@
PORTNAME= passivedns
DISTVERSION= 1.2.1-22
DISTVERSIONSUFFIX= -gd757713
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= shadowbq@gmail.com
@@ -23,6 +24,12 @@ CONFIGURE_ARGS= --with-ldns-includes=${LOCALBASE}/include \
USE_RC_SUBR= passivedns
+OPTIONS_DEFINE= JSON
+OPTIONS_DEFAULT= JSON
+
+JSON_CONFIGURE_ENABLE= json
+JSON_LIB_DEPENDS= libjansson.so:devel/jansson
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/passivedns \
${STAGEDIR}${PREFIX}/bin