net-misc/tsshd - 0.1.10 (gentoo-zh)

Search

Install

Install this version:

emerge -a =net-misc/tsshd-0.1.10

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

autounmask =net-misc/tsshd-0.1.10

Or alternatively:

emerge --autounmask-write -a =net-misc/tsshd-0.1.10

Package Information

Description:
UDP-based SSH server with roaming support
Homepage:
https://github.com/trzsz/tsshd https://trzsz.github.io/tsshd
License:
Apache-2.0 BSD BSD-2 ISC MIT

Ebuild Details

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

EAPI=8

inherit go-module

DESCRIPTION="UDP-based SSH server with roaming support"
HOMEPAGE="https://github.com/trzsz/tsshd https://trzsz.github.io/tsshd"
SRC_URI="
	https://github.com/trzsz/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/tsshd/releases/download/v${PV}/${P}-vendor.tar.xz
"

LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

# Upstream requires Go 1.26.0 or newer.
BDEPEND=">=dev-lang/go-1.26.0:="

src_prepare() {
	rm -r examples || die
	default
}

src_compile() {
	ego build -buildvcs=false -trimpath -o "${T}/${PN}" ./cmd/tsshd
}

src_test() {
	# bash execs the last command of "sh -c", so python3 inherits the PTY
	# session leadership and os.setsid() fails with EPERM
	ego test ./... -skip '^TestSessionWaitWithDescendantPTY$'
}

src_install() {
	dobin "${T}/${PN}"
	dodoc README.md README.cn.md
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.26.0:=

Manifest for 0.1.10

Type File Size Source URLs
DIST tsshd-0.1.10-vendor.tar.xz 1515164 bytes https://github.com/gentoo-zh-drafts/tsshd/releases/download/v0.1.10/tsshd-0.1.10-vendor.tar.xz
DIST tsshd-0.1.10.tar.gz 129078 bytes https://github.com/trzsz/tsshd/archive/refs/tags/v0.1.10.tar.gz