2023-01-23 10:24:32 +01:00
|
|
|
# Copyright 2023 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
DESCRIPTION="tmate SSH server"
|
|
|
|
HOMEPAGE="https://github.com/tmate-io/tmate-ssh-server"
|
|
|
|
SRC_URI="https://github.com/tmate-io/${PN}/archive/refs/tags/${PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-libs/libevent
|
|
|
|
dev-libs/msgpack
|
2023-01-23 10:30:39 +01:00
|
|
|
dev-libs/openssl:0=
|
2023-01-23 10:24:32 +01:00
|
|
|
net-libs/libssh[server]
|
2023-01-23 10:30:39 +01:00
|
|
|
sys-libs/libutempter
|
2023-01-23 10:24:32 +01:00
|
|
|
sys-libs/ncurses
|
2023-01-23 10:30:39 +01:00
|
|
|
sys-libs/zlib
|
2023-01-23 10:24:32 +01:00
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
eautoreconf
|
2023-01-23 10:55:26 +01:00
|
|
|
mv create_keys.sh "${PN}-create_keys.sh"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
|
|
|
|
dobin "${PN}-create_keys.sh"
|
2023-01-23 10:24:32 +01:00
|
|
|
}
|