1 | # $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name monit |
---|
6 | version 5.0.3 |
---|
7 | categories sysutils |
---|
8 | platforms darwin freebsd linux netbsd openbsd solaris |
---|
9 | maintainers eridius |
---|
10 | |
---|
11 | description monit is a utility for managing and monitoring, processes, \ |
---|
12 | files, directories and devices on a UNIX system. |
---|
13 | long_description Monit can start a process if it does not run, restart a process \ |
---|
14 | if it does not respond and stop a process if it uses too many resources. \ |
---|
15 | You can use monit to monitor files, directories and devices for changes, \ |
---|
16 | such as timestamp changes, checksum changes or size changes. You can also \ |
---|
17 | monitor remote hosts\; monit can ping a remote host and can check TCP/IP \ |
---|
18 | port connections and server protocols. Monit is controlled via an easy \ |
---|
19 | to use control file based on a free-format, token-oriented syntax. Monit \ |
---|
20 | logs to syslog or to its own log file and notifies you about error \ |
---|
21 | conditions and recovery status via customizable alert. |
---|
22 | |
---|
23 | homepage http://www.tildeslash.com/monit/ |
---|
24 | master_sites http://www.tildeslash.com/monit/dist/ |
---|
25 | |
---|
26 | checksums md5 dae7859ec10551fc941daeae60dee9d3 \ |
---|
27 | sha1 60cb18678f7d1423e728b44cd09f57a87340b2ba \ |
---|
28 | rmd160 c75586b174484bab046ed6d4e7e3440596b65917 |
---|
29 | |
---|
30 | depends_build bin:flex:flex bin:bison:bison |
---|
31 | depends_lib port:openssl |
---|
32 | |
---|
33 | platform freebsd { |
---|
34 | build.type gnu |
---|
35 | } |
---|
36 | |
---|
37 | platform netbsd { |
---|
38 | build.type gnu |
---|
39 | } |
---|
40 | |
---|
41 | platform openbsd { |
---|
42 | build.type gnu |
---|
43 | } |
---|
44 | |
---|
45 | pre-destroot { |
---|
46 | xinstall -m 755 ${workpath}/${name}-${version}/monitrc ${destroot}${prefix}/etc/monitrc.sample |
---|
47 | } |
---|
48 | |
---|