1 |
commit: d9641effd3e2961c56f2a539bcaa8f8f2f2496a9 |
2 |
Author: Graeme Lawes <graemelawes <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 16 14:08:01 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 19 08:16:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9641eff |
7 |
|
8 |
sys-cluster/teleport: add v3.0.1 |
9 |
|
10 |
Signed-off-by: Graeme Lawes <graemelawes <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/10157 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/teleport/Manifest | 1 + |
15 |
sys-cluster/teleport/teleport-3.0.1.ebuild | 49 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 50 insertions(+) |
17 |
|
18 |
diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest |
19 |
index 648071ea426..f7e6989ca4d 100644 |
20 |
--- a/sys-cluster/teleport/Manifest |
21 |
+++ b/sys-cluster/teleport/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402 SHA512 45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3 |
24 |
DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c SHA512 703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7 |
25 |
DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a SHA512 8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d |
26 |
+DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172 SHA512 9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1 |
27 |
|
28 |
diff --git a/sys-cluster/teleport/teleport-3.0.1.ebuild b/sys-cluster/teleport/teleport-3.0.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..4a7a27e42a4 |
31 |
--- /dev/null |
32 |
+++ b/sys-cluster/teleport/teleport-3.0.1.ebuild |
33 |
@@ -0,0 +1,49 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+inherit golang-build systemd |
39 |
+ |
40 |
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure" |
41 |
+HOMEPAGE="https://gravitational.com/teleport" |
42 |
+ |
43 |
+EGO_PN="github.com/gravitational/${PN}/..." |
44 |
+ |
45 |
+if [[ ${PV} == "9999" ]] ; then |
46 |
+ inherit git-r3 golang-vcs |
47 |
+ EGIT_REPO_URI="https://github.com/gravitational/${PN}.git" |
48 |
+else |
49 |
+ inherit golang-vcs-snapshot |
50 |
+ SRC_URI="https://github.com/gravitational/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~arm" |
52 |
+fi |
53 |
+ |
54 |
+IUSE="pam" |
55 |
+LICENSE="Apache-2.0" |
56 |
+RESTRICT="test strip" |
57 |
+SLOT="0" |
58 |
+ |
59 |
+DEPEND="app-arch/zip" |
60 |
+RDEPEND="pam? ( sys-libs/pam )" |
61 |
+ |
62 |
+src_compile() { |
63 |
+ BUILDFLAGS="" GOPATH="${S}" emake -j1 -C src/${EGO_PN%/*} full |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ keepdir /var/lib/${PN} /etc/${PN} |
68 |
+ dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport} |
69 |
+ |
70 |
+ insinto /etc/${PN} |
71 |
+ newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml |
72 |
+ |
73 |
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
74 |
+ newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
75 |
+ |
76 |
+ systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
77 |
+ systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test |
82 |
+} |