1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-mgmt/nagios2/pkg-plist
Sergey Matveychuk 8bd94a2d10 - Remove hard coded references to the www group and spool directory
- Support changes made to user, group or spool directory to be recorded in the
  packing list correctly
- Added support for overriding install path of web component with an aim to
  migrate the default from share/nagios to www/nagios
- Added temporary knob to allow users to migrate to the new default without
  actually setting the path

PR:		ports/88312
Submitted by:	Jarrod Sayers (maintainer)
2005-11-01 13:37:09 +00:00

303 lines
12 KiB
Plaintext

@exec mkdir -p %D/%%NAGIOSWWWDIR%%/ssi
@exec mkdir -p %%NAGIOSDIR%%/archives
@exec mkdir -p %%NAGIOSDIR%%/rw
@exec chmod 775 %%NAGIOSDIR%% %%NAGIOSDIR%%/archives %%NAGIOSDIR%%/rw
@exec chown %%NAGIOSUSER%%:%%NAGIOSGROUP%% %%NAGIOSDIR%% %%NAGIOSDIR%%/archives
@exec chown %%NAGIOSUSER%%:%%WWWGRP%% %%NAGIOSDIR%%/rw
bin/nagios
bin/nagiostats
etc/nagios/bigger.cfg-sample
etc/nagios/cgi.cfg-sample
etc/nagios/checkcommands.cfg-sample
etc/nagios/minimal.cfg-sample
etc/nagios/misccommands.cfg-sample
etc/nagios/nagios.cfg-sample
etc/nagios/resource.cfg-sample
etc/rc.d/nagios.sh
%%NAGIOSWWWDIR%%/cgi-bin/avail.cgi
%%NAGIOSWWWDIR%%/cgi-bin/cmd.cgi
%%NAGIOSWWWDIR%%/cgi-bin/config.cgi
%%NAGIOSWWWDIR%%/cgi-bin/extinfo.cgi
%%NAGIOSWWWDIR%%/cgi-bin/histogram.cgi
%%NAGIOSWWWDIR%%/cgi-bin/history.cgi
%%NAGIOSWWWDIR%%/cgi-bin/notifications.cgi
%%NAGIOSWWWDIR%%/cgi-bin/outages.cgi
%%NAGIOSWWWDIR%%/cgi-bin/showlog.cgi
%%NAGIOSWWWDIR%%/cgi-bin/status.cgi
%%NAGIOSWWWDIR%%/cgi-bin/statusmap.cgi
%%NAGIOSWWWDIR%%/cgi-bin/statuswml.cgi
%%NAGIOSWWWDIR%%/cgi-bin/statuswrl.cgi
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
%%NAGIOSWWWDIR%%/contexthelp/A1.html
%%NAGIOSWWWDIR%%/contexthelp/A2.html
%%NAGIOSWWWDIR%%/contexthelp/A3.html
%%NAGIOSWWWDIR%%/contexthelp/A4.html
%%NAGIOSWWWDIR%%/contexthelp/A5.html
%%NAGIOSWWWDIR%%/contexthelp/A6.html
%%NAGIOSWWWDIR%%/contexthelp/A7.html
%%NAGIOSWWWDIR%%/contexthelp/B1.html
%%NAGIOSWWWDIR%%/contexthelp/C1.html
%%NAGIOSWWWDIR%%/contexthelp/D1.html
%%NAGIOSWWWDIR%%/contexthelp/E1.html
%%NAGIOSWWWDIR%%/contexthelp/F1.html
%%NAGIOSWWWDIR%%/contexthelp/G1.html
%%NAGIOSWWWDIR%%/contexthelp/G2.html
%%NAGIOSWWWDIR%%/contexthelp/G3.html
%%NAGIOSWWWDIR%%/contexthelp/G4.html
%%NAGIOSWWWDIR%%/contexthelp/G5.html
%%NAGIOSWWWDIR%%/contexthelp/G6.html
%%NAGIOSWWWDIR%%/contexthelp/H1.html
%%NAGIOSWWWDIR%%/contexthelp/H2.html
%%NAGIOSWWWDIR%%/contexthelp/H3.html
%%NAGIOSWWWDIR%%/contexthelp/H4.html
%%NAGIOSWWWDIR%%/contexthelp/H5.html
%%NAGIOSWWWDIR%%/contexthelp/H6.html
%%NAGIOSWWWDIR%%/contexthelp/H7.html
%%NAGIOSWWWDIR%%/contexthelp/H8.html
%%NAGIOSWWWDIR%%/contexthelp/I1.html
%%NAGIOSWWWDIR%%/contexthelp/I2.html
%%NAGIOSWWWDIR%%/contexthelp/I3.html
%%NAGIOSWWWDIR%%/contexthelp/I4.html
%%NAGIOSWWWDIR%%/contexthelp/I5.html
%%NAGIOSWWWDIR%%/contexthelp/I6.html
%%NAGIOSWWWDIR%%/contexthelp/I7.html
%%NAGIOSWWWDIR%%/contexthelp/I8.html
%%NAGIOSWWWDIR%%/contexthelp/I9.html
%%NAGIOSWWWDIR%%/contexthelp/J1.html
%%NAGIOSWWWDIR%%/contexthelp/K1.html
%%NAGIOSWWWDIR%%/contexthelp/L1.html
%%NAGIOSWWWDIR%%/contexthelp/L10.html
%%NAGIOSWWWDIR%%/contexthelp/L11.html
%%NAGIOSWWWDIR%%/contexthelp/L12.html
%%NAGIOSWWWDIR%%/contexthelp/L13.html
%%NAGIOSWWWDIR%%/contexthelp/L2.html
%%NAGIOSWWWDIR%%/contexthelp/L3.html
%%NAGIOSWWWDIR%%/contexthelp/L4.html
%%NAGIOSWWWDIR%%/contexthelp/L5.html
%%NAGIOSWWWDIR%%/contexthelp/L6.html
%%NAGIOSWWWDIR%%/contexthelp/L7.html
%%NAGIOSWWWDIR%%/contexthelp/L8.html
%%NAGIOSWWWDIR%%/contexthelp/L9.html
%%NAGIOSWWWDIR%%/contexthelp/M1.html
%%NAGIOSWWWDIR%%/contexthelp/M2.html
%%NAGIOSWWWDIR%%/contexthelp/M3.html
%%NAGIOSWWWDIR%%/contexthelp/M4.html
%%NAGIOSWWWDIR%%/contexthelp/M5.html
%%NAGIOSWWWDIR%%/contexthelp/M6.html
%%NAGIOSWWWDIR%%/contexthelp/N1.html
%%NAGIOSWWWDIR%%/contexthelp/N2.html
%%NAGIOSWWWDIR%%/contexthelp/N3.html
%%NAGIOSWWWDIR%%/contexthelp/N4.html
%%NAGIOSWWWDIR%%/contexthelp/N5.html
%%NAGIOSWWWDIR%%/contexthelp/N6.html
%%NAGIOSWWWDIR%%/contexthelp/N7.html
%%NAGIOSWWWDIR%%/docs/about.html
%%NAGIOSWWWDIR%%/docs/adaptive.html
%%NAGIOSWWWDIR%%/docs/addons.html
%%NAGIOSWWWDIR%%/docs/beginners.html
%%NAGIOSWWWDIR%%/docs/cgiauth.html
%%NAGIOSWWWDIR%%/docs/cgiincludes.html
%%NAGIOSWWWDIR%%/docs/cgis.html
%%NAGIOSWWWDIR%%/docs/checkscheduling.html
%%NAGIOSWWWDIR%%/docs/clusters.html
%%NAGIOSWWWDIR%%/docs/commandfile.html
%%NAGIOSWWWDIR%%/docs/config.html
%%NAGIOSWWWDIR%%/docs/configcgi.html
%%NAGIOSWWWDIR%%/docs/configextinfo.html
%%NAGIOSWWWDIR%%/docs/configmain.html
%%NAGIOSWWWDIR%%/docs/configobject.html
%%NAGIOSWWWDIR%%/docs/dependencies.html
%%NAGIOSWWWDIR%%/docs/distributed.html
%%NAGIOSWWWDIR%%/docs/downtime.html
%%NAGIOSWWWDIR%%/docs/embeddedperl.html
%%NAGIOSWWWDIR%%/docs/escalations.html
%%NAGIOSWWWDIR%%/docs/eventhandlers.html
%%NAGIOSWWWDIR%%/docs/extcommands.html
%%NAGIOSWWWDIR%%/docs/flapping.html
%%NAGIOSWWWDIR%%/docs/freshness.html
%%NAGIOSWWWDIR%%/docs/funstuff.html
%%NAGIOSWWWDIR%%/docs/images/activepassive.png
%%NAGIOSWWWDIR%%/docs/images/cgi-avail-a.png
%%NAGIOSWWWDIR%%/docs/images/cgi-avail-b.png
%%NAGIOSWWWDIR%%/docs/images/cgi-cmd.png
%%NAGIOSWWWDIR%%/docs/images/cgi-config.png
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-a.png
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-b.png
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-c.png
%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-d.png
%%NAGIOSWWWDIR%%/docs/images/cgi-histogram.png
%%NAGIOSWWWDIR%%/docs/images/cgi-history.png
%%NAGIOSWWWDIR%%/docs/images/cgi-notifications.png
%%NAGIOSWWWDIR%%/docs/images/cgi-outages.png
%%NAGIOSWWWDIR%%/docs/images/cgi-showlog.png
%%NAGIOSWWWDIR%%/docs/images/cgi-status-a.png
%%NAGIOSWWWDIR%%/docs/images/cgi-status-b.png
%%NAGIOSWWWDIR%%/docs/images/cgi-status-c.png
%%NAGIOSWWWDIR%%/docs/images/cgi-status-d.png
%%NAGIOSWWWDIR%%/docs/images/cgi-statusmap.png
%%NAGIOSWWWDIR%%/docs/images/cgi-statuswml.png
%%NAGIOSWWWDIR%%/docs/images/cgi-statuswrl.png
%%NAGIOSWWWDIR%%/docs/images/cgi-summary.png
%%NAGIOSWWWDIR%%/docs/images/cgi-tac.png
%%NAGIOSWWWDIR%%/docs/images/cgi-trends.png
%%NAGIOSWWWDIR%%/docs/images/checktiming.png
%%NAGIOSWWWDIR%%/docs/images/distributed.png
%%NAGIOSWWWDIR%%/docs/images/host-dependencies.png
%%NAGIOSWWWDIR%%/docs/images/indirecthostcheck.png
%%NAGIOSWWWDIR%%/docs/images/indirectsvccheck.png
%%NAGIOSWWWDIR%%/docs/images/indirectsvccheck2.png
%%NAGIOSWWWDIR%%/docs/images/interleaved1.png
%%NAGIOSWWWDIR%%/docs/images/interleaved2.png
%%NAGIOSWWWDIR%%/docs/images/interleaved3.png
%%NAGIOSWWWDIR%%/docs/images/logofullsize.png
%%NAGIOSWWWDIR%%/docs/images/mrtgstats.png
%%NAGIOSWWWDIR%%/docs/images/network-heirarchy.png
%%NAGIOSWWWDIR%%/docs/images/network-outage1.png
%%NAGIOSWWWDIR%%/docs/images/network-outage2.png
%%NAGIOSWWWDIR%%/docs/images/noninterleaved1.png
%%NAGIOSWWWDIR%%/docs/images/noninterleaved2.png
%%NAGIOSWWWDIR%%/docs/images/physical-network.png
%%NAGIOSWWWDIR%%/docs/images/plugintheory.png
%%NAGIOSWWWDIR%%/docs/images/redudancy.png
%%NAGIOSWWWDIR%%/docs/images/redundancy.png
%%NAGIOSWWWDIR%%/docs/images/service-dependencies.png
%%NAGIOSWWWDIR%%/docs/images/statetransitions.png
%%NAGIOSWWWDIR%%/docs/images/statetransitions2.png
%%NAGIOSWWWDIR%%/docs/index.html
%%NAGIOSWWWDIR%%/docs/indirectchecks.html
%%NAGIOSWWWDIR%%/docs/installing.html
%%NAGIOSWWWDIR%%/docs/installweb.html
%%NAGIOSWWWDIR%%/docs/int-snmptrap.html
%%NAGIOSWWWDIR%%/docs/int-tcpwrappers.html
%%NAGIOSWWWDIR%%/docs/macros.html
%%NAGIOSWWWDIR%%/docs/nagiostats.html
%%NAGIOSWWWDIR%%/docs/networkoutages.html
%%NAGIOSWWWDIR%%/docs/networkreachability.html
%%NAGIOSWWWDIR%%/docs/notifications.html
%%NAGIOSWWWDIR%%/docs/parallelization.html
%%NAGIOSWWWDIR%%/docs/passivechecks.html
%%NAGIOSWWWDIR%%/docs/perfdata.html
%%NAGIOSWWWDIR%%/docs/plugins.html
%%NAGIOSWWWDIR%%/docs/plugintheory.html
%%NAGIOSWWWDIR%%/docs/redundancy.html
%%NAGIOSWWWDIR%%/docs/robots.txt
%%NAGIOSWWWDIR%%/docs/security.html
%%NAGIOSWWWDIR%%/docs/stalking.html
%%NAGIOSWWWDIR%%/docs/starting.html
%%NAGIOSWWWDIR%%/docs/statetypes.html
%%NAGIOSWWWDIR%%/docs/stoprestart.html
%%NAGIOSWWWDIR%%/docs/templaterecursion.html
%%NAGIOSWWWDIR%%/docs/templatetricks.html
%%NAGIOSWWWDIR%%/docs/timeperiods.html
%%NAGIOSWWWDIR%%/docs/toc.html
%%NAGIOSWWWDIR%%/docs/tuning.html
%%NAGIOSWWWDIR%%/docs/verifyconfig.html
%%NAGIOSWWWDIR%%/docs/volatileservices.html
%%NAGIOSWWWDIR%%/docs/whatsnew.html
%%NAGIOSWWWDIR%%/docs/xodtemplate.html
%%NAGIOSWWWDIR%%/images/ack.gif
%%NAGIOSWWWDIR%%/images/action.gif
%%NAGIOSWWWDIR%%/images/command.png
%%NAGIOSWWWDIR%%/images/comment.gif
%%NAGIOSWWWDIR%%/images/contexthelp1.gif
%%NAGIOSWWWDIR%%/images/contexthelp2.gif
%%NAGIOSWWWDIR%%/images/critical.png
%%NAGIOSWWWDIR%%/images/delay.gif
%%NAGIOSWWWDIR%%/images/delete.gif
%%NAGIOSWWWDIR%%/images/detail.gif
%%NAGIOSWWWDIR%%/images/disabled.gif
%%NAGIOSWWWDIR%%/images/down.gif
%%NAGIOSWWWDIR%%/images/downtime.gif
%%NAGIOSWWWDIR%%/images/empty.gif
%%NAGIOSWWWDIR%%/images/enabled.gif
%%NAGIOSWWWDIR%%/images/extinfo.gif
%%NAGIOSWWWDIR%%/images/flapping.gif
%%NAGIOSWWWDIR%%/images/greendot.gif
%%NAGIOSWWWDIR%%/images/histogram.png
%%NAGIOSWWWDIR%%/images/history.gif
%%NAGIOSWWWDIR%%/images/hostevent.gif
%%NAGIOSWWWDIR%%/images/info.png
%%NAGIOSWWWDIR%%/images/left.gif
%%NAGIOSWWWDIR%%/images/logofullsize.jpg
%%NAGIOSWWWDIR%%/images/logos/nagios.gd2
%%NAGIOSWWWDIR%%/images/logos/nagios.gif
%%NAGIOSWWWDIR%%/images/logos/nagiosvrml.png
%%NAGIOSWWWDIR%%/images/logos/unknown.gd2
%%NAGIOSWWWDIR%%/images/logos/unknown.gif
%%NAGIOSWWWDIR%%/images/logrotate.png
%%NAGIOSWWWDIR%%/images/ndisabled.gif
%%NAGIOSWWWDIR%%/images/noack.gif
%%NAGIOSWWWDIR%%/images/notes.gif
%%NAGIOSWWWDIR%%/images/notify.gif
%%NAGIOSWWWDIR%%/images/orangedot.gif
%%NAGIOSWWWDIR%%/images/passiveonly.gif
%%NAGIOSWWWDIR%%/images/recovery.png
%%NAGIOSWWWDIR%%/images/redudancy.png
%%NAGIOSWWWDIR%%/images/redundancy.png
%%NAGIOSWWWDIR%%/images/restart.gif
%%NAGIOSWWWDIR%%/images/right.gif
%%NAGIOSWWWDIR%%/images/sblogo.jpg
%%NAGIOSWWWDIR%%/images/serviceevent.gif
%%NAGIOSWWWDIR%%/images/start.gif
%%NAGIOSWWWDIR%%/images/status.gif
%%NAGIOSWWWDIR%%/images/status2.gif
%%NAGIOSWWWDIR%%/images/status3.gif
%%NAGIOSWWWDIR%%/images/status4.gif
%%NAGIOSWWWDIR%%/images/stop.gif
%%NAGIOSWWWDIR%%/images/tacdisabled.jpg
%%NAGIOSWWWDIR%%/images/tacdisabled.png
%%NAGIOSWWWDIR%%/images/tacenabled.jpg
%%NAGIOSWWWDIR%%/images/tacenabled.png
%%NAGIOSWWWDIR%%/images/thermcrit.png
%%NAGIOSWWWDIR%%/images/thermok.png
%%NAGIOSWWWDIR%%/images/thermwarn.png
%%NAGIOSWWWDIR%%/images/trends.gif
%%NAGIOSWWWDIR%%/images/trendshost.png
%%NAGIOSWWWDIR%%/images/trendssvc.png
%%NAGIOSWWWDIR%%/images/unknown.png
%%NAGIOSWWWDIR%%/images/up.gif
%%NAGIOSWWWDIR%%/images/warning.png
%%NAGIOSWWWDIR%%/images/weblogo1.png
%%NAGIOSWWWDIR%%/images/zoom1.gif
%%NAGIOSWWWDIR%%/images/zoom2.gif
%%NAGIOSWWWDIR%%/index.html
%%NAGIOSWWWDIR%%/main.html
%%NAGIOSWWWDIR%%/media/critical.wav
%%NAGIOSWWWDIR%%/media/hostdown.wav
%%NAGIOSWWWDIR%%/media/warning.wav
%%NAGIOSWWWDIR%%/robots.txt
%%NAGIOSWWWDIR%%/side.html
%%NAGIOSWWWDIR%%/stylesheets/avail.css
%%NAGIOSWWWDIR%%/stylesheets/checksanity.css
%%NAGIOSWWWDIR%%/stylesheets/cmd.css
%%NAGIOSWWWDIR%%/stylesheets/common.css
%%NAGIOSWWWDIR%%/stylesheets/config.css
%%NAGIOSWWWDIR%%/stylesheets/extinfo.css
%%NAGIOSWWWDIR%%/stylesheets/histogram.css
%%NAGIOSWWWDIR%%/stylesheets/history.css
%%NAGIOSWWWDIR%%/stylesheets/ministatus.css
%%NAGIOSWWWDIR%%/stylesheets/notifications.css
%%NAGIOSWWWDIR%%/stylesheets/outages.css
%%NAGIOSWWWDIR%%/stylesheets/showlog.css
%%NAGIOSWWWDIR%%/stylesheets/status.css
%%NAGIOSWWWDIR%%/stylesheets/statusmap.css
%%NAGIOSWWWDIR%%/stylesheets/summary.css
%%NAGIOSWWWDIR%%/stylesheets/tac.css
%%NAGIOSWWWDIR%%/stylesheets/trends.css
@unexec rmdir %D/etc/nagios 2>/dev/null || true
@dirrm %%NAGIOSWWWDIR%%/cgi-bin
@dirrm %%NAGIOSWWWDIR%%/contexthelp
@dirrm %%NAGIOSWWWDIR%%/docs/images
@dirrm %%NAGIOSWWWDIR%%/docs
@dirrm %%NAGIOSWWWDIR%%/images/logos
@dirrm %%NAGIOSWWWDIR%%/images
@dirrm %%NAGIOSWWWDIR%%/media
@dirrm %%NAGIOSWWWDIR%%/ssi
@dirrm %%NAGIOSWWWDIR%%/stylesheets
@unexec rmdir %D/%%NAGIOSWWWDIR%% 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true