net-misc/passt: add 2025.12.15

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-12-20 16:44:20 +02:00
parent 0d2f127bc7
commit cd55315c5d
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 40 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST passt-2025.04.15.tar.xz 260720 BLAKE2B 1c67a40f0633663118cafd5988e11594e54d815aeb7c2bc75b744b51666efc6ff8e8190ff3e0fac92f281b26832031d5dcba4aa8d52bc1cc915f80bec2ca70bb SHA512 3aebc7ebdc267c2c86c91703a7f07aea6248ed6a4ab43bf2589e24e5e4fdabcbfb9519f8afcd901a9183d4f2c577d8c1ea50076d0dc5dbb104c0f2793009c516
DIST passt-2025.06.11.tar.xz 262312 BLAKE2B 76b834c0d1f7aedb5bc166e61ff9de8536f787b6447fb5ae0461ff5479d807e80a9da8fb9302771ca96aaa8799b09b60f88f6816d1aee0604678de9cff5c88ab SHA512 d8cd5668ded94d506a973f4e1e988d29b3eca0ffc26766de86d9dae7d37ace75d84606d1386b18b215371de4b6655b24d0b796433d2827f3f5997a65b0b08cdf
DIST passt-2025.12.15.tar.xz 278312 BLAKE2B d681deb9107190b80e697ce813ad2c97c99c39d721e1f459f8687f5c024599bfb0b49d46b261cf8868c43a62f721638a219c236ef7d4c4debedb7728f4a389d6 SHA512 be34c6f88b7bbe1b051cd49b7577e1b9718913600061e01f9d3f623d19044707ece1c72800897dd1e07fbad21d970c2a89496ef99565f2a973a8aa5f75fb9711

View File

@ -0,0 +1,39 @@
# Copyright 1999-2025 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="b40f5cd"
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)
}