mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
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 }:
|
||||
|
||||
let version = "0.2.3";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "rpcbind-${version}";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
||||
sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq";
|
||||
@ -13,6 +13,10 @@ in stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
./sunrpc.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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user