On 2026-03-05 Timo Weingärtner <[email protected]> wrote:
[...]
> package nettle-dev:amd64 3.10.1-1 has this in /usr/include/nettle/md5.h:
> void md5_digest(struct md5_ctx *ctx, size_t length, uint8_t *digest);

> So the new version of nettle has a breaking API change. There is not even 
> another function I could use with both the old and the new version. They seem 
> to have changed it for all hash functions.

> I therefore propose renaming the -dev package to nettle4-dev and maybe also 
> the source package to allow upstreams and maintainers to make the switch on 
> their schedule.

Hello Timo,

The plan (see #1127833) is to temporarily have two source
packages with a separate -dev package *temporarily* to be able to switch
peu a peu. I do not think anybody wants to ship both nettle 3 and 4 in
forky though.

The upstream's that have already adapted the source are all using
#ifdefs to allow building with both Nettle 3 and Nettle 4.

See e.g.
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4070a74862c3c956a676d2b931ff186e14f5d9f5
or GnuTLS.

cu Andreas


-- 
"You people are noisy," Nia said.
I made the gesture of agreement.

Reply via email to