From owner-svn-ports-head@freebsd.org Mon Jun 25 17:14:43 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B85510175EF; Mon, 25 Jun 2018 17:14:43 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3800885303; Mon, 25 Jun 2018 17:14:43 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1678C2FFFB; Mon, 25 Jun 2018 17:14:43 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5PHEgNx004032; Mon, 25 Jun 2018 17:14:42 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5PHEgv6004027; Mon, 25 Jun 2018 17:14:42 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201806251714.w5PHEgv6004027@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Mon, 25 Jun 2018 17:14:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473328 - in head/dns: . dnstable-convert dnstable-convert/files X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: in head/dns: . dnstable-convert dnstable-convert/files X-SVN-Commit-Revision: 473328 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 17:14:43 -0000 Author: truckman Date: Mon Jun 25 17:14:41 2018 New Revision: 473328 URL: https://svnweb.freebsd.org/changeset/ports/473328 Log: New port dns/dnstable_convert. It was split out of dnstable to reduce the dependencies of dnstable. dnstable_convert is a conversion utility for passive DNS data in dnstable format. Sponsored by: Farsight Security, Inc. Added: head/dns/dnstable-convert/ - copied from r472474, head/dns/dnstable/ head/dns/dnstable-convert/files/patch-dnstable__convert.c - copied, changed from r472474, head/dns/dnstable/files/patch-src_dnstable__convert.c Deleted: head/dns/dnstable-convert/files/patch-dnstable_query.c head/dns/dnstable-convert/files/patch-src_dnstable__convert.c head/dns/dnstable-convert/files/patch-src_dnstable__lookup.c head/dns/dnstable-convert/pkg-plist Modified: head/dns/Makefile head/dns/dnstable-convert/Makefile head/dns/dnstable-convert/distinfo head/dns/dnstable-convert/pkg-descr Modified: head/dns/Makefile ============================================================================== --- head/dns/Makefile Mon Jun 25 17:11:08 2018 (r473327) +++ head/dns/Makefile Mon Jun 25 17:14:41 2018 (r473328) @@ -56,6 +56,7 @@ SUBDIR += dnsrecon SUBDIR += dnsreflector SUBDIR += dnstable + SUBDIR += dnstable-convert SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl Modified: head/dns/dnstable-convert/Makefile ============================================================================== --- head/dns/dnstable/Makefile Fri Jun 15 18:04:40 2018 (r472474) +++ head/dns/dnstable-convert/Makefile Mon Jun 25 17:14:41 2018 (r473328) @@ -1,35 +1,30 @@ # $FreeBSD$ -PORTNAME= dnstable -PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTNAME= dnstable-convert +PORTVERSION= 0.10.0 CATEGORIES= dns MASTER_SITES= FARSIGHT LOCAL/truckman/farsight MAINTAINER= truckman@FreeBSD.org -COMMENT= Encoding format, library, and utilities for passive DNS data +COMMENT= Conversion utility for passive DNS data in dnstable format LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= sie-nmsg>0:net/sie-nmsg -LIB_DEPENDS= libmtbl.so:devel/mtbl \ - libyajl.so:devel/yajl \ - libwdns.so:dns/wdns \ - libnmsg.so:net/nmsg +LIB_DEPENDS= libdnstable.so:dns/dnstable \ + libmtbl.so:devel/mtbl \ + libnmsg.so:net/nmsg \ + libwdns.so:dns/wdns RUN_DEPENDS= sie-nmsg>0:net/sie-nmsg -GNU_CONFIGURE= yes -USE_LDCONFIG= yes USES= gmake libtool pathfix pkgconfig +USE_LDCONFIG= yes +GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +PLIST_FILES= bin/dnstable_convert man/man1/dnstable_convert.1.gz -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/yajl -LDFLAGS+= -L${LOCALBASE}/lib - post-install: -.for i in 1 3 5 7 - ${INSTALL_MAN} ${WRKSRC}/man/*.${i} ${STAGEDIR}/${PREFIX}/man/man${i} -.endfor + ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}/${PREFIX}/man/man1 .include Modified: head/dns/dnstable-convert/distinfo ============================================================================== --- head/dns/dnstable/distinfo Fri Jun 15 18:04:40 2018 (r472474) +++ head/dns/dnstable-convert/distinfo Mon Jun 25 17:14:41 2018 (r473328) @@ -1,2 +1,3 @@ -SHA256 (dnstable-0.9.1.tar.gz) = 392033297fa2a6e58ace6343bb4da6360ba4728b821c3e52118753e85930f26d -SIZE (dnstable-0.9.1.tar.gz) = 409874 +TIMESTAMP = 1529897638 +SHA256 (dnstable-convert-0.10.0.tar.gz) = ec55439acd6ad5a6f9afd73f6d23a91eaee7865aca608e14dec7c71f59902a3b +SIZE (dnstable-convert-0.10.0.tar.gz) = 134932 Copied and modified: head/dns/dnstable-convert/files/patch-dnstable__convert.c (from r472474, head/dns/dnstable/files/patch-src_dnstable__convert.c) ============================================================================== --- head/dns/dnstable/files/patch-src_dnstable__convert.c Fri Jun 15 18:04:40 2018 (r472474, copy source) +++ head/dns/dnstable-convert/files/patch-dnstable__convert.c Mon Jun 25 17:14:41 2018 (r473328) @@ -1,5 +1,5 @@ ---- src/dnstable_convert.c.orig 2014-05-21 21:37:25 UTC -+++ src/dnstable_convert.c +--- dnstable_convert.c.orig 2018-06-05 14:55:58 UTC ++++ dnstable_convert.c @@ -24,6 +24,7 @@ #include #include Modified: head/dns/dnstable-convert/pkg-descr ============================================================================== --- head/dns/dnstable/pkg-descr Fri Jun 15 18:04:40 2018 (r472474) +++ head/dns/dnstable-convert/pkg-descr Mon Jun 25 17:14:41 2018 (r473328) @@ -1,11 +1,5 @@ -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. +dnstable_convert is a conversion utility for passive DNS data in +dnstable format. It was split out of dnstable to reduce the +dependencies of dnstable. -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 +WWW: https://github.com/farsightsec/dnstable-convert