mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- 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
This commit is contained in:
parent
579b01b26a
commit
9c0c1fb587
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430018
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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
|
||||
|
6
dns/dnscap/pkg-plist
Normal file
6
dns/dnscap/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user