mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
nbd: 3.21 -> 3.24
Fixes CVE-2022-26495 and CVE-2022-26496. https://sourceforge.net/projects/nbd/files/nbd/3.24/relnotes.txt/download https://sourceforge.net/projects/nbd/files/nbd/3.23/changelog.txt/download https://sourceforge.net/projects/nbd/files/nbd/3.22/relnotes.txt/download
This commit is contained in:
parent
88d05579ad
commit
f33ccd6ec9
1 changed files with 4 additions and 4 deletions
|
@ -1,18 +1,18 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, glib, which, nixosTests }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, which, bison, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nbd";
|
||||
version = "3.21";
|
||||
version = "3.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/nbd/nbd-${version}.tar.xz";
|
||||
sha256 = "sha256-52iK852Rczu80tsIBixE/lA9AE5RUodAE5xEr/amvvk=";
|
||||
sha256 = "sha256-aHcVbSOnsz917uidL1wskcVCr8PNy2Nt6lqIU5pY0Qw=";
|
||||
};
|
||||
|
||||
buildInputs = [ glib ]
|
||||
++ lib.optional (stdenv ? glibc) stdenv.glibc.linuxHeaders;
|
||||
|
||||
nativeBuildInputs = [ pkg-config which ];
|
||||
nativeBuildInputs = [ pkg-config which bison ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/doc/nbd-${version}"
|
||||
|
|
Loading…
Reference in a new issue