Ticket #28300: munin-Portfile.diff

File munin-Portfile.diff, 1.5 KB (added by Markus.Ueberall@…, 14 years ago)

Portfile diff (updated checksums, protected existing config files)

  • ports/net/munin/Portfile

    old new  
    55
    66name                munin
    7 version             1.4.4
     7version             1.4.5
    88categories          net
    99maintainers         alpha
     
    2626homepage            http://munin-monitoring.org/
    2727master_sites        sourceforge
    28 checksums           md5     18d864fa04134ce67042a99dd3ec23ae \
    29                     sha1    b771065081c699ceb34d28b185c42f42d83cec90 \
    30                     rmd160  45a84ebc5e58379da7526c5909bb260ef7a4b444
     28checksums           md5     4ae84b9a27b686c3819d8d7b51d8cb4c \
     29                    sha1    bd1e8ad1fe1cfade1de9c28f3ad69bf35ca495ca \
     30                    rmd160  883aa4baacfa5be1ec6a83737d5d241c40ad6912
    3131depends_lib         port:perl5 port:p5-net-server \
    3232                    path:bin/config_data:p5-module-build \
     
    8989    adduser munin gid=[existsgroup munin]
    9090}
     91
    9192post-destroot {
     93    # Rename config files so port upgrades don't overwrite installed versions of these
     94    file rename ${destroot}${prefix}/etc/munin/munin-node.conf ${destroot}${prefix}/etc/munin/munin-node.conf.sample
     95    file rename ${destroot}${prefix}/etc/munin/munin.conf ${destroot}${prefix}/etc/munin/munin.conf.sample
     96
    9297    # State directory should be owned by munin
    9398    xinstall -d -o munin ${destroot}${prefix}/var/run/munin
     
    114119    }
    115120}
     121
    116122notes \
    117123"To detect supported Munin plugins please use the following command