# -*- 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
PortGroup           golang 1.0

go.setup            github.com/projectdiscovery/nuclei 3.3.10 v
go.package          github.com/projectdiscovery/nuclei/v3
go.offline_build    no
revision            0

homepage            https://docs.projectdiscovery.io/tools/nuclei/overview

description         \
    Fast and customizable vulnerability scanner based on simple YAML based DSL.

long_description    \
    {*}${description} Nuclei is used to send requests across targets based on \
    a template, leading to zero false positives and providing fast scanning \
    on a large number of hosts. Nuclei offers scanning for a variety of \
    protocols, including TCP, DNS, HTTP, SSL, File, Whois, Websocket, \
    Headless, Code etc. With powerful and flexible templating, Nuclei can be \
    used to model all kinds of security checks.

categories          security
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  0d65ea420c1de251b9a5369e38aafb86efe54553 \
                    sha256  ff6051120f436ca2ed5ef3e645f9217492cbf42c92748aeabc57b9808ff0d14f \
                    size    11901153

build.args-append   ./cmd/${name}

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}