Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: teleport-7.3.3
Date: Sat, 26 Feb 2022 19:23:52 +0100	[thread overview]
Message-ID: <20220226182352.r3LMyL4xHXIws1xaHu1zcZFfHavKSxFlK_xG1dCGdWM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34091@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages teleport-7.3.3_1
https://github.com/void-linux/void-packages/pull/34091

New package: teleport-7.3.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

To elaborate on what "briefly" means: I've used the client package successfully to connect to an SSH server protected by a teleport proxy. I have not tried running the server bits of this at all, which are included in this package anyway. Is that still enough for inclusion as is?


A patch file from https://github.com/void-linux/void-packages/pull/34091.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-teleport-7.3.3_1-34091.patch --]
[-- Type: text/x-diff, Size: 2354 bytes --]

From f2bf51cd62610aa7ae2997b21be79afa4e80869d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 14 Nov 2021 22:42:21 +0100
Subject: [PATCH] New package: teleport-8.3.1.

---
 srcpkgs/teleport-client   |  1 +
 srcpkgs/teleport/template | 54 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
 create mode 120000 srcpkgs/teleport-client
 create mode 100644 srcpkgs/teleport/template

diff --git a/srcpkgs/teleport-client b/srcpkgs/teleport-client
new file mode 120000
index 000000000000..27d1669ea808
--- /dev/null
+++ b/srcpkgs/teleport-client
@@ -0,0 +1 @@
+teleport
\ No newline at end of file
diff --git a/srcpkgs/teleport/template b/srcpkgs/teleport/template
new file mode 100644
index 000000000000..2c1712b54025
--- /dev/null
+++ b/srcpkgs/teleport/template
@@ -0,0 +1,54 @@
+# Template file for 'teleport'
+pkgname=teleport
+version=8.3.1
+revision=1
+_webassets_ref="763ddfa16d2a2d8f4b1d24a7d6b9591c0677a20c"
+create_wrksrc=yes
+build_style=gnu-makefile
+hostmakedepends="go"
+short_desc="Identity aware access proxy"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://goteleport.com/"
+distfiles="https://github.com/gravitational/teleport/archive/refs/tags/v${version}.tar.gz
+ https://github.com/gravitational/webassets/archive/${_webassets_ref}.tar.gz"
+
+checksum="b7312da301e8acd2aaf5667afc4529b1830636f2ffbbd490019d973ef510b3d6
+ 033d77412d34c6cc72a1545c74cf3f56a32c6ef0dc2d6a64ea2dcf9de1c88eaf"
+make_dirs="/var/lib/teleport 755 root root"
+
+do_extract() {
+	local f curfile
+
+	mkdir -p "${wrksrc}"
+	for f in ${distfiles}; do
+		curfile="${f#*>}"
+		curfile="${curfile##*/}"
+		cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${curfile} "${wrksrc}/${curfile}"
+	done
+}
+
+post_extract() {
+	bsdtar -xf "v${version}.tar.gz"
+	bsdtar -xf ${_webassets_ref}.tar.gz
+	mv webassets-${_webassets_ref}/* teleport-${version}/webassets
+	rm v${version}.tar.gz ${_webassets_ref}.tar.gz webassets-${_webassets_ref} -r
+	mv teleport-${version}/* .
+	rm teleport-${version} -r
+}
+
+pre_build() {
+	export ADDFLAGS="-buildmode=pie"
+}
+
+do_install() {
+	vbin build/teleport
+}
+
+teleport-client_package() {
+	short_desc+=" - client binaries"
+	pkg_install() {
+		vbin build/tsh
+		vbin build/tctl
+	}
+}

  parent reply	other threads:[~2022-02-26 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15  8:01 [PR PATCH] " jcgruenhage
2021-11-15 14:07 ` jcgruenhage
2021-11-20 14:58 ` Chocimier
2022-02-26 18:23 ` jcgruenhage [this message]
2022-06-13  2:16 ` github-actions
2022-06-14  9:32 ` [PR PATCH] [Updated] New package: teleport-9.3.4 jcgruenhage
2022-06-14  9:32 ` jcgruenhage
2022-06-27 19:18 ` jcgruenhage
2022-09-26  2:15 ` github-actions
2022-10-11  2:13 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220226182352.r3LMyL4xHXIws1xaHu1zcZFfHavKSxFlK_xG1dCGdWM@z \
    --to=jcgruenhage@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).