From nobody Mon Jul 22 18:47:38 2024 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 4WSTmV4dRkz5PxFK; Mon, 22 Jul 2024 18:47:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSTmV47ZFz4Npj; Mon, 22 Jul 2024 18:47:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721674058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rSYRvBVNZH5AGoDwo7IIeKao8uCAdHrRz5e+yjKjwqY=; b=hvA4PlfqmbFxzzV00i9s1wr1QCLf80pfIeo1ppgCPk+n6krFZpbN7c+szyylD23YRdUXcc dguEsu2jq7IPsuHcHSIQWnk7IY9MHW3TgV0TINKW6Nte5zTApj6hQYeHwxxedM3Ny7WpCp VRYK6DUo3fRX7qXQMiKlp3nLqROVLn3e57oJJm+NI2tnvQQAmc5qTlAnHA3CXG61OuFpdk Wlwbus9DqvpPOZ6bloF0qNMCofPDBI0Ijr50H5ny77AUkCeulhcBucwYFQ81OaPXrCFFHE 2vbV5Rdrr1+doA9hUgbw8oENiEsQxS1+SkJifHK+K+yMdEhzCeOtQpZJp8OK+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721674058; a=rsa-sha256; cv=none; b=NVQIYzTZzr5YHy41viRMS3EDeSDEtfA+mTVCI88dH5a1z2xKgW8x5LBlS7oTZiPt99cbbr u7j393mRYEUDBU4euXfaaAZ8Q3n4y1lJb/PiK7sklMbvKBPhu63HUjcWtiDHAsjXJDrbeH bf2MWm3qLF5PDaJfyN4FO0HTlwjcuUq8gFK0xiCKDy/oEATM06tlwZogUPyjDBjO8qCoTm mVi031GDfSs5/1R85XsAinBI9BD99dXtayIUf0dR2U5XDpqN1iOC/CAVnc+Cqy0DJtew6K pm2BHvqA/70xedQguvrHs5URIQ9mjyWeARSNZigJp5hYJQmIyOCtyNZuGOivxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721674058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rSYRvBVNZH5AGoDwo7IIeKao8uCAdHrRz5e+yjKjwqY=; b=Bu1TZ8XVFQqjfgHpTp30QzSZT/m17hSsNBUy3Vb+lyZgEldca7G2kavfy9E0nqmF4sngTa 2vb0+Qi0bxdn5UrgWleqFs6jKO1YLR5iglC7Bd5uItjYTuiGISYu9QyiNpmr7G5JKcwfYU vgF6q3A4MdOBA6Yjo6v4v3xA3iRpwcYK5Dl5CWwKcdHAas2l7/PC0GogSjEX084/6AJ5eS cRGTZhs6KzO1mkAhk8LPe0T6O3ZoxcxFwKhWojBEICYbtFxd4K6dCw6lWuEUzXOHQhwmU0 HKIHxC7ZZ/Gj7zGI/0O4n5sTPmamv/FeWpq8SQnEk4Diq7stbgXkG5CVWTZNnA== 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 4WSTmV3JRyzwZG; Mon, 22 Jul 2024 18:47:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46MIlcuu023388; Mon, 22 Jul 2024 18:47:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46MIlcfS023385; Mon, 22 Jul 2024 18:47:38 GMT (envelope-from git) Date: Mon, 22 Jul 2024 18:47:38 GMT Message-Id: <202407221847.46MIlcfS023385@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 7fe9f4303fad - main - dns/{,py}ldns, dns/p5-DNS-Ldns: update 1.8.3 =?utf-8?Q?=E2=86=92?= 1.8.4 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7fe9f4303fad76f1d2a9f709a3feb89093bce80c Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7fe9f4303fad76f1d2a9f709a3feb89093bce80c commit 7fe9f4303fad76f1d2a9f709a3feb89093bce80c Author: Jaap Akkerhuis AuthorDate: 2024-07-22 18:39:53 +0000 Commit: Vladimir Druzenko CommitDate: 2024-07-22 18:39:53 +0000 dns/{,py}ldns, dns/p5-DNS-Ldns: update 1.8.3 → 1.8.4 The most prominent fix is for the bug where ldns would, under certain conditions, use a commented out resolver in /etc/resolv.conf: https://github.com/NLnetLabs/ldns/issues/237 Changelog: https://github.com/NLnetLabs/ldns/blob/1.8.4/Changelog PR: 280404 278721 MFH: 2024Q3 --- dns/ldns/Makefile | 8 +++--- dns/ldns/distinfo | 6 ++--- dns/ldns/files/patch-swig | 64 ----------------------------------------------- dns/ldns/pkg-plist | 2 +- dns/py-ldns/pkg-plist | 6 ++--- 5 files changed, 10 insertions(+), 76 deletions(-) diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile index 0c2920b54e2b..7fe340e84f92 100644 --- a/dns/ldns/Makefile +++ b/dns/ldns/Makefile @@ -1,6 +1,5 @@ PORTNAME= ldns -DISTVERSION= 1.8.3 -PORTREVISION= 1 +DISTVERSION= 1.8.4 CATEGORIES= dns MASTER_SITES= https://www.nlnetlabs.nl/downloads/ldns/ \ LOCAL/ehaupt @@ -18,7 +17,6 @@ USE_LDCONFIG= yes CPE_VENDOR= nlnetlabs GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --disable-dane-ta-usage \ --with-ssl=${OPENSSLBASE} MAKE_JOBS_UNSAFE= yes @@ -142,8 +140,8 @@ post-install: .if (defined(BUILD_PYLDNS)) post-install: -# file /usr/local/lib/python3.9/site-packages/_ldns.so.3.5.0 - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/_ldns.so.3.5.0 +# file /usr/local/lib/python3.11/site-packages/_ldns.so.3.6.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/_ldns.so.3.6.0 .endif # BUILD_PYLDNS .include diff --git a/dns/ldns/distinfo b/dns/ldns/distinfo index bfaa881cccf4..901e4cbe566a 100644 --- a/dns/ldns/distinfo +++ b/dns/ldns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1660561209 -SHA256 (ldns-1.8.3.tar.gz) = c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860 -SIZE (ldns-1.8.3.tar.gz) = 1299856 +TIMESTAMP = 1721549282 +SHA256 (ldns-1.8.4.tar.gz) = 838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247 +SIZE (ldns-1.8.4.tar.gz) = 1301058 diff --git a/dns/ldns/files/patch-swig b/dns/ldns/files/patch-swig deleted file mode 100644 index 4d5ae635fbc4..000000000000 --- a/dns/ldns/files/patch-swig +++ /dev/null @@ -1,64 +0,0 @@ -Obtained from: https://github.com/NLnetLabs/ldns/pull/231 - ---- contrib/python/ldns_rdf.i.orig 2022-08-15 10:38:22 UTC -+++ contrib/python/ldns_rdf.i -@@ -50,6 +50,7 @@ - SWIGTYPE_p_ldns_struct_rdf, SWIG_POINTER_OWN | 0)); - } - -+#if SWIG_VERSION < 0x040200 - /* - * Automatic conversion of const (ldns_rdf *) parameter from string. - * Argument default value. -@@ -95,6 +96,51 @@ - SWIG_Python_str_DelForPy3($1_str); /* Is a empty macro for Python < 3. */ - } - } -+ -+#else -+/* -+ * Automatic conversion of const (ldns_rdf *) parameter from string. -+ * Argument default value. -+ */ -+%typemap(arginit, noblock=1) const ldns_rdf * -+{ -+ PyObject *$1_bytes = NULL; -+} -+ -+/* -+ * Automatic conversion of const (ldns_rdf *) parameter from string. -+ * Preparation of arguments. -+ */ -+%typemap(in, noblock=1) const ldns_rdf * (void* argp, $1_ltype tmp = 0, int res) -+{ -+ if (Python_str_Check($input)) { -+ const char *$1_str = SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &$1_bytes); -+ if ($1_str == NULL) { -+ %argument_fail(SWIG_TypeError, "char *", $symname, $argnum); -+ } -+ tmp = ldns_dname_new_frm_str($1_str); -+ if (tmp == NULL) { -+ %argument_fail(SWIG_TypeError, "char *", $symname, $argnum); -+ } -+ $1 = ($1_ltype) tmp; -+ } else { -+ res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_ldns_struct_rdf, 0 | 0); -+ if (!SWIG_IsOK(res)) { -+ %argument_fail(res, "ldns_rdf const *", $symname, $argnum); -+ } -+ $1 = ($1_ltype) argp; -+ } -+} -+ -+/* -+ * Automatic conversion of const (ldns_rdf *) parameter from string. -+ * Freeing of allocated memory (it's a no op unless compiling for some older versions of the Python stable ABI). -+ */ -+%typemap(freearg, noblock=1) const ldns_rdf * -+{ -+ Py_XDECREF($1_bytes); -+} -+#endif - - %nodefaultctor ldns_struct_rdf; /* No default constructor. */ - %nodefaultdtor ldns_struct_rdf; /* No default destructor. */ diff --git a/dns/ldns/pkg-plist b/dns/ldns/pkg-plist index 2c5640ec8c62..9a3c308d5482 100644 --- a/dns/ldns/pkg-plist +++ b/dns/ldns/pkg-plist @@ -61,7 +61,7 @@ include/ldns/zone.h lib/libldns.a lib/libldns.so lib/libldns.so.3 -lib/libldns.so.3.5.0 +lib/libldns.so.3.6.0 libdata/pkgconfig/libldns.pc %%DRILL%%share/man/man1/drill.1.gz %%EXAMPLES%%share/man/man1/ldns-chaos.1.gz diff --git a/dns/py-ldns/pkg-plist b/dns/py-ldns/pkg-plist index 4ec73ece3aa9..f9c081692077 100644 --- a/dns/py-ldns/pkg-plist +++ b/dns/py-ldns/pkg-plist @@ -1,6 +1,6 @@ -%%PYTHON_SITELIBDIR%%/_ldns.so.3.5.0 +%%PYTHON_SITELIBDIR%%/_ldns.a +%%PYTHON_SITELIBDIR%%/_ldns.so %%PYTHON_SITELIBDIR%%/_ldns.so.3 +%%PYTHON_SITELIBDIR%%/_ldns.so.3.6.0 %%PYTHON_SITELIBDIR%%/ldns.py -%%PYTHON_SITELIBDIR%%/_ldns.so -%%PYTHON_SITELIBDIR%%/_ldns.a @dir %%PYTHON_SITELIBDIR%%/ldns