unbound: 1.19.2 -> 1.19.3

Changes: https://www.nlnetlabs.nl/news/2024/Mar/14/unbound-1.19.3-released/
This commit is contained in:
Sergei Trofimovich 2024-03-14 21:36:58 +00:00
parent c160165e60
commit 643f047f5a

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, openssl
, nettle
, expat
@ -51,37 +50,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "unbound";
version = "1.19.2";
version = "1.19.3";
src = fetchurl {
url = "https://nlnetlabs.nl/downloads/unbound/unbound-${finalAttrs.version}.tar.gz";
hash = "sha256-zFYNNFc0ImwbOecadpeX5/3eImXLt3685UJwS7pInlU=";
hash = "sha256-OuMivn3C+DFgPksDkUNVM61YYcIyLjSnYAap+2XrVrk=";
};
# Cherry pick some already merged upstream patches for configure
patches = [
# Search for protobuf-c with pkg-config
# https://github.com/NLnetLabs/unbound/pull/999
(fetchpatch {
url = "https://github.com/NLnetLabs/unbound/commit/59d98b9ef64e597c331c27160715d7a1b40c8638.patch";
hash = "sha256-DvYoYBTXOwbR8Z0GRgt724WqX3dbIEOdICU2/VMRSVQ=";
})
# Fix for previous patch
# https://github.com/NLnetLabs/unbound/issues/1006
(fetchpatch {
url = "https://github.com/NLnetLabs/unbound/commit/93490a0fc1bf9e62e6edcd6b69f1463c7ac410e9.patch";
hash = "sha256-mBo63ZlayD3YkOgIoQN0dG+xuFq/BxcjBmSo1vapiYA=";
excludes = [ "doc/Changelog" ];
})
# Fix for previous patch
# https://github.com/NLnetLabs/unbound/commit/3f5175584b0bb9ff7d417bc195ec6e4316ae58d3
(fetchpatch {
url = "https://github.com/NLnetLabs/unbound/commit/3f5175584b0bb9ff7d417bc195ec6e4316ae58d3.patch";
hash = "sha256-DcWfvmk+4K3c9Z+4grwzEGIkEBYNpbTK3xuBqRI33fY=";
})
];
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
nativeBuildInputs =