New port dnsdb/dnsdbq.

This is a pure C program that accesses the DNSDB API server at Farsight
Security. An API key is required for operation. The command syntax was
inspired by a python script called dnsdb_query, but significant departure
has occured, largely inspired by a modern understanding of "time fencing"
and a desire for new features such as CSV output and JSON reprocessing.

Sponsored by:	Farsight Security, Inc.
This commit is contained in:
Don Lewis 2018-02-15 06:56:11 +00:00
parent 5b6b90bbac
commit 1428bd76b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461859
4 changed files with 41 additions and 0 deletions

View File

@ -39,6 +39,7 @@
SUBDIR += dnscrypt-proxy
SUBDIR += dnscrypt-wrapper
SUBDIR += dnsdbck
SUBDIR += dnsdbq
SUBDIR += dnsdist
SUBDIR += dnsenum
SUBDIR += dnsflood

30
dns/dnsdbq/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= dnsdbq
PORTVERSION= 0.0.20180215
CATEGORIES= dns
MAINTAINER= truckman@FreeBSD.org
COMMENT= Shortened version of the dnsdb query testing tool
LICENSE= APACHE20 ISCL
LICENSE_COMB= multi
LICENSE_FILE_APACHE20= ${WRKSRC}/Apache-2.0
LICENSE_FILE_ISCL= ${WRKSRC}/ISC
LIB_DEPENDS= libjansson.so:devel/jansson \
libcurl.so:ftp/curl
USES= localbase
USE_GITHUB= yes
GH_ACCOUNT= dnsdb
GH_TAGNAME= 273f985f03a4b92a8d641f064dc54faf28222e36
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1
.include <bsd.port.mk>

3
dns/dnsdbq/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1518672234
SHA256 (dnsdb-dnsdbq-0.0.20180215-273f985f03a4b92a8d641f064dc54faf28222e36_GH0.tar.gz) = 557c756fbbf064894fa17513b56c121e0011ccc4ee5a75627464dcd65596e424
SIZE (dnsdb-dnsdbq-0.0.20180215-273f985f03a4b92a8d641f064dc54faf28222e36_GH0.tar.gz) = 22012

7
dns/dnsdbq/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
This is a pure C program that accesses the DNSDB API server at Farsight
Security. An API key is required for operation. The command syntax was
inspired by a python script called dnsdb_query, but significant departure
has occured, largely inspired by a modern understanding of "time fencing"
and a desire for new features such as CSV output and JSON reprocessing.
WWW: https://github.com/dnsdb/dnsdbq