keepalived: 1.4.5 -> 2.0.19
This commit is contained in:
parent
0913701d47
commit
2ce0f06a7c
@ -1,24 +1,18 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, libnfnetlink, libnl, net_snmp, openssl, pkgconfig }:
|
{ stdenv, fetchFromGitHub
|
||||||
|
, libnfnetlink, libnl, net_snmp, openssl
|
||||||
|
, pkgconfig, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "keepalived";
|
pname = "keepalived";
|
||||||
version = "1.4.5";
|
version = "2.0.19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "acassen";
|
owner = "acassen";
|
||||||
repo = "keepalived";
|
repo = "keepalived";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "12r80rcfxrys826flaqcdlfhcr7q4ccsd62ra1svy9545vf02qmx";
|
sha256 = "05jgr0f04z69x3zf3b9z04wczl15fnh69bs6j0yw55fij1k9nj4d";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2018-19115.patch";
|
|
||||||
url = "https://github.com/acassen/keepalived/pull/961/commits/f28015671a4b04785859d1b4b1327b367b6a10e9.patch";
|
|
||||||
sha256 = "1jnwk7x4qdgv7fb4jzw6sihv62n8wv04myhgwm2vxn8nfkcgd1mm";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libnfnetlink
|
libnfnetlink
|
||||||
libnl
|
libnl
|
||||||
@ -26,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
openssl
|
openssl
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-sha1"
|
"--enable-sha1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user