Skip to content

Commit

Permalink
dns/dnsdbq: Upgrade to version 2.6.4
Browse files Browse the repository at this point in the history
 * 2.6.1
  - use 'zu' format string in deduper_dump() (#196)

  - ctype.h functions require int arguments. cygwin gcc enforces this.
    Update version to 2.6.1

 * 2.6.2
  - fix three memory leaks revealed by valgrind (#202)

  - see if we can remove the need for res_rcode() by changing the error
    path (#200)

  - use strtok_r() in preference to strsep(), for consistency and
    modernity (#203)

  - based on PR 204, refactor and comment for clarity (#205)

* 2.6.3
  - replace strtok_r() by new tokstr library

  - tokstr_h was a typo, thanks to codereview.stackexchange.com for
    finding it

  - attempt to work around gcc11 structure size checks (#207)

  - tokstr regions (#208)

  - Revised fix for issue 209: "error: unknown type ssize_t; did you
    mean _ssize_t?" (#211)

  - Can now build on Apple M1 processors by following the instructions
    (#212)

  - Clarify that not all macOS M1 machines have homebrew in the new
    /opt/homebrew location

  - Document again the HTTPS_PROXY environment variable

 * 2.6.4
   - Issue 214: batch option parsing bug in tokstr library changes.
     (#215)

Sponsored by:	DomainTools
  • Loading branch information
DonLewisFreeBSD committed Sep 15, 2022
1 parent de1d381 commit d0664ff
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 41 deletions.
2 changes: 1 addition & 1 deletion dns/dnsdbq/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= dnsdbq
PORTVERSION= 2.6.0
PORTVERSION= 2.6.4
DISTVERSIONPREFIX= v
CATEGORIES= dns

Expand Down
6 changes: 3 additions & 3 deletions dns/dnsdbq/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1637446719
SHA256 (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 517f8cce434f4974a80838cd643eb84af7a0d0c4a3df4e18bf6b01a047e9e137
SIZE (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 57394
TIMESTAMP = 1663227292
SHA256 (dnsdb-dnsdbq-v2.6.4_GH0.tar.gz) = e9ab9cdee298de948ef501c3213da4b1d208645302007ba132c8c6b6c5732f71
SIZE (dnsdb-dnsdbq-v2.6.4_GH0.tar.gz) = 59241
29 changes: 14 additions & 15 deletions dns/dnsdbq/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
--- Makefile.orig 2021-02-18 00:40:10 UTC
--- Makefile.orig 2022-08-05 00:08:56 UTC
+++ Makefile
@@ -15,10 +15,10 @@
@@ -15,7 +15,7 @@
#

CURLINCL = `curl-config --cflags`
-JANSINCL = -I/usr/local/include
+JANSINCL = -I$(LOCALBASE)/include
# Base directory for jansson header and libraries
-JANSBASE=/usr/local
+JANSBASE=$(LOCALBASE)
# For macOS on M1, use this instead of the above line:
#JANSBASE=/opt/homebrew

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
@@ -41,9 +41,9 @@ INCL= $(CURLINCL) $(JANSINCL)
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) -lresolv
# For freebsd, it requires that -lresolv _not_ be used here, use this instead of the above line:
-#LIBS= $(CURLLIBS) $(JANSLIBS)
+LIBS= $(CURLLIBS) $(JANSLIBS)
#LIBS= $(CURLLIBS) $(JANSLIBS)

TOOL = dnsdbq
@@ -48,12 +48,12 @@ TOOL_SRC = $(TOOL).c ns_ttl.c netio.c \
TOOL_OBJ = $(TOOL).o ns_ttl.o netio.o \
@@ -58,12 +58,12 @@ install: all
all: $(TOOL)

install: all
Expand Down
22 changes: 0 additions & 22 deletions dns/dnsdbq/files/patch-deduper.c

This file was deleted.

0 comments on commit d0664ff

Please sign in to comment.