[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2024-06-19 Thread Arthur Zamarin
commit: 73e30c5978225448acd01601c960f9e809bb7a3e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 19 20:40:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 19 20:40:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e30c59

sys-cluster/teleport: drop stale 

This live ebuild depends on deprecated golang-vcs.eclass

Bug: https://bugs.gentoo.org/844727
Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-cluster/teleport/teleport-.ebuild | 50 ---
 1 file changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
deleted file mode 100644
index a82f2fc86c92..
--- a/sys-cluster/teleport/teleport-.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0 MIT BSD ISC"
-RESTRICT="test strip"
-SLOT="0"
-
-BDEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2021-03-20 Thread Joonas Niilola
commit: 4df99d8dd5ce095cdf1153706d0d96923d4d0d99
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Mar 20 08:18:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 20 08:25:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df99d8d

sys-cluster/teleport: drop 4.0.9, 4.0.10, 4.1.1

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest   |  3 --
 sys-cluster/teleport/teleport-4.0.10.ebuild | 50 -
 sys-cluster/teleport/teleport-4.0.9.ebuild  | 50 -
 sys-cluster/teleport/teleport-4.1.1.ebuild  | 50 -
 4 files changed, 153 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 914ccbb4e94..68e2e51767a 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1 @@
-DIST teleport-4.0.10.tar.gz 34928382 BLAKE2B 
f6e418cd3be87e8a559cef20c7761b3da13f30ae176f5d7665a3c50debbb538048fdf32373adac49f061f9b62b75360dc3b65db39c22838ad661a69df578bafa
 SHA512 
67ebf37737ab9e5cf475bd99d94450ee3dd1f94a260f838f4e8882f20e8cafe5d43aa12cff223641b3a9b98b9f07549a7c2ec248c7000eddedae2964f5e2
-DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
-DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5
 DIST teleport-4.1.4.tar.gz 42353194 BLAKE2B 
905babaa899b80816b826a920f75dde55619ef7b476da6b3277347128a7301853241abcda852617363bfeb6fa432ef8f49d4b9444cde79e8e38ba9a79e2ec6dc
 SHA512 
5aa8e872802924e03839d4311b346cf1ef00c786e77a62e43a7b182c49f8cee7430e153c5d9ce8400beba332c715d21cdffef7c75be86992e0290d3795b38f12

diff --git a/sys-cluster/teleport/teleport-4.0.10.ebuild 
b/sys-cluster/teleport/teleport-4.0.10.ebuild
deleted file mode 100644
index 5421480e2d1..000
--- a/sys-cluster/teleport/teleport-4.0.10.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0 MIT BSD ISC"
-RESTRICT="test strip"
-SLOT="0"
-
-BDEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}

