Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2018 17:14:42 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
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
Message-ID:  <201806251714.w5PHEgv6004027@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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 <stdio.h>
  #include <string.h>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806251714.w5PHEgv6004027>