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

PortSystem          1.0

name                fping
epoch               1
version             3.13
categories          net
platforms           darwin
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            http://fping.org/
master_sites        ${homepage}dist/

checksums           rmd160  8014495b2665d44dcd942e6b772d2bcdc94dc104 \
                    sha256  4bb28efd1cb3d1240ae551dadc20daa852b1ba71bafe32e49ca629c1848e5720

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

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