# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
homepage https://www.qosient.com/argus/
description Network Audit Record Generation and Utilization System
Argus is a real-time Flow Monitor that is designed to perform \
comprehensive IP network traffic auditing.
depends_build port:flex port:bison
depends_lib path:bin/perl:perl5 \
master_sites https://qosient.com/argus/src/ \
ftp://qosient.com/pub/argus/src/
checksums rmd160 1b77ca3d82ff25990322942794df5e12d5a79b37 \
sha256 aee8585d50959e00070a382f3121edfaa844a0a51dc0b73edf84c0f4eb8912c9
configure.cflags-append -std=gnu89
variant no_ragraph description {Build without ragraph (no dependencies on rrdtool)} {
depends_lib-delete port:rrdtool
variant sasl description {Enable SASL support} {
depends_lib-append port:cyrus-sasl2
configure.args-append --with-sasl=${prefix}
move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
delete "${destroot}${prefix}/bin/argusclientbug"
if {[variant_isset no_ragraph]} {
delete "${destroot}${prefix}/bin/ragraph"
reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph
foreach script {radark rahosts raports} {
reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/${script}
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}