aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-31 03:20:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-31 03:20:04 +0800
commit81221cd68f629e81f91744016eb323a1f45d3ef5 (patch)
tree2fd0641b5ba726d38f2dba74866c5fc27ee199b7 /dns
parenta08ab417fd7570980a93ec7f551112e93e93a853 (diff)
downloadfreebsd-ports-gnome-81221cd68f629e81f91744016eb323a1f45d3ef5.tar.gz
freebsd-ports-gnome-81221cd68f629e81f91744016eb323a1f45d3ef5.tar.zst
freebsd-ports-gnome-81221cd68f629e81f91744016eb323a1f45d3ef5.zip
- Update to 1.3.0
- Update LICENSE - Add LICENSE_FILE - Update pkg-descr - Add GitHub repository to WWW - Take maintainership Changes: https://github.com/DNS-OARC/dnscap/releases
Diffstat (limited to 'dns')
-rw-r--r--dns/dnscap/Makefile22
-rw-r--r--dns/dnscap/distinfo5
-rw-r--r--dns/dnscap/files/patch-dump_dns.c37
-rw-r--r--dns/dnscap/pkg-descr12
-rw-r--r--dns/dnscap/pkg-plist6
5 files changed, 28 insertions, 54 deletions
diff --git a/dns/dnscap/Makefile b/dns/dnscap/Makefile
index bfbb26cf2746..f7f0fdac1f2d 100644
--- a/dns/dnscap/Makefile
+++ b/dns/dnscap/Makefile
@@ -2,21 +2,27 @@
# $FreeBSD$
PORTNAME= dnscap
-DISTVERSION= 134
+PORTVERSION= 1.3.0
+PORTEPOCH= 1
CATEGORIES= dns
-MASTER_SITES= http://dnscap.dns-oarc.net/
+MASTER_SITES= https://www.dns-oarc.net/files/dnscap/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= DNS network traffic capture utility
-LICENSE= ISCL
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+OPTIONS_DEFINE= DOCS
+
+CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USES= libtool
-PLIST_FILES= bin/dnscap man/man1/dnscap.1.gz
+PORTDOCS= *
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dnscap ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dnscap.1 ${STAGEDIR}${PREFIX}/man/man1
+post-patch-DOCS-off:
+ @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/dns/dnscap/distinfo b/dns/dnscap/distinfo
index 91bd92e0a644..ae01aaf01397 100644
--- a/dns/dnscap/distinfo
+++ b/dns/dnscap/distinfo
@@ -1,2 +1,3 @@
-SHA256 (dnscap-134.tar.gz) = eec7af9c9e99753865250f9d6974d10899a208b3da83d0015addf3538137f621
-SIZE (dnscap-134.tar.gz) = 91682
+TIMESTAMP = 1483080473
+SHA256 (dnscap-1.3.0.tar.gz) = 3e31bb57e513d724b6310ebc64773eb00a44ea101978fd738aa4340eabef3635
+SIZE (dnscap-1.3.0.tar.gz) = 405655
diff --git a/dns/dnscap/files/patch-dump_dns.c b/dns/dnscap/files/patch-dump_dns.c
deleted file mode 100644
index d22dd8c8955a..000000000000
--- a/dns/dnscap/files/patch-dump_dns.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- dump_dns.c.orig 2011-03-11 21:38:56 UTC
-+++ dump_dns.c
-@@ -60,7 +60,6 @@ static const char rcsid[] = "$Id: dump_d
- #include <time.h>
- #include <unistd.h>
-
--extern const char *_res_opcodes[];
- extern const char *_res_sectioncodes[];
- #define p_rcode __p_rcode
- extern const char *p_rcode(int rcode);
-@@ -86,6 +85,26 @@ static void dump_dns_rr(ns_msg *, ns_rr
- (cp) += INT32SZ; \
- } while (0)
-
-+
-+const char *_res_opcodes[] = {
-+ "QUERY",
-+ "IQUERY",
-+ "CQUERYM",
-+ "CQUERYU", /*%< experimental */
-+ "NOTIFY", /*%< experimental */
-+ "UPDATE",
-+ "6",
-+ "7",
-+ "8",
-+ "9",
-+ "10",
-+ "11",
-+ "12",
-+ "13",
-+ "ZONEINIT",
-+ "ZONEREF",
-+};
-+
- #include "dump_dns.h"
-
- void
diff --git a/dns/dnscap/pkg-descr b/dns/dnscap/pkg-descr
index d614b77b5958..6dbf2fd0dffb 100644
--- a/dns/dnscap/pkg-descr
+++ b/dns/dnscap/pkg-descr
@@ -1,9 +1,7 @@
-dnscap is a network capture utility designed specifically for DNS
-traffic. It normally produces binary data in pcap(3) format, either
-on standard output or in successive dump files (based on the -w
-command line option.) This utility is similar to tcpdump(1), but
-has finer grained packet recognition tailored to DNS transactions
-and protocol options. dnscap is expected to be used for gathering
-continuous research or audit traces.
+dnscap is a network capture utility designed specifically for DNS traffic. It
+produces binary data in pcap(3) format. This utility is similar to tcpdump(1),
+but has a number of features tailored to DNS transactions and protocol options.
+OARC uses dnscap for DITL data collections.
WWW: https://www.dns-oarc.net/tools/dnscap
+WWW: https://github.com/DNS-OARC/dnscap
diff --git a/dns/dnscap/pkg-plist b/dns/dnscap/pkg-plist
new file mode 100644
index 000000000000..8ea44073cb98
--- /dev/null
+++ b/dns/dnscap/pkg-plist
@@ -0,0 +1,6 @@
+bin/dnscap
+lib/dnscap/pcapdump.a
+lib/dnscap/pcapdump.so
+lib/dnscap/txtout.a
+lib/dnscap/txtout.so
+man/man1/dnscap.1.gz