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

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

name                fping
epoch               1
version             5.3
revision            0
categories          net
maintainers         nomaintainer
license             X11

description         A scriptable ping program to check if multiple hosts are up

long_description    fping is different from ping in that you can specify \
                    any number of hosts on the command line, or specify \
                    a file containing the lists of hosts to ping. \
                    Instead of trying one host until it timeouts or \
                    replies, fping will send out a ping packet and move \
                    on to the next host in a round-robin fashion. If a \
                    host replies, it is noted and removed from the list \
                    of hosts to check. If a host does not respond within \
                    a certain time limit and/or retry limit it will be \
                    considered unreachable.

homepage            https://fping.org/
master_sites        ${homepage}dist/

checksums           rmd160  2cc4f95c1c70edceaf09e966cd6f0e6f42fb977a \
                    sha256  d57bd0141aea082e3adfc198bfc3db5dfd12a7014c7c2655e97f61cd54901d0e \
                    size    197370

configure.args      --enable-ipv4 \
                    --enable-ipv6

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
