# -*- 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

PortSystem              1.0

name                    openvas-plugins
version                 1.0.7
set download_id         588
categories              security
license                 {GPL-2 OpenSSLException}
maintainers             nomaintainer
homepage                http://www.openvas.org/
master_sites            http://wald.intevation.org/frs/download.php/${download_id}

checksums \
    md5     b290e34df6198b21b4d6601c3ae80030 \
    sha1    eb8b6344a7023f84316a909702922764bbc18cbd \
    rmd160  b7b2cb3b7a702ed437ebf449912b33f1d7f61439

description \
    Open Vulnerability Assessment System plugins

long_description \
    OpenVAS is the Open Vulnerability Assessment System. This port \
    contains the plugins used by the server component.

depends_build \
    port:pkgconfig \
    path:bin/gsed:gsed

depends_lib \
    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    path:bin/openvasd-config:openvas-server

use_parallel_build      yes

pre-build {
    file mkdir ${worksrcpath}/bin
}

livecheck.type          regex
livecheck.url           http://wald.intevation.org/frs/?group_id=29
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar