aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-05-26 05:03:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-05-26 05:03:07 +0800
commit9dc6b26858f6368a19b9cff72224508838118d52 (patch)
tree6d8812cf3440652963ca0767000726bf972f7182
parent13bb3c3c7037a27d061df9fbc5c3177e5904d31f (diff)
downloadfreebsd-ports-gnome-9dc6b26858f6368a19b9cff72224508838118d52.tar.gz
freebsd-ports-gnome-9dc6b26858f6368a19b9cff72224508838118d52.tar.zst
freebsd-ports-gnome-9dc6b26858f6368a19b9cff72224508838118d52.zip
Add packetq 1.3.0
packetq is a command line tool to run SQL queries directly on PCAP files, the results can be outputted as JSON (default), formatted/compact CSV and XML. It also contain a very simplistic web-server in order to inspect PCAP files remotely. PacketQ was known as DNS2db but renamed in 2011. WWW: https://www.dns-oarc.net/tools/packetq PR: 219504 Submitted by: Leo Vandewoestijne <freebsd@dns-lab.com>
-rw-r--r--dns/Makefile1
-rw-r--r--dns/packetq/Makefile27
-rw-r--r--dns/packetq/distinfo3
-rw-r--r--dns/packetq/pkg-descr7
4 files changed, 38 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 8f377ff9ff27..164e2f3e4cd1 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -159,6 +159,7 @@
SUBDIR += p5-Tie-DNS
SUBDIR += p5-URBL-Prepare
SUBDIR += p5-pgeodns
+ SUBDIR += packetq
SUBDIR += pdnsd
SUBDIR += pear-File_DNS
SUBDIR += pear-Horde_Idna
diff --git a/dns/packetq/Makefile b/dns/packetq/Makefile
new file mode 100644
index 000000000000..f6ab5abfe461
--- /dev/null
+++ b/dns/packetq/Makefile
@@ -0,0 +1,27 @@
+# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
+# $FreeBSD$
+
+PORTNAME= packetq
+PORTVERSION= 1.3.0
+DISTVERSIONPREFIX= v
+CATEGORIES= dns
+
+MAINTAINER= freebsd@dns-lab.com
+COMMENT= Basic SQL-frontend to PCAP-files
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GH_ACCOUNT= DNS-OARC
+GH_PROJECT= PacketQ
+USE_GITHUB= yes
+
+USES= autoreconf
+GNU_CONFIGURE= yes
+
+OPTIONS_DEFINE= DOCS
+
+PLIST_FILES= bin/packetq
+PORTDOCS= CHANGES COPYING FAQ.md FIELDS.md FUNCTIONS.md README.md
+
+.include <bsd.port.mk>
diff --git a/dns/packetq/distinfo b/dns/packetq/distinfo
new file mode 100644
index 000000000000..f571dc9f13a8
--- /dev/null
+++ b/dns/packetq/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495639380
+SHA256 (DNS-OARC-PacketQ-v1.3.0_GH0.tar.gz) = 286fe8d410745f5166dcf078e4e62ff72223f94f784e1952e9facc6c1f9df64b
+SIZE (DNS-OARC-PacketQ-v1.3.0_GH0.tar.gz) = 836865
diff --git a/dns/packetq/pkg-descr b/dns/packetq/pkg-descr
new file mode 100644
index 000000000000..a17dae30032e
--- /dev/null
+++ b/dns/packetq/pkg-descr
@@ -0,0 +1,7 @@
+PacketQ is a command line tool to run SQL queries directly on PCAP
+files, the results can be outputted as JSON (default),
+formatted/compact CSV and XML. It also contain a very simplistic
+web-server in order to inspect PCAP files remotely.
+PacketQ was known as DNS2db but renamed in 2011.
+
+WWW: https://www.dns-oarc.net/tools/packetq