View | Details | Raw Unified | Return to bug 88312
Collapse All | Expand All

(-)ports/net-mgmt/nagios/Makefile (-6 / +52 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	nagios
8
PORTNAME=	nagios
9
PORTVERSION=	2.0.b4
9
PORTVERSION=	2.0.b4
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	net-mgmt
11
CATEGORIES=	net-mgmt
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=nagios
13
MASTER_SITE_SUBDIR=nagios
Lines 21-27 Link Here
21
21
22
USE_GETOPT_LONG=yes
22
USE_GETOPT_LONG=yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
USE_AUTOCONF_VER=	259
24
USE_AUTOCONF_VER=259
25
USE_RC_SUBR=	yes
25
USE_RC_SUBR=	yes
26
USE_PERL5_BUILD=yes
26
USE_PERL5_BUILD=yes
27
27
Lines 36-41 Link Here
36
NAGIOSHTMURL?=	/nagios
36
NAGIOSHTMURL?=	/nagios
37
NAGIOSCGIURL?=	${NAGIOSHTMURL}/cgi-bin
37
NAGIOSCGIURL?=	${NAGIOSHTMURL}/cgi-bin
38
38
39
.if defined(NAGIOSWWWDIR) || defined(WITH_NAGIOS_WWWDIR)
40
NAGIOSWWWDIRSET=yes
41
.endif
42
43
.if defined(WITH_NAGIOS_WWWDIR) && !defined(NAGIOSWWWDIR)
44
NAGIOSWWWDIR=	www/nagios
45
.else
46
NAGIOSWWWDIR?=	share/nagios
47
.endif
48
39
.include <bsd.port.pre.mk>
49
.include <bsd.port.pre.mk>
40
50
41
CPPFLAGS=	-I${LOCALBASE}/include -fPIC
51
CPPFLAGS=	-I${LOCALBASE}/include -fPIC
Lines 44-69 Link Here
44
		CFLAGS="${CPPFLAGS} ${CFLAGS}" \
54
		CFLAGS="${CPPFLAGS} ${CFLAGS}" \
45
		LIBS="-L${LOCALBASE}/lib -lgd"
55
		LIBS="-L${LOCALBASE}/lib -lgd"
46
CONFIGURE_ARGS=	--with-command-user=${NAGIOSUSER} \
56
CONFIGURE_ARGS=	--with-command-user=${NAGIOSUSER} \
47
		--with-command-group=www \
57
		--with-command-group=${WWWGRP} \
48
		--with-nagios-user=${NAGIOSUSER} \
58
		--with-nagios-user=${NAGIOSUSER} \
49
		--with-nagios-group=${NAGIOSGROUP} \
59
		--with-nagios-group=${NAGIOSGROUP} \
50
		--with-htmurl=${NAGIOSHTMURL} \
60
		--with-htmurl=${NAGIOSHTMURL} \
51
		--with-cgiurl=${NAGIOSCGIURL} \
61
		--with-cgiurl=${NAGIOSCGIURL} \
52
		--sbindir=${PREFIX}/share/nagios/cgi-bin \
62
		--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
53
		--libexecdir=${PREFIX}/libexec/nagios \
63
		--libexecdir=${PREFIX}/libexec/nagios \
54
		--datadir=${PREFIX}/share/nagios \
64
		--datadir=${PREFIX}/${NAGIOSWWWDIR} \
55
		--sysconfdir=${PREFIX}/etc/nagios \
65
		--sysconfdir=${PREFIX}/etc/nagios \
56
		--localstatedir=${NAGIOSDIR} \
66
		--localstatedir=${NAGIOSDIR} \
57
		--prefix=${PREFIX}
67
		--prefix=${PREFIX}
58
68
69
PLIST_SUB=	NAGIOSDIR=${NAGIOSDIR} \
70
		NAGIOSWWWDIR=${NAGIOSWWWDIR} \
71
		NAGIOSUSER=${NAGIOSUSER} \
72
		NAGIOSGROUP=${NAGIOSGROUP} \
73
		WWWGRP=${WWWGRP}
74
59
SED_SCRIPT=	-e 's,%%NAGIOSUSER%%,${NAGIOSUSER},g' \
75
SED_SCRIPT=	-e 's,%%NAGIOSUSER%%,${NAGIOSUSER},g' \
60
		-e 's,%%NAGIOSGROUP%%,${NAGIOSGROUP},g' \
76
		-e 's,%%NAGIOSGROUP%%,${NAGIOSGROUP},g' \
61
		-e 's,%%NAGIOSDIR%%,${NAGIOSDIR},g' \
77
		-e 's,%%NAGIOSDIR%%,${NAGIOSDIR},g' \
78
		-e 's,%%NAGIOSWWWDIR%%,${NAGIOSWWWDIR},g' \
62
		-e 's,%%PREFIX%%,${PREFIX},g' \
79
		-e 's,%%PREFIX%%,${PREFIX},g' \
63
		-e 's,%%RC_SUBR%%,${RC_SUBR},g'
80
		-e 's,%%RC_SUBR%%,${RC_SUBR},g'
64
81
65
INSTALL_TARGET=	all install config install-config install-commandmode
82
INSTALL_TARGET=	all install config install-config install-commandmode
66
83
84
pre-everything::
85
.if !defined(NAGIOSWWWDIRSET)
86
	@${ECHO_CMD} "**********************************************************************"
87
	@${ECHO_CMD} ""
88
	@${ECHO_CMD} " The web component of this port is currently being installed under"
89
	@${ECHO_CMD} " ${PREFIX}/${NAGIOSWWWDIR}, the default for which is being changed"
90
	@${ECHO_CMD} " when Nagios 2.0 is released.  If this is a new installation, please"
91
	@${ECHO_CMD} " consider adding the following option to /etc/make.conf to install the"
92
	@${ECHO_CMD} " component under the correct home of ${PREFIX}/www/nagios:"
93
	@${ECHO_CMD} ""
94
	@${ECHO_CMD} "   # net-mgmt/nagios"
95
	@${ECHO_CMD} "   WITH_NAGIOS_WWWDIR=YES"
96
	@${ECHO_CMD} ""
97
	@${ECHO_CMD} " Existing installations can be upgraded with this option with only"
98
	@${ECHO_CMD} " minor changes being required to etc/apache[2]/httpd.conf to change"
99
	@${ECHO_CMD} " references of ${PREFIX}/${NAGIOSWWWDIR} to ${PREFIX}/www/nagios."
100
	@${ECHO_CMD} ""
101
	@${ECHO_CMD} " Should you wish to continue using ${PREFIX}/${NAGIOSWWWDIR}, define"
102
	@${ECHO_CMD} " the NAGIOSWWWDIR variable without the ${PREFIX}/ prefix:"
103
	@${ECHO_CMD} ""
104
	@${ECHO_CMD} "   # net-mgmt/nagios"
105
	@${ECHO_CMD} "   NAGIOSWWWDIR=${NAGIOSWWWDIR}"
106
	@${ECHO_CMD} ""
107
	@${ECHO_CMD} " The WITH_NAGIOS_WWWDIR knob will vanish once the default has been"
108
	@${ECHO_CMD} " changed and the NAGIOSWWWDIR tunable option will remain permanently."
109
	@${ECHO_CMD} ""
110
	@${ECHO_CMD} "**********************************************************************"
111
.endif
112
67
pre-build:
113
pre-build:
68
	for myfile in nagios.sh INSTALL DEINSTALL MESSAGE; do \
114
	for myfile in nagios.sh INSTALL DEINSTALL MESSAGE; do \
69
		${SED} ${SED_SCRIPT} < ${FILESDIR}/$${myfile}.tmpl >${WRKDIR}/$${myfile}; \
115
		${SED} ${SED_SCRIPT} < ${FILESDIR}/$${myfile}.tmpl >${WRKDIR}/$${myfile}; \
Lines 76-82 Link Here
76
	@${INSTALL_SCRIPT} ${WRKDIR}/nagios.sh ${PREFIX}/etc/rc.d/
122
	@${INSTALL_SCRIPT} ${WRKDIR}/nagios.sh ${PREFIX}/etc/rc.d/
77
	@${CHMOD} 775 ${NAGIOSDIR} ${NAGIOSDIR}/archives ${NAGIOSDIR}/rw
123
	@${CHMOD} 775 ${NAGIOSDIR} ${NAGIOSDIR}/archives ${NAGIOSDIR}/rw
78
	@${CHOWN} ${NAGIOSUSER}:${NAGIOSGROUP} ${NAGIOSDIR} ${NAGIOSDIR}/archives
124
	@${CHOWN} ${NAGIOSUSER}:${NAGIOSGROUP} ${NAGIOSDIR} ${NAGIOSDIR}/archives
79
	@${CHOWN} ${NAGIOSUSER}:www ${NAGIOSDIR}/rw
125
	@${CHOWN} ${NAGIOSUSER}:${WWWGRP} ${NAGIOSDIR}/rw
80
	@${CAT} ${PKGMESSAGE}
126
	@${CAT} ${PKGMESSAGE}
81
127
82
.include <bsd.port.post.mk>
128
.include <bsd.port.post.mk>
(-)ports/net-mgmt/nagios/pkg-plist (-291 / +291 lines)
Lines 1-9 Link Here
1
@exec mkdir -p %D/share/nagios/ssi
1
@exec mkdir -p %D/%%NAGIOSWWWDIR%%/ssi
2
@exec mkdir -p /var/spool/nagios/archives
2
@exec mkdir -p %%NAGIOSDIR%%/archives
3
@exec mkdir -p /var/spool/nagios/rw
3
@exec mkdir -p %%NAGIOSDIR%%/rw
4
@exec chmod 775 /var/spool/nagios /var/spool/nagios/archives /var/spool/nagios/rw
4
@exec chmod 775 %%NAGIOSDIR%% %%NAGIOSDIR%%/archives %%NAGIOSDIR%%/rw
5
@exec chown nagios:nagios /var/spool/nagios /var/spool/nagios/archives
5
@exec chown %%NAGIOSUSER%%:%%NAGIOSGROUP%% %%NAGIOSDIR%% %%NAGIOSDIR%%/archives
6
@exec chown nagios:www /var/spool/nagios/rw
6
@exec chown %%NAGIOSUSER%%:%%WWWGRP%% %%NAGIOSDIR%%/rw
7
bin/nagios
7
bin/nagios
8
bin/nagiostats
8
bin/nagiostats
9
etc/nagios/bigger.cfg-sample
9
etc/nagios/bigger.cfg-sample
Lines 14-302 Link Here
14
etc/nagios/nagios.cfg-sample
14
etc/nagios/nagios.cfg-sample
15
etc/nagios/resource.cfg-sample
15
etc/nagios/resource.cfg-sample
16
etc/rc.d/nagios.sh
16
etc/rc.d/nagios.sh
17
share/nagios/cgi-bin/avail.cgi
17
%%NAGIOSWWWDIR%%/cgi-bin/avail.cgi
18
share/nagios/cgi-bin/cmd.cgi
18
%%NAGIOSWWWDIR%%/cgi-bin/cmd.cgi
19
share/nagios/cgi-bin/config.cgi
19
%%NAGIOSWWWDIR%%/cgi-bin/config.cgi
20
share/nagios/cgi-bin/extinfo.cgi
20
%%NAGIOSWWWDIR%%/cgi-bin/extinfo.cgi
21
share/nagios/cgi-bin/histogram.cgi
21
%%NAGIOSWWWDIR%%/cgi-bin/histogram.cgi
22
share/nagios/cgi-bin/history.cgi
22
%%NAGIOSWWWDIR%%/cgi-bin/history.cgi
23
share/nagios/cgi-bin/notifications.cgi
23
%%NAGIOSWWWDIR%%/cgi-bin/notifications.cgi
24
share/nagios/cgi-bin/outages.cgi
24
%%NAGIOSWWWDIR%%/cgi-bin/outages.cgi
25
share/nagios/cgi-bin/showlog.cgi
25
%%NAGIOSWWWDIR%%/cgi-bin/showlog.cgi
26
share/nagios/cgi-bin/status.cgi
26
%%NAGIOSWWWDIR%%/cgi-bin/status.cgi
27
share/nagios/cgi-bin/statusmap.cgi
27
%%NAGIOSWWWDIR%%/cgi-bin/statusmap.cgi
28
share/nagios/cgi-bin/statuswml.cgi
28
%%NAGIOSWWWDIR%%/cgi-bin/statuswml.cgi
29
share/nagios/cgi-bin/statuswrl.cgi
29
%%NAGIOSWWWDIR%%/cgi-bin/statuswrl.cgi
30
share/nagios/cgi-bin/summary.cgi
30
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
31
share/nagios/cgi-bin/tac.cgi
31
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
32
share/nagios/cgi-bin/trends.cgi
32
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
33
share/nagios/contexthelp/A1.html
33
%%NAGIOSWWWDIR%%/contexthelp/A1.html
34
share/nagios/contexthelp/A2.html
34
%%NAGIOSWWWDIR%%/contexthelp/A2.html
35
share/nagios/contexthelp/A3.html
35
%%NAGIOSWWWDIR%%/contexthelp/A3.html
36
share/nagios/contexthelp/A4.html
36
%%NAGIOSWWWDIR%%/contexthelp/A4.html
37
share/nagios/contexthelp/A5.html
37
%%NAGIOSWWWDIR%%/contexthelp/A5.html
38
share/nagios/contexthelp/A6.html
38
%%NAGIOSWWWDIR%%/contexthelp/A6.html
39
share/nagios/contexthelp/A7.html
39
%%NAGIOSWWWDIR%%/contexthelp/A7.html
40
share/nagios/contexthelp/B1.html
40
%%NAGIOSWWWDIR%%/contexthelp/B1.html
41
share/nagios/contexthelp/C1.html
41
%%NAGIOSWWWDIR%%/contexthelp/C1.html
42
share/nagios/contexthelp/D1.html
42
%%NAGIOSWWWDIR%%/contexthelp/D1.html
43
share/nagios/contexthelp/E1.html
43
%%NAGIOSWWWDIR%%/contexthelp/E1.html
44
share/nagios/contexthelp/F1.html
44
%%NAGIOSWWWDIR%%/contexthelp/F1.html
45
share/nagios/contexthelp/G1.html
45
%%NAGIOSWWWDIR%%/contexthelp/G1.html
46
share/nagios/contexthelp/G2.html
46
%%NAGIOSWWWDIR%%/contexthelp/G2.html
47
share/nagios/contexthelp/G3.html
47
%%NAGIOSWWWDIR%%/contexthelp/G3.html
48
share/nagios/contexthelp/G4.html
48
%%NAGIOSWWWDIR%%/contexthelp/G4.html
49
share/nagios/contexthelp/G5.html
49
%%NAGIOSWWWDIR%%/contexthelp/G5.html
50
share/nagios/contexthelp/G6.html
50
%%NAGIOSWWWDIR%%/contexthelp/G6.html
51
share/nagios/contexthelp/H1.html
51
%%NAGIOSWWWDIR%%/contexthelp/H1.html
52
share/nagios/contexthelp/H2.html
52
%%NAGIOSWWWDIR%%/contexthelp/H2.html
53
share/nagios/contexthelp/H3.html
53
%%NAGIOSWWWDIR%%/contexthelp/H3.html
54
share/nagios/contexthelp/H4.html
54
%%NAGIOSWWWDIR%%/contexthelp/H4.html
55
share/nagios/contexthelp/H5.html
55
%%NAGIOSWWWDIR%%/contexthelp/H5.html
56
share/nagios/contexthelp/H6.html
56
%%NAGIOSWWWDIR%%/contexthelp/H6.html
57
share/nagios/contexthelp/H7.html
57
%%NAGIOSWWWDIR%%/contexthelp/H7.html
58
share/nagios/contexthelp/H8.html
58
%%NAGIOSWWWDIR%%/contexthelp/H8.html
59
share/nagios/contexthelp/I1.html
59
%%NAGIOSWWWDIR%%/contexthelp/I1.html
60
share/nagios/contexthelp/I2.html
60
%%NAGIOSWWWDIR%%/contexthelp/I2.html
61
share/nagios/contexthelp/I3.html
61
%%NAGIOSWWWDIR%%/contexthelp/I3.html
62
share/nagios/contexthelp/I4.html
62
%%NAGIOSWWWDIR%%/contexthelp/I4.html
63
share/nagios/contexthelp/I5.html
63
%%NAGIOSWWWDIR%%/contexthelp/I5.html
64
share/nagios/contexthelp/I6.html
64
%%NAGIOSWWWDIR%%/contexthelp/I6.html
65
share/nagios/contexthelp/I7.html
65
%%NAGIOSWWWDIR%%/contexthelp/I7.html
66
share/nagios/contexthelp/I8.html
66
%%NAGIOSWWWDIR%%/contexthelp/I8.html
67
share/nagios/contexthelp/I9.html
67
%%NAGIOSWWWDIR%%/contexthelp/I9.html
68
share/nagios/contexthelp/J1.html
68
%%NAGIOSWWWDIR%%/contexthelp/J1.html
69
share/nagios/contexthelp/K1.html
69
%%NAGIOSWWWDIR%%/contexthelp/K1.html
70
share/nagios/contexthelp/L1.html
70
%%NAGIOSWWWDIR%%/contexthelp/L1.html
71
share/nagios/contexthelp/L10.html
71
%%NAGIOSWWWDIR%%/contexthelp/L10.html
72
share/nagios/contexthelp/L11.html
72
%%NAGIOSWWWDIR%%/contexthelp/L11.html
73
share/nagios/contexthelp/L12.html
73
%%NAGIOSWWWDIR%%/contexthelp/L12.html
74
share/nagios/contexthelp/L13.html
74
%%NAGIOSWWWDIR%%/contexthelp/L13.html
75
share/nagios/contexthelp/L2.html
75
%%NAGIOSWWWDIR%%/contexthelp/L2.html
76
share/nagios/contexthelp/L3.html
76
%%NAGIOSWWWDIR%%/contexthelp/L3.html
77
share/nagios/contexthelp/L4.html
77
%%NAGIOSWWWDIR%%/contexthelp/L4.html
78
share/nagios/contexthelp/L5.html
78
%%NAGIOSWWWDIR%%/contexthelp/L5.html
79
share/nagios/contexthelp/L6.html
79
%%NAGIOSWWWDIR%%/contexthelp/L6.html
80
share/nagios/contexthelp/L7.html
80
%%NAGIOSWWWDIR%%/contexthelp/L7.html
81
share/nagios/contexthelp/L8.html
81
%%NAGIOSWWWDIR%%/contexthelp/L8.html
82
share/nagios/contexthelp/L9.html
82
%%NAGIOSWWWDIR%%/contexthelp/L9.html
83
share/nagios/contexthelp/M1.html
83
%%NAGIOSWWWDIR%%/contexthelp/M1.html
84
share/nagios/contexthelp/M2.html
84
%%NAGIOSWWWDIR%%/contexthelp/M2.html
85
share/nagios/contexthelp/M3.html
85
%%NAGIOSWWWDIR%%/contexthelp/M3.html
86
share/nagios/contexthelp/M4.html
86
%%NAGIOSWWWDIR%%/contexthelp/M4.html
87
share/nagios/contexthelp/M5.html
87
%%NAGIOSWWWDIR%%/contexthelp/M5.html
88
share/nagios/contexthelp/M6.html
88
%%NAGIOSWWWDIR%%/contexthelp/M6.html
89
share/nagios/contexthelp/N1.html
89
%%NAGIOSWWWDIR%%/contexthelp/N1.html
90
share/nagios/contexthelp/N2.html
90
%%NAGIOSWWWDIR%%/contexthelp/N2.html
91
share/nagios/contexthelp/N3.html
91
%%NAGIOSWWWDIR%%/contexthelp/N3.html
92
share/nagios/contexthelp/N4.html
92
%%NAGIOSWWWDIR%%/contexthelp/N4.html
93
share/nagios/contexthelp/N5.html
93
%%NAGIOSWWWDIR%%/contexthelp/N5.html
94
share/nagios/contexthelp/N6.html
94
%%NAGIOSWWWDIR%%/contexthelp/N6.html
95
share/nagios/contexthelp/N7.html
95
%%NAGIOSWWWDIR%%/contexthelp/N7.html
96
share/nagios/docs/images/activepassive.png
96
%%NAGIOSWWWDIR%%/docs/about.html
97
share/nagios/docs/images/cgi-avail-a.png
97
%%NAGIOSWWWDIR%%/docs/adaptive.html
98
share/nagios/docs/images/cgi-avail-b.png
98
%%NAGIOSWWWDIR%%/docs/addons.html
99
share/nagios/docs/images/cgi-cmd.png
99
%%NAGIOSWWWDIR%%/docs/beginners.html
100
share/nagios/docs/images/cgi-config.png
100
%%NAGIOSWWWDIR%%/docs/cgiauth.html
101
share/nagios/docs/images/cgi-extinfo-a.png
101
%%NAGIOSWWWDIR%%/docs/cgiincludes.html
102
share/nagios/docs/images/cgi-extinfo-b.png
102
%%NAGIOSWWWDIR%%/docs/cgis.html
103
share/nagios/docs/images/cgi-extinfo-c.png
103
%%NAGIOSWWWDIR%%/docs/checkscheduling.html
104
share/nagios/docs/images/cgi-extinfo-d.png
104
%%NAGIOSWWWDIR%%/docs/clusters.html
105
share/nagios/docs/images/cgi-histogram.png
105
%%NAGIOSWWWDIR%%/docs/commandfile.html
106
share/nagios/docs/images/cgi-history.png
106
%%NAGIOSWWWDIR%%/docs/config.html
107
share/nagios/docs/images/cgi-notifications.png
107
%%NAGIOSWWWDIR%%/docs/configcgi.html
108
share/nagios/docs/images/cgi-outages.png
108
%%NAGIOSWWWDIR%%/docs/configextinfo.html
109
share/nagios/docs/images/cgi-showlog.png
109
%%NAGIOSWWWDIR%%/docs/configmain.html
110
share/nagios/docs/images/cgi-status-a.png
110
%%NAGIOSWWWDIR%%/docs/configobject.html
111
share/nagios/docs/images/cgi-status-b.png
111
%%NAGIOSWWWDIR%%/docs/dependencies.html
112
share/nagios/docs/images/cgi-status-c.png
112
%%NAGIOSWWWDIR%%/docs/distributed.html
113
share/nagios/docs/images/cgi-status-d.png
113
%%NAGIOSWWWDIR%%/docs/downtime.html
114
share/nagios/docs/images/cgi-statusmap.png
114
%%NAGIOSWWWDIR%%/docs/embeddedperl.html
115
share/nagios/docs/images/cgi-statuswml.png
115
%%NAGIOSWWWDIR%%/docs/escalations.html
116
share/nagios/docs/images/cgi-statuswrl.png
116
%%NAGIOSWWWDIR%%/docs/eventhandlers.html
117
share/nagios/docs/images/cgi-summary.png
117
%%NAGIOSWWWDIR%%/docs/extcommands.html
118
share/nagios/docs/images/cgi-tac.png
118
%%NAGIOSWWWDIR%%/docs/flapping.html
119
share/nagios/docs/images/cgi-trends.png
119
%%NAGIOSWWWDIR%%/docs/freshness.html
120
share/nagios/docs/images/checktiming.png
120
%%NAGIOSWWWDIR%%/docs/funstuff.html
121
share/nagios/docs/images/distributed.png
121
%%NAGIOSWWWDIR%%/docs/images/activepassive.png
122
share/nagios/docs/images/host-dependencies.png
122
%%NAGIOSWWWDIR%%/docs/images/cgi-avail-a.png
123
share/nagios/docs/images/indirecthostcheck.png
123
%%NAGIOSWWWDIR%%/docs/images/cgi-avail-b.png
124
share/nagios/docs/images/indirectsvccheck.png
124
%%NAGIOSWWWDIR%%/docs/images/cgi-cmd.png
125
share/nagios/docs/images/indirectsvccheck2.png
125
%%NAGIOSWWWDIR%%/docs/images/cgi-config.png
126
share/nagios/docs/images/interleaved1.png
126
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-a.png
127
share/nagios/docs/images/interleaved2.png
127
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-b.png
128
share/nagios/docs/images/interleaved3.png
128
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-c.png
129
share/nagios/docs/images/logofullsize.png
129
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-d.png
130
share/nagios/docs/images/mrtgstats.png
130
%%NAGIOSWWWDIR%%/docs/images/cgi-histogram.png
131
share/nagios/docs/images/network-heirarchy.png
131
%%NAGIOSWWWDIR%%/docs/images/cgi-history.png
132
share/nagios/docs/images/network-outage1.png
132
%%NAGIOSWWWDIR%%/docs/images/cgi-notifications.png
133
share/nagios/docs/images/network-outage2.png
133
%%NAGIOSWWWDIR%%/docs/images/cgi-outages.png
134
share/nagios/docs/images/noninterleaved1.png
134
%%NAGIOSWWWDIR%%/docs/images/cgi-showlog.png
135
share/nagios/docs/images/noninterleaved2.png
135
%%NAGIOSWWWDIR%%/docs/images/cgi-status-a.png
136
share/nagios/docs/images/physical-network.png
136
%%NAGIOSWWWDIR%%/docs/images/cgi-status-b.png
137
share/nagios/docs/images/plugintheory.png
137
%%NAGIOSWWWDIR%%/docs/images/cgi-status-c.png
138
share/nagios/docs/images/redudancy.png
138
%%NAGIOSWWWDIR%%/docs/images/cgi-status-d.png
139
share/nagios/docs/images/redundancy.png
139
%%NAGIOSWWWDIR%%/docs/images/cgi-statusmap.png
140
share/nagios/docs/images/service-dependencies.png
140
%%NAGIOSWWWDIR%%/docs/images/cgi-statuswml.png
141
share/nagios/docs/images/statetransitions.png
141
%%NAGIOSWWWDIR%%/docs/images/cgi-statuswrl.png
142
share/nagios/docs/images/statetransitions2.png
142
%%NAGIOSWWWDIR%%/docs/images/cgi-summary.png
143
share/nagios/docs/about.html
143
%%NAGIOSWWWDIR%%/docs/images/cgi-tac.png
144
share/nagios/docs/addons.html
144
%%NAGIOSWWWDIR%%/docs/images/cgi-trends.png
145
share/nagios/docs/adaptive.html
145
%%NAGIOSWWWDIR%%/docs/images/checktiming.png
146
share/nagios/docs/beginners.html
146
%%NAGIOSWWWDIR%%/docs/images/distributed.png
147
share/nagios/docs/cgiauth.html
147
%%NAGIOSWWWDIR%%/docs/images/host-dependencies.png
148
share/nagios/docs/cgiincludes.html
148
%%NAGIOSWWWDIR%%/docs/images/indirecthostcheck.png
149
share/nagios/docs/cgis.html
149
%%NAGIOSWWWDIR%%/docs/images/indirectsvccheck.png
150
share/nagios/docs/checkscheduling.html
150
%%NAGIOSWWWDIR%%/docs/images/indirectsvccheck2.png
151
share/nagios/docs/clusters.html
151
%%NAGIOSWWWDIR%%/docs/images/interleaved1.png
152
share/nagios/docs/commandfile.html
152
%%NAGIOSWWWDIR%%/docs/images/interleaved2.png
153
share/nagios/docs/config.html
153
%%NAGIOSWWWDIR%%/docs/images/interleaved3.png
154
share/nagios/docs/configcgi.html
154
%%NAGIOSWWWDIR%%/docs/images/logofullsize.png
155
share/nagios/docs/configextinfo.html
155
%%NAGIOSWWWDIR%%/docs/images/mrtgstats.png
156
share/nagios/docs/configmain.html
156
%%NAGIOSWWWDIR%%/docs/images/network-heirarchy.png
157
share/nagios/docs/configobject.html
157
%%NAGIOSWWWDIR%%/docs/images/network-outage1.png
158
share/nagios/docs/dependencies.html
158
%%NAGIOSWWWDIR%%/docs/images/network-outage2.png
159
share/nagios/docs/distributed.html
159
%%NAGIOSWWWDIR%%/docs/images/noninterleaved1.png
160
share/nagios/docs/downtime.html
160
%%NAGIOSWWWDIR%%/docs/images/noninterleaved2.png
161
share/nagios/docs/embeddedperl.html
161
%%NAGIOSWWWDIR%%/docs/images/physical-network.png
162
share/nagios/docs/escalations.html
162
%%NAGIOSWWWDIR%%/docs/images/plugintheory.png
163
share/nagios/docs/eventhandlers.html
163
%%NAGIOSWWWDIR%%/docs/images/redudancy.png
164
share/nagios/docs/extcommands.html
164
%%NAGIOSWWWDIR%%/docs/images/redundancy.png
165
share/nagios/docs/flapping.html
165
%%NAGIOSWWWDIR%%/docs/images/service-dependencies.png
166
share/nagios/docs/freshness.html
166
%%NAGIOSWWWDIR%%/docs/images/statetransitions.png
167
share/nagios/docs/funstuff.html
167
%%NAGIOSWWWDIR%%/docs/images/statetransitions2.png
168
share/nagios/docs/index.html
168
%%NAGIOSWWWDIR%%/docs/index.html
169
share/nagios/docs/indirectchecks.html
169
%%NAGIOSWWWDIR%%/docs/indirectchecks.html
170
share/nagios/docs/installing.html
170
%%NAGIOSWWWDIR%%/docs/installing.html
171
share/nagios/docs/installweb.html
171
%%NAGIOSWWWDIR%%/docs/installweb.html
172
share/nagios/docs/int-snmptrap.html
172
%%NAGIOSWWWDIR%%/docs/int-snmptrap.html
173
share/nagios/docs/int-tcpwrappers.html
173
%%NAGIOSWWWDIR%%/docs/int-tcpwrappers.html
174
share/nagios/docs/macros.html
174
%%NAGIOSWWWDIR%%/docs/macros.html
175
share/nagios/docs/nagiostats.html
175
%%NAGIOSWWWDIR%%/docs/nagiostats.html
176
share/nagios/docs/networkoutages.html
176
%%NAGIOSWWWDIR%%/docs/networkoutages.html
177
share/nagios/docs/networkreachability.html
177
%%NAGIOSWWWDIR%%/docs/networkreachability.html
178
share/nagios/docs/notifications.html
178
%%NAGIOSWWWDIR%%/docs/notifications.html
179
share/nagios/docs/parallelization.html
179
%%NAGIOSWWWDIR%%/docs/parallelization.html
180
share/nagios/docs/passivechecks.html
180
%%NAGIOSWWWDIR%%/docs/passivechecks.html
181
share/nagios/docs/perfdata.html
181
%%NAGIOSWWWDIR%%/docs/perfdata.html
182
share/nagios/docs/plugins.html
182
%%NAGIOSWWWDIR%%/docs/plugins.html
183
share/nagios/docs/plugintheory.html
183
%%NAGIOSWWWDIR%%/docs/plugintheory.html
184
share/nagios/docs/redundancy.html
184
%%NAGIOSWWWDIR%%/docs/redundancy.html
185
share/nagios/docs/robots.txt
185
%%NAGIOSWWWDIR%%/docs/robots.txt
186
share/nagios/docs/security.html
186
%%NAGIOSWWWDIR%%/docs/security.html
187
share/nagios/docs/stalking.html
187
%%NAGIOSWWWDIR%%/docs/stalking.html
188
share/nagios/docs/starting.html
188
%%NAGIOSWWWDIR%%/docs/starting.html
189
share/nagios/docs/statetypes.html
189
%%NAGIOSWWWDIR%%/docs/statetypes.html
190
share/nagios/docs/stoprestart.html
190
%%NAGIOSWWWDIR%%/docs/stoprestart.html
191
share/nagios/docs/templaterecursion.html
191
%%NAGIOSWWWDIR%%/docs/templaterecursion.html
192
share/nagios/docs/templatetricks.html
192
%%NAGIOSWWWDIR%%/docs/templatetricks.html
193
share/nagios/docs/timeperiods.html
193
%%NAGIOSWWWDIR%%/docs/timeperiods.html
194
share/nagios/docs/toc.html
194
%%NAGIOSWWWDIR%%/docs/toc.html
195
share/nagios/docs/tuning.html
195
%%NAGIOSWWWDIR%%/docs/tuning.html
196
share/nagios/docs/verifyconfig.html
196
%%NAGIOSWWWDIR%%/docs/verifyconfig.html
197
share/nagios/docs/volatileservices.html
197
%%NAGIOSWWWDIR%%/docs/volatileservices.html
198
share/nagios/docs/whatsnew.html
198
%%NAGIOSWWWDIR%%/docs/whatsnew.html
199
share/nagios/docs/xodtemplate.html
199
%%NAGIOSWWWDIR%%/docs/xodtemplate.html
200
share/nagios/images/ack.gif
200
%%NAGIOSWWWDIR%%/images/ack.gif
201
share/nagios/images/action.gif
201
%%NAGIOSWWWDIR%%/images/action.gif
202
share/nagios/images/command.png
202
%%NAGIOSWWWDIR%%/images/command.png
203
share/nagios/images/comment.gif
203
%%NAGIOSWWWDIR%%/images/comment.gif
204
share/nagios/images/contexthelp1.gif
204
%%NAGIOSWWWDIR%%/images/contexthelp1.gif
205
share/nagios/images/contexthelp2.gif
205
%%NAGIOSWWWDIR%%/images/contexthelp2.gif
206
share/nagios/images/critical.png
206
%%NAGIOSWWWDIR%%/images/critical.png
207
share/nagios/images/delay.gif
207
%%NAGIOSWWWDIR%%/images/delay.gif
208
share/nagios/images/delete.gif
208
%%NAGIOSWWWDIR%%/images/delete.gif
209
share/nagios/images/detail.gif
209
%%NAGIOSWWWDIR%%/images/detail.gif
210
share/nagios/images/disabled.gif
210
%%NAGIOSWWWDIR%%/images/disabled.gif
211
share/nagios/images/down.gif
211
%%NAGIOSWWWDIR%%/images/down.gif
212
share/nagios/images/downtime.gif
212
%%NAGIOSWWWDIR%%/images/downtime.gif
213
share/nagios/images/empty.gif
213
%%NAGIOSWWWDIR%%/images/empty.gif
214
share/nagios/images/enabled.gif
214
%%NAGIOSWWWDIR%%/images/enabled.gif
215
share/nagios/images/extinfo.gif
215
%%NAGIOSWWWDIR%%/images/extinfo.gif
216
share/nagios/images/flapping.gif
216
%%NAGIOSWWWDIR%%/images/flapping.gif
217
share/nagios/images/greendot.gif
217
%%NAGIOSWWWDIR%%/images/greendot.gif
218
share/nagios/images/histogram.png
218
%%NAGIOSWWWDIR%%/images/histogram.png
219
share/nagios/images/history.gif
219
%%NAGIOSWWWDIR%%/images/history.gif
220
share/nagios/images/hostevent.gif
220
%%NAGIOSWWWDIR%%/images/hostevent.gif
221
share/nagios/images/info.png
221
%%NAGIOSWWWDIR%%/images/info.png
222
share/nagios/images/left.gif
222
%%NAGIOSWWWDIR%%/images/left.gif
223
share/nagios/images/logofullsize.jpg
223
%%NAGIOSWWWDIR%%/images/logofullsize.jpg
224
share/nagios/images/logos/nagios.gd2
224
%%NAGIOSWWWDIR%%/images/logos/nagios.gd2
225
share/nagios/images/logos/nagios.gif
225
%%NAGIOSWWWDIR%%/images/logos/nagios.gif
226
share/nagios/images/logos/nagiosvrml.png
226
%%NAGIOSWWWDIR%%/images/logos/nagiosvrml.png
227
share/nagios/images/logos/unknown.gd2
227
%%NAGIOSWWWDIR%%/images/logos/unknown.gd2
228
share/nagios/images/logos/unknown.gif
228
%%NAGIOSWWWDIR%%/images/logos/unknown.gif
229
share/nagios/images/logrotate.png
229
%%NAGIOSWWWDIR%%/images/logrotate.png
230
share/nagios/images/ndisabled.gif
230
%%NAGIOSWWWDIR%%/images/ndisabled.gif
231
share/nagios/images/noack.gif
231
%%NAGIOSWWWDIR%%/images/noack.gif
232
share/nagios/images/notes.gif
232
%%NAGIOSWWWDIR%%/images/notes.gif
233
share/nagios/images/notify.gif
233
%%NAGIOSWWWDIR%%/images/notify.gif
234
share/nagios/images/orangedot.gif
234
%%NAGIOSWWWDIR%%/images/orangedot.gif
235
share/nagios/images/passiveonly.gif
235
%%NAGIOSWWWDIR%%/images/passiveonly.gif
236
share/nagios/images/recovery.png
236
%%NAGIOSWWWDIR%%/images/recovery.png
237
share/nagios/images/redudancy.png
237
%%NAGIOSWWWDIR%%/images/redudancy.png
238
share/nagios/images/redundancy.png
238
%%NAGIOSWWWDIR%%/images/redundancy.png
239
share/nagios/images/restart.gif
239
%%NAGIOSWWWDIR%%/images/restart.gif
240
share/nagios/images/right.gif
240
%%NAGIOSWWWDIR%%/images/right.gif
241
share/nagios/images/sblogo.jpg
241
%%NAGIOSWWWDIR%%/images/sblogo.jpg
242
share/nagios/images/serviceevent.gif
242
%%NAGIOSWWWDIR%%/images/serviceevent.gif
243
share/nagios/images/start.gif
243
%%NAGIOSWWWDIR%%/images/start.gif
244
share/nagios/images/status.gif
244
%%NAGIOSWWWDIR%%/images/status.gif
245
share/nagios/images/status2.gif
245
%%NAGIOSWWWDIR%%/images/status2.gif
246
share/nagios/images/status3.gif
246
%%NAGIOSWWWDIR%%/images/status3.gif
247
share/nagios/images/status4.gif
247
%%NAGIOSWWWDIR%%/images/status4.gif
248
share/nagios/images/stop.gif
248
%%NAGIOSWWWDIR%%/images/stop.gif
249
share/nagios/images/tacdisabled.jpg
249
%%NAGIOSWWWDIR%%/images/tacdisabled.jpg
250
share/nagios/images/tacdisabled.png
250
%%NAGIOSWWWDIR%%/images/tacdisabled.png
251
share/nagios/images/tacenabled.jpg
251
%%NAGIOSWWWDIR%%/images/tacenabled.jpg
252
share/nagios/images/tacenabled.png
252
%%NAGIOSWWWDIR%%/images/tacenabled.png
253
share/nagios/images/thermcrit.png
253
%%NAGIOSWWWDIR%%/images/thermcrit.png
254
share/nagios/images/thermok.png
254
%%NAGIOSWWWDIR%%/images/thermok.png
255
share/nagios/images/thermwarn.png
255
%%NAGIOSWWWDIR%%/images/thermwarn.png
256
share/nagios/images/trends.gif
256
%%NAGIOSWWWDIR%%/images/trends.gif
257
share/nagios/images/trendshost.png
257
%%NAGIOSWWWDIR%%/images/trendshost.png
258
share/nagios/images/trendssvc.png
258
%%NAGIOSWWWDIR%%/images/trendssvc.png
259
share/nagios/images/unknown.png
259
%%NAGIOSWWWDIR%%/images/unknown.png
260
share/nagios/images/up.gif
260
%%NAGIOSWWWDIR%%/images/up.gif
261
share/nagios/images/warning.png
261
%%NAGIOSWWWDIR%%/images/warning.png
262
share/nagios/images/weblogo1.png
262
%%NAGIOSWWWDIR%%/images/weblogo1.png
263
share/nagios/images/zoom1.gif
263
%%NAGIOSWWWDIR%%/images/zoom1.gif
264
share/nagios/images/zoom2.gif
264
%%NAGIOSWWWDIR%%/images/zoom2.gif
265
share/nagios/index.html
265
%%NAGIOSWWWDIR%%/index.html
266
share/nagios/main.html
266
%%NAGIOSWWWDIR%%/main.html
267
share/nagios/media/critical.wav
267
%%NAGIOSWWWDIR%%/media/critical.wav
268
share/nagios/media/hostdown.wav
268
%%NAGIOSWWWDIR%%/media/hostdown.wav
269
share/nagios/media/warning.wav
269
%%NAGIOSWWWDIR%%/media/warning.wav
270
share/nagios/robots.txt
270
%%NAGIOSWWWDIR%%/robots.txt
271
share/nagios/side.html
271
%%NAGIOSWWWDIR%%/side.html
272
share/nagios/stylesheets/avail.css
272
%%NAGIOSWWWDIR%%/stylesheets/avail.css
273
share/nagios/stylesheets/checksanity.css
273
%%NAGIOSWWWDIR%%/stylesheets/checksanity.css
274
share/nagios/stylesheets/cmd.css
274
%%NAGIOSWWWDIR%%/stylesheets/cmd.css
275
share/nagios/stylesheets/common.css
275
%%NAGIOSWWWDIR%%/stylesheets/common.css
276
share/nagios/stylesheets/config.css
276
%%NAGIOSWWWDIR%%/stylesheets/config.css
277
share/nagios/stylesheets/extinfo.css
277
%%NAGIOSWWWDIR%%/stylesheets/extinfo.css
278
share/nagios/stylesheets/histogram.css
278
%%NAGIOSWWWDIR%%/stylesheets/histogram.css
279
share/nagios/stylesheets/history.css
279
%%NAGIOSWWWDIR%%/stylesheets/history.css
280
share/nagios/stylesheets/ministatus.css
280
%%NAGIOSWWWDIR%%/stylesheets/ministatus.css
281
share/nagios/stylesheets/notifications.css
281
%%NAGIOSWWWDIR%%/stylesheets/notifications.css
282
share/nagios/stylesheets/outages.css
282
%%NAGIOSWWWDIR%%/stylesheets/outages.css
283
share/nagios/stylesheets/showlog.css
283
%%NAGIOSWWWDIR%%/stylesheets/showlog.css
284
share/nagios/stylesheets/status.css
284
%%NAGIOSWWWDIR%%/stylesheets/status.css
285
share/nagios/stylesheets/statusmap.css
285
%%NAGIOSWWWDIR%%/stylesheets/statusmap.css
286
share/nagios/stylesheets/summary.css
286
%%NAGIOSWWWDIR%%/stylesheets/summary.css
287
share/nagios/stylesheets/tac.css
287
%%NAGIOSWWWDIR%%/stylesheets/tac.css
288
share/nagios/stylesheets/trends.css
288
%%NAGIOSWWWDIR%%/stylesheets/trends.css
289
@unexec rmdir %D/etc/nagios 2>/dev/null || true
289
@unexec rmdir %D/etc/nagios 2>/dev/null || true
290
@dirrm share/nagios/cgi-bin
290
@dirrm %%NAGIOSWWWDIR%%/cgi-bin
291
@dirrm share/nagios/contexthelp
291
@dirrm %%NAGIOSWWWDIR%%/contexthelp
292
@dirrm share/nagios/docs/images
292
@dirrm %%NAGIOSWWWDIR%%/docs/images
293
@dirrm share/nagios/docs
293
@dirrm %%NAGIOSWWWDIR%%/docs
294
@dirrm share/nagios/images/logos
294
@dirrm %%NAGIOSWWWDIR%%/images/logos
295
@dirrm share/nagios/images
295
@dirrm %%NAGIOSWWWDIR%%/images
296
@dirrm share/nagios/media
296
@dirrm %%NAGIOSWWWDIR%%/media
297
@dirrm share/nagios/ssi
297
@dirrm %%NAGIOSWWWDIR%%/ssi
298
@dirrm share/nagios/stylesheets
298
@dirrm %%NAGIOSWWWDIR%%/stylesheets
299
@unexec rmdir %D/share/nagios 2>/dev/null || true
299
@unexec rmdir %D/%%NAGIOSWWWDIR%% 2>/dev/null || true
300
@unexec rmdir /var/spool/nagios/archives 2>/dev/null || true
300
@unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true
301
@unexec rmdir /var/spool/nagios/rw 2>/dev/null || true
301
@unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true
302
@unexec rmdir /var/spool/nagios 2>/dev/null || true
302
@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true
(-)ports/net-mgmt/nagios/files/MESSAGE.tmpl (-1 / +1 lines)
Lines 7-13 Link Here
7
 Configuration templates are available in %%PREFIX%%/etc/nagios
7
 Configuration templates are available in %%PREFIX%%/etc/nagios
8
 as *.cfg-sample files. Copy them to *.cfg and edit them to suit
8
 as *.cfg-sample files. Copy them to *.cfg and edit them to suit
9
 your needs. Documentation is available in HTML form in
9
 your needs. Documentation is available in HTML form in
10
 %%PREFIX%%/share/nagios/docs.
10
 %%PREFIX%%/%%NAGIOSWWWDIR%%/docs.
11
11
12
 If you don't already have a web server running, you need to install
12
 If you don't already have a web server running, you need to install
13
 and configure it to finish your nagios installation.
13
 and configure it to finish your nagios installation.
(-)ports/net-mgmt/nagios-plugins/Makefile (-9 / +68 lines)
Lines 7-17 Link Here
7
7
8
PORTNAME=	nagios-plugins
8
PORTNAME=	nagios-plugins
9
PORTVERSION=	1.4.2
9
PORTVERSION=	1.4.2
10
PORTREVISION=	2
10
PORTREVISION=	3
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	net-mgmt
12
CATEGORIES=	net-mgmt
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
14
MASTER_SITE_SUBDIR=	nagiosplug
14
MASTER_SITE_SUBDIR=nagiosplug
15
15
16
MAINTAINER=	jarrod@netleader.com.au
16
MAINTAINER=	jarrod@netleader.com.au
17
COMMENT=	Plugins for nagios
17
COMMENT=	Plugins for nagios
Lines 22-42 Link Here
22
		RADIUS "Radius support" off \
22
		RADIUS "Radius support" off \
23
		MYSQL "MySQL support" off \
23
		MYSQL "MySQL support" off \
24
		PGSQL "PostgreSQL support" off \
24
		PGSQL "PostgreSQL support" off \
25
 		LDAP "OpenLDAP support" off \
25
		LDAP "OpenLDAP support" off \
26
 		IPV6 "IPV6 support" on
26
		IPV6 "IPV6 support" on
27
28
NAGIOSDIR?=	/var/spool/nagios
29
30
.if defined(NAGIOSWWWDIR) || defined(WITH_NAGIOS_WWWDIR)
31
NAGIOSWWWDIRSET=yes
32
.endif
33
34
.if defined(WITH_NAGIOS_WWWDIR) && !defined(NAGIOSWWWDIR)
35
NAGIOSWWWDIR=	www/nagios
36
.else
37
NAGIOSWWWDIR?=	share/nagios
38
.endif
27
39
28
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
29
41
30
USE_SUBMAKE=	yes
42
USE_SUBMAKE=	yes
31
USE_GETTEXT=	yes
43
USE_GETTEXT=	yes
32
GNU_CONFIGURE=	yes
44
GNU_CONFIGURE=	yes
33
CONFIGURE_ARGS=	--sbindir=${PREFIX}/share/nagios/cgi-bin \
45
CONFIGURE_ARGS=	--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
34
		--libexecdir=${PREFIX}/libexec/nagios \
46
		--libexecdir=${PREFIX}/libexec/nagios \
35
		--datadir=${PREFIX}/share/nagios \
47
		--datadir=${PREFIX}/${NAGIOSWWWDIR} \
36
		--sysconfdir=${PREFIX}/etc/nagios \
48
		--sysconfdir=${PREFIX}/etc/nagios \
37
		--localstatedir=/var/spool/nagios \
49
		--localstatedir=${NAGIOSDIR} \
38
		--with-df-command="/bin/df -Pkt noprocfs"
50
		--with-df-command="/bin/df -Pkt noprocfs"
39
51
52
PLIST_SUB=	NAGIOSWWWDIR=${NAGIOSWWWDIR}
53
40
.if defined(WITH_QSTAT)
54
.if defined(WITH_QSTAT)
41
BUILD_DEPENDS+=	qstat:${PORTSDIR}/games/qstat
55
BUILD_DEPENDS+=	qstat:${PORTSDIR}/games/qstat
42
RUN_DEPENDS+=	qstat:${PORTSDIR}/games/qstat
56
RUN_DEPENDS+=	qstat:${PORTSDIR}/games/qstat
Lines 107-117 Link Here
107
121
108
CONFIGURE_ENV=	LOCALBASE=${LOCALBASE} LDFLAGS="-L${LOCALBASE}/lib" \
122
CONFIGURE_ENV=	LOCALBASE=${LOCALBASE} LDFLAGS="-L${LOCALBASE}/lib" \
109
		CPPFLAGS="-I${LOCALBASE}/include"
123
		CPPFLAGS="-I${LOCALBASE}/include"
110
USE_AUTOMAKE_VER=	19
124
USE_AUTOMAKE_VER=19
111
USE_AUTOCONF_VER=	259
125
USE_AUTOCONF_VER=259
112
USE_GMAKE=	yes
126
USE_GMAKE=	yes
113
USE_PERL5=	yes
127
USE_PERL5=	yes
114
USE_REINPLACE=	yes
128
USE_REINPLACE=	yes
129
130
pre-everything::
131
.if !defined(NAGIOSWWWDIRSET)
132
	@${ECHO_CMD} "**********************************************************************"
133
	@${ECHO_CMD} ""
134
	@${ECHO_CMD} "            !!! FOR USERS OF THE net-mgmt/nagios12 PORT !!!"
135
	@${ECHO_CMD} ""
136
	@${ECHO_CMD} " Upcoming changes to the web component of net-mgmt/nagios-plugins will"
137
	@${ECHO_CMD} " affect users of the older net-mgmt/nagios12 port unless the following"
138
	@${ECHO_CMD} " option is defined in /etc/make.conf:"
139
	@${ECHO_CMD} ""
140
	@${ECHO_CMD} "   # net-mgmt/nagios12"
141
	@${ECHO_CMD} "   NAGIOSWWWDIR=${NAGIOSWWWDIR}"
142
	@${ECHO_CMD} ""
143
	@${ECHO_CMD} " Details of the changes, what they affect and when they will occur are"
144
	@${ECHO_CMD} " detailed below."
145
	@${ECHO_CMD} ""
146
	@${ECHO_CMD} "**********************************************************************"
147
	@${ECHO_CMD} ""
148
	@${ECHO_CMD} "             !!! FOR USERS OF THE net-mgmt/nagios PORT !!!"
149
	@${ECHO_CMD} ""
150
	@${ECHO_CMD} " The web component of this port is currently being installed under"
151
	@${ECHO_CMD} " ${PREFIX}/${NAGIOSWWWDIR}, the default for which is being changed"
152
	@${ECHO_CMD} " when Nagios 2.0 is released.  If this is a new installation, please"
153
	@${ECHO_CMD} " consider adding the following option to /etc/make.conf to install the"
154
	@${ECHO_CMD} " component under the correct home of ${PREFIX}/www/nagios:"
155
	@${ECHO_CMD} ""
156
	@${ECHO_CMD} "   # net-mgmt/nagios"
157
	@${ECHO_CMD} "   WITH_NAGIOS_WWWDIR=YES"
158
	@${ECHO_CMD} ""
159
	@${ECHO_CMD} " Existing installations can be upgraded with this option with only"
160
	@${ECHO_CMD} " minor changes being required to etc/apache[2]/httpd.conf to change"
161
	@${ECHO_CMD} " references of ${PREFIX}/${NAGIOSWWWDIR} to ${PREFIX}/www/nagios."
162
	@${ECHO_CMD} ""
163
	@${ECHO_CMD} " Should you wish to continue using ${PREFIX}/${NAGIOSWWWDIR}, define"
164
	@${ECHO_CMD} " the NAGIOSWWWDIR variable without the ${PREFIX}/ prefix:"
165
	@${ECHO_CMD} ""
166
	@${ECHO_CMD} "   # net-mgmt/nagios"
167
	@${ECHO_CMD} "   NAGIOSWWWDIR=${NAGIOSWWWDIR}"
168
	@${ECHO_CMD} ""
169
	@${ECHO_CMD} " The WITH_NAGIOS_WWWDIR knob will vanish once the default has been"
170
	@${ECHO_CMD} " changed and the NAGIOSWWWDIR tunable option will remain permanently."
171
	@${ECHO_CMD} ""
172
	@${ECHO_CMD} "**********************************************************************"
173
.endif
115
174
116
post-patch:
175
post-patch:
117
.for file in check_by_ssh.c check_disk.c check_http.c check_load.c \
176
.for file in check_by_ssh.c check_disk.c check_http.c check_load.c \
(-)ports/net-mgmt/nagios-plugins/pkg-plist (-8 / +8 lines)
Lines 62-72 Link Here
62
libexec/nagios/utils.pm
62
libexec/nagios/utils.pm
63
libexec/nagios/utils.sh
63
libexec/nagios/utils.sh
64
@unexec rmdir %D/libexec/nagios 2>/dev/null || true
64
@unexec rmdir %D/libexec/nagios 2>/dev/null || true
65
share/nagios/locale/de/LC_MESSAGES/nagios-plugins.mo
65
%%NAGIOSWWWDIR%%/locale/de/LC_MESSAGES/nagios-plugins.mo
66
share/nagios/locale/fr/LC_MESSAGES/nagios-plugins.mo
66
%%NAGIOSWWWDIR%%/locale/fr/LC_MESSAGES/nagios-plugins.mo
67
@dirrm share/nagios/locale/de/LC_MESSAGES
67
@dirrm %%NAGIOSWWWDIR%%/locale/de/LC_MESSAGES
68
@dirrm share/nagios/locale/fr/LC_MESSAGES
68
@dirrm %%NAGIOSWWWDIR%%/locale/de
69
@dirrm share/nagios/locale/de
69
@dirrm %%NAGIOSWWWDIR%%/locale/fr/LC_MESSAGES
70
@dirrm share/nagios/locale/fr
70
@dirrm %%NAGIOSWWWDIR%%/locale/fr
71
@dirrm share/nagios/locale
71
@dirrm %%NAGIOSWWWDIR%%/locale
72
@unexec rmdir %D/share/nagios 2>/dev/null || true
72
@unexec rmdir %D/%%NAGIOSWWWDIR%% 2>/dev/null || true

Return to bug 88312