commit:     ada9848fd93264a20f973ed7af97f15410b776fb
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 21:20:43 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 21:22:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada9848f

net-misc/passt: add 2025.01.21

Bug: https://bugs.gentoo.org/949808
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 net-misc/passt/Manifest                |  1 +
 net-misc/passt/passt-2025.01.21.ebuild | 37 ++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/net-misc/passt/Manifest b/net-misc/passt/Manifest
index 1d442d008a7e..b9a85aeb96fc 100644
--- a/net-misc/passt/Manifest
+++ b/net-misc/passt/Manifest
@@ -5,3 +5,4 @@ DIST passt-2024.05.10.tar.xz 195992 BLAKE2B 
9f4b680daa8103c7de0c92c01824df74e1b2
 DIST passt-2024.06.07.tar.xz 198360 BLAKE2B 
378d4b18f245309fde54b244ffc435afb417d9d9711247234632ba0ae8dea35cac639c7674e6a6be008a678262af74a1dbe960477088d0b75045e6372d329488
 SHA512 
103955058c9a4e83264d3f65e3ff6d1a5e8a83b15f2fc73cba45101304fe79ab3c449ce2dc6add398a27f9d6556d5f902cf083223ed5e27228a0bbb506559cf0
 DIST passt-2024.08.21-r1.tar.xz 209692 BLAKE2B 
1b6b540f64528e375e6f0cfd90cec788b2b2281f7ab6dbe0f6df933757dcc4f37e154b2cd8e9e00adbc2b647a044fca05f2c48f49d05c0443c396831a2e13754
 SHA512 
ec09210b471377cc9f3d0044c97924834fadcfed7523aaab2f6c0fddb2d3d098c0730d1573e7c44963334d33dba5fbf660b0b222d4c71fab27cebf8edb52abf1
 DIST passt-2024.09.06.tar.xz 210976 BLAKE2B 
7c59d715a80bc9df2f0c85aef3f2cb2c2517941326cfecfe683770ebebc7815422db9f76e9ffbe17850441f0ffdcdfaa0602bd69af9dd8046cddb0dce131f255
 SHA512 
a9e7c0c7945759a65859c7cdaa0603f9805ff1efbe82496f1e638b3ce387b4ecc3828c2b1f100ed49332a1456a62a87ac9f8b4c62ce0599da423875f026da243
+DIST passt-2025.01.21.tar.xz 237504 BLAKE2B 
80aafe2fbf5ba8d4065fe99a892102e2c8d18ce82ef4cee3970deeb6d07cb89d40084cf4b90c7747dbb69e3895ad254872faad394b311950412cc89b9eae819d
 SHA512 
e2e23040f05b65e666a7ccbbaa54621a575bdc22e21e518aa17dcfdebd82e95af49feadd20d58536f99b990428d404d6d2c64c34433353a4ac1656bf76bab6c6

diff --git a/net-misc/passt/passt-2025.01.21.ebuild 
b/net-misc/passt/passt-2025.01.21.ebuild
new file mode 100644
index 000000000000..371941c87892
--- /dev/null
+++ b/net-misc/passt/passt-2025.01.21.ebuild
@@ -0,0 +1,37 @@
+# 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)
+}

Reply via email to