freebsd-ports/dns/dsc/Makefile
Craig Leres b477b5718c dns/dsc: update to 2.11.1
Changes since 2.8.1:

 - Add support for receiving DNS messages over DNSTAP

 - Fix bug with listening for SIGINT when in foreground mode

 - Unlink UNIX socket on exit if successfully initiated

 - Fix startup bug, exit() if unable to initialize

 - Add new configuration options to dnstap_unixsock to control
   ownership and permissions for the DNSTAP socket file

 - Update the built in known TLDs table and adds the optional
   configuration option knowntlds_file

 - Fix a 17-year old code cut&paste mistake in the classification
   indexer, until now it's been classifying funny query types based
   on the query class, submitted by Jim Hague (Sinodun)

PR:		248728
Submitted by:	Leo Vandewoestijne (maintainer)
2020-08-19 03:03:08 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Leo Vandewoestijne <freebsd@dns.company>
# $FreeBSD$
PORTNAME= dsc
PORTVERSION= 2.11.1
CATEGORIES= dns
MASTER_SITES= https://www.dns-oarc.net/files/dsc/ \
https://dns.company/files/dsc/
MAINTAINER= freebsd@dns.company
COMMENT= Tool used for collecting and exploring statistics from DNS servers
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
RUN_DEPENDS= libpcap>=1.8.1:net/libpcap \
p5-Proc-PID-File>=1.28:devel/p5-Proc-PID-File \
p5-XML-Simple>=2.24:textproc/p5-XML-Simple
USES= gmake perl5 shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-extra-cflags=-I${LOCALBASE}/include \
--with-extra-ldflags=-L${LOCALBASE}/lib \
--with-pid-file=/var/run/${PORTNAME}.pid
SUB_FILES= pkg-message
SHEBANG_FILES= cron/upload-prep.pl
USE_RC_SUBR= dsc
OPTIONS_DEFINE= DOCS
post-extract:
${REINPLACE_CMD} -e 's|/usr/local/dsc/etc|${PREFIX}/etc/dsc|' \
${WRKSRC}/cron/upload-prep.pl
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' \
${WRKSRC}/cron/upload-rsync.sh \
${WRKSRC}/cron/upload-ssh.sh \
${WRKSRC}/cron/upload-x509.sh \
${WRKSRC}/src/dsc.conf.5.in \
${WRKSRC}/src/dsc.sh
post-install:
${MKDIR} ${STAGEDIR}/var/lib/${PORTNAME}
.include <bsd.port.mk>