Upgrade dnstable to version 0.10.1:
dnstable (0.10.1) * Check for endian.h headers. * Add sys/socket.h include. * Expunge protobuf-c references. * Correct libyajl include path. dnstable (0.10.0) * Remove dnstable_convert into a separate repo to simplify dependencies. https://github.com/farsightsec/dnstable-convert/ * Add generated man pages to source. * Document dnstable_entry_set_iszone(). * Improve dnstable_reader(3) documentation. * Add JSON output (-j option) to dnstable_lookup. * Add test cases based on dnstable_lookup. * Only encode RDATA so the hostname is at the beginning for NS, CNAME, DNAME, PTR, MX, and SRV record types. * Fix byteorder macros for macOS. Sponsored by: Farsight Security, Inc.
This commit is contained in:
parent
0b82056c9a
commit
bd0fc6b05d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473327
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dnstable
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.10.1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
|
||||
|
||||
@ -12,21 +11,15 @@ COMMENT= Encoding format, library, and utilities for passive DNS data
|
||||
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
|
||||
RUN_DEPENDS= sie-nmsg>0:net/sie-nmsg
|
||||
libwdns.so:dns/wdns
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USES= gmake libtool pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
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}
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (dnstable-0.9.1.tar.gz) = 392033297fa2a6e58ace6343bb4da6360ba4728b821c3e52118753e85930f26d
|
||||
SIZE (dnstable-0.9.1.tar.gz) = 409874
|
||||
TIMESTAMP = 1529893785
|
||||
SHA256 (dnstable-0.10.1.tar.gz) = a38ee2bb4121b8abd3689c7095c6d7af976591630ae55e1e5783d1ec710a51a8
|
||||
SIZE (dnstable-0.10.1.tar.gz) = 408504
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- dnstable/query.c.orig 2014-05-21 21:37:25 UTC
|
||||
+++ dnstable/query.c
|
||||
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#include <arpa/inet.h>
|
||||
+#include <sys/socket.h>
|
||||
+#include <sys/endian.h>
|
||||
|
||||
#include "dnstable-private.h"
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/dnstable_convert.c.orig 2014-05-21 21:37:25 UTC
|
||||
+++ src/dnstable_convert.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/endian.h>
|
||||
|
||||
#include <dnstable.h>
|
||||
#include <mtbl.h>
|
@ -1,10 +0,0 @@
|
||||
--- src/dnstable_lookup.c.orig 2014-04-02 00:26:43 UTC
|
||||
+++ src/dnstable_lookup.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/endian.h>
|
||||
|
||||
#include <dnstable.h>
|
||||
#include <mtbl.h>
|
@ -1,4 +1,3 @@
|
||||
bin/dnstable_convert
|
||||
bin/dnstable_dump
|
||||
bin/dnstable_lookup
|
||||
bin/dnstable_merge
|
||||
@ -8,7 +7,6 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user