# -*- 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/zmap/zdns 2.0.4 v
go.offline_build    no
revision            0

description         Fast DNS Lookup Library and CLI Tool

long_description    \
    ZDNS is a command-line utility that provides high-speed DNS lookups. \
    ZDNS is written in Go and contains its own recursive resolution code and \
    a cache optimized for performing lookups of a diverse set of names. We \
    use {https://github.com/zmap/dns} to construct and parse raw DNS packets.\
    For more information about ZDNS\'s architecture and performance, check \
    out the following paper appearing at ACM\'s Internet Measurement \
    Conference \'22: \
    {https://lizizhikevich.github.io/assets/papers/ZDNS.pdf}

categories          net
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  78e1deab7c9cd5169f4b8e6a826f0604c5ad8930 \
                    sha256  c776421cfd9a7c69498463f980696cd0e63b98cfb05123e17e8fd5c29cdd9cbc \
                    size    1073698

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