diff --git a/sys-cluster/teleport/teleport-4.0.9.ebuild 
b/sys-cluster/teleport/teleport-4.0.9.ebuild
deleted file mode 100644
index 5421480e2d1..000
--- a/sys-cluster/teleport/teleport-4.0.9.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0 MIT BSD ISC"
-RESTRICT="test strip"
-SLOT="0"
-
-BDEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-src_compile() {
-   BUILDFLAGS="" GOPATH="${S}" emake -j1 -C src/${EGO_PN%/*} full
-}
-
-src_install() {
-   keepdir /var/lib/${PN} /etc/${PN}
-   dobin 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-11-11 Thread Joonas Niilola
commit: 187dcf5d56f011926931e805390e47b22b0f370a
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Nov 10 21:01:13 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 11 15:27:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187dcf5d

sys-cluster/teleport: add v4.0.10

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13604
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest   |  1 +
 sys-cluster/teleport/teleport-4.0.10.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index b786d505860..914ccbb4e94 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
+DIST teleport-4.0.10.tar.gz 34928382 BLAKE2B 
f6e418cd3be87e8a559cef20c7761b3da13f30ae176f5d7665a3c50debbb538048fdf32373adac49f061f9b62b75360dc3b65db39c22838ad661a69df578bafa
 SHA512 
67ebf37737ab9e5cf475bd99d94450ee3dd1f94a260f838f4e8882f20e8cafe5d43aa12cff223641b3a9b98b9f07549a7c2ec248c7000eddedae2964f5e2
 DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
 DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5
 DIST teleport-4.1.4.tar.gz 42353194 BLAKE2B 
905babaa899b80816b826a920f75dde55619ef7b476da6b3277347128a7301853241abcda852617363bfeb6fa432ef8f49d4b9444cde79e8e38ba9a79e2ec6dc
 SHA512 
5aa8e872802924e03839d4311b346cf1ef00c786e77a62e43a7b182c49f8cee7430e153c5d9ce8400beba332c715d21cdffef7c75be86992e0290d3795b38f12

diff --git a/sys-cluster/teleport/teleport-4.0.10.ebuild 
b/sys-cluster/teleport/teleport-4.0.10.ebuild
new file mode 100644
index 000..5421480e2d1
--- /dev/null
+++ b/sys-cluster/teleport/teleport-4.0.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0 MIT BSD ISC"
+RESTRICT="test strip"
+SLOT="0"
+
+BDEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-11-11 Thread Joonas Niilola
commit: 40b3c419f4b114aec12df02b124f1df4b4f57c15
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Nov 10 21:00:23 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 11 15:27:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3c419

sys-cluster/teleport: add v4.1.4

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-4.1.4.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 0d6abc02555..b786d505860 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
 DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5
+DIST teleport-4.1.4.tar.gz 42353194 BLAKE2B 
905babaa899b80816b826a920f75dde55619ef7b476da6b3277347128a7301853241abcda852617363bfeb6fa432ef8f49d4b9444cde79e8e38ba9a79e2ec6dc
 SHA512 
5aa8e872802924e03839d4311b346cf1ef00c786e77a62e43a7b182c49f8cee7430e153c5d9ce8400beba332c715d21cdffef7c75be86992e0290d3795b38f12

diff --git a/sys-cluster/teleport/teleport-4.1.4.ebuild 
b/sys-cluster/teleport/teleport-4.1.4.ebuild
new file mode 100644
index 000..5421480e2d1
--- /dev/null
+++ b/sys-cluster/teleport/teleport-4.1.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0 MIT BSD ISC"
+RESTRICT="test strip"
+SLOT="0"
+
+BDEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-10-11 Thread Joonas Niilola
commit: 3e8a56a805453c515062eeb942f2e982517d0a38
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Oct 11 03:13:35 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 11 13:48:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8a56a8

sys-cluster/teleport: remove v3.2.6

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-3.2.6.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 65099bc6ce4..43785bc27af 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946
 DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
 DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5

diff --git a/sys-cluster/teleport/teleport-3.2.6.ebuild 
b/sys-cluster/teleport/teleport-3.2.6.ebuild
deleted file mode 100644
index 546c0f2921f..000
--- a/sys-cluster/teleport/teleport-3.2.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-10-11 Thread Joonas Niilola
commit: 4f27fffbe0b6b4bd831e7aa2e57936bae277fcc5
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Aug 18 20:02:11 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 11 13:48:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f27fffb

sys-cluster/teleport: add v4.0.9

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-4.0.9.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index a559443c10b..a2440933ea5 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946
+DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24

diff --git a/sys-cluster/teleport/teleport-4.0.9.ebuild 
b/sys-cluster/teleport/teleport-4.0.9.ebuild
new file mode 100644
index 000..5421480e2d1
--- /dev/null
+++ b/sys-cluster/teleport/teleport-4.0.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0 MIT BSD ISC"
+RESTRICT="test strip"
+SLOT="0"
+
+BDEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-10-11 Thread Joonas Niilola
commit: 891ffa12b5356bacda59659d157103fdae3ceee4
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Oct 11 03:22:44 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 11 13:48:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891ffa12

sys-cluster/teleport: update teleport-.ebuild

* Use EAPI 7
* Update LICENSE
* zip is a BDEPEND

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12744
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/teleport-.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index e68586870d2..a82f2fc86c9 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -1,7 +1,8 @@
 # Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit golang-build systemd
 
 DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
@@ -19,11 +20,11 @@ else
 fi
 
 IUSE="pam"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 MIT BSD ISC"
 RESTRICT="test strip"
 SLOT="0"
 
-DEPEND="app-arch/zip"
+BDEPEND="app-arch/zip"
 RDEPEND="pam? ( sys-libs/pam )"
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-10-11 Thread Joonas Niilola
commit: cb4cc6e2fa439e3aa549a3de6605e97ab0cbc0bc
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Oct 11 03:13:59 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 11 13:48:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4cc6e2

sys-cluster/teleport: remove v4.0.1

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-4.0.1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 43785bc27af..0d6abc02555 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,2 @@
-DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946
 DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
 DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5

diff --git a/sys-cluster/teleport/teleport-4.0.1.ebuild 
b/sys-cluster/teleport/teleport-4.0.1.ebuild
deleted file mode 100644
index 546c0f2921f..000
--- a/sys-cluster/teleport/teleport-4.0.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-10-11 Thread Joonas Niilola
commit: 18049927703f107986a3020db2437a8d2428b9c2
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Oct 11 03:11:48 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 11 13:48:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18049927

sys-cluster/teleport: add v4.1.1

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-4.1.1.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index a2440933ea5..65099bc6ce4 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946
 DIST teleport-4.0.9.tar.gz 34927445 BLAKE2B 
267ef0ab269efc405f0522a6442d9b626dea62c800717cf01a9f0bdf40a34015b218c58cbd0e5ccbdd17634e91516ece35f6bbfb17864411ef02ae60cf3391eb
 SHA512 
6a9fb59780d4da7f62a2f204f7f2e4321a7b73d9fd60e2de7d7ac1cdcf05e24895115e754aacdbdb75f4c21d40f1e42808e7f4e6bbb54df461167b45ebb7de24
+DIST teleport-4.1.1.tar.gz 42243379 BLAKE2B 
e01a32546bf3ecf52162d004ad24661160193e1586a98d045d83df63f01fc519ae2a6d4ad945da25a6509c153aacc3e23429be343914c35720f1b62da28d3e72
 SHA512 
7ed950ac7089052ec54872d9cf2ee12351a944268169ff442f0b1c91b3ad58fdf49c3c17839c8f330ae3c6192e9f4244a41cc2ba88f58b8f5435e334007348a5

diff --git a/sys-cluster/teleport/teleport-4.1.1.ebuild 
b/sys-cluster/teleport/teleport-4.1.1.ebuild
new file mode 100644
index 000..5421480e2d1
--- /dev/null
+++ b/sys-cluster/teleport/teleport-4.1.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0 MIT BSD ISC"
+RESTRICT="test strip"
+SLOT="0"
+
+BDEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-27 Thread Michał Górny
commit: 476087e13f982f5249e1add438c7dd3422eb6b50
Author: Graeme Lawes  gmail  com>
AuthorDate: Tue Jun 25 02:54:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 14:56:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476087e1

sys-cluster/teleport: remove v4.0.0

Replaced by v4.0.1 - misc buxfixes

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12321
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-4.0.0.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 44fb4ed605e..a559443c10b 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,2 @@
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
-DIST teleport-4.0.0.tar.gz 34913323 BLAKE2B 
2890d18fed82d9a2da18be6ce9c981ddc1a4ac374862d853f09001c88ed3f9092b9a006c98f6d489dcaae8a702827f98ee12e870708d6746f429f9457debbb33
 SHA512 
b59ee7e99808475d50e84feff160e2a3c71f04d67dc7d8caa9476251c3e1f51d057de7384f4750b60c121db630c49a8315f9903d8f7ae3e04469f4532ca7078c
 DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946

diff --git a/sys-cluster/teleport/teleport-4.0.0.ebuild 
b/sys-cluster/teleport/teleport-4.0.0.ebuild
deleted file mode 100644
index 546c0f2921f..000
--- a/sys-cluster/teleport/teleport-4.0.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-27 Thread Michał Górny
commit: acb75018d8c55fab6e74784431bd6246f06dadfa
Author: Graeme Lawes  gmail  com>
AuthorDate: Tue Jun 25 02:54:32 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 14:56:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb75018

sys-cluster/teleport: add v4.0.1

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-4.0.1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 71c801b74e9..44fb4ed605e 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.0.tar.gz 34913323 BLAKE2B 
2890d18fed82d9a2da18be6ce9c981ddc1a4ac374862d853f09001c88ed3f9092b9a006c98f6d489dcaae8a702827f98ee12e870708d6746f429f9457debbb33
 SHA512 
b59ee7e99808475d50e84feff160e2a3c71f04d67dc7d8caa9476251c3e1f51d057de7384f4750b60c121db630c49a8315f9903d8f7ae3e04469f4532ca7078c
+DIST teleport-4.0.1.tar.gz 34914632 BLAKE2B 
88861a36b4cea94d24ccbb03294202a88845f444df31642b2878d8e3c9c0f46f4ed70b4f713e32889895e59be3629c1e861446c051ea5a74aaa4b7b044f17f6b
 SHA512 
db5d477e430fc7d439e352a2e6605f6662a206b0395268f19d52422994344e1b26bb89f4eae0dd0a453cc0e3d19549bd03959e37e29dccf2b8504994922eb946

diff --git a/sys-cluster/teleport/teleport-4.0.1.ebuild 
b/sys-cluster/teleport/teleport-4.0.1.ebuild
new file mode 100644
index 000..546c0f2921f
--- /dev/null
+++ b/sys-cluster/teleport/teleport-4.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: abe7ef7ebea34cf1f17094557f083a8488df9d5c
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:05:54 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe7ef7e

sys-cluster/teleport: add v3.2.6

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-3.2.6.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index dfd4ed553fa..f444c13ff08 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
 DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da
+DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c

diff --git a/sys-cluster/teleport/teleport-3.2.6.ebuild 
b/sys-cluster/teleport/teleport-3.2.6.ebuild
new file mode 100644
index 000..546c0f2921f
--- /dev/null
+++ b/sys-cluster/teleport/teleport-3.2.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: 354720eb9ddc98735768a5dce16f6e21e3e441c9
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:07:39 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354720eb

sys-cluster/teleport: remove v2.7.9

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |   1 -
 sys-cluster/teleport/files/teleport-2.yaml | 130 -
 sys-cluster/teleport/teleport-2.7.9.ebuild |  49 ---
 3 files changed, 180 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index c2553415a1e..f1cca18f68b 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c

diff --git a/sys-cluster/teleport/files/teleport-2.yaml 
b/sys-cluster/teleport/files/teleport-2.yaml
deleted file mode 100644
index 384dea937c9..000
--- a/sys-cluster/teleport/files/teleport-2.yaml
+++ /dev/null
@@ -1,130 +0,0 @@
-# By default, this file should be stored in /etc/teleport.yaml
-## IMPORTANT ##
-#When editing YAML configuration, please pay attention to how your editor 
handles white space. YAML requires consistent handling of tab characters
-# This section of the configuration file applies to all teleport
-# services.
-teleport:
-# nodename allows to assign an alternative name this node can be reached 
by.
-# by default it's equal to hostname
-# nodename: graviton
-
-# Data directory where Teleport keeps its data, like keys/users for 
-# authentication (if using the default BoltDB back-end)
-data_dir: /var/lib/teleport
-
-# one-time invitation token used to join a cluster. it is not used on 
-# subsequent starts
-auth_token: -token-
-
-# when running in multi-homed or NATed environments Teleport nodes need 
-# to know which IP it will be reachable at by other nodes
-# public_addr: 10.1.0.5
-
-# list of auth servers in a cluster. you will have more than one auth 
server
-# if you configure teleport auth to run in HA configuration
-auth_servers: 
-- localhost:3025
-
-# Teleport throttles all connections to avoid abuse. These settings allow
-# you to adjust the default limits
-connection_limits:
-max_connections: 1000
-max_users: 250
-
-# Logging configuration. Possible output values are 'stdout', 'stderr' and 
-# 'syslog'. Possible severity values are INFO, WARN and ERROR (default).
-log:
-output: stderr
-severity: ERROR
-
-# Type of storage used for keys. You need to configure this to use etcd
-# backend if you want to run Teleport in HA configuration.
-storage:
-type: bolt
-
-# This section configures the 'auth service':
-auth_service:
-enabled: yes
-
-# defines the types and second factors the auth server supports
-authentication:
-# second_factor can be off, otp, or u2f
-second_factor: otp
-
-# this section is only used if using u2f
-u2f:
-# app_id should point to the Web UI.
-app_id: https://localhost:3080
-
-# facets should list all proxy servers.
-facets:
-- https://localhost
-- https://localhost:3080
-
-# IP and the port to bind to. Other Teleport nodes will be connecting to
-# this port (AKA "Auth API" or "Cluster API") to validate client 
-# certificates 
-listen_addr: 0.0.0.0:3025
-
-# Pre-defined tokens for adding new nodes to a cluster. Each token 
specifies
-# the role a new node will be allowed to assume. The more secure way to 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: f2054cd53b75238ba84adde8c0a32bcc8b9a0402
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:08:37 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2054cd5

sys-cluster/teleport: remove v3.2.0

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12288
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-3.2.0.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 78c257d2bf3..71c801b74e9 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,2 @@
-DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.0.tar.gz 34913323 BLAKE2B 
2890d18fed82d9a2da18be6ce9c981ddc1a4ac374862d853f09001c88ed3f9092b9a006c98f6d489dcaae8a702827f98ee12e870708d6746f429f9457debbb33
 SHA512 
b59ee7e99808475d50e84feff160e2a3c71f04d67dc7d8caa9476251c3e1f51d057de7384f4750b60c121db630c49a8315f9903d8f7ae3e04469f4532ca7078c

diff --git a/sys-cluster/teleport/teleport-3.2.0.ebuild 
b/sys-cluster/teleport/teleport-3.2.0.ebuild
deleted file mode 100644
index 0ed9a5588b2..000
--- a/sys-cluster/teleport/teleport-3.2.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: a98d5007f46b36d5069c9f8541267c1ead647840
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:07:17 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98d5007

sys-cluster/teleport: add v4.0.0

Update files/teleport.yaml for v3.2.*/v4.0.0 features, as v3.1.* and
below have been removed

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |   1 +
 sys-cluster/teleport/files/teleport.yaml   | 123 -
 sys-cluster/teleport/teleport-4.0.0.ebuild |  49 
 3 files changed, 117 insertions(+), 56 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index f444c13ff08..c2553415a1e 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -2,3 +2,4 @@ DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb9
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
+DIST teleport-4.0.0.tar.gz 34913323 BLAKE2B 
2890d18fed82d9a2da18be6ce9c981ddc1a4ac374862d853f09001c88ed3f9092b9a006c98f6d489dcaae8a702827f98ee12e870708d6746f429f9457debbb33
 SHA512 
b59ee7e99808475d50e84feff160e2a3c71f04d67dc7d8caa9476251c3e1f51d057de7384f4750b60c121db630c49a8315f9903d8f7ae3e04469f4532ca7078c

diff --git a/sys-cluster/teleport/files/teleport.yaml 
b/sys-cluster/teleport/files/teleport.yaml
index 0ab548c1a46..c6b012590f2 100644
--- a/sys-cluster/teleport/files/teleport.yaml
+++ b/sys-cluster/teleport/files/teleport.yaml
@@ -7,7 +7,7 @@ teleport:
 # by default it's equal to hostname
 # nodename: graviton
 
-# Data directory where Teleport daemon keeps its data. 
+# Data directory where Teleport daemon keeps its data.
 # See "Filesystem Layout" section above for more details.
 data_dir: /var/lib/teleport
 
@@ -17,7 +17,7 @@ teleport:
 
 # When running in multi-homed or NATed environments Teleport nodes need
 # to know which IP it will be reachable at by other nodes
-# 
+#
 # This value can be specified as FQDN e.g. host.example.com
 # advertise_ip: 10.1.0.5
 
@@ -38,8 +38,10 @@ teleport:
 output: stderr
 severity: ERROR
 
-# Type of storage used for keys. You need to configure this to use etcd or 
-# a DynamoDB backend if you want to run Teleport in HA configuration.
+# Configuration for the storage back-end used for the cluster state and the
+# audit log. Several back-end types are supported. See "High Availability"
+# section of this Admin Manual below to learn how to configure DynamoDB, 
+# S3, etcd and other highly available back-ends.
 storage:
 # By default teleport uses the `data_dir` directory on a local 
filesystem
 type: dir
@@ -54,50 +56,38 @@ teleport:
 
 # Cipher algorithms that the server supports. This section only needs to be
 # set if you want to override the defaults.
-ciphers:
-  - aes128-ctr
-  - aes192-ctr
-  - aes256-ctr
-  - aes128-...@openssh.com
+# ciphers:
+#   - aes128-ctr
+#   - aes192-ctr
+#   - aes256-ctr
+#   - aes128-...@openssh.com
+#   - chacha20-poly1...@openssh.com
 
 # Key exchange algorithms that the server supports. This section only needs
 # to be set if you want to override the defaults.
-kex_algos:
-  - curve25519-sha...@libssh.org
-  - ecdh-sha2-nistp256
-  - ecdh-sha2-nistp384
-  - ecdh-sha2-nistp521
-  - diffie-hellman-group14-sha1
-  - diffie-hellman-group1-sha1
+# kex_algos:
+#   - curve25519-sha...@libssh.org
+#   - ecdh-sha2-nistp256
+#   - ecdh-sha2-nistp384
+#   - ecdh-sha2-nistp521
 
 # Message authentication code (MAC) algorithms that the server supports.
 # This section only needs to be set if you want to override the defaults.
-mac_algos:
-  - hmac-sha2-256-...@openssh.com
-  - hmac-sha2-256
-  - hmac-sha1
-  - hmac-sha1-96
+# mac_algos:
+#   - 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: 858a439c1dc8cd3bccc12e804ef9e295c43af570
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:08:04 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858a439c

sys-cluster/teleport: remove v3.1.8

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-3.1.8.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index f1cca18f68b..78c257d2bf3 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da
 DIST teleport-3.2.6.tar.gz 22620079 BLAKE2B 
07b4bcb5b53a511c25f0556fad33b461307b524554e993097f634b1751d7fd3c664de0478427efa18dc20e597fb73f3c5bd09ba961754456245e1306372ed0ee
 SHA512 
20be34820f9b9f29c492f8dabe8914012b66ebfb9db51f3dff0e19b8a1f7b85b948cc1036861d03ca6de9e6f30ba0b43caf4760bc95c74e45a38f0cad080820c
 DIST teleport-4.0.0.tar.gz 34913323 BLAKE2B 
2890d18fed82d9a2da18be6ce9c981ddc1a4ac374862d853f09001c88ed3f9092b9a006c98f6d489dcaae8a702827f98ee12e870708d6746f429f9457debbb33
 SHA512 
b59ee7e99808475d50e84feff160e2a3c71f04d67dc7d8caa9476251c3e1f51d057de7384f4750b60c121db630c49a8315f9903d8f7ae3e04469f4532ca7078c

diff --git a/sys-cluster/teleport/teleport-3.1.8.ebuild 
b/sys-cluster/teleport/teleport-3.1.8.ebuild
deleted file mode 100644
index 0ed9a5588b2..000
--- a/sys-cluster/teleport/teleport-3.1.8.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-06-20 Thread Michał Górny
commit: 415efcfb731753e17f3436b30320b30c9de51c53
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 19 23:04:24 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 06:30:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=415efcfb

sys-cluster/teleport: fix ebuild copyright headers

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/teleport-2.7.9.ebuild | 2 +-
 sys-cluster/teleport/teleport-3.1.8.ebuild | 2 +-
 sys-cluster/teleport/teleport-3.2.0.ebuild | 2 +-
 sys-cluster/teleport/teleport-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/teleport/teleport-2.7.9.ebuild 
b/sys-cluster/teleport/teleport-2.7.9.ebuild
index e7bfb7ce040..b3b0fa18f72 100644
--- a/sys-cluster/teleport/teleport-2.7.9.ebuild
+++ b/sys-cluster/teleport/teleport-2.7.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

diff --git a/sys-cluster/teleport/teleport-3.1.8.ebuild 
b/sys-cluster/teleport/teleport-3.1.8.ebuild
index 4a7a27e42a4..0ed9a5588b2 100644
--- a/sys-cluster/teleport/teleport-3.1.8.ebuild
+++ b/sys-cluster/teleport/teleport-3.1.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

diff --git a/sys-cluster/teleport/teleport-3.2.0.ebuild 
b/sys-cluster/teleport/teleport-3.2.0.ebuild
index 3fb8ff680c0..0ed9a5588b2 100644
--- a/sys-cluster/teleport/teleport-3.2.0.ebuild
+++ b/sys-cluster/teleport/teleport-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index 454a646..e68586870d2 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: b5ab1b617a2543b3d103fe7a2ec6ae9cea8f1d7c
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Feb 15 03:16:12 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:05:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ab1b61

sys-cluster/teleport: add v3.1.8.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-3.1.8.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 2bfa712d7d4..8a408562f5f 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -2,4 +2,5 @@ DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d
 DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1
+DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-3.1.8.ebuild 
b/sys-cluster/teleport/teleport-3.1.8.ebuild
new file mode 100644
index 000..4a7a27e42a4
--- /dev/null
+++ b/sys-cluster/teleport/teleport-3.1.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: 88671c9a178435b01dc3a57a2a82fe7889fa5bd7
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Mar  7 00:39:37 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:05:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88671c9a

sys-cluster/teleport: add v2.7.9.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.7.9.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 8a408562f5f..06cd25f10e7 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,5 +1,6 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
+DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
 DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d
 DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e

diff --git a/sys-cluster/teleport/teleport-2.7.9.ebuild 
b/sys-cluster/teleport/teleport-2.7.9.ebuild
new file mode 100644
index 000..e7bfb7ce040
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.7.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}-2.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: af29bf6627302acfd92597b7e0c5e2311935d433
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Mar  7 00:41:09 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:06:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af29bf66

sys-cluster/teleport: remove v2.7.1.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.7.1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 92c46a891cd..f933f87e972 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,5 +1,4 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
-DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-2.7.1.ebuild 
b/sys-cluster/teleport/teleport-2.7.1.ebuild
deleted file mode 100644
index e7bfb7ce040..000
--- a/sys-cluster/teleport/teleport-2.7.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}-2.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: ab67d00436edfd1d292263c3d5f9b63df9c7abcb
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Mar  7 00:40:29 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:06:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab67d004

