From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB9E513997D for ; Mon, 11 Nov 2019 15:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FDC9E0900; Mon, 11 Nov 2019 15:27:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44202E0900 for ; Mon, 11 Nov 2019 15:27:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA50334CB8F for ; Mon, 11 Nov 2019 15:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7367F8AF for ; Mon, 11 Nov 2019 15:27:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1573486046.187dcf5d56f011926931e805390e47b22b0f370a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/teleport/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/teleport/Manifest sys-cluster/teleport/teleport-4.0.10.ebuild X-VCS-Directories: sys-cluster/teleport/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 187dcf5d56f011926931e805390e47b22b0f370a X-VCS-Branch: master Date: Mon, 11 Nov 2019 15:27:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8cf249b5-f75e-4647-b435-50b246cba28a X-Archives-Hash: fa123244acd084552570d9d3a8055692 commit: 187dcf5d56f011926931e805390e47b22b0f370a Author: Graeme Lawes gmail com> AuthorDate: Sun Nov 10 21:01:13 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Nov 11 15:27:26 2019 +0000 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 67ebf37737ab9e5cf475bd99d94450ee3dd1f94a2611110f838f4e8882f20e8cafe5d43aa12cff223641b3a9b98b9f07549a7c2ec248c7000eddedae2964f5e2 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 00000000000..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} == "9999" ]] ; then + inherit git-r3 golang-vcs + EGIT_REPO_URI="https://github.com/gravitational/${PN}.git" +else + inherit golang-vcs-snapshot + SRC_URI="https://github.com/gravitational/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm" +fi + +IUSE="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 +}