git: f51671acbd7d - main - security/passivedns: add JSON option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 19:14:30 UTC
The branch main has been updated by jgh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f51671acbd7d33d22cd4d3a8176d34bad237edde
commit f51671acbd7d33d22cd4d3a8176d34bad237edde
Author: Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2021-10-06 19:12:15 +0000
Commit: Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2021-10-06 19:13:53 +0000
security/passivedns: add JSON option
PR: 254435 (based on)
Submitted by: freebsd@monkeyspunk.net
Approved by: maintainer timeout
---
security/passivedns/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
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