Ticket #41897: Portfile-argus-clients.diff

File Portfile-argus-clients.diff, 1.7 KB (added by todd@…, 10 years ago)

updated diff

  • Portfile

    old new  
    44PortSystem      1.0
    55
    66name            argus-clients
    7 version         3.0.2
    8 revision        1
     7version         3.0.6
    98categories      net
    109maintainers     googlemail.com:usx303 \
    1110                openmaintainer
     
    2019depends_build   port:flex port:bison
    2120depends_lib     path:bin/perl:perl5 \
    2221                port:rrdtool \
    23                 port:cyrus-sasl2 \
    2422                port:readline
    2523
    2624master_sites    http://qosient.com/argus/src/ \
    2725                ftp://qosient.com/pub/argus/src/
    28 checksums       md5 3d3e9f4ce0539f8320c38cd43fcecbc1\
    29                 sha1 332921e1cfcf1bd765391d27a744d4e731b7bd7d\
    30                 rmd160 4f698d1404b833c845427c40e9dcccc637f8fc81
     26checksums       md5 f6289cbe33eb78818a6a7eef3b7f5662 \
     27                sha256 a7239007f048c5a85001ecc665c1d814422b7768c2fb45e558899370a9653c5d \
     28                rmd160 769230ea0b02c2de5dd873cf57dba46ecdfdaf4b
    3129
    3230configure.cflags-append -std=gnu89
    33 configure.args  --with-sasl=${prefix}
     31default_variants +sasl
    3432
    3533variant no_ragraph description {Build without ragraph (no dependencies on rrdtool)} {
    3634    depends_lib-delete port:rrdtool
    3735}
    3836
     37variant sasl description {Enable SASL support} {
     38    depends_lib-append    port:cyrus-sasl2
     39    configure.args-append --with-sasl=${prefix}
     40}
     41
    3942post-destroot   {
    4043    move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
    41     delete "${destroot}${prefix}/bin/argusbug"
     44    delete "${destroot}${prefix}/bin/argusclientbug"
    4245    if {[variant_isset no_ragraph]} {
    4346        delete "${destroot}${prefix}/bin/ragraph"
    4447    } else {