Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2021 01:17:22 GMT
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 706c703c5bde - main - dns/dnsdbq: Upgrade to version 2.6.0
Message-ID:  <202111210117.1AL1HMx2012405@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=706c703c5bde6459d02497b488869d51045d067e

commit 706c703c5bde6459d02497b488869d51045d067e
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2021-11-21 01:08:02 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2021-11-21 01:16:22 +0000

    dns/dnsdbq: Upgrade to version 2.6.0
    
     * change DCE text, per molloy@fsi.io
    
     * for clarity, init LCV within loop
    
     * "-p minimal" option outputs only the owner name or rdata, one
       per line and deduplicated; for use by shell scripts.
    
     * some lint fixed
    
     * return results must be checked
    
     * this branch allows a comma-separated list of rrtypes anywhere a
       single rrtype was allowed before. this will result in multiple
       parallel fetches from the API server, which reduces transaction
       latency at the expense of higher instantaneous load. the new
       functionality and documentation has been tested and reviewed by
       joe st sauver.
    
     * man page corrections
    
     * detect duplicate or overrun in rrtype sets
    
     * Document MAX_FETCHES variable
    
    Add post-release patch to fix build on i386 and others.
    
    Sponsored by:   Farsight Security, Inc.
---
 dns/dnsdbq/Makefile              |  2 +-
 dns/dnsdbq/distinfo              |  6 +++---
 dns/dnsdbq/files/patch-deduper.c | 22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/dns/dnsdbq/Makefile b/dns/dnsdbq/Makefile
index b382a9764139..b7923813d3e0 100644
--- a/dns/dnsdbq/Makefile
+++ b/dns/dnsdbq/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dnsdbq
-PORTVERSION=	2.5.5
+PORTVERSION=	2.6.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	dns
 
diff --git a/dns/dnsdbq/distinfo b/dns/dnsdbq/distinfo
index f7bcf9a24ef1..ef7f557a88e9 100644
--- a/dns/dnsdbq/distinfo
+++ b/dns/dnsdbq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1626387287
-SHA256 (dnsdb-dnsdbq-v2.5.5_GH0.tar.gz) = 38cbfe97459dbd965a2961ce79fb422b82d9c794d4c75b9e89ffbbcad6aa4bab
-SIZE (dnsdb-dnsdbq-v2.5.5_GH0.tar.gz) = 54163
+TIMESTAMP = 1637446719
+SHA256 (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 517f8cce434f4974a80838cd643eb84af7a0d0c4a3df4e18bf6b01a047e9e137
+SIZE (dnsdb-dnsdbq-v2.6.0_GH0.tar.gz) = 57394
diff --git a/dns/dnsdbq/files/patch-deduper.c b/dns/dnsdbq/files/patch-deduper.c
new file mode 100644
index 000000000000..a7447683873f
--- /dev/null
+++ b/dns/dnsdbq/files/patch-deduper.c
@@ -0,0 +1,22 @@
+commit cbe42ddcb4f4e2b55365cd1d9c13c589957ccb6e
+Author: Sascha Steinbiss <satta@users.noreply.github.com>
+Date:   Tue Nov 2 19:18:31 2021 +0100
+
+    use 'zu' format string in deduper_dump() (#196)
+    
+    The use of 'lu' to format a size_t leads to build failures (via -Werror)
+    on many architectures.
+
+diff --git deduper.c.orig deduper.c
+index 5300aea..a06b13e 100644
+--- deduper.c.orig
++++ deduper.c
+@@ -87,7 +87,7 @@ void
+ deduper_dump(deduper_t me, FILE *out) {
+ 	for (size_t bucket = 0; bucket < me->buckets; bucket++)
+ 		if (me->chains[bucket] != NULL) {
+-			fprintf(out, "[%lu]", bucket);
++			fprintf(out, "[%zu]", bucket);
+ 			for (chainlink_t chainlink = me->chains[bucket];
+ 			     chainlink != NULL;
+ 			     chainlink = chainlink->next)



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