knot-dns: 3.2.6 -> 3.2.7

https://gitlab.nic.cz/knot/knot-dns/-/releases/v3.2.7
This commit is contained in:
Vladimír Čunát 2023-06-06 09:01:28 +02:00
parent c039ce8919
commit 7cd7187254
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "knot-dns"; pname = "knot-dns";
version = "3.2.6"; version = "3.2.7";
src = fetchurl { src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "ac124fb17dbc4ac5310a30a396245a6ba304b3c89abed0f8a47d727462c8da4d"; sha256 = "d3b7872ac8aa80f7f54ddb1bb3b1e2f90ec55f7270a2c4a9338eab42b7d2767b";
}; };
outputs = [ "bin" "out" "dev" ]; outputs = [ "bin" "out" "dev" ];
@ -29,6 +29,12 @@ stdenv.mkDerivation rec {
./runtime-deps.patch ./runtime-deps.patch
]; ];
# Upstream mistake in 3.2.7: too strict constraint.
postPatch = ''
substituteInPlace configure.ac \
--replace 'libngtcp2 = 0.13.0' 'libngtcp2 = 0.13.1'
'';
nativeBuildInputs = [ pkg-config autoreconfHook ]; nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ buildInputs = [
gnutls liburcu libidn2 libunistring gnutls liburcu libidn2 libunistring