commit:     0e0fa054d2f24c7ff4512a1c48dde3f30841c2dc
Author:     Graeme Lawes <graemelawes <AT> gmail <DOT> com>
AuthorDate: Sat Jul  1 09:01:34 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 18:20:31 2017 +0000
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-9999.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} == "9999" ] ; then
+if [[ ${PV} == "9999" ]] ; 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} == "9999" ] ; then
+if [[ ${PV} == "9999" ]] ; 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} == "9999" ] ; then
+if [[ ${PV} == "9999" ]] ; 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-9999.ebuild 
b/sys-cluster/teleport/teleport-9999.ebuild
index 87502805344..99620ea6684 100644
--- a/sys-cluster/teleport/teleport-9999.ebuild
+++ b/sys-cluster/teleport/teleport-9999.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://gravitational.com/teleport";
 
 EGO_PN="github.com/gravitational/${PN}/..."
 
-if [ ${PV} == "9999" ] ; then
+if [[ ${PV} == "9999" ]] ; then
        inherit git-r3 golang-vcs
        EGIT_REPO_URI="https://github.com/gravitational/${PN}.git";
 else

Reply via email to