diff options
author | sem <sem@FreeBSD.org> | 2004-12-14 09:43:10 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-14 09:43:10 +0800 |
commit | d5d96cbd846ba477dec307d749e2cf7f19a07848 (patch) | |
tree | 1ed77064781fe6709fb0e5abd981285786ebbef5 /sysutils/munin-master | |
parent | fc014de61e3a87035ce34748e4374659c4a7c2b9 (diff) | |
download | freebsd-ports-gnome-d5d96cbd846ba477dec307d749e2cf7f19a07848.tar.gz freebsd-ports-gnome-d5d96cbd846ba477dec307d749e2cf7f19a07848.tar.zst freebsd-ports-gnome-d5d96cbd846ba477dec307d749e2cf7f19a07848.zip |
- Update to 1.0.4
* it unbreaks munin-node
PR: ports/74165, ports/74166
Submitted by: maintainer
Diffstat (limited to 'sysutils/munin-master')
-rw-r--r-- | sysutils/munin-master/Makefile | 8 | ||||
-rw-r--r-- | sysutils/munin-master/distinfo | 4 | ||||
-rw-r--r-- | sysutils/munin-master/pkg-plist | 21 |
3 files changed, 30 insertions, 3 deletions
diff --git a/sysutils/munin-master/Makefile b/sysutils/munin-master/Makefile index 343247fe5a36..8cb6cc8873f2 100644 --- a/sysutils/munin-master/Makefile +++ b/sysutils/munin-master/Makefile @@ -6,7 +6,7 @@ # PORTNAME= munin -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= sysutils perl5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= munin @@ -44,6 +44,12 @@ pre-install: @PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL post-install: + @if [ ! -f ${PREFIX}/www/data/munin/style.css ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/munin/templates/style.css ${PREFIX}/www/data/munin/style.css; \ + fi + @if [ ! -f ${PREFIX}/www/data/munin/logo.png ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/munin/templates/logo.png ${PREFIX}/www/data/munin/logo.png; \ + fi @${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin.conf.5 ${PREFIX}/man/man5 @${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-cron.8 ${PREFIX}/man/man8 @${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-graph.8 ${PREFIX}/man/man8 diff --git a/sysutils/munin-master/distinfo b/sysutils/munin-master/distinfo index a13f89708501..1db411157e37 100644 --- a/sysutils/munin-master/distinfo +++ b/sysutils/munin-master/distinfo @@ -1,2 +1,2 @@ -MD5 (munin_1.0.3.tar.gz) = 8114e4d716e0ec7ac70357a697af28cf -SIZE (munin_1.0.3.tar.gz) = 214362 +MD5 (munin_1.0.4.tar.gz) = 00721181e1ff81be85ad89307457d998 +SIZE (munin_1.0.4.tar.gz) = 214902 diff --git a/sysutils/munin-master/pkg-plist b/sysutils/munin-master/pkg-plist index a498e3827aee..e2242997fa46 100644 --- a/sysutils/munin-master/pkg-plist +++ b/sysutils/munin-master/pkg-plist @@ -1,4 +1,6 @@ bin/munin-cron +@unexec if cmp -s %D/etc/munin/templates/style.css %D/www/data-dist/munin/style.css; then rm -f %D/www/data-dist/munin/style.css; fi +@unexec if cmp -s %D/etc/munin/templates/logo.png %D/www/data-dist/munin/logo.png; then rm -f %D/www/data-dist/munin/logo.png; fi etc/munin/munin.conf etc/munin/templates/logo.png etc/munin/templates/munin-domainview.tmpl @@ -18,3 +20,22 @@ share/munin/munin-update @unexec rmdir %D/share/munin 2>/dev/null || true @dirrm etc/munin/templates @unexec rmdir %D/etc/munin 2>/dev/null || true +@unexec echo +@unexec echo '********************************************************************' +@unexec echo "If you want to *completely* remove munin-main, you have to" +@unexec echo +@unexec echo " rm -rf %D/var/munin/datafile %D/www/data/munin \\" +@unexec echo " "`ls -d /usr/local/var/munin/* | grep -v plugin-state`" \\" +@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 " %D/etc/munin/munin-node.conf %D/etc/munin/plugins \\" +@unexec echo " /var/log/munin" +@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 |