Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2026 12:21:01 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Vladimir Druzenko <vvd@freebsd.org>
Cc:        Jaap Akkerhuis <jaap@NLnetLabs.nl>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 1773f41f3368 - main - dns/{ldns,p5-DNS-Ldns,py-ldns}: Update 1.8.4 => 1.9.0, improve port
Message-ID:  <dc1c2cba-745b-4ebf-9ec5-ace9091ee447@FreeBSD.org>
In-Reply-To: <2faa5a37-6fd6-46de-89b4-c5c1918b0406@freebsd.org>
References:  <6941ebbd.21eea.59185546@gitrepo.freebsd.org> <a5ceac6e-0a6c-4b11-b53f-a460cd1b1908@FreeBSD.org> <75396bd6-6227-4683-b71b-a9f9bebce27f@FreeBSD.org> <7d50eacf-50d4-40c0-9571-0e1bc152d3a2@FreeBSD.org> <2faa5a37-6fd6-46de-89b4-c5c1918b0406@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On 4/8/26 12:01 PM, Vladimir Druzenko wrote:
> 08.04.2026 21:49, Bryan Drewery пишет:
>> On 4/8/26 11:44 AM, Bryan Drewery wrote:
>>> On 4/8/26 11:33 AM, Bryan Drewery wrote:
>>>> On 12/16/25 3:31 PM, Vladimir Druzenko wrote:
>>>>> The branch main has been updated by vvd:
>>>>>
>>>>> URL: 
>>>>> https://cgit.FreeBSD.org/ports/commit/?id=1773f41f3368362e3cb35cec01c8f980c16b394a
>>>>>
>>>>> commit 1773f41f3368362e3cb35cec01c8f980c16b394a
>>>>> Author:     Jaap Akkerhuis <jaap@NLnetLabs.nl>
>>>>> AuthorDate: 2025-12-16 23:29:09 +0000
>>>>> Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
>>>>> CommitDate: 2025-12-16 23:29:09 +0000
>>>>>
>>>>>      dns/{ldns,p5-DNS-Ldns,py-ldns}: Update 1.8.4 => 1.9.0, 
>>>>> improve port
>>>>>           Changelog:
>>>>> https://github.com/NLnetLabs/ldns/blob/1.9.0/Changelog
>>>>>           Improve port:
>>>>>      - Switch from "ifs" in goals to goals for options.
>>>>>      - Remove old dead code - unused variable NO_GOST.
>>>>>      - Fix warnings from portclippy.
>>>>>      - Rework "if" for master and slave ports.
>>>>>      - Sort pkg-plist.
>>>>>           PR:             291573
>>>>>      Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
>>>>> ---
>>>>>   dns/ldns/Makefile         | 126 +++---
>>>>>   dns/ldns/distinfo         |   6 +-
>>>>>   dns/ldns/files/patch-swig |  77 ----
>>>>>   dns/ldns/pkg-plist        | 994 
>>>>> +++++++++++++++++++++++-----------------------
>>>>>   4 files changed, 558 insertions(+), 645 deletions(-)
>>>>>
>>>>> diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
>>>>> index 7fe340e84f92..40aa1a73c173 100644
>>>>> --- a/dns/ldns/Makefile
>>>>> +++ b/dns/ldns/Makefile
>>>>> @@ -1,5 +1,5 @@
>>>>>   PORTNAME=    ldns
>>>>> -DISTVERSION=    1.8.4
>>>>> +DISTVERSION=    1.9.0
>>>>>
>>>>>  . . .
>>>>>
>>>>> diff --git a/dns/ldns/pkg-plist b/dns/ldns/pkg-plist
>>>>> index 9a3c308d5482..1d247c3ade05 100644
>>>>> --- a/dns/ldns/pkg-plist
>>>>> +++ b/dns/ldns/pkg-plist
>>>>> @@ -63,503 +63,6 @@ lib/libldns.so
>>>>>   lib/libldns.so.3
>>>>>   lib/libldns.so.3.6.0
>>>>>   libdata/pkgconfig/libldns.pc
>>>> Something is wrong here. The shared library version should have 
>>>> gotten a bump and ports chased.
>>>>
>>>> In its configure.ac it says:
>>>> # ldns-1.8.3 has libversion 8:0:5
>>>> # ldns-1.9.0 will have libversion 9:0:6 (new behaviour for 
>>>> dnssec_rrs_add_rr)
>>>> #
>>>> AC_SUBST(VERSION_INFO, [9:0:6])
>>> Looks like 1.8.4 bumped to the same version upstream. Sigh.
>>>
>>> https://github.com/NLnetLabs/ldns/commit/b433f1af243a4297033fac085fe7f7fd9b850a85 
>>>
>>>
>>> -AC_SUBST(VERSION_INFO, [8:0:5])
>>> +AC_SUBST(VERSION_INFO, [9:0:6]) 
>> I reported upstream https://github.com/NLnetLabs/ldns/issues/301
>>>> I had claude code chase down an error I was getting with opendnssec 
>>>> which landed here.
>>>>
>>>>   > ldns 1.9.0 inserted LDNS_RDF_TYPE_INT64 at enum position 5, 
>>>> shifting every subsequent value by +1. But the FreeBSD port kept 
>>>> the shared library as libldns.so.3.6.0 — no
>>>>   > SONAME bump — so OpenDNSSEC's binary wasn't flagged for rebuild 
>>>> and still has the old 1.8.x enum constants baked in.
>>>>
>>>> Error I am seeing in opendnssec for the sake of google:
>>>> > [adapter] error parsing RR at line 2 (Syntax error, could not 
>>>> parse the RR's rdata) 
>
> What can we do right now to improve the situation?
> Is it enough to simply bump PORTREVISION for all dependent ports that 
> haven't been updated since then?
> List of consumers:
> mail/enma
> mail/opendkim
> mail/opendkim-devel
> net/freeswitch
> security/passivedns
> security/strongswan - updated after this commit
> security/libreswan
> security/openssh-portable
> dns/dnscap
> dns/flamethrower
> dns/opendnssec2
> dns/p5-Zonemaster-LDNS
> dns/dnsperf
>
Yes that will help as it will force them to rebuild against latest 
ldns-1.9.0 and force pkg to upgrade them.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc1c2cba-745b-4ebf-9ec5-ace9091ee447>