mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-cluster/teleport: remove v2.5.6
Closes: https://bugs.gentoo.org/662146
This commit is contained in:
committed by
Michał Górny
parent
077e540024
commit
62d1ee276e
@@ -1,3 +1,2 @@
|
||||
DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754bbbbe29fc8e79f833715094d4f2 SHA512 fae1eb53ff45115551c5002745303cd0e9a044557e6e56cda870a57531700bb68e23b59d2930ac2dd654b200732edc3ed9432e1bc0e9dbf0e7529e980599a323
|
||||
DIST teleport-2.5.8.tar.gz 16219666 BLAKE2B dd64ef4ca5b26e025e46c88d58e7ec226810b583c4b740416f6cc0caec5ea7d050c732368917ec34c5f8a36c7670d2903baa6c32203a2c5cac972e3a2b4bcbbb SHA512 070eebc889adde017641a833ee0e414c5f56848ac36fa96fb66e83062212307904e8264da758042765ba13d6a0c1b4f5314c1b0e90a2c37723ef1c0aa22889be
|
||||
DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402 SHA512 45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils golang-build systemd user
|
||||
|
||||
DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
|
||||
HOMEPAGE="https://gravitational.com/teleport"
|
||||
|
||||
EGO_PN="github.com/gravitational/${PN}/..."
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3 golang-vcs
|
||||
EGIT_REPO_URI="https://github.com/gravitational/${PN}.git"
|
||||
else
|
||||
inherit golang-vcs-snapshot
|
||||
SRC_URI="https://github.com/gravitational/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
LICENSE="Apache-2.0"
|
||||
RESTRICT="test strip"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
app-arch/zip
|
||||
>=dev-lang/go-1.9.2"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e 's/-j 3/-j 1/g' src/${EGO_PN%/*}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
BUILDFLAGS="" GOPATH="${S}" emake -j1 -C src/${EGO_PN%/*} full
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/lib/${PN} /etc/${PN}
|
||||
dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins "${FILESDIR}"/${PN}.yaml
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-2.5.init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}-2.5.service ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
|
||||
}
|
||||
|
||||
src_test() {
|
||||
BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
|
||||
}
|
||||
Reference in New Issue
Block a user