Install this version:
emerge -a =app-misc/nsjail-3.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/nsjail-3.6
Or alternatively:
emerge --autounmask-write -a =app-misc/nsjail-3.6
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.6 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="nsjail is a process isolation tool for Linux."
HOMEPAGE="https://nsjail.dev/"
SRC_URI="https://github.com/google/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/protobuf
dev-libs/libnl:3
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-respect-user-flags.patch" )
src_prepare() {
default
tc-export CC CXX
}
src_install() {
dobin nsjail
dodoc README.md
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | nsjail-3.6.tar.gz | 75110 bytes | https://github.com/google/nsjail/archive/refs/tags/3.6.tar.gz |