fix PLIST for an optionally installed file when picking option snmpdiff -r1.4 -r1.5 pkgsrc/net/xymon/PLIST
(spz)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2012/04/28 18:26:19 gendalia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2012/05/10 21:58:38 spz Exp $ | |
2 | libexec/xymon/ackinfo.cgi | 2 | libexec/xymon/ackinfo.cgi | |
3 | libexec/xymon/acknowledge.cgi | 3 | libexec/xymon/acknowledge.cgi | |
4 | libexec/xymon/appfeed.cgi | 4 | libexec/xymon/appfeed.cgi | |
5 | libexec/xymon/bb | 5 | libexec/xymon/bb | |
6 | libexec/xymon/bbcmd | 6 | libexec/xymon/bbcmd | |
7 | libexec/xymon/bbdigest | 7 | libexec/xymon/bbdigest | |
8 | libexec/xymon/bbhostgrep | 8 | libexec/xymon/bbhostgrep | |
9 | libexec/xymon/bbhostshow | 9 | libexec/xymon/bbhostshow | |
10 | libexec/xymon/beastat | 10 | libexec/xymon/beastat | |
11 | libexec/xymon/boilerplate.cgi | 11 | libexec/xymon/boilerplate.cgi | |
12 | libexec/xymon/cgi-bin/appfeed-critical.sh | 12 | libexec/xymon/cgi-bin/appfeed-critical.sh | |
13 | libexec/xymon/cgi-bin/appfeed.sh | 13 | libexec/xymon/cgi-bin/appfeed.sh | |
14 | libexec/xymon/cgi-bin/certreport.sh | 14 | libexec/xymon/cgi-bin/certreport.sh | |
@@ -58,27 +58,27 @@ libexec/xymon/moverrd.sh | @@ -58,27 +58,27 @@ libexec/xymon/moverrd.sh | |||
58 | libexec/xymon/notifications.cgi | 58 | libexec/xymon/notifications.cgi | |
59 | libexec/xymon/perfdata.cgi | 59 | libexec/xymon/perfdata.cgi | |
60 | libexec/xymon/report.cgi | 60 | libexec/xymon/report.cgi | |
61 | libexec/xymon/reportlog.cgi | 61 | libexec/xymon/reportlog.cgi | |
62 | libexec/xymon/rrdcachectl | 62 | libexec/xymon/rrdcachectl | |
63 | libexec/xymon/showgraph.cgi | 63 | libexec/xymon/showgraph.cgi | |
64 | libexec/xymon/snapshot.cgi | 64 | libexec/xymon/snapshot.cgi | |
65 | libexec/xymon/statusreport.cgi | 65 | libexec/xymon/statusreport.cgi | |
66 | libexec/xymon/svcstatus.cgi | 66 | libexec/xymon/svcstatus.cgi | |
67 | libexec/xymon/trimhistory | 67 | libexec/xymon/trimhistory | |
68 | libexec/xymon/useradm.cgi | 68 | libexec/xymon/useradm.cgi | |
69 | libexec/xymon/xymon | 69 | libexec/xymon/xymon | |
70 | libexec/xymon/xymon-mailack | 70 | libexec/xymon/xymon-mailack | |
71 | libexec/xymon/xymon-snmpcollect | 71 | ${PLIST.snmp}libexec/xymon/xymon-snmpcollect | |
72 | libexec/xymon/xymon.sh | 72 | libexec/xymon/xymon.sh | |
73 | libexec/xymon/xymoncfg | 73 | libexec/xymon/xymoncfg | |
74 | libexec/xymon/xymoncgimsg.cgi | 74 | libexec/xymon/xymoncgimsg.cgi | |
75 | libexec/xymon/xymoncmd | 75 | libexec/xymon/xymoncmd | |
76 | libexec/xymon/xymond | 76 | libexec/xymon/xymond | |
77 | libexec/xymon/xymond_alert | 77 | libexec/xymon/xymond_alert | |
78 | libexec/xymon/xymond_capture | 78 | libexec/xymon/xymond_capture | |
79 | libexec/xymon/xymond_channel | 79 | libexec/xymon/xymond_channel | |
80 | libexec/xymon/xymond_client | 80 | libexec/xymon/xymond_client | |
81 | libexec/xymon/xymond_distribute | 81 | libexec/xymon/xymond_distribute | |
82 | libexec/xymon/xymond_filestore | 82 | libexec/xymon/xymond_filestore | |
83 | libexec/xymon/xymond_history | 83 | libexec/xymon/xymond_history | |
84 | libexec/xymon/xymond_hostdata | 84 | libexec/xymon/xymond_hostdata |
@@ -1,39 +1,42 @@ | @@ -1,39 +1,42 @@ | |||
1 | # $NetBSD: options.mk,v 1.1 2011/10/16 15:19:08 spz Exp $ | 1 | # $NetBSD: options.mk,v 1.2 2012/05/10 21:58:38 spz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xymon | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xymon | |
4 | PKG_SUPPORTED_OPTIONS= ldap snmp ssl | 4 | PKG_SUPPORTED_OPTIONS= ldap snmp ssl | |
5 | PKG_SUGGESTED_OPTIONS= ldap ssl | 5 | PKG_SUGGESTED_OPTIONS= ldap ssl | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | PLIST_VARS+= snmp | |||
10 | ||||
9 | # include support for ldap | 11 | # include support for ldap | |
10 | .if !empty(PKG_OPTIONS:Mldap) | 12 | .if !empty(PKG_OPTIONS:Mldap) | |
11 | CONFIGURE_ARGS+= "--ldapinclude" "${BUILDLINK_PREFIX.openldap-client}/include" | 13 | CONFIGURE_ARGS+= "--ldapinclude" "${BUILDLINK_PREFIX.openldap-client}/include" | |
12 | CONFIGURE_ARGS+= "--ldaplib" "${BUILDLINK_PREFIX.openldap-client}/lib" | 14 | CONFIGURE_ARGS+= "--ldaplib" "${BUILDLINK_PREFIX.openldap-client}/lib" | |
13 | CONFIGURE_ENV+= ENABLELDAP=y | 15 | CONFIGURE_ENV+= ENABLELDAP=y | |
14 | .if !empty(PKG_OPTIONS:Mssl) | 16 | .if !empty(PKG_OPTIONS:Mssl) | |
15 | CONFIGURE_ENV+= ENABLELDAPSSL=y | 17 | CONFIGURE_ENV+= ENABLELDAPSSL=y | |
16 | .endif | 18 | .endif | |
17 | .include "../../databases/openldap-client/buildlink3.mk" | 19 | .include "../../databases/openldap-client/buildlink3.mk" | |
18 | .else | 20 | .else | |
19 | CONFIGURE_ENV+= ENABLELDAP=n | 21 | CONFIGURE_ENV+= ENABLELDAP=n | |
20 | .endif | 22 | .endif | |
21 | 23 | |||
22 | # include support for snmp | 24 | # include support for snmp | |
23 | .if !empty(PKG_OPTIONS:Msnmp) | 25 | .if !empty(PKG_OPTIONS:Msnmp) | |
24 | CONFIGURE_ENV+= SNMP=1 | 26 | CONFIGURE_ENV+= SNMP=1 | |
25 | CONFIGURE_ARGS+= "--snmpconfig" "${BUILDLINK_PREFIX.net-snmp}/bin/net-snmp-config" | 27 | CONFIGURE_ARGS+= "--snmpconfig" "${BUILDLINK_PREFIX.net-snmp}/bin/net-snmp-config" | |
26 | .include "../../net/net-snmp/buildlink3.mk" | 28 | .include "../../net/net-snmp/buildlink3.mk" | |
29 | PLIST.snmp= yes | |||
27 | .else | 30 | .else | |
28 | CONFIGURE_ENV+= SNMP=n | 31 | CONFIGURE_ENV+= SNMP=n | |
29 | .endif | 32 | .endif | |
30 | 33 | |||
31 | # include support for ssl | 34 | # include support for ssl | |
32 | .if !empty(PKG_OPTIONS:Mssl) | 35 | .if !empty(PKG_OPTIONS:Mssl) | |
33 | CONFIGURE_ARGS+= "--sslinclude" "${BUILDLINK_PREFIX.openssl}/include" | 36 | CONFIGURE_ARGS+= "--sslinclude" "${BUILDLINK_PREFIX.openssl}/include" | |
34 | CONFIGURE_ARGS+= "--ssllib" "${BUILDLINK_PREFIX.openssl}/lib" | 37 | CONFIGURE_ARGS+= "--ssllib" "${BUILDLINK_PREFIX.openssl}/lib" | |
35 | CONFIGURE_ENV+= ENABLESSL=y | 38 | CONFIGURE_ENV+= ENABLESSL=y | |
36 | .include "../../security/openssl/buildlink3.mk" | 39 | .include "../../security/openssl/buildlink3.mk" | |
37 | .else | 40 | .else | |
38 | CONFIGURE_ENV+= ENABLESSL=n | 41 | CONFIGURE_ENV+= ENABLESSL=n | |
39 | .endif | 42 | .endif |