app-misc/upterm - 0.24.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-misc/upterm-0.24.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/upterm-0.24.0

Or alternatively:

emerge --autounmask-write -a =app-misc/upterm-0.24.0

Package Information

Description:
Instant Terminal Sharing
Homepage:
https://upterm.dev/
License:
Apache-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 MIT MPL-2.0 Unlicense

Ebuild Details

Version EAPI Keywords Slot
0.24.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module shell-completion systemd

DESCRIPTION="Instant Terminal Sharing"
HOMEPAGE="https://upterm.dev/"
SRC_URI="https://github.com/owenthereal/upterm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/upterm/releases/download/v${PV}/${P}-vendor.tar.xz"

LICENSE="Apache-2.0"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64"
IUSE="server test"
RESTRICT="!test? ( test )"

BDEPEND="
	>=dev-lang/go-1.26
	test? (
		app-editors/vim
		app-shells/bash
	)
"

src_compile() {
	local BINS=( ./cmd/upterm )
	use server && BINS+=( ./cmd/uptermd )
	ego build -o bin/ "${BINS[@]}"
}

src_test() {
	rm -vr internal/e2e/*_test.go || die
	ego test -vet=off -timeout=120s ./{cmd,server,io,host,memlistener,routing,internal,ftests}/...
}

src_install() {
	dobin bin/upterm
	doman etc/man/man1/*

	newbashcomp etc/completion/upterm.bash_completion.sh upterm
	newzshcomp etc/completion/upterm.zsh_completion _upterm

	if use server; then
		dobin bin/uptermd
		systemd_dounit systemd/uptermd.service
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/upterm | euse -E <flag> -p app-misc/upterm | euse -D <flag> -p app-misc/upterm

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	>=dev-lang/go-1.26
	test? (
		app-editors/vim
		app-shells/bash
	)

Manifest for 0.24.0

Type File Size Source URLs
DIST upterm-0.24.0.tar.gz 193215 bytes https://github.com/owenthereal/upterm/archive/refs/tags/v0.24.0.tar.gz