Merge #72278: keepalived: 1.4.2 -> 1.4.5, patch CVE-2018-19115

This commit is contained in:
Vladimír Čunát 2019-11-09 10:29:11 +01:00
commit 8302338ae9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,16 +1,24 @@
{ stdenv, fetchFromGitHub, libnfnetlink, libnl, net_snmp, openssl, pkgconfig }:
{ stdenv, fetchFromGitHub, fetchpatch, libnfnetlink, libnl, net_snmp, openssl, pkgconfig }:
stdenv.mkDerivation rec {
pname = "keepalived";
version = "1.4.2";
version = "1.4.5";
src = fetchFromGitHub {
owner = "acassen";
repo = "keepalived";
rev = "v${version}";
sha256 = "154yxs6kwpi9yc4pa45ba3z3bfwzgmmmja5nk3d9mxq6w6s1swcy";
sha256 = "12r80rcfxrys826flaqcdlfhcr7q4ccsd62ra1svy9545vf02qmx";
};
patches = [
(fetchpatch {
name = "CVE-2018-19115.patch";
url = "https://github.com/acassen/keepalived/pull/961/commits/f28015671a4b04785859d1b4b1327b367b6a10e9.patch";
sha256 = "1jnwk7x4qdgv7fb4jzw6sihv62n8wv04myhgwm2vxn8nfkcgd1mm";
})
];
buildInputs = [
libnfnetlink
libnl