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