mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
net-misc/passt: update to 2025.06.11
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> From: https://github.com/gentoo/gentoo/pull/42919 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
committed by
Zac Medico
parent
d06c85520f
commit
236db2ce95
@@ -1 +1,2 @@
|
||||
DIST passt-2025.04.15.tar.xz 260720 BLAKE2B 1c67a40f0633663118cafd5988e11594e54d815aeb7c2bc75b744b51666efc6ff8e8190ff3e0fac92f281b26832031d5dcba4aa8d52bc1cc915f80bec2ca70bb SHA512 3aebc7ebdc267c2c86c91703a7f07aea6248ed6a4ab43bf2589e24e5e4fdabcbfb9519f8afcd901a9183d4f2c577d8c1ea50076d0dc5dbb104c0f2793009c516
|
||||
DIST passt-2025.06.11.tar.xz 262312 BLAKE2B 76b834c0d1f7aedb5bc166e61ff9de8536f787b6447fb5ae0461ff5479d807e80a9da8fb9302771ca96aaa8799b09b60f88f6816d1aee0604678de9cff5c88ab SHA512 d8cd5668ded94d506a973f4e1e988d29b3eca0ffc26766de86d9dae7d37ace75d84606d1386b18b215371de4b6655b24d0b796433d2827f3f5997a65b0b08cdf
|
||||
|
||||
38
net-misc/passt/passt-2025.06.11.ebuild
Normal file
38
net-misc/passt/passt-2025.06.11.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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="0293c6f"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://passt.top/passt"
|
||||
else
|
||||
SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> ${P}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
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)
|
||||
}
|
||||
@@ -8,7 +8,7 @@ inherit toolchain-funcs
|
||||
DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp"
|
||||
HOMEPAGE="https://passt.top/"
|
||||
|
||||
RELEASE_COMMIT="2340bbf"
|
||||
RELEASE_COMMIT="0293c6f"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
Reference in New Issue
Block a user