Commit Graph

14 Commits

Author SHA1 Message Date
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
Craig Leres 06fa50c3e4 dns/dsc: Improve out-of-box behavior
(From the PR) The sample configuration refers to an invalid PID
file location, and a non-existent data directory.

 - Set PID file location to match RC script default
 - Create default data directory
 - While here, drop dependency on dns/dsp, which is not required
   to collect stats

PR:		245141
Submitted by:	John W. O'Brien
Approved by:	Leo Vandewoestijne (maintainer timeout, 2 weeks)
2020-04-12 16:35:38 +00:00
Mathieu Arnold 78d1aff1fc Convert to UCL & cleanup pkg-message (categories d) 2019-08-13 16:01:59 +00:00
Steve Wills 46438a112e dns/dsc: update to 2.8.1
PR:		239220
Submitted by:	Leo Vandewoestijne <freebsd@dns.company> (maintainer)
2019-07-16 17:43:27 +00:00
Craig Leres 2c6f3e93de Put LIB_DEPENDS after BUILD_DEPENDS as per mat@ (and the Porter's
Handbook).

Reported by:	mat
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D19197
2019-02-15 03:07:46 +00:00
Craig Leres e3f5646b83 Upgrade to 2.8.0:
- New indexer 'response_time'

 - Support for MaxMind DB (GeoIP2)

 - Update 'pcap_layers' with fixes for 'scan-build' warnings

 - Fix port in debug output of DNS message

Changes made in addition to the PR supplied patch:

 - The port had USES=shebangfix but none of the SHEBANG_ variables
   were set; replace the cron_upload-prep.pl patch with a working
   shebangfix setup and then use REINPLACE_CMD to adjust the conf
   path in upload-prep.pl

 - While we're here use REINPLACE_CMD to obey PREFIX in other
   files

PR:		235711
Submitted by:	Leo Vandewoestijne (maintainer)
Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D19187
2019-02-14 00:45:52 +00:00
Craig Leres d0efbbc3ed Undeprecate and retain GeoIP support by switching from net/GeoIP
to net/libmaxminddb. Update pkg-message to document updating via
net/geoipupdate. Remove pkg-descr whitespace flagged by portlint.

PR:		234950
Reviewed by:	ler (mentor)
Approved by:	freebsd@dns.company (maintainer), ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D19173
2019-02-13 01:01:13 +00:00
Adam Weinberger b48ed2e966 Deprecate everything that depends on net/GeoIP and everything that depends
on those ports.
2019-01-13 21:22:06 +00:00
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00
Craig Leres ff29d5a715 Replace PREFIX with LOCALBASE as suggested by danfe@
Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D16928
2018-08-28 20:45:24 +00:00
Craig Leres 790acdb167 Update to 2.7.0. Add --with-extra-cflags=-I${PREFIX}/include
so configure finds pcap/sll.h. Add a rc.d script. Fix the path
to the config directory in upload-prep.pl or else it silently
exits without doing anything when it doesn't find any configs.

PR:		230661
Reviewed by:	ler (mentor)
Approved by:	Leo Vandewoestijn (maintainer), ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D16925
2018-08-28 00:45:52 +00:00
Mathieu Arnold f6d56007b9 Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.

When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS.  In order of preference, they are:

1) use RUN_DEPENDS to set BUILD_DEPENDS:

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	foo:bar/baz

2) create another variable and use it:

MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS=	${MY_DEPENDS}
RUN_DEPENDS=	${MY_DEPENDS}

3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:

BUILD_DEPENDS=	foo:bar/baz
RUN_DEPENDS:=	${BUILD_DEPENDS}

Sponsored by:	Absolight
2018-07-09 08:40:17 +00:00
Kurt Jaeger a6db49a466 dns/{dsc|dsp|p5-DSC|p5-App-DSC-DataTool}: fix WWW in pkg-descr
Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>
Approved by:	Leo Vandewoestijne <freebsd@dns.company> (maintainer)
2018-03-23 20:05:03 +00:00
Kurt Jaeger cc3c2817fe New port: dns/dsc
DSC (originally developed by The Measurement Factory and now developed
by DNS-OARC) is a system for collecting and exploring statistics from
busy DNS servers. It uses a distributed architecture with collectors
running on or near nameservers sending their data to one or more
central presenters for display and archiving. Collectors use pcap to
sniff network traffic. They transmit aggregated data to the presenter
as XML data. dsc is configurable to allow the administrator to capture
any kind of data that he or she chooses.

WWW: https://www.dns-oarc.net/dsc/

PR:		226631
Submitted by:	Leo Vandewoestijne <freebsd@dns.company>
2018-03-21 20:14:11 +00:00