freebsd-ports/security/passivedns/Makefile
Jason Helfman f51671acbd security/passivedns: add JSON option
PR:	254435 (based on)
Submitted by: freebsd@monkeyspunk.net
Approved by: maintainer timeout
2021-10-06 14:13:53 -05:00

38 lines
781 B
Makefile

PORTNAME= passivedns
DISTVERSION= 1.2.1-22
DISTVERSIONSUFFIX= -gd757713
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= shadowbq@gmail.com
COMMENT= Network sniffer that logs DNS replies for use in passive DNS setups
LICENSE= GPLv2
LIB_DEPENDS= libldns.so:dns/ldns
USES= autoreconf gmake libtool
USE_GITHUB= yes
GH_ACCOUNT= gamelinux
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ldns-includes=${LOCALBASE}/include \
--with-ldns-libraries=${LOCALBASE}/lib
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
${MKDIR} ${STAGEDIR}/var/log/passivedns
.include <bsd.port.mk>