[89323] trunk/dports/net/munin/Portfile

jmr at macports.org jmr at macports.org
Tue Jan 24 21:35:14 PST 2012


Revision: 89323
          http://trac.macports.org/changeset/89323
Author:   jmr at macports.org
Date:     2012-01-24 21:35:13 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
munin: update to 1.4.5 (#28300)

Modified Paths:
--------------
    trunk/dports/net/munin/Portfile

Modified: trunk/dports/net/munin/Portfile
===================================================================
--- trunk/dports/net/munin/Portfile	2012-01-25 04:58:43 UTC (rev 89322)
+++ trunk/dports/net/munin/Portfile	2012-01-25 05:35:13 UTC (rev 89323)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                munin
-version             1.4.4
-revision            2
+version             1.4.5
 categories          net
 maintainers         alpha
 platforms           darwin
@@ -26,9 +25,9 @@
 
 homepage            http://munin-monitoring.org/
 master_sites        sourceforge
-checksums           md5     18d864fa04134ce67042a99dd3ec23ae \
-                    sha1    b771065081c699ceb34d28b185c42f42d83cec90 \
-                    rmd160  45a84ebc5e58379da7526c5909bb260ef7a4b444
+checksums           md5     4ae84b9a27b686c3819d8d7b51d8cb4c \
+                    sha1    bd1e8ad1fe1cfade1de9c28f3ad69bf35ca495ca \
+                    rmd160  883aa4baacfa5be1ec6a83737d5d241c40ad6912
 depends_lib         port:perl5.12 port:p5.12-net-server \
                     path:bin/config_data:p5.12-module-build \
                     port:p5.12-net-snmp port:p5.12-net-ssleay
@@ -102,6 +101,10 @@
     adduser munin gid=[existsgroup munin]
 }
 post-destroot {
+    # Rename config files so port upgrades don't overwrite installed versions of these
+    file rename ${destroot}${prefix}/etc/munin/munin-node.conf ${destroot}${prefix}/etc/munin/munin-node.conf.sample
+    file rename ${destroot}${prefix}/etc/munin/munin.conf ${destroot}${prefix}/etc/munin/munin.conf.sample
+
     # State directory should be owned by munin
     xinstall -d -o munin ${destroot}${prefix}/var/run/munin
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120124/42f0ab2f/attachment.html>


More information about the macports-changes mailing list