From nobody Sun Nov 21 01:17:22 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DE83918A1BC4; Sun, 21 Nov 2021 01:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HxXZB5xjZz3FCT; Sun, 21 Nov 2021 01:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AAE3926241; Sun, 21 Nov 2021 01:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AL1HM7M012406; Sun, 21 Nov 2021 01:17:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AL1HMx2012405; Sun, 21 Nov 2021 01:17:22 GMT (envelope-from git) Date: Sun, 21 Nov 2021 01:17:22 GMT Message-Id: <202111210117.1AL1HMx2012405@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Don Lewis Subject: git: 706c703c5bde - main - dns/dnsdbq: Upgrade to version 2.6.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: truckman X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 706c703c5bde6459d02497b488869d51045d067e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by truckman: URL: https://cgit.FreeBSD.org/ports/commit/?id=706c703c5bde6459d02497b488869d51045d067e commit 706c703c5bde6459d02497b488869d51045d067e Author: Don Lewis AuthorDate: 2021-11-21 01:08:02 +0000 Commit: Don Lewis 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 +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)