1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name nagios-plugins |
---|
4 | version 1.3.1 |
---|
5 | categories net |
---|
6 | maintainers julien.touche@touche.fr.st |
---|
7 | description base plugins for nagios |
---|
8 | long_description Nagios monitors hosts and services on your network. \ |
---|
9 | Actual host and service checks are performed by separate \ |
---|
10 | plugins which return the hsot or service status to Nagios. \ |
---|
11 | This site is devoted to making the plugins as useful and \ |
---|
12 | reliable as possible. |
---|
13 | homepage http://www.nagios.org |
---|
14 | master_sites sourceforge:nagiosplug |
---|
15 | platforms darwin openbsd |
---|
16 | checksums md5 0078c9c8137694181a4cdf596fdbd74f |
---|
17 | configure.args --with-nagios-user=nagios \ |
---|
18 | --with-nagios-grp=nagios \ |
---|
19 | --with-cgiurl=/cgi-bin/nagios \ |
---|
20 | --with-openssl \ |
---|
21 | --libexecdir=${prefix}/libexec/nagios \ |
---|
22 | --without-mysql \ |
---|
23 | --without-pgsql |
---|
24 | depends_lib lib:libssl:openssl |
---|
25 | |
---|
26 | pre-destroot { |
---|
27 | # adduser nagios |
---|
28 | # addgroup nagios |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
32 | ## depends could be bin or lib ... |
---|
33 | variant mysql { |
---|
34 | ## or mysql4 ? |
---|
35 | depends_lib-append lib:libmysqlclient:mysql |
---|
36 | configure.args-delete --without-mysql |
---|
37 | configure.args-append --with-mysql=${prefix} |
---|
38 | } |
---|
39 | |
---|
40 | ## need libcrypt from where ??? |
---|
41 | variant pgsql { |
---|
42 | depends_lib-append lib:libcrypt:postgresql |
---|
43 | configure.args-delete --without-pgsql |
---|
44 | configure.args-append --with-pgsql=${prefix} |
---|
45 | } |
---|
46 | |
---|
47 | variant fping { |
---|
48 | depends_lib-append bin:fping:fping |
---|
49 | } |
---|
50 | |
---|
51 | ## not in DP |
---|
52 | #variant radius { |
---|
53 | # depends_lib-append bin:radius:radiusclient |
---|
54 | #} |
---|
55 | |
---|
56 | ## system components sufficient on 10.3, but for others system |
---|
57 | ## if put variant on darwin, DP built it ... |
---|
58 | variant openbsd freebsd linux { |
---|
59 | variant ldap { |
---|
60 | depends_lib-append lib:libldap:openldap |
---|
61 | configure.args-append --with-ldap |
---|
62 | } |
---|
63 | variant snmp { |
---|
64 | depends_lib-append bin:snmpget:net-snmp |
---|
65 | } |
---|
66 | variant ntp { |
---|
67 | #depends_lib bin:ntpdate:ntp ## no ntp in DP |
---|
68 | } |
---|
69 | } |
---|
70 | |
---|