Install this version:
emerge -a =net-misc/ssh-reverse-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | arm amd64 amd64-linux x86 x86-linux | 0 |
#/***************************************************************************
# * Copyright (C) 2017 Daniel Mueller (deso@posteo.net) *
# * *
# * This program is free software: you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation, either version 3 of the License, or *
# * (at your option) any later version. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU General Public License for more details. *
# * *
# * You should have received a copy of the GNU General Public License *
# * along with this program. If not, see <http://www.gnu.org/licenses/>. *
# ***************************************************************************/
EAPI=8
DESCRIPTION="An init script to establish a reverse SSH tunnel."
HOMEPAGE="https://github.com/d-e-s-o/ssh-reverse-openrc"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="arm amd64 amd64-linux x86 x86-linux"
# Note that really any shell providing /bin/sh should work. app-shell/bash is
# not a strict requirement. There does not seem to be a virtual shell package
# or something similar.
RDEPEND="
app-shells/bash
net-misc/autossh
sys-apps/coreutils
sys-apps/openrc
sys-apps/shadow
sys-apps/util-linux
"
DEPEND="${RDEPEND}"
EGIT_BRANCH="master"
EGIT_REPO_URI="https://github.com/d-e-s-o/ssh-reverse-openrc.git"
inherit git-r3
src_install() {
newinitd "${S}"/ssh-reverse ssh-reverse
}
app-shells/bash net-misc/autossh sys-apps/coreutils sys-apps/openrc sys-apps/shadow sys-apps/util-linux
app-shells/bash net-misc/autossh sys-apps/coreutils sys-apps/openrc sys-apps/shadow sys-apps/util-linux