2011-08-30 09:14:31 +02:00
|
|
|
# Copyright 2009 Timothy Redaelli <timothy@redaelli.eu>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
SUMMARY="Automatically restart SSH sessions and tunnels"
|
|
|
|
DESCRIPTION="
|
|
|
|
A program to start a copy of ssh and monitor it, restarting it as necessary
|
|
|
|
should it die or stop passing traffic. The idea is from rstunnel
|
|
|
|
(Reliable SSH Tunnel), but implemented in C.
|
|
|
|
"
|
|
|
|
HOMEPAGE="http://www.harding.motd.ca/autossh/"
|
|
|
|
DOWNLOADS="${HOMEPAGE}/${PNV}.tgz"
|
|
|
|
|
|
|
|
LICENCES="as-is"
|
|
|
|
SLOT="0"
|
2012-01-05 22:37:40 +01:00
|
|
|
PLATFORMS="~amd64 ~x86"
|
2011-08-30 09:14:31 +02:00
|
|
|
|
2012-05-26 19:21:59 +02:00
|
|
|
REMOTE_IDS="freecode:autossh"
|
2011-08-30 09:14:31 +02:00
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build+run:
|
|
|
|
net-misc/openssh
|
|
|
|
"
|
|
|
|
|
|
|
|
UPSTREAM_CHANGELOG="${HOMEPAGE}/CHANGES"
|
|
|
|
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/README"
|
|
|
|
|
|
|
|
DEFAULT_SRC_CONFIGURE_PARAMS=( '--hates=docdir' )
|
|
|
|
|
|
|
|
src_install() {
|
2011-09-05 13:18:35 +02:00
|
|
|
emagicdocs
|
2011-08-30 09:14:31 +02:00
|
|
|
|
|
|
|
dobin autossh
|
|
|
|
insinto /usr/share/doc/${PNVR}/examples
|
|
|
|
doins autossh.host rscreen
|
|
|
|
doman autossh.1
|
|
|
|
}
|