Ignore:
Timestamp:
May 6, 2016, 1:22:30 PM (3 years ago)
Author:
ryandesign@…
Message:

monit: update to 5.17.1; use a patchfile instead of just a reinplace; use destroot.keepdirs instead of doing it manually; use https for homepage to avoid redirects

Location:
trunk/dports/sysutils/monit
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/monit/Portfile

    r148373 r148374  
    44
    55name                monit
    6 version             5.12.1
    7 revision            1
     6version             5.17.1
    87categories          sysutils
    98platforms           darwin freebsd linux netbsd openbsd solaris
     
    2322                    conditions and recovery status via customizable alert.
    2423
    25 homepage            http://mmonit.com/monit/
     24homepage            https://mmonit.com/monit/
    2625master_sites        ${homepage}dist/
    2726
    28 checksums           rmd160 3c8b9f73b27dd1d0d633cc2b8a33b8fe0083937f \
    29                     sha256 0ed2489d31313fb9f7b6867352609c8aa416c3c19be3761142356d0a9cfa41c9
     27checksums           rmd160 a0e8aedcc73d36354b1362cb1e30e71ac9114f62 \
     28                    sha256 f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42
    3029
    3130depends_build       bin:flex:flex bin:bison:bison
    3231depends_lib         path:lib/libssl.dylib:openssl
     32
     33patchfiles          patch-monitrc.diff
     34
     35post-patch {
     36    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/monitrc
     37}
    3338
    3439configure.args      --with-ssl-dir=${prefix}
     
    4651}
    4752
     53destroot.keepdirs   ${destroot}${prefix}/etc/monit.d
    4854post-destroot {
    49     xinstall -d ${destroot}${prefix}/etc/monit.d
    50     xinstall -m 640 \
    51         /dev/null \
    52         ${destroot}${prefix}/etc/monit.d/.turd_monit
    53 
    5455    xinstall -m 700 ${worksrcpath}/monitrc ${destroot}${prefix}/etc/monitrc
    55     reinplace "s|#  include /etc/monit.d/|include ${prefix}/etc/monit.d/|" \
    56         ${destroot}${prefix}/etc/monitrc
    5756
    5857    xinstall -d ${destroot}${prefix}/share/doc/${name}
Note: See TracChangeset for help on using the changeset viewer.