From owner-svn-ports-all@FreeBSD.ORG Fri Apr 3 22:22:50 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2332A8B9; Fri, 3 Apr 2015 22:22:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CBADBB4; Fri, 3 Apr 2015 22:22:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t33MMnjQ024401; Fri, 3 Apr 2015 22:22:49 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t33MMkMw024390; Fri, 3 Apr 2015 22:22:46 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201504032222.t33MMkMw024390@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Fri, 3 Apr 2015 22:22:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383179 - in head/dns: . dnstable dnstable/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 22:22:50 -0000 Author: truckman Date: Fri Apr 3 22:22:45 2015 New Revision: 383179 URL: https://svnweb.freebsd.org/changeset/ports/383179 Log: Add new port dns/dnstable. dnstable implements an encoding format for passive DNS data. It consists of a C library, libdnstable, and several command line utilities for creating, querying, and merging dnstable data files. It stores key-value records in Sorted String Table (SSTable) files and provides high-level interfaces for querying or iterating over the stored records. dnstable encodes individual records using a format tailored for efficiently storing passive DNS data and can quickly perform both "forward" and "inverse" searches. Differential Revision: https://reviews.freebsd.org/D2214 Approved by: mat (mentor) Sponsored by: Farsight Security, Inc. Added: head/dns/dnstable/ head/dns/dnstable/Makefile (contents, props changed) head/dns/dnstable/distinfo (contents, props changed) head/dns/dnstable/files/ head/dns/dnstable/files/patch-dnstable_query.c (contents, props changed) head/dns/dnstable/files/patch-src_dnstable__convert.c (contents, props changed) head/dns/dnstable/files/patch-src_dnstable__lookup.c (contents, props changed) head/dns/dnstable/pkg-descr (contents, props changed) head/dns/dnstable/pkg-plist (contents, props changed) Modified: head/dns/Makefile Modified: head/dns/Makefile ============================================================================== --- head/dns/Makefile Fri Apr 3 20:56:52 2015 (r383178) +++ head/dns/Makefile Fri Apr 3 22:22:45 2015 (r383179) @@ -41,6 +41,7 @@ SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsreflector + SUBDIR += dnstable SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl Added: head/dns/dnstable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/Makefile Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= dnstable +PORTVERSION= 0.7.0 +CATEGORIES= dns +MASTER_SITES= FARSIGHT LOCAL/truckman/farsight + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Encoding format, library, and utilities for passive DNS data + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +BUILD_DEPENDS= sie-nmsg>0:${PORTSDIR}/net/sie-nmsg +LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \ + libmtbl.so:${PORTSDIR}/devel/mtbl \ + libwdns.so:${PORTSDIR}/dns/wdns \ + libnmsg.so:${PORTSDIR}/net/nmsg +RUN_DEPENDS= sie-nmsg>0:${PORTSDIR}/net/sie-nmsg + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USES= gmake libtool pathfix pkgconfig +INSTALL_TARGET= install-strip + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +post-install: +.for i in 1 3 5 7 + ${INSTALL_MAN} ${WRKSRC}/man/*.${i} ${STAGEDIR}/${PREFIX}/man/man${i} +.endfor + +.include Added: head/dns/dnstable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/distinfo Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,2 @@ +SHA256 (dnstable-0.7.0.tar.gz) = 2035fa74b7f1fd91da846bab810b9ac376f839aaa8cf627dace2a29dee293b2b +SIZE (dnstable-0.7.0.tar.gz) = 383942 Added: head/dns/dnstable/files/patch-dnstable_query.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/files/patch-dnstable_query.c Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,11 @@ +--- dnstable/query.c.orig 2014-05-21 21:37:25 UTC ++++ dnstable/query.c +@@ -15,6 +15,8 @@ + */ + + #include ++#include ++#include + + #include "dnstable-private.h" + Added: head/dns/dnstable/files/patch-src_dnstable__convert.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/files/patch-src_dnstable__convert.c Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,10 @@ +--- src/dnstable_convert.c.orig 2014-05-21 21:37:25 UTC ++++ src/dnstable_convert.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include + #include Added: head/dns/dnstable/files/patch-src_dnstable__lookup.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/files/patch-src_dnstable__lookup.c Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,10 @@ +--- src/dnstable_lookup.c.orig 2014-04-02 00:26:43 UTC ++++ src/dnstable_lookup.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + #include + #include Added: head/dns/dnstable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/pkg-descr Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,11 @@ +dnstable implements an encoding format for passive DNS data. It consists of a +C library, libdnstable, and several command line utilities for creating, +querying, and merging dnstable data files. + +It stores key-value records in Sorted String Table (SSTable) files and provides +high-level interfaces for querying or iterating over the stored records. +dnstable encodes individual records using a format tailored for efficiently +storing passive DNS data and can quickly perform both "forward" and "inverse" +searches. + +WWW: https://github.com/farsightsec/dnstable Added: head/dns/dnstable/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnstable/pkg-plist Fri Apr 3 22:22:45 2015 (r383179) @@ -0,0 +1,21 @@ +bin/dnstable_convert +bin/dnstable_dump +bin/dnstable_lookup +bin/dnstable_merge +include/dnstable.h +lib/libdnstable.a +lib/libdnstable.so +lib/libdnstable.so.0 +lib/libdnstable.so.0.0.0 +libdata/pkgconfig/libdnstable.pc +man/man1/dnstable_convert.1.gz +man/man1/dnstable_dump.1.gz +man/man1/dnstable_lookup.1.gz +man/man1/dnstable_merge.1.gz +man/man3/dnstable_entry.3.gz +man/man3/dnstable_iter.3.gz +man/man3/dnstable_merge_func.3.gz +man/man3/dnstable_query.3.gz +man/man3/dnstable_reader.3.gz +man/man5/dnstable-encoding.5.gz +man/man7/dnstable.7.gz