Package Details: teleport 16.2.1-1

Git Clone URL: https://aur.archlinux.org/teleport.git (read-only, click to copy)
Package Base: teleport
Description: Modern SSH server for teams managing distributed infrastructure
Upstream URL: https://github.com/gravitational/teleport
Keywords: ssh
Licenses: AGPLv3
Provides: tctl, tsh
Submitter: mdeboer
Maintainer: fuhry
Last Packager: fuhry
Votes: 5
Popularity: 0.000006
First Submitted: 2021-03-21 18:58 (UTC)
Last Updated: 2024-09-06 21:40 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mdeboer commented on 2022-06-04 12:00 (UTC)

@joshuarubin I have seen other requests for providing static libs for libbpf been closed as "not a bug" with a simple statement that Arch does not provide static libs.

If one makes a package providing a statically linked version of libbpf, we could build it with support for bpf. Otherwise, it's a no go and you have to remove libbpf before even being able to build it at this point.

If you do require libbpf support, please just use the binary version teleport-bin.

joshuarubin commented on 2022-05-16 19:28 (UTC)

Package will be able to be built with bpf once https://bugs.archlinux.org/task/74774 lands.

mdeboer commented on 2021-12-05 19:40 (UTC) (edited on 2021-12-05 19:41 (UTC) by mdeboer)

@the_10 Ah shit, I can reproduce this now. I thought they got rid of libbpf (or fixed it somehow) but it turned out, I didn't have libbpf installed.

I worked around this in 7.* with a patch to remove libbpf support (same as not having it installed now). I tried my best to build one with libbpf by patching

CGO_LDFLAGS="-Wl,-Bstatic -lbpf -lelf -lz -Wl,-Bdynamic"

to

CGO_LDFLAGS="-Wl,-Bstatic -lelf -lz -Wl,-Bdynamic -lbpf"

But I am not to happy about that.

I will see if there is an open issue on their GitHub or if I can open one, see if they have any ideas.

As for now, please us the binary version of this package.

I did fix the cargo warning though, like with Go, moving the cargo home directory to the src directory.

the_10 commented on 2021-12-04 13:07 (UTC)

Fails to build with

    Updating crates.io index
     Ignored package `cbindgen v0.20.0` is already installed, use --force to override
cbindgen --quiet --crate rdp-client --output lib/srv/desktop/rdp/rdpclient/librdprs.h --lang c lib/srv/desktop/rdp/rdpclient/
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-Bstatic -lbpf -lelf -lz -Wl,-Bdynamic" go build -tags "pam  bpf webassets_embed desktop_access_rdp" -o build/teleport -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw -ldflags '-w -s' ./tool/teleport
go: downloading github.com/aquasecurity/libbpfgo v0.1.0
# runtime/cgo
/bin/ld: cannot find -lbpf

mdeboer commented on 2021-10-13 01:04 (UTC)

Updated to 7.3.0 but still without BPF. The provided Makefile tries to link it statically but that doesn´t work. Linking it dynamically works but the resulting teleport binary contains full absolute paths to the $srcdir, even though the trimpath build option is used.

Any help in getting BPF support without references to the $srcdir is welcome!

Again for now, if you need BPF support, use the teleport-bin package. The whole BPF thing does not apply to the teleport-client package as the client binaries do not reference BPF.

mdeboer commented on 2021-09-05 15:44 (UTC)

Updating this to 7.1.0 as soon as possible.

Unfortunately without BPF at the moment as there are plenty of issues with it during compilations.

If you absolutely require BPF, I suggest you use the teleport-bin (pre-compiled binaries) for the moment.

mdeboer commented on 2021-05-25 15:56 (UTC)

@theangryangel not sure but I have updated the package to 6.2.0. Please try again.

theangryangel commented on 2021-04-30 17:39 (UTC)

SHA256 sum for teleport-6.1.2.tar.gz seems to not match what the PKGBUILD expects? I'm currently getting b903c4a40f894e8428b56a00b2867867b2470398f17d46eec1a8da992b28899f.

Not sure where to submit this as a bug report/pull request?