# -*- 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
description tool to restart terminated ssh sessions
long_description autossh is a program to start a copy of ssh and monitor \
it, restarting it as necessary should it die or stop \
homepage https://www.harding.motd.ca/autossh/
checksums rmd160 ca6f67ac9d50d0037a126d57544df2684eac7a27 \
sha256 5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277 \
destroot.destdir prefix=${destroot}${prefix} \
bindir=${destroot}${prefix}/bin \
mandir=${destroot}${prefix}/share/man \
datadir=${destroot}${prefix}/share
variant macports_ssh description {Use ssh from the openssh port} {
depends_run-append port:openssh
configure.args-append --with-ssh=${prefix}/bin/ssh
livecheck.url ${homepage}
livecheck.regex ${name}-(\\d+(?:\\.\\d+)?\[a-z\])${extract.suffix}