mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nagios: 4.4.6 -> 4.4.14
https://github.com/NagiosEnterprises/nagioscore/releases/tag/nagios-4.4.14 https://github.com/NagiosEnterprises/nagioscore/compare/nagios-4.4.6...nagios-4.4.14
This commit is contained in:
parent
2a3cea1658
commit
cf57a91e06
@ -1,10 +1,11 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, perl
|
||||
, php
|
||||
, gd
|
||||
, libpng
|
||||
, openssl
|
||||
, zlib
|
||||
, unzip
|
||||
, nixosTests
|
||||
@ -13,11 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nagios";
|
||||
version = "4.4.6";
|
||||
version = "4.4.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/nagios/nagios-4.x/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1x5hb97zbvkm73q53ydp1gwj8nnznm72q9c4rm6ny7phr995l3db";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NagiosEnterprises";
|
||||
repo = "nagioscore";
|
||||
rev = "refs/tags/nagios-${version}";
|
||||
hash = "sha256-EJKMgU3Nzfefq2VXxBrfDDrQZWZvj7HqKnWR9j75fGI=";
|
||||
};
|
||||
|
||||
patches = [ ./nagios.patch ];
|
||||
@ -28,10 +31,17 @@ stdenv.mkDerivation rec {
|
||||
perl
|
||||
gd
|
||||
libpng
|
||||
openssl
|
||||
zlib
|
||||
];
|
||||
|
||||
configureFlags = [ "--localstatedir=/var/lib/nagios" ];
|
||||
configureFlags = [
|
||||
"--localstatedir=/var/lib/nagios"
|
||||
"--with-ssl=${openssl.dev}"
|
||||
"--with-ssl-inc=${openssl.dev}/include"
|
||||
"--with-ssl-lib=${lib.getLib openssl}/lib"
|
||||
];
|
||||
|
||||
buildFlags = [ "all" ];
|
||||
|
||||
# Do not create /var directories
|
||||
|
Loading…
Reference in New Issue
Block a user