Adding monit monitoring tool; in the course of action creating a script to auto-prepare basic autoupdate layout
svn path=/nixpkgs/trunk/; revision=16863
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
a :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
bison flex openssl
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
||||
configureFlags = [
|
||||
"--with-ssl-incl-dir=${a.openssl}/include"
|
||||
"--with-ssl-lib-dir=${a.openssl}/lib"
|
||||
];
|
||||
preConfigure = a.fullDepEntry (''
|
||||
sed -e 's@/bin/@@' -i Makefile.in
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
||||
meta = {
|
||||
description = "Monitoring system";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
rec {
|
||||
advertisedUrl="http://mmonit.com/monit/download/../dist/monit-5.0.3.tar.gz";
|
||||
version = "5.0.3";
|
||||
url="http://mmonit.com/monit/download/../dist/monit-5.0.3.tar.gz";
|
||||
hash = "1lw7qp5906cb9jg8ifhfy9cvv4gbd28mkapgfpx0klb17jdm7ljx";
|
||||
name = "monit-5.0.3";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
downloadPage = "http://mmonit.com/monit/download/";
|
||||
baseName = "monit";
|
||||
}
|
||||
Reference in New Issue
Block a user