mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 03:21:43 +02:00
net-misc/passt: Sync with Gentoo
It's from Gentoo commit 236db2ce95190f64b57cd03aeaf55c47dc9be3aa. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
ecd1ae6741
commit
5e06a83cb5
@ -1,4 +1,2 @@
|
||||
DIST passt-2025.01.21.tar.xz 237504 BLAKE2B 80aafe2fbf5ba8d4065fe99a892102e2c8d18ce82ef4cee3970deeb6d07cb89d40084cf4b90c7747dbb69e3895ad254872faad394b311950412cc89b9eae819d SHA512 e2e23040f05b65e666a7ccbbaa54621a575bdc22e21e518aa17dcfdebd82e95af49feadd20d58536f99b990428d404d6d2c64c34433353a4ac1656bf76bab6c6
|
||||
DIST passt-2025.02.17.tar.xz 254640 BLAKE2B 09a505a84e8555a1c4a010f9db6189b638ae3a3a6c1202d42e73d710bfc47f75b99defc372e8ecd44ec78ab196cd3619ecbb7eb171c9606bb4d425548a08159c SHA512 9eca3d9e20121f6b40b590f50e593d7a4ab3302b30d8da705aca5bcd40e2bbb686396830b5083c24fb088d5893a538dd92f2efed7d940bc1969f85f838560504
|
||||
DIST passt-2025.03.20.tar.xz 258228 BLAKE2B b0ddc3a24ee3b5988c79d57bdea893e6cba93b09d3ff6ab49f8e0cda3e93b97b044dcf6a873d65194766cf73fc21525133a33ac76c51cb4277e98438693ee98a SHA512 469593af3ee692363ee3814ec5dbaabe91acaff930c9e1665a6fa9b5b4475e261ccbc95972d7170134ced6e56c41a7733e570b1f3f1b20333364dad674a73da4
|
||||
DIST passt-2025.04.15.tar.xz 260720 BLAKE2B 1c67a40f0633663118cafd5988e11594e54d815aeb7c2bc75b744b51666efc6ff8e8190ff3e0fac92f281b26832031d5dcba4aa8d52bc1cc915f80bec2ca70bb SHA512 3aebc7ebdc267c2c86c91703a7f07aea6248ed6a4ab43bf2589e24e5e4fdabcbfb9519f8afcd901a9183d4f2c577d8c1ea50076d0dc5dbb104c0f2793009c516
|
||||
DIST passt-2025.06.11.tar.xz 262312 BLAKE2B 76b834c0d1f7aedb5bc166e61ff9de8536f787b6447fb5ae0461ff5479d807e80a9da8fb9302771ca96aaa8799b09b60f88f6816d1aee0604678de9cff5c88ab SHA512 d8cd5668ded94d506a973f4e1e988d29b3eca0ffc26766de86d9dae7d37ace75d84606d1386b18b215371de4b6655b24d0b796433d2827f3f5997a65b0b08cdf
|
||||
|
@ -1,37 +0,0 @@
|
||||
# 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="4f2c8e7"
|
||||
MY_PV="${PV//./_}.${RELEASE_COMMIT}"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://passt.top/passt"
|
||||
else
|
||||
SRC_URI="https://passt.top/passt/snapshot/passt-${MY_PV}.tar.xz -> ${PF}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
KEYWORDS="amd64 arm64 ~loong ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="BSD GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="static"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ ${PV} != 9999* ]] && export VERSION="${PV}"
|
||||
export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
emake $(usev static)
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# 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="a1e48a0"
|
||||
|
||||
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="32f6212"
|
||||
RELEASE_COMMIT="0293c6f"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user