net-misc/passt - 2026.05.26 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/passt-2026.05.26

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

autounmask =net-misc/passt-2026.05.26

Or alternatively:

emerge --autounmask-write -a =net-misc/passt-2026.05.26

Package Information

Description:
User-mode networking daemons for VMs and namespaces, replacement for Slirp
Homepage:
https://passt.top/
License:
BSD GPL-2+

Ebuild Details

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

EAPI=8

inherit toolchain-funcs

DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp"
HOMEPAGE="https://passt.top/"

RELEASE_COMMIT="038c51e"
MY_PV=${P//./_}.${RELEASE_COMMIT}

if [[ ${PV} == 9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://passt.top/passt"
else
	SRC_URI="https://passt.top/passt/snapshot/${MY_PV}.tar.xz -> ${P}.tar.xz"
	S=${WORKDIR}/${MY_PV}
	KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
fi

LICENSE="BSD GPL-2+"
SLOT="0"
IUSE="static"

src_prepare() {
	default
	tc-export CC
	# Do not install doc/demo.sh
	sed -i -e "/demo/d" Makefile || die
}

src_compile() {
	[[ ${PV} != 9999* ]] && export VERSION="${PV}"
	export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}"

	emake $(usev static)
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Manifest for 2026.05.26

Type File Size Source URLs
DIST passt-2026.05.26.tar.xz 295340 bytes https://passt.top/passt/snapshot/passt-2026_05_26.038c51e.tar.xz