Merge pull request #20497 from grahamc/monit

monit: 5.19.0 -> 5.20.0 for CVE-2016-7067
This commit is contained in:
Graham Christensen 2016-11-18 21:19:44 -05:00 committed by GitHub
commit 775a729da7

View File

@ -1,15 +1,15 @@
{stdenv, fetchurl, openssl, bison, flex, pam, usePAM ? stdenv.isLinux }:
{stdenv, fetchurl, openssl, bison, flex, pam, zlib, usePAM ? stdenv.isLinux }:
stdenv.mkDerivation rec {
name = "monit-5.19.0";
name = "monit-5.20.0";
src = fetchurl {
url = "${meta.homepage}dist/${name}.tar.gz";
sha256 = "1f32dz7zzp575d35m8xkgjgrqs2vbls0q6vdzm7wwashcm1xbz5y";
sha256 = "13drg4k9r9drn7bpj3n04kkf1l29q05jdccdar6yc6hcqmg3kb7b";
};
nativeBuildInputs = [ bison flex ];
buildInputs = [ openssl ] ++ stdenv.lib.optionals usePAM [ pam ];
buildInputs = [ openssl zlib.dev ] ++ stdenv.lib.optionals usePAM [ pam ];
configureFlags = [
"--with-ssl-incl-dir=${openssl.dev}/include"