Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: teleport-7.3.3
@ 2021-11-15  8:01 jcgruenhage
  2021-11-15 14:07 ` jcgruenhage
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jcgruenhage @ 2021-11-15  8:01 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2353 bytes --]

From aca6fb393136a8c484ab0feef38e06ead003074b 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-7.3.3

---
 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..5d5ec7509172
--- /dev/null
+++ b/srcpkgs/teleport/template
@@ -0,0 +1,54 @@
+# Template file for 'teleport'
+pkgname=teleport
+version=7.3.3
+revision=1
+_webassets_ref="15ef31441805c81aae1095a59a9b152a779ccd79"
+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="893fb8e06f28eb5ee48989bf8e4fa2358a41d65d3c0372fe95076c948b530514
+ 8082e79fb2c192124192c1c2ba09f0bad7be8e3b3bb93ddfa0221ed4351bf80a"
+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
+	}
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-10-11  2:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15  8:01 [PR PATCH] New package: teleport-7.3.3 jcgruenhage
2021-11-15 14:07 ` jcgruenhage
2021-11-20 14:58 ` Chocimier
2022-02-26 18:23 ` [PR PATCH] [Updated] " jcgruenhage
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

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).