sys-cluster/teleport: remove v3.0.0.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-3.0.0.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 06cd25f10e7..9149582fadf 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,7 +1,6 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
-DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d
 DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-3.0.0.ebuild 
b/sys-cluster/teleport/teleport-3.0.0.ebuild
deleted file mode 100644
index 4a7a27e42a4..000
--- a/sys-cluster/teleport/teleport-3.0.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: 9d3641b3e0bac117acca8ceaf6e5ecc2bd5572fd
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Mar  7 00:41:36 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:06:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3641b3

sys-cluster/teleport: remove v2.6.7.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.6.7.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index f933f87e972..dfd4ed553fa 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-2.6.7.ebuild 
b/sys-cluster/teleport/teleport-2.6.7.ebuild
deleted file mode 100644
index e7bfb7ce040..000
--- a/sys-cluster/teleport/teleport-2.6.7.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}-2.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: b5c0098f78f050d3dac7cb8d96f81ee367b39f12
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Apr  5 01:40:19 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:05:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c0098f

sys-cluster/teleport: add v3.2.0.

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11593
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-3.2.0.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index f7e6989ca4d..2bfa712d7d4 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -2,3 +2,4 @@ DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d
 DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1
+DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-3.2.0.ebuild 
b/sys-cluster/teleport/teleport-3.2.0.ebuild
new file mode 100644
index 000..3fb8ff680c0
--- /dev/null
+++ b/sys-cluster/teleport/teleport-3.2.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2019-04-09 Thread Patrice Clement
commit: 7e35f7005acd78c604dab90a7b8b88207595d099
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Mar  7 00:40:41 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Apr  9 12:06:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e35f700

sys-cluster/teleport: remove v3.0.1.

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-3.0.1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 9149582fadf..92c46a891cd 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,6 +1,5 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-2.7.9.tar.gz 18221805 BLAKE2B 
c634f97008310c4cabf4020bc8a600de7eb92406e22082aee24b030a5cd8d6bff44b0e0e3ddf405013315064d3342544d0e6f43e120047991e7889e4b1a74f9c
 SHA512 
b609f94f9432c8b205a4cda625c68318343a3472218cd883f003a30587a00963163258c53c25f3fe36a951fc0bd40fdf141fe955b6d36d49435cfd4eff106b59
-DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1
 DIST teleport-3.1.8.tar.gz 22605752 BLAKE2B 
2ddebb0b0c8c42d36d113e409ce04f194e5ed77a7d88dd3e0a5982e303b8db8e013b156693c5fcd038d9d81f2907d17fdb65f82b34bdc84379bb0c46498e53a5
 SHA512 
de834309f96c327b54470deec043a498da969c5f3a872777a44143fceb070bd1c9ee837f218f46dc5b82ee1b40fb869a422b8cf9c22d26618f07a069de165f6e
 DIST teleport-3.2.0.tar.gz 22613098 BLAKE2B 
0ff9675a071f5fb660ad4a7b0e085b9bec01c3d0967bdd206ce29a51addae545c4b2621854cbffdc0f76d0cbc6e5ec8f39e082b80b26ba13d352b1add199c965
 SHA512 
a3fdb520a62361f78632ac1680f86f183a533e47696791586b3c5ff7d505eb167a881c438c6a3dd72395140c521c065c8d8e4b93b5b8c9cbf134688dd8c1f8da

diff --git a/sys-cluster/teleport/teleport-3.0.1.ebuild 
b/sys-cluster/teleport/teleport-3.0.1.ebuild
deleted file mode 100644
index 4a7a27e42a4..000
--- a/sys-cluster/teleport/teleport-3.0.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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="pam"
-LICENSE="Apache-2.0"
-RESTRICT="test strip"
-SLOT="0"
-
-DEPEND="app-arch/zip"
-RDEPEND="pam? ( sys-libs/pam )"
-
-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}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-10-19 Thread Michał Górny
commit: d9641effd3e2961c56f2a539bcaa8f8f2f2496a9
Author: Graeme Lawes  gmail  com>
AuthorDate: Tue Oct 16 14:08:01 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 19 08:16:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9641eff

sys-cluster/teleport: add v3.0.1

Signed-off-by: Graeme Lawes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10157
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-3.0.1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 648071ea426..f7e6989ca4d 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
 DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d
+DIST teleport-3.0.1.tar.gz 22365638 BLAKE2B 
200d7612a56520607f7c157a4e1ff095f8621c2495cef520ce4db7b75f61346e7e5588ca8c9a9b9aa30b87d692c05d488343c3c7b1d30a46e90cacef42ed4172
 SHA512 
9a477ad174f0d7b0179cb4063731ebf0bd7cf31af22fb6db350b12839bfcdc9c8b68847bc33639546bf6b9026ee62ceb3197176f81a36d67f6b070f2eb4d65e1

diff --git a/sys-cluster/teleport/teleport-3.0.1.ebuild 
b/sys-cluster/teleport/teleport-3.0.1.ebuild
new file mode 100644
index 000..4a7a27e42a4
--- /dev/null
+++ b/sys-cluster/teleport/teleport-3.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2018-10-11 Thread Michał Górny
commit: f14bb737f623213056a24a913a1e98353597c91d
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Oct  4 14:57:45 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 11 18:52:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14bb737

sys-cluster/teleport: add v3.0.0

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10060

 sys-cluster/teleport/Manifest  |   1 +
 sys-cluster/teleport/files/teleport.yaml   | 240 +
 sys-cluster/teleport/teleport-3.0.0.ebuild |  49 ++
 3 files changed, 290 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 4297926a089..648071ea426 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
 DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7
+DIST teleport-3.0.0.tar.gz 22365657 BLAKE2B 
a9cfec07ec73970b1050c51819ef4820be95fcd94dce0ffbb62deca38af28a944929c83a9ed2b443a93eb21f55d0cac024b66acf81c5d6939ba8e6b6ba40438a
 SHA512 
8cba0b7471bebe9cdac07b44f17c99b7b323061f310ef0e61a3ebe1c4ea2ca2b1c853177528c4725a83366406e8b1a5aba23ecdd5fba7290bd6cab74ada3340d

diff --git a/sys-cluster/teleport/files/teleport.yaml 
b/sys-cluster/teleport/files/teleport.yaml
new file mode 100644
index 000..0ab548c1a46
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.yaml
@@ -0,0 +1,240 @@
+# By default, this file should be stored in /etc/teleport.yaml
+
+# This section of the configuration file applies to all teleport
+# services.
+teleport:
+# nodename allows to assign an alternative name this node can be reached 
by.
+# by default it's equal to hostname
+# nodename: graviton
+
+# Data directory where Teleport daemon keeps its data. 
+# See "Filesystem Layout" section above for more details.
+data_dir: /var/lib/teleport
+
+# Invitation token used to join a cluster. it is not used on
+# subsequent starts
+# auth_token: -token-
+
+# When running in multi-homed or NATed environments Teleport nodes need
+# to know which IP it will be reachable at by other nodes
+# 
+# This value can be specified as FQDN e.g. host.example.com
+# advertise_ip: 10.1.0.5
+
+# list of auth servers in a cluster. you will have more than one auth 
server
+# if you configure teleport auth to run in HA configuration
+auth_servers:
+- localhost:3025
+
+# Teleport throttles all connections to avoid abuse. These settings allow
+# you to adjust the default limits
+connection_limits:
+max_connections: 1000
+max_users: 250
+
+# Logging configuration. Possible output values are 'stdout', 'stderr' and
+# 'syslog'. Possible severity values are INFO, WARN and ERROR (default).
+log:
+output: stderr
+severity: ERROR
+
+# Type of storage used for keys. You need to configure this to use etcd or 
+# a DynamoDB backend if you want to run Teleport in HA configuration.
+storage:
+# By default teleport uses the `data_dir` directory on a local 
filesystem
+type: dir
+
+# Array of locations where the audit log events will be stored. by
+# default they are stored in `/var/lib/teleport/log`
+# audit_events_uri: [file:///var/lib/teleport/log, 
dynamo://events_table_name]
+
+# Use this setting to configure teleport to store the recorded 
sessions in
+# an AWS S3 bucket. see "Using Amazon S3" chapter for more information.
+# audit_sessions_uri: s3://name-of-s3-bucket
+
+# Cipher algorithms that the server supports. This section only needs to be
+# set if you want to override the defaults.
+ciphers:
+  - aes128-ctr
+  - aes192-ctr
+  - aes256-ctr
+  - aes128-...@openssh.com
+
+# Key exchange algorithms that the server supports. This section only needs
+# to be set if you want to override the defaults.
+kex_algos:
+  - curve25519-sha...@libssh.org
+  - ecdh-sha2-nistp256
+  - ecdh-sha2-nistp384
+  - ecdh-sha2-nistp521
+  - diffie-hellman-group14-sha1
+  - diffie-hellman-group1-sha1
+
+# Message authentication code (MAC) algorithms that the server supports.
+# This section only needs to be set if you want to override the defaults.
+mac_algos:
+   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/, sys-cluster/teleport/files/

2018-10-11 Thread Michał Górny
commit: fa0c17775cb38c262fd74222a7bea12db379dde6
Author: Graeme Lawes  gmail  com>
AuthorDate: Thu Oct  4 00:35:04 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 11 18:52:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0c1777

sys-cluster/teleport: use files/teleport-2.yaml for config file source

