svn commit: r566207 - in head/dns/dnsdbq: . files

Don Lewis truckman at FreeBSD.org
Sun Feb 21 07:13:49 UTC 2021


Author: truckman
Date: Sun Feb 21 07:13:48 2021
New Revision: 566207
URL: https://svnweb.freebsd.org/changeset/ports/566207

Log:
  Upgrade dns/dnsdbq to version 2.4.0:
  
  * Requires using an updated DNSDB API server. (2.3.0)
  
  * To use the new features, add the following line the ~/.dnsdb-query.conf
    file: (2.3.0)
      DNSDBQ_SYSTEM=dnsdb2
    or add the command-line option
      -u dnsdb2
  
    If you leave out that line, that command-line option, or use
      DNSDBQ_SYSTEM=dnsdb
    then dnsdbq will function as it previously did with DNSDB API version 1.
  
  * change DEFAULT_SYS from dnsdb to dnsdb2; adapt rest of system to cope
    (2.4.0)
  
  * add support to probe what pDNS systems the endpoint supports (2.4.0)
  
  * normalize DNSDB APIv2; rename encap_bare to encap_cof; incorporate encap
    into pdns_system; remove all encap inequality tests (2.4.0)
  
  Sponsored by:	Farsight Security, Inc.

Added:
  head/dns/dnsdbq/files/
  head/dns/dnsdbq/files/patch-Makefile   (contents, props changed)
Modified:
  head/dns/dnsdbq/Makefile
  head/dns/dnsdbq/distinfo

Modified: head/dns/dnsdbq/Makefile
==============================================================================
--- head/dns/dnsdbq/Makefile	Sun Feb 21 06:35:20 2021	(r566206)
+++ head/dns/dnsdbq/Makefile	Sun Feb 21 07:13:48 2021	(r566207)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	dnsdbq
-PORTVERSION=	2.2.1
+PORTVERSION=	2.4.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	dns
 

Modified: head/dns/dnsdbq/distinfo
==============================================================================
--- head/dns/dnsdbq/distinfo	Sun Feb 21 06:35:20 2021	(r566206)
+++ head/dns/dnsdbq/distinfo	Sun Feb 21 07:13:48 2021	(r566207)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595548089
-SHA256 (dnsdb-dnsdbq-v2.2.1_GH0.tar.gz) = 70ab1ac3c1446ce359fcd5279170f3678cd2008e197ca0dc411768e5424147ee
-SIZE (dnsdb-dnsdbq-v2.2.1_GH0.tar.gz) = 41905
+TIMESTAMP = 1613866169
+SHA256 (dnsdb-dnsdbq-v2.4.0_GH0.tar.gz) = 576ec8eb4fb4b55fad556cdf70e69e753397e6fb0377d20112ae8c796a1a638d
+SIZE (dnsdb-dnsdbq-v2.4.0_GH0.tar.gz) = 51147

Added: head/dns/dnsdbq/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dnsdbq/files/patch-Makefile	Sun Feb 21 07:13:48 2021	(r566207)
@@ -0,0 +1,43 @@
+--- Makefile.orig	2021-02-18 00:40:10 UTC
++++ Makefile
+@@ -15,10 +15,10 @@
+ #
+ 
+ CURLINCL = `curl-config --cflags` 
+-JANSINCL = -I/usr/local/include
++JANSINCL = -I$(LOCALBASE)/include
+ 
+ CURLLIBS = `[ ! -z "$$(curl-config --libs)" ] && curl-config --libs || curl-config --static-libs`
+-JANSLIBS = -L/usr/local/lib -ljansson
++JANSLIBS = -L$(LOCALBASE)/lib -ljansson
+ 
+ CWARN =-W -Wall -Wextra -Wcast-qual -Wpointer-arith -Wwrite-strings \
+ 	-Wmissing-prototypes  -Wbad-function-cast -Wnested-externs \
+@@ -34,7 +34,7 @@ CDEBUG = -g -O3
+ CFLAGS += $(CGPROF) $(CDEBUG) $(CWARN) $(CDEFS)
+ INCL= $(CURLINCL) $(JANSINCL)
+ # freebsd requires that -lresolv _not_ be used here
+-LIBS= $(CURLLIBS) $(JANSLIBS) -lresolv
++LIBS= $(CURLLIBS) $(JANSLIBS)
+ #LIBS= $(CURLLIBS) $(JANSLIBS)
+ 
+ TOOL = dnsdbq
+@@ -48,12 +48,12 @@ TOOL_SRC = $(TOOL).c ns_ttl.c netio.c \
+ all: $(TOOL)
+ 
+ install: all
+-	rm -f /usr/local/bin/$(TOOL)
+-	mkdir -p /usr/local/bin
+-	cp $(TOOL) /usr/local/bin/$(TOOL)
+-	rm -f /usr/local/share/man/man1/$(TOOL).1
+-	mkdir -p /usr/local/share/man/man1
+-	cp $(TOOL).man /usr/local/share/man/man1/$(TOOL).1
++	rm -f $(PREFIX)/bin/$(TOOL)
++	mkdir -p $(PREFIX)/bin
++	cp $(TOOL) $(PREFIX)/bin/$(TOOL)
++	rm -f $(PREFIX)/share/man/man1/$(TOOL).1
++	mkdir -p $(PREFIX)/share/man/man1
++	cp $(TOOL).man $(PREFIX)/share/man/man1/$(TOOL).1
+ 
+ clean:
+ 	rm -f $(TOOL)


More information about the svn-ports-all mailing list