ports/74165: Update port: sysutils/munin-main 1.0.3 -> 1.0.4
Lupe Christoph
lupe at lupe-christoph.de
Sat Nov 20 16:20:31 UTC 2004
>Number: 74165
>Category: ports
>Synopsis: Update port: sysutils/munin-main 1.0.3 -> 1.0.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 20 16:20:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Lupe Christoph
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vmw-freebsd5.lupe-christoph.de 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Nov 7 16:52:12 CET 2004 lupe at vmw-freebsd5.lupe-christoph.de:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update to support Munin 1.0.4
Remove unchanged config files on deinstall as suggested by Yen-Ming Lee.
Files changed:
Makefile
distinfo
pkg-plist
>How-To-Repeat:
>Fix:
--- munin-main-1.0.4.patch begins here ---
diff -ruN munin-main-1.0.3/Makefile munin-main/Makefile
--- munin-main-1.0.3/Makefile Thu Nov 18 06:56:53 2004
+++ munin-main/Makefile Sat Nov 20 16:24:27 2004
@@ -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 @@
@PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
+ @if [ ! -f ${PREFIX}/www/data-dist/munin/style.css ]; then \
+ ${INSTALL_DATA} ${PREFIX}/etc/munin/templates/style.css ${PREFIX}/www/data-dist/munin/style.css; \
+ fi
+ @if [ ! -f ${PREFIX}/www/data-dist/munin/logo.png ]; then \
+ ${INSTALL_DATA} ${PREFIX}/etc/munin/templates/logo.png ${PREFIX}/www/data-dist/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 -ruN munin-main-1.0.3/distinfo munin-main/distinfo
--- munin-main-1.0.3/distinfo Thu Nov 18 06:56:53 2004
+++ munin-main/distinfo Thu Nov 18 07:42:57 2004
@@ -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 -ruN munin-main-1.0.3/pkg-plist munin-main/pkg-plist
--- munin-main-1.0.3/pkg-plist Sat Jun 12 19:41:59 2004
+++ munin-main/pkg-plist Sat Nov 20 15:54:52 2004
@@ -1,4 +1,6 @@
bin/munin-cron
+ at 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
+ at 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
--- munin-main-1.0.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list