Merge pull request #298476 from devusb/nzbget
nzbget: add buffer overflow patch
This commit is contained in:
commit
e8f3baf2aa
1 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, boost
|
||||
, pkg-config
|
||||
|
@ -17,7 +18,7 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nzbget-ng";
|
||||
pname = "nzbget";
|
||||
version = "23.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-JqC82zpsIqRYB7128gTSOQMWJFR/t63NJXlPgGqP0jE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# add nzbget-ng patch not in nzbgetcom for buffer overflow issue -- see https://github.com/nzbget-ng/nzbget/pull/43
|
||||
(fetchpatch {
|
||||
url = "https://github.com/nzbget-ng/nzbget/commit/8fbbbfb40003c6f32379a562ce1d12515e61e93e.patch";
|
||||
hash = "sha256-mgI/twEoMTFMFGfH1/Jm6mE9u9/CE6RwELCSGx5erUo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
|
|
Loading…
Reference in a new issue