1 |
commit: 4b149da6529335a09ff31cc3bf961b15a71b1d3f |
2 |
Author: Graeme Lawes <graemelawes <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 10 16:13:30 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 27 08:24:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b149da6 |
7 |
|
8 |
sys-cluster/teleport: add v2.4.0 |
9 |
|
10 |
sys-cluster/teleport/Manifest | 1 + |
11 |
sys-cluster/teleport/teleport-2.4.0.ebuild | 51 ++++++++++++++++++++++++++++++ |
12 |
2 files changed, 52 insertions(+) |
13 |
|
14 |
diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest |
15 |
index 93a901c8394..26060b3f269 100644 |
16 |
--- a/sys-cluster/teleport/Manifest |
17 |
+++ b/sys-cluster/teleport/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
DIST teleport-2.2.0.tar.gz 7229371 BLAKE2B 8425326e026e5ca23c43b11947d575efccda98e18519dbcd8b9fb4baa2fecf15b3d66b225b22f40e9d78e0e6d39bbed3c2c569b3d15b5af9099f0f4979259cbd SHA512 bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239 |
20 |
DIST teleport-2.2.1.tar.gz 7235188 BLAKE2B 1f1272bdc96bac0eb424660a285232980063b1a82fec60d7ba80f227da34fa22052aae1eba3137ae73e62fc9c71a8037f067f16ac6b22014f3a82fdd88b444fb SHA512 011ffd8fdf42131455c32b8a8ed1ddee0181a8dcd3424dc9cf5ac96c53ce719d369e0bfac4392cc0dec14e78fed94732bbcb56c2db5987ee778ad29e4f7a749d |
21 |
DIST teleport-2.2.4.tar.gz 7234252 BLAKE2B 22c49e3659559ff6f8e55d3b60cf44fce00e67642d16457917b038cbbf48cc32db8caafbf39b70cef2ab39f0d8c1b3cb09e6ea1ab329e8e46c1fdf09b4a3aff2 SHA512 859bc34c90c4d1a504b9fa2958e49803c7af8bee3c2692d70590095ef0356a00cf963c5fc30613f3a7852b602fc7fbbd81ca99fc24ce51787f6d8d2e05af4762 |
22 |
+DIST teleport-2.4.0.tar.gz 9967298 BLAKE2B 26cb5610701c4c7deba0ba36b02f43928f4582cd81449045f58281b06a570eb5df762d21e5fef8f7f461855af3ac766fbafd1d2238b6916f9aaaaf07e20b7353 SHA512 4ed3a38fea4ba5acd52aa44cbc36d2bb1cda1fcb304d7787754b1165eefa3d1c8da65e76bf5c33a3f524ecf43b50145f2e850c927b35f2ec754ed90ed507c54d |
23 |
|
24 |
diff --git a/sys-cluster/teleport/teleport-2.4.0.ebuild b/sys-cluster/teleport/teleport-2.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..dc7173e18dc |
27 |
--- /dev/null |
28 |
+++ b/sys-cluster/teleport/teleport-2.4.0.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit eutils golang-build systemd user |
35 |
+ |
36 |
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure" |
37 |
+HOMEPAGE="https://gravitational.com/teleport" |
38 |
+ |
39 |
+EGO_PN="github.com/gravitational/${PN}/..." |
40 |
+ |
41 |
+if [[ ${PV} == "9999" ]] ; then |
42 |
+ inherit git-r3 golang-vcs |
43 |
+ EGIT_REPO_URI="https://github.com/gravitational/${PN}.git" |
44 |
+else |
45 |
+ inherit golang-vcs-snapshot |
46 |
+ SRC_URI="https://github.com/gravitational/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm" |
48 |
+fi |
49 |
+ |
50 |
+IUSE="" |
51 |
+LICENSE="Apache-2.0" |
52 |
+RESTRICT="test strip" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ app-arch/zip |
57 |
+ >=dev-lang/go-1.8.3" |
58 |
+RDEPEND="" |
59 |
+ |
60 |
+src_compile() { |
61 |
+ GOPATH="${S}" emake -j1 -C src/${EGO_PN%/*} full |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ keepdir /var/lib/${PN} /etc/${PN} |
66 |
+ dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport} |
67 |
+ |
68 |
+ insinto /etc/${PN} |
69 |
+ doins "${FILESDIR}"/${PN}.yaml |
70 |
+ |
71 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
72 |
+ newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
73 |
+ |
74 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
75 |
+ systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service |
76 |
+} |
77 |
+ |
78 |
+src_test() { |
79 |
+ BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test |
80 |
+} |