Ticket #33173: Portfile-xymon.diff

File Portfile-xymon.diff, 1.5 KB (added by fclaire@…, 12 years ago)
  • Portfile

    old new  
    66name                    xymon
    77conflicts               xymon-server
    88epoch                   1
    9 version                 4.3.5
     9version                 4.3.7
    1010categories              net
    1111platforms               darwin
     12license                 GPL
    1213maintainers             free.fr:fclaire
    1314
    1415description             Xymon network monitor Client
     
    2223homepage                http://www.xymon.com/
    2324master_sites            sourceforge:project/xymon/Xymon/${version}
    2425
    25 checksums               sha1    cd49d689bbf9c27ed4d2010cf75223d7f43f656e \
    26                         rmd160  31110454d30835f758d844e3c142066566546548
     26checksums               sha1    29339157a1a6155d134ed1ad9985391d43034ee8 \
     27                        rmd160  9547eac47a5893f978cace54b5761e9cabe75941
    2728
    2829depends_lib             port:rrdtool \
    2930                        port:fping \
     
    99100#startupitem.pidfile     auto ${xylogdir}/clientlaunch.*.pid
    100101startupitem.pidfile     none
    101102
    102 pre-destroot {
    103     addgroup ${xymongroup}
    104     adduser ${xymonuser} gid=[existsgroup ${xymongroup}] realname=Xymon\ User home=${xytopdir} shell=/bin/bash
    105 }
     103add_users ${xymonuser} group=${xymongroup} realname=Xymon\ User home=${xytopdir} shell=/bin/bash
    106104
    107105post-destroot {
    108106    xinstall -d -o ${xymonuser} -g ${xymongroup} ${destroot}${xylogdir}