freebsd-ports/sysutils/munin-main/pkg-plist
Dag-Erling Smørgrav f44b4d9a88 Update to 1.2.6.
PR:		ports/126371
Submitted by:	Matthias Fechner <idefix@fechner.net>, Lupe Christoph <lupe@lupe-christoph.de>
2008-09-03 13:27:50 +00:00

55 lines
2.5 KiB
Text

@exec mkdir -p /var/run/munin && chown munin:munin /var/run/munin
@exec mkdir -p /var/log/munin-main && chown munin:munin /var/log/munin-main
@exec mkdir -p %D/%%WWWDIR%% && chown munin:munin %D/%%WWWDIR%%
@exec mkdir -p %D/var/munin && chown munin:munin %D/var/munin
bin/munin-cron
@unexec if cmp -s %D/etc/munin/munin.conf.sample %D/etc/munin/munin.conf; then rm -f %D/etc/munin/munin.conf; fi
etc/munin/munin.conf.sample
etc/munin/templates/definitions.html
@unexec if cmp -s %D/etc/munin/templates/logo.png %D/%%WWWDIR%%/logo.png; then rm -f %D/%%WWWDIR%%/logo.png; fi
etc/munin/templates/logo.png
etc/munin/templates/munin-comparison-day.tmpl
etc/munin/templates/munin-comparison-month.tmpl
etc/munin/templates/munin-comparison-week.tmpl
etc/munin/templates/munin-comparison-year.tmpl
etc/munin/templates/munin-domainview.tmpl
etc/munin/templates/munin-nodeview.tmpl
etc/munin/templates/munin-overview.tmpl
etc/munin/templates/munin-serviceview.tmpl
@unexec if cmp -s %D/etc/munin/templates/style.css %D/%%WWWDIR%%/style.css; then rm -f %D/%%WWWDIR%%/style.css; fi
etc/munin/templates/style.css
%%SITE_PERL%%/Munin.pm
%%DATADIR%%/VeraMono.ttf
%%DATADIR%%/munin-graph
%%DATADIR%%/munin-html
%%DATADIR%%/munin-limits
%%DATADIR%%/munin-update
www/cgi-bin/munin-cgi-graph
@unexec rm -f /var/run/munin/munin-*.lock
@dirrmtry /var/run/munin
@dirrmtry /var/log/munin-main
@dirrmtry %%WWWDIR%%
@dirrmtry www/cgi-bin
@dirrmtry var/munin
@dirrmtry %%DATADIR%%
@dirrmtry etc/munin/templates
@dirrmtry etc/munin
@unexec echo
@unexec echo '********************************************************************'
@unexec echo "If you want to *completely* remove munin-main, you have to"
@unexec echo
@unexec echo " rm -rf \\"
@unexec if [ -d %D/%%WWWDIR%% ]; then echo " %D/%%WWWDIR%% \\"; fi
@unexec if [ -d %D/var/munin ]; then ls -d %D/var/munin/* | grep -v plugin-state | fmt -40 | sed -e 's/^/ /' -e 's/$/ \\/'; fi
@unexec if [ -f %D/etc/munin/munin.conf ]; then echo " %D/etc/munin/munin.conf \\"; fi
@unexec if [ -d %D/etc/munin/templates ]; then echo " %D/etc/munin/templates \\"; fi
@unexec echo " /var/log/munin-main"
@unexec echo
@unexec echo "If you have already deinstalled munin-node, you can also"
@unexec echo
@unexec echo " rmdir %D/etc/munin %D/var/munin"
@unexec echo
@unexec echo "These files and directories have to be left on the system because"
@unexec echo "you may be performing an update. This process can't tell."
@unexec echo '********************************************************************'
@unexec echo