Changeset 135066


Ignore:
Timestamp:
Apr 14, 2015, 7:39:20 PM (4 years ago)
Author:
mf2k@…
Message:

monit: Update to version 5.12.1. Add startupitem. (#47209)

File:
1 edited

Legend:

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

    r96546 r135066  
    44
    55name                monit
    6 version             5.4
     6version             5.12.1
    77categories          sysutils
    88platforms           darwin freebsd linux netbsd openbsd solaris
     
    2525master_sites        ${homepage}dist/
    2626
    27 checksums           rmd160  1f011399d4e04a1d85277ed5ed2ba7750a2e855e \
    28                     sha256  805c6545de2dd7f3d9e6e0c68018b2aadd5fc98b243c8868178f247a60906038
     27checksums           rmd160 3c8b9f73b27dd1d0d633cc2b8a33b8fe0083937f \
     28                    sha256 0ed2489d31313fb9f7b6867352609c8aa416c3c19be3761142356d0a9cfa41c9
    2929
    30 depends_build       bin:flex:flex bin:bison:bison 
     30depends_build       bin:flex:flex bin:bison:bison
    3131depends_lib         port:openssl
    3232
     
    4444
    4545post-destroot {
    46     xinstall -m 444 ${worksrcpath}/monitrc ${destroot}${prefix}/etc/monitrc.sample
     46    xinstall -d ${destroot}${prefix}/etc/monit.d
     47    xinstall -m 640 \
     48        /dev/null \
     49        ${destroot}${prefix}/etc/monit.d/.turd_monit
     50
     51    xinstall -m 700 ${worksrcpath}/monitrc ${destroot}${prefix}/etc/monitrc
     52    reinplace "s|#  include /etc/monit.d/|include ${prefix}/etc/monit.d/|" \
     53        ${destroot}${prefix}/etc/monitrc
     54
    4755    xinstall -d ${destroot}${prefix}/share/doc/${name}
    48     xinstall -m 444 -W ${worksrcpath} CHANGES COPYING README \
     56    xinstall -m 444 -W ${worksrcpath} CONTRIBUTORS COPYING README \
    4957        ${destroot}${prefix}/share/doc/${name}
    5058}
     59
     60startupitem.create     yes
     61startupitem.executable ${prefix}/bin/monit -I -c ${prefix}/etc/monitrc
     62
Note: See TracChangeset for help on using the changeset viewer.