Bug 219504 - [NEW PORT] dns/packetq: SQL-frontend to pcap files
Summary: [NEW PORT] dns/packetq: SQL-frontend to pcap files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 14:28 UTC by Leo Vandewoestijne
Modified: 2017-05-25 21:06 UTC (History)
0 users

See Also:


Attachments
PacketQ 1.3.0 (2.23 KB, text/plain)
2017-05-24 14:28 UTC, Leo Vandewoestijne
freebsd: maintainer-approval+
Details
packetq 1.3.0 (modified) (1.74 KB, text/plain)
2017-05-24 15:37 UTC, Po-Chuan Hsieh
no flags Details
packetQ 1.3.0 shar v2 (1.79 KB, text/plain)
2017-05-24 19:10 UTC, Leo Vandewoestijne
freebsd: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Vandewoestijne 2017-05-24 14:28:52 UTC
Created attachment 182863 [details]
PacketQ 1.3.0

DNS-OARC recontinued the PacketQ project of IIS (the .se registry).
Yesterday the first new release came, and this is the port I made for it.

It's tested with portlint and with poudriere against 103amd64 & 110amd64.
I'll test against 103i386 & 110i386 also, but my cloud instance is -unsurprisingly- not as fast as I might suspect.
Comment 1 Leo Vandewoestijne 2017-05-24 15:01:10 UTC
103i386 & 110i386 were also fine.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-05-24 15:37:14 UTC
Created attachment 182866 [details]
packetq 1.3.0 (modified)

There are something need to be adjusted/fixed.
- "net" seems to be a better category for this port
- With DEVELOPER=yes, you'll see "USE_AUTOTOOLS is deprecated, please use USES=autoreconf and GNU_CONFIGURE=yes". 
- Use GH_ACCOUNT, GH_PROJECT and USE_GITHUB, see Mk/bsd.sites.mk for details
- OPTIONS_DEFINE=DOCS is missing
- You could use PLIST_FILES and PORTDOCS.

Try the new attachment.
Comment 3 Leo Vandewoestijne 2017-05-24 19:10:18 UTC
Created attachment 182870 [details]
packetQ 1.3.0 shar v2

Hi Po-Chuan Hsieh,

Thanks! With the rest of your hints I came to almost the identical result.

> "net" seems to be a better category for this port
>
Since all SQL columns are DNS specific I think only "dns" is appropriate.

> Use GH_ACCOUNT, GH_PROJECT and USE_GITHUB, see Mk/bsd.sites.mk for details
>
I prefer having fallback to multiple sites plus non-ssl fallback over cosmetics of a minimalistic Makefile.

By these another shar.
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-05-25 21:04:22 UTC
A commit references this bug:

Author: sunpoet
Date: Thu May 25 21:03:07 UTC 2017
New revision: 441736
URL: https://svnweb.freebsd.org/changeset/ports/441736

Log:
  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>

Changes:
  head/dns/Makefile
  head/dns/packetq/
  head/dns/packetq/Makefile
  head/dns/packetq/distinfo
  head/dns/packetq/pkg-descr
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-05-25 21:06:26 UTC
Committed. Thanks!