Signed-off-by: Graeme Lawes  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 sys-cluster/teleport/files/{teleport.yaml => teleport-2.yaml} | 0
 sys-cluster/teleport/teleport-2.6.7.ebuild| 2 +-
 sys-cluster/teleport/teleport-2.7.1.ebuild| 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/teleport/files/teleport.yaml 
b/sys-cluster/teleport/files/teleport-2.yaml
similarity index 100%
rename from sys-cluster/teleport/files/teleport.yaml
rename to sys-cluster/teleport/files/teleport-2.yaml

diff --git a/sys-cluster/teleport/teleport-2.6.7.ebuild 
b/sys-cluster/teleport/teleport-2.6.7.ebuild
index 4a7a27e42a4..e7bfb7ce040 100644
--- a/sys-cluster/teleport/teleport-2.6.7.ebuild
+++ b/sys-cluster/teleport/teleport-2.6.7.ebuild
@@ -35,7 +35,7 @@ src_install() {
dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
 
insinto /etc/${PN}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+   newins "${FILESDIR}"/${PN}-2.yaml ${PN}.yaml
 
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
newconfd "${FILESDIR}"/${PN}.conf.d ${PN}

diff --git a/sys-cluster/teleport/teleport-2.7.1.ebuild 
b/sys-cluster/teleport/teleport-2.7.1.ebuild
index 4a7a27e42a4..e7bfb7ce040 100644
--- a/sys-cluster/teleport/teleport-2.7.1.ebuild
+++ b/sys-cluster/teleport/teleport-2.7.1.ebuild
@@ -35,7 +35,7 @@ src_install() {
dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
 
insinto /etc/${PN}
-   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+   newins "${FILESDIR}"/${PN}-2.yaml ${PN}.yaml
 
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
newconfd "${FILESDIR}"/${PN}.conf.d ${PN}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2018-08-05 Thread Patrice Clement
commit: e56f33fdbeffc8937b2afa7e7a138a8d62632c65
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Aug  5 03:42:50 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  5 21:47:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56f33fd

sys-cluster/teleport: rename configuration file.

Teleport 2.5 (removed) had different configuration options, revert back
to using standard teleport.yaml filename as config file source

 sys-cluster/teleport/files/teleport-2.6.yaml | 130 ---
 sys-cluster/teleport/files/teleport.yaml |  18 +---
 sys-cluster/teleport/teleport-2.6.7.ebuild   |   2 +-
 3 files changed, 4 insertions(+), 146 deletions(-)

diff --git a/sys-cluster/teleport/files/teleport-2.6.yaml 
b/sys-cluster/teleport/files/teleport-2.6.yaml
deleted file mode 100644
index 384dea937c9..000
--- a/sys-cluster/teleport/files/teleport-2.6.yaml
+++ /dev/null
@@ -1,130 +0,0 @@
-# By default, this file should be stored in /etc/teleport.yaml
-## IMPORTANT ##
-#When editing YAML configuration, please pay attention to how your editor 
handles white space. YAML requires consistent handling of tab characters
-# This section of the configuration file applies to all teleport
-# services.
-teleport:
-# nodename allows to assign an alternative name this node can be reached 
by.
-# by default it's equal to hostname
-# nodename: graviton
-
-# Data directory where Teleport keeps its data, like keys/users for 
-# authentication (if using the default BoltDB back-end)
-data_dir: /var/lib/teleport
-
-# one-time invitation token used to join a cluster. it is not used on 
-# subsequent starts
-auth_token: -token-
-
-# when running in multi-homed or NATed environments Teleport nodes need 
-# to know which IP it will be reachable at by other nodes
-# public_addr: 10.1.0.5
-
-# list of auth servers in a cluster. you will have more than one auth 
server
-# if you configure teleport auth to run in HA configuration
-auth_servers: 
-- localhost:3025
-
-# Teleport throttles all connections to avoid abuse. These settings allow
-# you to adjust the default limits
-connection_limits:
-max_connections: 1000
-max_users: 250
-
-# Logging configuration. Possible output values are 'stdout', 'stderr' and 
-# 'syslog'. Possible severity values are INFO, WARN and ERROR (default).
-log:
-output: stderr
-severity: ERROR
-
-# Type of storage used for keys. You need to configure this to use etcd
-# backend if you want to run Teleport in HA configuration.
-storage:
-type: bolt
-
-# This section configures the 'auth service':
-auth_service:
-enabled: yes
-
-# defines the types and second factors the auth server supports
-authentication:
-# second_factor can be off, otp, or u2f
-second_factor: otp
-
-# this section is only used if using u2f
-u2f:
-# app_id should point to the Web UI.
-app_id: https://localhost:3080
-
-# facets should list all proxy servers.
-facets:
-- https://localhost
-- https://localhost:3080
-
-# IP and the port to bind to. Other Teleport nodes will be connecting to
-# this port (AKA "Auth API" or "Cluster API") to validate client 
-# certificates 
-listen_addr: 0.0.0.0:3025
-
-# Pre-defined tokens for adding new nodes to a cluster. Each token 
specifies
-# the role a new node will be allowed to assume. The more secure way to 
-# add nodes is to use `ttl node add --ttl` command to generate 
auto-expiring 
-# tokens. 
-#
-# We recommend to use tools like `pwgen` to generate sufficiently random
-# tokens of 32+ byte length.
-tokens:
-- "proxy,node:x"
-- "auth:"
-
-# Optional "cluster name" is needed when configuring trust between multiple
-# auth servers. A cluster name is used as part of a signature in 
certificates
-# generated by this CA.
-# 
-# By default an automatically generated GUID is used.
-#
-# IMPORTANT: if you change cluster_name, it will invalidate all generated 
-# certificates and keys (may need to wipe out /var/lib/teleport directory)
-cluster_name: "main"
-
-# This section configures the 'node service':
-ssh_service:
-enabled: yes
-# IP and the port for SSH service to bind to. 
-listen_addr: 0.0.0.0:3022
-# See explanation of labels in "Labeling Nodes" section below
-labels:
-role: master
-type: postgres
-# List (YAML array) of commands to periodically execute and use
-# their output as labels. 
-# See explanation of how this works in "Labeling Nodes" section below
-commands:
-- name: hostname
-  command: [/usr/bin/hostname]
-  period: 1m0s
-- name: arch
-  command: [/usr/bin/uname, -p]
-  

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-08-05 Thread Patrice Clement
commit: c1791841c117a9e53d54dc74d731abe8d806b3eb
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Aug  5 03:40:33 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  5 21:47:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1791841

sys-cluster/teleport: remove v2.5.8.

Closes: https://github.com/gentoo/gentoo/pull/9452

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.5.8.ebuild | 55 --
 2 files changed, 56 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index f5bc0866c78..2137c4cdac5 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1 @@
-DIST teleport-2.5.8.tar.gz 16219666 BLAKE2B 
dd64ef4ca5b26e025e46c88d58e7ec226810b583c4b740416f6cc0caec5ea7d050c732368917ec34c5f8a36c7670d2903baa6c32203a2c5cac972e3a2b4bcbbb
 SHA512 
070eebc889adde017641a833ee0e414c5f56848ac36fa96fb66e83062212307904e8264da758042765ba13d6a0c1b4f5314c1b0e90a2c37723ef1c0aa22889be
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3

diff --git a/sys-cluster/teleport/teleport-2.5.8.ebuild 
b/sys-cluster/teleport/teleport-2.5.8.ebuild
deleted file mode 100644
index 597ac0e391f..000
--- a/sys-cluster/teleport/teleport-2.5.8.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit golang-build systemd
-
-DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
-HOMEPAGE="https://gravitational.com/teleport;
-
-EGO_PN="github.com/gravitational/${PN}/..."
-
-if [[ ${PV} == "" ]] ; 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"
-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}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-08-05 Thread Patrice Clement
commit: 8783871c3cc62b2b3888ff6c5c15e83a0ad4c61f
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Aug  5 03:45:51 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  5 21:47:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8783871c

sys-cluster/teleport: version bump to 2.7.1.

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.7.1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 2137c4cdac5..4297926a089 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1 +1,2 @@
 DIST teleport-2.6.7.tar.gz 16655508 BLAKE2B 
a020ab999b7503cb7aec54ed81532baf9d08b98000f2c659f63859d89f7f2b5fb311c41d6fcafb7d9bf72ea1c97eecfc6ac621b7c90d74f5afe2717edb8b0402
 SHA512 
45002dcf7b99108ca6fffae94d6608188eb9b0bea05cd14068618bfb11c496cad5546e261f349fee70f2acb574e7fc44093683dd991001e01406da6982c5c4c3
+DIST teleport-2.7.1.tar.gz 18222601 BLAKE2B 
86852a1c7f0b083d8fc46bb2e51e287f0d54ca8bd1a6306e21ad325b6f1487682f853eb313a1f6f6fc4dc4d25d93e909ed65dad6d00eb37f878904d6df30f98c
 SHA512 
703056eb99aa91062c8d9cfa7852e3573c8968ce9dea0ff5b076d5225caf8d67b965948a47785cdc7e4341993ef3ed005677859d37653f7d22c05cb2db51efd7

diff --git a/sys-cluster/teleport/teleport-2.7.1.ebuild 
b/sys-cluster/teleport/teleport-2.7.1.ebuild
new file mode 100644
index 000..4a7a27e42a4
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.7.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build systemd
+
+DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
+HOMEPAGE="https://gravitational.com/teleport;
+
+EGO_PN="github.com/gravitational/${PN}/..."
+
+if [[ ${PV} == "" ]] ; 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="pam"
+LICENSE="Apache-2.0"
+RESTRICT="test strip"
+SLOT="0"
+
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
+
+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}
+   newins "${FILESDIR}"/${PN}.yaml ${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 137c6ece701b2ba359ce3a1cd17fc80bc6fa8f3a
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 17:04:56 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137c6ece

sys-cluster/teleport-: use latest ebuild file

 sys-cluster/teleport/teleport-.ebuild | 28 +++-
 1 file changed, 11 insertions(+), 17 deletions(-)

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index a16c3c13370..454a646 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils golang-build systemd user
+inherit golang-build systemd
 
 DESCRIPTION="Modern SSH server for teams managing distributed infrastructure"
 HOMEPAGE="https://gravitational.com/teleport;
@@ -15,29 +15,23 @@ if [[ ${PV} == "" ]] ; then
 else
inherit golang-vcs-snapshot
SRC_URI="https://github.com/gravitational/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm"
 fi
 
+IUSE="pam"
 LICENSE="Apache-2.0"
+RESTRICT="test strip"
 SLOT="0"
-IUSE=""
 
-DEPEND="
-   app-arch/zip
-   >=dev-lang/go-1.7"
-RDEPEND=""
+DEPEND="app-arch/zip"
+RDEPEND="pam? ( sys-libs/pam )"
 
 src_compile() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
-   pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
-   zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
-   popd >/dev/null || die
-   cat "${S}/src/${EGO_PN%/*}/build/webassets.zip" >> 
"src/${EGO_PN%/*}/build/${PN}" || die
-   zip -q -A "${S}/src/${EGO_PN%/*}/build/${PN}" || die
+   BUILDFLAGS="" GOPATH="${S}" emake -j1 -C src/${EGO_PN%/*} full
 }
 
 src_install() {
-   dodir /var/lib/${PN} /etc/${PN}
+   keepdir /var/lib/${PN} /etc/${PN}
dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
 
insinto /etc/${PN}
@@ -46,10 +40,10 @@ src_install() {
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
 
-   systemd_dounit "${FILESDIR}"/${PN}.service
+   systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
 }
 
 src_test() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
 }



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 077e5400247e1f33a76fc287bc63dc4dbbe196a6
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 16:26:47 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=077e5400

sys-cluster/teleport: remove v2.5.2

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.5.2.ebuild | 57 --
 2 files changed, 58 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 9960bd15c1b..64550674d1d 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
 DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 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

diff --git a/sys-cluster/teleport/teleport-2.5.2.ebuild 
b/sys-cluster/teleport/teleport-2.5.2.ebuild
deleted file mode 100644
index 4b4aeb53e58..000
--- a/sys-cluster/teleport/teleport-2.5.2.ebuild
+++ /dev/null
@@ -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} == "" ]] ; 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
-}
-
-src_compile() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 84bfc434f8c894981faf7cc55ced6430ab67b159
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 17:03:21 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84bfc434

sys-cluster/teleport: add v2.6.7

 sys-cluster/teleport/Manifest|   1 +
 sys-cluster/teleport/files/teleport-2.6.yaml | 130 +++
 sys-cluster/teleport/teleport-2.6.7.ebuild   |  49 ++
 3 files changed, 180 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 739e3918ea0..ec5a8a5af89 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -3,3 +3,4 @@ DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b
 DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
 DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 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

diff --git a/sys-cluster/teleport/files/teleport-2.6.yaml 
b/sys-cluster/teleport/files/teleport-2.6.yaml
new file mode 100644
index 000..384dea937c9
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport-2.6.yaml
@@ -0,0 +1,130 @@
+# By default, this file should be stored in /etc/teleport.yaml
+## IMPORTANT ##
+#When editing YAML configuration, please pay attention to how your editor 
handles white space. YAML requires consistent handling of tab characters
+# This section of the configuration file applies to all teleport
+# services.
+teleport:
+# nodename allows to assign an alternative name this node can be reached 
by.
+# by default it's equal to hostname
+# nodename: graviton
+
+# Data directory where Teleport keeps its data, like keys/users for 
+# authentication (if using the default BoltDB back-end)
+data_dir: /var/lib/teleport
+
+# one-time invitation token used to join a cluster. it is not used on 
+# subsequent starts
+auth_token: -token-
+
+# when running in multi-homed or NATed environments Teleport nodes need 
+# to know which IP it will be reachable at by other nodes
+# public_addr: 10.1.0.5
+
+# list of auth servers in a cluster. you will have more than one auth 
server
+# if you configure teleport auth to run in HA configuration
+auth_servers: 
+- localhost:3025
+
+# Teleport throttles all connections to avoid abuse. These settings allow
+# you to adjust the default limits
+connection_limits:
+max_connections: 1000
+max_users: 250
+
+# Logging configuration. Possible output values are 'stdout', 'stderr' and 
+# 'syslog'. Possible severity values are INFO, WARN and ERROR (default).
+log:
+output: stderr
+severity: ERROR
+
+# Type of storage used for keys. You need to configure this to use etcd
+# backend if you want to run Teleport in HA configuration.
+storage:
+type: bolt
+
+# This section configures the 'auth service':
+auth_service:
+enabled: yes
+
+# defines the types and second factors the auth server supports
+authentication:
+# second_factor can be off, otp, or u2f
+second_factor: otp
+
+# this section is only used if using u2f
+u2f:
+# app_id should point to the Web UI.
+app_id: https://localhost:3080
+
+# facets should list all proxy servers.
+facets:
+- https://localhost
+- https://localhost:3080
+
+# IP and the port to bind to. Other Teleport nodes will be connecting to
+# this port (AKA "Auth API" or "Cluster API") to validate client 
+# certificates 
+listen_addr: 0.0.0.0:3025
+
+# Pre-defined tokens for adding new nodes to a cluster. Each token 
specifies
+# the role a new node will be allowed to assume. The more secure way 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 7cd8892d75feef23570bf7b123b19a3cc65396f7
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 16:07:34 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd8892d

sys-cluster/teleport: remove v2.4.5

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.4.5.ebuild | 57 --
 2 files changed, 58 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 36956f77158..9960bd15c1b 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c
 DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
 DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 SHA512 
fae1eb53ff45115551c5002745303cd0e9a044557e6e56cda870a57531700bb68e23b59d2930ac2dd654b200732edc3ed9432e1bc0e9dbf0e7529e980599a323
 DIST teleport-2.5.8.tar.gz 16219666 BLAKE2B 
dd64ef4ca5b26e025e46c88d58e7ec226810b583c4b740416f6cc0caec5ea7d050c732368917ec34c5f8a36c7670d2903baa6c32203a2c5cac972e3a2b4bcbbb
 SHA512 
070eebc889adde017641a833ee0e414c5f56848ac36fa96fb66e83062212307904e8264da758042765ba13d6a0c1b4f5314c1b0e90a2c37723ef1c0aa22889be

diff --git a/sys-cluster/teleport/teleport-2.4.5.ebuild 
b/sys-cluster/teleport/teleport-2.4.5.ebuild
deleted file mode 100644
index 7592c615c45..000
--- a/sys-cluster/teleport/teleport-2.4.5.ebuild
+++ /dev/null
@@ -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} == "" ]] ; 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 4/-j 1/g' src/${EGO_PN%/*}/Makefile
-}
-
-src_compile() {
-   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}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 62d1ee276e9e7bcea933cbb868d6db588e09fb29
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 16:27:41 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d1ee27

sys-cluster/teleport: remove v2.5.6

Closes: https://bugs.gentoo.org/662146

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.5.6.ebuild | 57 --
 2 files changed, 58 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 64550674d1d..f5bc0866c78 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,2 @@
-DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 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

diff --git a/sys-cluster/teleport/teleport-2.5.6.ebuild 
b/sys-cluster/teleport/teleport-2.5.6.ebuild
deleted file mode 100644
index 88cd1995a47..000
--- a/sys-cluster/teleport/teleport-2.5.6.ebuild
+++ /dev/null
@@ -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} == "" ]] ; 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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: 9e83b486cf2231bc67d9307304fd137d7a52829b
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 16:07:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e83b486

sys-cluster/teleport: remove v2.4.2

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.4.2.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index ec5a8a5af89..36956f77158 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1,3 @@
-DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960
 DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c
 DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
 DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 SHA512 
fae1eb53ff45115551c5002745303cd0e9a044557e6e56cda870a57531700bb68e23b59d2930ac2dd654b200732edc3ed9432e1bc0e9dbf0e7529e980599a323

diff --git a/sys-cluster/teleport/teleport-2.4.2.ebuild 
b/sys-cluster/teleport/teleport-2.4.2.ebuild
deleted file mode 100644
index dc7173e18dc..000
--- a/sys-cluster/teleport/teleport-2.4.2.ebuild
+++ /dev/null
@@ -1,51 +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} == "" ]] ; 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.8.3"
-RDEPEND=""
-
-src_compile() {
-   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}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2018-07-26 Thread Michał Górny
commit: a3a9f1d0002e2f2e17c6aaa594192dae4c3a56fc
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  8 16:31:44 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 26 20:39:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a9f1d0

sys-cluster/teleport: add v2.5.8

 sys-cluster/teleport/Manifest   |  1 +
 sys-cluster/teleport/files/teleport-2.5.init.d  | 37 -
 sys-cluster/teleport/files/teleport-2.5.service | 13 --
 sys-cluster/teleport/files/teleport.init.d  | 10 -
 sys-cluster/teleport/files/teleport.service |  8 ++--
 sys-cluster/teleport/teleport-2.5.8.ebuild  | 55 +
 6 files changed, 70 insertions(+), 54 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index d1686e71f31..739e3918ea0 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -2,3 +2,4 @@ DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca29
 DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c
 DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
 DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 SHA512 
fae1eb53ff45115551c5002745303cd0e9a044557e6e56cda870a57531700bb68e23b59d2930ac2dd654b200732edc3ed9432e1bc0e9dbf0e7529e980599a323
+DIST teleport-2.5.8.tar.gz 16219666 BLAKE2B 
dd64ef4ca5b26e025e46c88d58e7ec226810b583c4b740416f6cc0caec5ea7d050c732368917ec34c5f8a36c7670d2903baa6c32203a2c5cac972e3a2b4bcbbb
 SHA512 
070eebc889adde017641a833ee0e414c5f56848ac36fa96fb66e83062212307904e8264da758042765ba13d6a0c1b4f5314c1b0e90a2c37723ef1c0aa22889be

diff --git a/sys-cluster/teleport/files/teleport-2.5.init.d 
b/sys-cluster/teleport/files/teleport-2.5.init.d
deleted file mode 100644
index a951ec5318a..000
--- a/sys-cluster/teleport/files/teleport-2.5.init.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-: ${TELEPORT_CONFDIR:=/etc/teleport}
-: ${TELEPORT_PIDFILE:=/var/run/${SVCNAME}.pid}
-: ${TELEPORT_BINARY:=/usr/bin/teleport}
-: ${TELEPORT_LOGFILE:=/var/log/teleport.log}
-
-depend() {
-   need net
-}
-
-start() {
-   ebegin "Starting Teleport SSH Service"
-   start-stop-daemon --start --exec /usr/bin/teleport \
-   --background --make-pidfile --pidfile "${TELEPORT_PIDFILE}" \
-   --stderr "${TELEPORT_LOGFILE}" \
-   -- start --config="${TELEPORT_CONFDIR}/teleport.yaml" \
-   ${TELEPORT_OPTS}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping Teleport SSH Service"
-   start-stop-daemon --stop --exec /usr/bin/teleport \
-   --pidfile "${TELEPORT_PIDFILE}"
-   eend $?
-}
-
-reload() {
-   checkconfig || return 1
-   ebegin "Reloading ${SVCNAME}"
-   start-stop-daemon --signal HUP \
-   --exec "${TELEPORT_BINARY}" --pidfile "${TELEPORT_PIDFILE}"
-   eend $?
-}

diff --git a/sys-cluster/teleport/files/teleport-2.5.service 
b/sys-cluster/teleport/files/teleport-2.5.service
deleted file mode 100644
index 37b38210aff..000
--- a/sys-cluster/teleport/files/teleport-2.5.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Teleport SSH Service
-After=network.target
-
-[Service]
-Type=simple
-Restart=on-failure
-ExecStart=/usr/bin/teleport start --config=/etc/teleport/teleport.yaml 
--pid-file=/var/run/teleport.pid
-ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/var/run/teleport.pid
-
-[Install]
-WantedBy=multi-user.target

diff --git a/sys-cluster/teleport/files/teleport.init.d 
b/sys-cluster/teleport/files/teleport.init.d
index a5d08b7f3f6..a951ec5318a 100644
--- a/sys-cluster/teleport/files/teleport.init.d
+++ b/sys-cluster/teleport/files/teleport.init.d
@@ -18,7 +18,7 @@ start() {
--stderr "${TELEPORT_LOGFILE}" \
-- start --config="${TELEPORT_CONFDIR}/teleport.yaml" \
${TELEPORT_OPTS}
-   eend $?
+   eend $?
 }
 
 stop() {
@@ -27,3 +27,11 @@ stop() {
--pidfile "${TELEPORT_PIDFILE}"
eend $?
 }
+
+reload() {
+   checkconfig || return 1
+   ebegin "Reloading ${SVCNAME}"
+   start-stop-daemon --signal HUP \
+   --exec "${TELEPORT_BINARY}" 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-04-20 Thread Michał Górny
commit: 72b3418f45409272f6fd7d15dc0182b3b3f6ee9b
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Apr  4 21:44:24 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 20 06:50:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b3418f

sys-cluster/teleport: add v2.5.6

Closes: https://github.com/gentoo/gentoo/pull/7812

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.5.6.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index e34331f1db3..d1686e71f31 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
 DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960
 DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c
 DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5
+DIST teleport-2.5.6.tar.gz 16216649 BLAKE2B 
e5ae8645d59df2684601dab5c222399d89b356592774365ffbca4e3f2d9ed745f2839902ee1e244c7b7eb300230d771daa754e29fc8e79f833715094d4f2
 SHA512 
fae1eb53ff45115551c5002745303cd0e9a044557e6e56cda870a57531700bb68e23b59d2930ac2dd654b200732edc3ed9432e1bc0e9dbf0e7529e980599a323

diff --git a/sys-cluster/teleport/teleport-2.5.6.ebuild 
b/sys-cluster/teleport/teleport-2.5.6.ebuild
new file mode 100644
index 000..88cd1995a47
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.5.6.ebuild
@@ -0,0 +1,57 @@
+# 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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-03-18 Thread Michał Górny
commit: f36bead374f8228e6ae648c92fd3dfdf6abbd70b
Author: Graeme Lawes  gmail  com>
AuthorDate: Sat Mar 17 02:27:04 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 18 08:25:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36bead3

sys-cluster/teleport: add v2.4.5

starting with teleport-v2.4.4, go-1.9.2 was the standard for building
releases: https://github.com/gravitational/teleport/releases/tag/v2.4.4

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.4.5.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 0a87ec92ebb..e28f189fd83 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1 +1,2 @@
 DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960
+DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c

diff --git a/sys-cluster/teleport/teleport-2.4.5.ebuild 
b/sys-cluster/teleport/teleport-2.4.5.ebuild
new file mode 100644
index 000..7592c615c45
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.4.5.ebuild
@@ -0,0 +1,57 @@
+# 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} == "" ]] ; 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 4/-j 1/g' src/${EGO_PN%/*}/Makefile
+}
+
+src_compile() {
+   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}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-03-18 Thread Michał Górny
commit: 45684eed36174e7a093d71bb02ec50ae111b47b9
Author: Graeme Lawes  gmail  com>
AuthorDate: Sat Mar 17 02:25:57 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 18 08:25:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45684eed

sys-cluster/teleport: remove v2.4.0

 sys-cluster/teleport/Manifest  |  1 -
 sys-cluster/teleport/teleport-2.4.0.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index cafc4cbd047..0a87ec92ebb 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1 @@
-DIST teleport-2.4.0.tar.gz 9967298 BLAKE2B 
26cb5610701c4c7deba0ba36b02f43928f4582cd81449045f58281b06a570eb5df762d21e5fef8f7f461855af3ac766fbafd1d2238b6916f9f07e20b7353
 SHA512 
4ed3a38fea4ba5acd52aa44cbc36d2bb1cda1fcb304d7787754b1165eefa3d1c8da65e76bf5c33a3f524ecf43b50145f2e850c927b35f2ec754ed90ed507c54d
 DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960

diff --git a/sys-cluster/teleport/teleport-2.4.0.ebuild 
b/sys-cluster/teleport/teleport-2.4.0.ebuild
deleted file mode 100644
index dc7173e18dc..000
--- a/sys-cluster/teleport/teleport-2.4.0.ebuild
+++ /dev/null
@@ -1,51 +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} == "" ]] ; 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.8.3"
-RDEPEND=""
-
-src_compile() {
-   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}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2018-03-18 Thread Michał Górny
commit: f78d733cc6d1a1fc2d99be48781deafd5fd09854
Author: Graeme Lawes  gmail  com>
AuthorDate: Sat Mar 17 02:29:36 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 18 08:31:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78d733c

sys-cluster/teleport: add v2.5.2

v2.5.0 introduced a new graceful restart capability, this commit
includes a new openrc init script (files/teleport-2.5.init.d) and
systemd service unit (teleport-2.5.service) to support this. Because
v2.4.x is not compatible with this feature, the old init script/service
files are preserved under the original names.

Closes: https://github.com/gentoo/gentoo/pull/7481

 sys-cluster/teleport/Manifest   |  1 +
 sys-cluster/teleport/files/teleport-2.5.init.d  | 37 
 sys-cluster/teleport/files/teleport-2.5.service | 13 ++
 sys-cluster/teleport/teleport-2.5.2.ebuild  | 57 +
 4 files changed, 108 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index e28f189fd83..e34331f1db3 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960
 DIST teleport-2.4.5.tar.gz 9975753 BLAKE2B 
cdb6e577cd565cf6760d73c92cac674571e9b1257d23b280bd96428cca4e7c593738a925d3632a80fed3e0868c5f3aac79800db19bbf2a2b92d495600bf014cc
 SHA512 
15e7e3c52c058625eb525c7c9cda00186eba037edbed89d21fb090b87c05570a1636f328260d4c7445253b0f5b81f321ce0da7d2b7fc316a0a9938ed22cc6c9c
+DIST teleport-2.5.2.tar.gz 16211219 BLAKE2B 
28d0d1bb8d01fba39e79a262744b69a9df27438b9dbb0a25cd23acd57b6004a7f2309e432c0db4188c2e023a0b0299fd64723acfd57c1328d2345bba08fff4a9
 SHA512 
58fad4015824b9077bbd13cc3c6a994e5a54ed367264477854da7b129eea04c4cba44a580650a259b01f390a9f2028d7501df2ac4ab4821d085bbfe1cd887ec5

diff --git a/sys-cluster/teleport/files/teleport-2.5.init.d 
b/sys-cluster/teleport/files/teleport-2.5.init.d
new file mode 100644
index 000..a951ec5318a
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport-2.5.init.d
@@ -0,0 +1,37 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+: ${TELEPORT_CONFDIR:=/etc/teleport}
+: ${TELEPORT_PIDFILE:=/var/run/${SVCNAME}.pid}
+: ${TELEPORT_BINARY:=/usr/bin/teleport}
+: ${TELEPORT_LOGFILE:=/var/log/teleport.log}
+
+depend() {
+   need net
+}
+
+start() {
+   ebegin "Starting Teleport SSH Service"
+   start-stop-daemon --start --exec /usr/bin/teleport \
+   --background --make-pidfile --pidfile "${TELEPORT_PIDFILE}" \
+   --stderr "${TELEPORT_LOGFILE}" \
+   -- start --config="${TELEPORT_CONFDIR}/teleport.yaml" \
+   ${TELEPORT_OPTS}
+   eend $?
+}
+
+stop() {
+   ebegin "Stopping Teleport SSH Service"
+   start-stop-daemon --stop --exec /usr/bin/teleport \
+   --pidfile "${TELEPORT_PIDFILE}"
+   eend $?
+}
+
+reload() {
+   checkconfig || return 1
+   ebegin "Reloading ${SVCNAME}"
+   start-stop-daemon --signal HUP \
+   --exec "${TELEPORT_BINARY}" --pidfile "${TELEPORT_PIDFILE}"
+   eend $?
+}

diff --git a/sys-cluster/teleport/files/teleport-2.5.service 
b/sys-cluster/teleport/files/teleport-2.5.service
new file mode 100644
index 000..37b38210aff
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport-2.5.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Teleport SSH Service
+After=network.target
+
+[Service]
+Type=simple
+Restart=on-failure
+ExecStart=/usr/bin/teleport start --config=/etc/teleport/teleport.yaml 
--pid-file=/var/run/teleport.pid
+ExecReload=/bin/kill -HUP $MAINPID
+PIDFile=/var/run/teleport.pid
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-cluster/teleport/teleport-2.5.2.ebuild 
b/sys-cluster/teleport/teleport-2.5.2.ebuild
new file mode 100644
index 000..4b4aeb53e58
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.5.2.ebuild
@@ -0,0 +1,57 @@
+# 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} == "" ]] ; 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=""

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-03-03 Thread Michał Górny
commit: a9bc35a731fda6b0a1fb61df0ef52e0176dbe8e8
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Mar  2 15:36:50 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  3 10:59:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9bc35a7

sys-cluster/teleport: add v2.4.2

Closes: https://github.com/gentoo/gentoo/pull/7334

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.4.2.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index aef2060eb50..cafc4cbd047 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1 +1,2 @@
 DIST teleport-2.4.0.tar.gz 9967298 BLAKE2B 
26cb5610701c4c7deba0ba36b02f43928f4582cd81449045f58281b06a570eb5df762d21e5fef8f7f461855af3ac766fbafd1d2238b6916f9f07e20b7353
 SHA512 
4ed3a38fea4ba5acd52aa44cbc36d2bb1cda1fcb304d7787754b1165eefa3d1c8da65e76bf5c33a3f524ecf43b50145f2e850c927b35f2ec754ed90ed507c54d
+DIST teleport-2.4.2.tar.gz 9975909 BLAKE2B 
68916e1d15f49448e918b39b2a760f90eca292b07f61e51cfe125eb99c6b36d95a528cfec40b62cd61893ce81edbf5f26066eb59063214369402e2a62d07bd5e
 SHA512 
f9c2f923e05c8fa0b82708955c944e1bd35da2e6bf8b673832e76c91b918a4bc6d797faf0f7572cfaa7341991ef8937cd9b374cdc273271aff45f96b2960

diff --git a/sys-cluster/teleport/teleport-2.4.2.ebuild 
b/sys-cluster/teleport/teleport-2.4.2.ebuild
new file mode 100644
index 000..dc7173e18dc
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.4.2.ebuild
@@ -0,0 +1,51 @@
+# 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} == "" ]] ; 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.8.3"
+RDEPEND=""
+
+src_compile() {
+   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}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/

2018-02-10 Thread Amy Liffey
commit: 0e69d07c21f5ecd4dd7719b3caa8f0f0a44c7aa0
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Feb  3 19:12:25 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Sat Feb 10 17:53:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e69d07c

sys-cluster/teleport: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/7037

 sys-cluster/teleport/files/teleport-makefile-buildflags.patch | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/sys-cluster/teleport/files/teleport-makefile-buildflags.patch 
b/sys-cluster/teleport/files/teleport-makefile-buildflags.patch
deleted file mode 100644
index d3da35350d8..000
--- a/sys-cluster/teleport/files/teleport-makefile-buildflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 work/src/github.com/gravitational/teleport/Makefile
-+++ work/src/github.com/gravitational/teleport/Makefile
-@@ -12,7 +12,7 @@
- PWD ?= `pwd`
- TELEPORT_DEBUG ?= no
- GITTAG=v$(VERSION)
--BUILDFLAGS := $(ADDFLAGS) -ldflags '-w -s'
-+BUILDFLAGS ?= $(ADDFLAGS) -ldflags '-w -s'
- 
- RELEASE=teleport-$(GITTAG)-`go env GOOS`-`go env GOARCH`-bin
- BINARIES=$(BUILDDIR)/tsh $(BUILDDIR)/teleport $(BUILDDIR)/tctl



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-01-27 Thread Michał Górny
commit: 4b149da6529335a09ff31cc3bf961b15a71b1d3f
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jan 10 16:13:30 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 08:24:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b149da6

sys-cluster/teleport: add v2.4.0

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.4.0.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 93a901c8394..26060b3f269 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,3 +1,4 @@
 DIST teleport-2.2.0.tar.gz 7229371 BLAKE2B 
8425326e026e5ca23c43b11947d575efccda98e18519dbcd8b9fb4baa2fecf15b3d66b225b22f40e9d78e0e6d39bbed3c2c569b3d15b5af9099f0f4979259cbd
 SHA512 
bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239
 DIST teleport-2.2.1.tar.gz 7235188 BLAKE2B 
1f1272bdc96bac0eb424660a285232980063b1a82fec60d7ba80f227da34fa22052aae1eba3137ae73e62fc9c71a8037f067f16ac6b22014f3a82fdd88b444fb
 SHA512 
011ffd8fdf42131455c32b8a8ed1ddee0181a8dcd3424dc9cf5ac96c53ce719d369e0bfac4392cc0dec14e78fed94732bbcb56c2db5987ee778ad29e4f7a749d
 DIST teleport-2.2.4.tar.gz 7234252 BLAKE2B 
22c49e3659559ff6f8e55d3b60cf44fce00e67642d16457917b038cbbf48cc32db8caafbf39b70cef2ab39f0d8c1b3cb09e6ea1ab329e8e46c1fdf09b4a3aff2
 SHA512 
859bc34c90c4d1a504b9fa2958e49803c7af8bee3c2692d70590095ef0356a00cf963c5fc30613f3a7852b602fc7fbbd81ca99fc24ce51787f6d8d2e05af4762
+DIST teleport-2.4.0.tar.gz 9967298 BLAKE2B 
26cb5610701c4c7deba0ba36b02f43928f4582cd81449045f58281b06a570eb5df762d21e5fef8f7f461855af3ac766fbafd1d2238b6916f9f07e20b7353
 SHA512 
4ed3a38fea4ba5acd52aa44cbc36d2bb1cda1fcb304d7787754b1165eefa3d1c8da65e76bf5c33a3f524ecf43b50145f2e850c927b35f2ec754ed90ed507c54d

diff --git a/sys-cluster/teleport/teleport-2.4.0.ebuild 
b/sys-cluster/teleport/teleport-2.4.0.ebuild
new file mode 100644
index 000..dc7173e18dc
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.4.0.ebuild
@@ -0,0 +1,51 @@
+# 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} == "" ]] ; 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.8.3"
+RDEPEND=""
+
+src_compile() {
+   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}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}
+
+src_test() {
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2018-01-27 Thread Michał Górny
commit: dde4c8d7cb2c91f4b3439b5bd055c7a18da6fa44
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jan 10 16:14:16 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 08:24:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde4c8d7

sys-cluster/teleport: remove v2.2.0, v2.2.1, v2.2.4

Closes: https://github.com/gentoo/gentoo/pull/6819

 sys-cluster/teleport/Manifest  |  3 --
 sys-cluster/teleport/teleport-2.2.0.ebuild | 58 --
 sys-cluster/teleport/teleport-2.2.1.ebuild | 58 --
 sys-cluster/teleport/teleport-2.2.4.ebuild | 58 --
 4 files changed, 177 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 26060b3f269..aef2060eb50 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,4 +1 @@
-DIST teleport-2.2.0.tar.gz 7229371 BLAKE2B 
8425326e026e5ca23c43b11947d575efccda98e18519dbcd8b9fb4baa2fecf15b3d66b225b22f40e9d78e0e6d39bbed3c2c569b3d15b5af9099f0f4979259cbd
 SHA512 
bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239
-DIST teleport-2.2.1.tar.gz 7235188 BLAKE2B 
1f1272bdc96bac0eb424660a285232980063b1a82fec60d7ba80f227da34fa22052aae1eba3137ae73e62fc9c71a8037f067f16ac6b22014f3a82fdd88b444fb
 SHA512 
011ffd8fdf42131455c32b8a8ed1ddee0181a8dcd3424dc9cf5ac96c53ce719d369e0bfac4392cc0dec14e78fed94732bbcb56c2db5987ee778ad29e4f7a749d
-DIST teleport-2.2.4.tar.gz 7234252 BLAKE2B 
22c49e3659559ff6f8e55d3b60cf44fce00e67642d16457917b038cbbf48cc32db8caafbf39b70cef2ab39f0d8c1b3cb09e6ea1ab329e8e46c1fdf09b4a3aff2
 SHA512 
859bc34c90c4d1a504b9fa2958e49803c7af8bee3c2692d70590095ef0356a00cf963c5fc30613f3a7852b602fc7fbbd81ca99fc24ce51787f6d8d2e05af4762
 DIST teleport-2.4.0.tar.gz 9967298 BLAKE2B 
26cb5610701c4c7deba0ba36b02f43928f4582cd81449045f58281b06a570eb5df762d21e5fef8f7f461855af3ac766fbafd1d2238b6916f9f07e20b7353
 SHA512 
4ed3a38fea4ba5acd52aa44cbc36d2bb1cda1fcb304d7787754b1165eefa3d1c8da65e76bf5c33a3f524ecf43b50145f2e850c927b35f2ec754ed90ed507c54d

diff --git a/sys-cluster/teleport/teleport-2.2.0.ebuild 
b/sys-cluster/teleport/teleport-2.2.0.ebuild
deleted file mode 100644
index 90fddb344c0..000
--- a/sys-cluster/teleport/teleport-2.2.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 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} == "" ]] ; 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
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-RESTRICT="test"
-
-DEPEND="
-   app-arch/zip
-   >=dev-lang/go-1.8.3"
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${PN}-makefile-buildflags.patch )
-
-src_compile() {
-   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
-   pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
-   zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
-   popd >/dev/null || die
-   cat "${S}/src/${EGO_PN%/*}/build/webassets.zip" >> 
"src/${EGO_PN%/*}/build/${PN}" || die
-   zip -q -A "${S}/src/${EGO_PN%/*}/build/${PN}" || die
-}
-
-src_install() {
-   dodir /var/lib/${PN} /etc/${PN}
-   dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
-
-   insinto /etc/${PN}
-   doins "${FILESDIR}"/${PN}.yaml
-
-   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
-   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
-}
-
-src_test() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
-}

diff --git a/sys-cluster/teleport/teleport-2.2.1.ebuild 
b/sys-cluster/teleport/teleport-2.2.1.ebuild
deleted file mode 100644
index 90fddb344c0..000
--- a/sys-cluster/teleport/teleport-2.2.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 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} == "" ]] ; 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"
-  

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2017-09-02 Thread Michael Palimaka
commit: 00bd2f9524ff99b2d17f1cc79c9d5b678e1576f7
Author: Graeme Lawes  gmail  com>
AuthorDate: Sun Jul  2 13:48:26 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 15:20:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00bd2f95

sys-cluster/teleport: fix src_test, restrict tests

src_test needs the same GOPATH as src_compile to run.  Some tests are
currently failing, so add RESTRICT=test until upstream devs can fix
tests.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=623430

 sys-cluster/teleport/teleport-2.2.0.ebuild | 5 +
 sys-cluster/teleport/teleport-2.2.1.ebuild | 5 +
 sys-cluster/teleport/teleport-.ebuild  | 4 
 3 files changed, 14 insertions(+)

diff --git a/sys-cluster/teleport/teleport-2.2.0.ebuild 
b/sys-cluster/teleport/teleport-2.2.0.ebuild
index 3fafc3ed333..90fddb344c0 100644
--- a/sys-cluster/teleport/teleport-2.2.0.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.0.ebuild
@@ -21,6 +21,7 @@ fi
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE=""
+RESTRICT="test"
 
 DEPEND="
app-arch/zip
@@ -51,3 +52,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
 }
+
+src_test() {
+   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}

diff --git a/sys-cluster/teleport/teleport-2.2.1.ebuild 
b/sys-cluster/teleport/teleport-2.2.1.ebuild
index 3fafc3ed333..90fddb344c0 100644
--- a/sys-cluster/teleport/teleport-2.2.1.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.1.ebuild
@@ -21,6 +21,7 @@ fi
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE=""
+RESTRICT="test"
 
 DEPEND="
app-arch/zip
@@ -51,3 +52,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
 }
+
+src_test() {
+   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index 3e870fac4bd..a16c3c13370 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -49,3 +49,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
 }
+
+src_test() {
+   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2017-08-19 Thread Michał Górny
commit: 0e0fa054d2f24c7ff4512a1c48dde3f30841c2dc
Author: Graeme Lawes  gmail  com>
AuthorDate: Sat Jul  1 09:01:34 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 18:20:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0fa054

sys-cluster/teleport: add teleport v.2.2.4

 sys-cluster/teleport/Manifest  | 1 +
 sys-cluster/teleport/teleport-2.2.0.ebuild | 2 +-
 sys-cluster/teleport/teleport-2.2.1.ebuild | 2 +-
 .../teleport/{teleport-2.2.0.ebuild => teleport-2.2.4.ebuild}  | 7 ++-
 sys-cluster/teleport/teleport-.ebuild  | 2 +-
 5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index 0cd526ab748..4d5b5f9f743 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1,2 +1,3 @@
 DIST teleport-2.2.0.tar.gz 7229371 SHA256 
b12bea0474a0ce5f4df10729607661b1afbecd5e95083835ccee7b54493c9452 SHA512 
bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239
 WHIRLPOOL 
5b128fda80b1ce4afe60e10e6d5d9e83f621f6a405e713af7d1b988562038aa927c9f7c733a927a3aa724c261d058dba1fa75526dd2eb9051b1e6fe4c984004c
 DIST teleport-2.2.1.tar.gz 7235188 SHA256 
5a5c7be4615a3ef3e6915a4330b71cd063dd3a86013b8a72a5dbbca882eb28ac SHA512 
011ffd8fdf42131455c32b8a8ed1ddee0181a8dcd3424dc9cf5ac96c53ce719d369e0bfac4392cc0dec14e78fed94732bbcb56c2db5987ee778ad29e4f7a749d
 WHIRLPOOL 
988da053d7c85acfe1103696e33eff9fbb37d4feb5af580b1fb7b8995ca7ec449786c997619f81717816298b4cdc0bf26b823ac62b3c85ce72d3bdd783d02215
+DIST teleport-2.2.4.tar.gz 7234252 SHA256 
25624d3b8dff987eab70cfadd0fe55a96d741ef8955064cd6e51e718da7f0363 SHA512 
859bc34c90c4d1a504b9fa2958e49803c7af8bee3c2692d70590095ef0356a00cf963c5fc30613f3a7852b602fc7fbbd81ca99fc24ce51787f6d8d2e05af4762
 WHIRLPOOL 
4572b9b0cd9b84a579b99135759cd270d6b6c1f4590a990f3652bd4a80ce80f54e061564518500615ac77a321bebfd1476596a83e822b33a166fa1b3ae62311f

diff --git a/sys-cluster/teleport/teleport-2.2.0.ebuild 
b/sys-cluster/teleport/teleport-2.2.0.ebuild
index 50aac8796fe..73701f3ef24 100644
--- a/sys-cluster/teleport/teleport-2.2.0.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.0.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://gravitational.com/teleport;
 
 EGO_PN="github.com/gravitational/${PN}/..."
 
-if [ ${PV} == "" ] ; then
+if [[ ${PV} == "" ]] ; then
inherit git-r3 golang-vcs
EGIT_REPO_URI="https://github.com/gravitational/${PN}.git;
 else

diff --git a/sys-cluster/teleport/teleport-2.2.1.ebuild 
b/sys-cluster/teleport/teleport-2.2.1.ebuild
index 50aac8796fe..73701f3ef24 100644
--- a/sys-cluster/teleport/teleport-2.2.1.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://gravitational.com/teleport;
 
 EGO_PN="github.com/gravitational/${PN}/..."
 
-if [ ${PV} == "" ] ; then
+if [[ ${PV} == "" ]] ; then
inherit git-r3 golang-vcs
EGIT_REPO_URI="https://github.com/gravitational/${PN}.git;
 else

diff --git a/sys-cluster/teleport/teleport-2.2.0.ebuild 
b/sys-cluster/teleport/teleport-2.2.4.ebuild
similarity index 92%
copy from sys-cluster/teleport/teleport-2.2.0.ebuild
copy to sys-cluster/teleport/teleport-2.2.4.ebuild
index 50aac8796fe..d4cdaf815da 100644
--- a/sys-cluster/teleport/teleport-2.2.0.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.4.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://gravitational.com/teleport;
 
 EGO_PN="github.com/gravitational/${PN}/..."
 
-if [ ${PV} == "" ] ; then
+if [[ ${PV} == "" ]] ; then
inherit git-r3 golang-vcs
EGIT_REPO_URI="https://github.com/gravitational/${PN}.git;
 else
@@ -21,6 +21,7 @@ fi
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE=""
+RESTRICT="test"
 
 DEPEND="
app-arch/zip
@@ -49,3 +50,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
 }
+
+src_test() {
+   GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index 87502805344..99620ea6684 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://gravitational.com/teleport;
 
 EGO_PN="github.com/gravitational/${PN}/..."
 
-if [ ${PV} == "" ] ; then
+if [[ ${PV} == "" ]] ; then
inherit git-r3 golang-vcs
EGIT_REPO_URI="https://github.com/gravitational/${PN}.git;
 else



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/, sys-cluster/teleport/files/

2017-08-19 Thread Michał Górny
commit: 3868a4ae836f49d059d295c39a94a1fca4675d4a
Author: Graeme Lawes  gmail  com>
AuthorDate: Fri Aug 18 03:37:59 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 18:20:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3868a4ae

sys-cluster/teleport: don't pre-strip binaries

Needed to patch Makefile to allow BUILDFLAGS to be overridden.  This
will be fixed in later upstream releases.

 sys-cluster/teleport/files/teleport-makefile-buildflags.patch | 11 +++
 sys-cluster/teleport/teleport-2.2.0.ebuild|  4 +++-
 sys-cluster/teleport/teleport-2.2.1.ebuild|  4 +++-
 sys-cluster/teleport/teleport-2.2.4.ebuild|  4 +++-
 sys-cluster/teleport/teleport-.ebuild |  2 +-
 5 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/teleport/files/teleport-makefile-buildflags.patch 
b/sys-cluster/teleport/files/teleport-makefile-buildflags.patch
new file mode 100644
index 000..d3da35350d8
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport-makefile-buildflags.patch
@@ -0,0 +1,11 @@
+--- work/src/github.com/gravitational/teleport/Makefile
 work/src/github.com/gravitational/teleport/Makefile
+@@ -12,7 +12,7 @@
+ PWD ?= `pwd`
+ TELEPORT_DEBUG ?= no
+ GITTAG=v$(VERSION)
+-BUILDFLAGS := $(ADDFLAGS) -ldflags '-w -s'
++BUILDFLAGS ?= $(ADDFLAGS) -ldflags '-w -s'
+ 
+ RELEASE=teleport-$(GITTAG)-`go env GOOS`-`go env GOARCH`-bin
+ BINARIES=$(BUILDDIR)/tsh $(BUILDDIR)/teleport $(BUILDDIR)/tctl

diff --git a/sys-cluster/teleport/teleport-2.2.0.ebuild 
b/sys-cluster/teleport/teleport-2.2.0.ebuild
index 73701f3ef24..3fafc3ed333 100644
--- a/sys-cluster/teleport/teleport-2.2.0.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.0.ebuild
@@ -27,8 +27,10 @@ DEPEND="
>=dev-lang/go-1.8.3"
 RDEPEND=""
 
+PATCHES=( "${FILESDIR}"/${PN}-makefile-buildflags.patch )
+
 src_compile() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*}
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
popd >/dev/null || die

diff --git a/sys-cluster/teleport/teleport-2.2.1.ebuild 
b/sys-cluster/teleport/teleport-2.2.1.ebuild
index 73701f3ef24..3fafc3ed333 100644
--- a/sys-cluster/teleport/teleport-2.2.1.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.1.ebuild
@@ -27,8 +27,10 @@ DEPEND="
>=dev-lang/go-1.8.3"
 RDEPEND=""
 
+PATCHES=( "${FILESDIR}"/${PN}-makefile-buildflags.patch )
+
 src_compile() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*}
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
popd >/dev/null || die

diff --git a/sys-cluster/teleport/teleport-2.2.4.ebuild 
b/sys-cluster/teleport/teleport-2.2.4.ebuild
index d4cdaf815da..90fddb344c0 100644
--- a/sys-cluster/teleport/teleport-2.2.4.ebuild
+++ b/sys-cluster/teleport/teleport-2.2.4.ebuild
@@ -28,8 +28,10 @@ DEPEND="
>=dev-lang/go-1.8.3"
 RDEPEND=""
 
+PATCHES=( "${FILESDIR}"/${PN}-makefile-buildflags.patch )
+
 src_compile() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*}
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
popd >/dev/null || die

diff --git a/sys-cluster/teleport/teleport-.ebuild 
b/sys-cluster/teleport/teleport-.ebuild
index 99620ea6684..3e870fac4bd 100644
--- a/sys-cluster/teleport/teleport-.ebuild
+++ b/sys-cluster/teleport/teleport-.ebuild
@@ -28,7 +28,7 @@ DEPEND="
 RDEPEND=""
 
 src_compile() {
-   GOPATH="${S}" emake -C src/${EGO_PN%/*}
+   BUILDFLAGS="" GOPATH="${S}" emake -C src/${EGO_PN%/*}
pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
popd >/dev/null || die



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/

2017-06-23 Thread Michał Górny
commit: 0724ec6307b264be0e4747a7d9d57eaed9df6767
Author: Graeme Lawes  gmail  com>
AuthorDate: Wed Jun 21 23:49:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 23 13:50:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0724ec63

sys-cluster/teleport: add teleport v2.2.1

Closes: https://github.com/gentoo/gentoo/pull/4968

 sys-cluster/teleport/Manifest  |  1 +
 sys-cluster/teleport/teleport-2.2.1.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
index c1a217ba386..0cd526ab748 100644
--- a/sys-cluster/teleport/Manifest
+++ b/sys-cluster/teleport/Manifest
@@ -1 +1,2 @@
 DIST teleport-2.2.0.tar.gz 7229371 SHA256 
b12bea0474a0ce5f4df10729607661b1afbecd5e95083835ccee7b54493c9452 SHA512 
bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239
 WHIRLPOOL 
5b128fda80b1ce4afe60e10e6d5d9e83f621f6a405e713af7d1b988562038aa927c9f7c733a927a3aa724c261d058dba1fa75526dd2eb9051b1e6fe4c984004c
+DIST teleport-2.2.1.tar.gz 7235188 SHA256 
5a5c7be4615a3ef3e6915a4330b71cd063dd3a86013b8a72a5dbbca882eb28ac SHA512 
011ffd8fdf42131455c32b8a8ed1ddee0181a8dcd3424dc9cf5ac96c53ce719d369e0bfac4392cc0dec14e78fed94732bbcb56c2db5987ee778ad29e4f7a749d
 WHIRLPOOL 
988da053d7c85acfe1103696e33eff9fbb37d4feb5af580b1fb7b8995ca7ec449786c997619f81717816298b4cdc0bf26b823ac62b3c85ce72d3bdd783d02215

diff --git a/sys-cluster/teleport/teleport-2.2.1.ebuild 
b/sys-cluster/teleport/teleport-2.2.1.ebuild
new file mode 100644
index 000..50aac8796fe
--- /dev/null
+++ b/sys-cluster/teleport/teleport-2.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 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} == "" ] ; 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
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   app-arch/zip
+   >=dev-lang/go-1.8.3"
+RDEPEND=""
+
+src_compile() {
+   GOPATH="${S}" emake -C src/${EGO_PN%/*}
+   pushd src/${EGO_PN%/*}/web/dist >/dev/null || die
+   zip -qr "${S}/src/${EGO_PN%/*}/build/webassets.zip" . || die
+   popd >/dev/null || die
+   cat "${S}/src/${EGO_PN%/*}/build/webassets.zip" >> 
"src/${EGO_PN%/*}/build/${PN}" || die
+   zip -q -A "${S}/src/${EGO_PN%/*}/build/${PN}" || die
+}
+
+src_install() {
+   dodir /var/lib/${PN} /etc/${PN}
+   dobin src/${EGO_PN%/*}/build/{tsh,tctl,teleport}
+
+   insinto /etc/${PN}
+   doins "${FILESDIR}"/${PN}.yaml
+
+   newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
+
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/files/, sys-cluster/teleport/

2017-06-14 Thread Michał Górny
commit: 3a6cc61bfeee218f02161b3881bcf5efeb8a2624
Author: Graeme Lawes  gmail  com>
AuthorDate: Mon May 29 17:28:38 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 07:48:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6cc61b

sys-cluster/teleport: new package, #620054

Multi-region SSH for teams managing distributed server clusters.

Closes: https://github.com/gentoo/gentoo/pull/4802
Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sys-cluster/teleport/Manifest|   1 +
 sys-cluster/teleport/files/teleport.conf.d   |  17 +++
 sys-cluster/teleport/files/teleport.init.d   |  29 +
 sys-cluster/teleport/files/teleport.service  |  11 ++
 sys-cluster/teleport/files/teleport.service.conf |   3 +
 sys-cluster/teleport/files/teleport.yaml | 142 +++
 sys-cluster/teleport/metadata.xml|  17 +++
 sys-cluster/teleport/teleport-2.2.0.ebuild   |  51 
 sys-cluster/teleport/teleport-.ebuild|  51 
 9 files changed, 322 insertions(+)

diff --git a/sys-cluster/teleport/Manifest b/sys-cluster/teleport/Manifest
new file mode 100644
index 000..c1a217ba386
--- /dev/null
+++ b/sys-cluster/teleport/Manifest
@@ -0,0 +1 @@
+DIST teleport-2.2.0.tar.gz 7229371 SHA256 
b12bea0474a0ce5f4df10729607661b1afbecd5e95083835ccee7b54493c9452 SHA512 
bec288983371bd3807b7ce994b1533a5e869d903251f8a8ce6315768a1d3ae95d72f832037345c36c9cd4789fbc449c54b86359988b1e74d4f46f9e0db6b3239
 WHIRLPOOL 
5b128fda80b1ce4afe60e10e6d5d9e83f621f6a405e713af7d1b988562038aa927c9f7c733a927a3aa724c261d058dba1fa75526dd2eb9051b1e6fe4c984004c

diff --git a/sys-cluster/teleport/files/teleport.conf.d 
b/sys-cluster/teleport/files/teleport.conf.d
new file mode 100644
index 000..e4b2cbb1a7e
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.conf.d
@@ -0,0 +1,17 @@
+# /etc/conf.d/teleport: config file for /etc/init.d/teleport
+
+# Where is your teleport.yaml file stored?
+TELEPORT_CONFDIR="/etc/teleport"
+
+# Any random options you want to pass to teleport.
+TELEPORT_OPTS=""
+
+# Pid file to use (needs to be absolute path).
+#TELEPORT_PIDFILE="/var/run/teleport.pid"
+
+# Path to log file
+#TELEPORT_LOGFILE="/var/log/teleport.log"
+
+# Startup dependency
+# Un-comment when using etcd storage backend
+#rc_need="etcd"

diff --git a/sys-cluster/teleport/files/teleport.init.d 
b/sys-cluster/teleport/files/teleport.init.d
new file mode 100644
index 000..a5d08b7f3f6
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.init.d
@@ -0,0 +1,29 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+: ${TELEPORT_CONFDIR:=/etc/teleport}
+: ${TELEPORT_PIDFILE:=/var/run/${SVCNAME}.pid}
+: ${TELEPORT_BINARY:=/usr/bin/teleport}
+: ${TELEPORT_LOGFILE:=/var/log/teleport.log}
+
+depend() {
+   need net
+}
+
+start() {
+   ebegin "Starting Teleport SSH Service"
+   start-stop-daemon --start --exec /usr/bin/teleport \
+   --background --make-pidfile --pidfile "${TELEPORT_PIDFILE}" \
+   --stderr "${TELEPORT_LOGFILE}" \
+   -- start --config="${TELEPORT_CONFDIR}/teleport.yaml" \
+   ${TELEPORT_OPTS}
+   eend $?
+}
+
+stop() {
+   ebegin "Stopping Teleport SSH Service"
+   start-stop-daemon --stop --exec /usr/bin/teleport \
+   --pidfile "${TELEPORT_PIDFILE}"
+   eend $?
+}

diff --git a/sys-cluster/teleport/files/teleport.service 
b/sys-cluster/teleport/files/teleport.service
new file mode 100644
index 000..b74734bbf9e
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Teleport SSH Service
+After=network.target 
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/teleport start --config=/etc/teleport/teleport.yaml
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-cluster/teleport/files/teleport.service.conf 
b/sys-cluster/teleport/files/teleport.service.conf
new file mode 100644
index 000..2ff7ffbf3a4
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.service.conf
@@ -0,0 +1,3 @@
+# Uncomment the following when using the etcd storage backend
+#[Unit]
+#Wants=etcd.service

diff --git a/sys-cluster/teleport/files/teleport.yaml 
b/sys-cluster/teleport/files/teleport.yaml
new file mode 100644
index 000..e297bb89b57
--- /dev/null
+++ b/sys-cluster/teleport/files/teleport.yaml
@@ -0,0 +1,142 @@
+# By default, this file should be stored in /etc/teleport.yaml
+
+# This section of the configuration file applies to all teleport
+# services.
+teleport:
+# nodename allows to assign an alternative name this node can be reached 
by.
+# by default it's equal to hostname
+# nodename: graviton
+
+# Data directory where Teleport keeps its data, like keys/users for 
+# authentication (if using the default BoltDB