rpcbind: patch for CVE-2015-7236
This commit is contained in:
parent
c97fda0bcf
commit
7e40e89273
@ -1,10 +1,10 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, libtirpc
|
{ fetchurl, fetchpatch, stdenv, pkgconfig, libtirpc
|
||||||
, useSystemd ? true, systemd }:
|
, useSystemd ? true, systemd }:
|
||||||
|
|
||||||
let version = "0.2.3";
|
let version = "0.2.3";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "rpcbind-${version}";
|
name = "rpcbind-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
||||||
sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq";
|
sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq";
|
||||||
@ -13,6 +13,10 @@ in stdenv.mkDerivation rec {
|
|||||||
patches = [
|
patches = [
|
||||||
./sunrpc.patch
|
./sunrpc.patch
|
||||||
./0001-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
|
./0001-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://sources.debian.net/data/main/r/rpcbind/0.2.3-0.5/debian/patches/CVE-2015-7236.patch";
|
||||||
|
sha256 = "1wsv5j8f5djzxr11n4027x107cam1avmx9w34g6l5d9s61j763wq";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libtirpc ]
|
buildInputs = [ libtirpc ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user