summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahil Bhimjiani <me@rahil.rocks>2024-01-28 21:37:18 +0530
committerZac Medico <zmedico@gentoo.org>2024-02-01 22:37:27 -0800
commit1219ef653d0731f16a8f44628d124ee4bed5ec8d (patch)
treeef002bb60866e67ebe4fcbdae82cc96bb45a6282 /net-misc/passt
parentapp-metrics/prometheus-podman-exporter: add 1.7.0 (diff)
downloadgentoo-1219ef653d0731f16a8f44628d124ee4bed5ec8d.tar.gz
gentoo-1219ef653d0731f16a8f44628d124ee4bed5ec8d.tar.bz2
gentoo-1219ef653d0731f16a8f44628d124ee4bed5ec8d.zip
net-misc/passt: add 2023.12.30
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-misc/passt')
-rw-r--r--net-misc/passt/Manifest1
-rw-r--r--net-misc/passt/passt-2023.12.30.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/net-misc/passt/Manifest b/net-misc/passt/Manifest
index e6eeb6a6ea6f..a8aab82353a4 100644
--- a/net-misc/passt/Manifest
+++ b/net-misc/passt/Manifest
@@ -1 +1,2 @@
DIST passt-2023.12.04.tar.xz 188136 BLAKE2B f1d72fbb4bbb25f6a11e9ff87a91cf9bac06e047b8cb9a8b40402ced1422c23b105fa7e64646698d38ad747efa449c34cfdaecf492a3e4984114cbcf60656cdc SHA512 febd9fa22363438b52b2688481183d81c22966e1775139fc559dbfa50437c9b00ba09800db867738d25fcea8ac05d4589b75dcd2d0c88eeffefc0598d4236001
+DIST passt-2023.12.30.tar.xz 188596 BLAKE2B 75712a7cb7a00fea20427979153090d938b8c7b0e3da61c83cabb3751786034df35ebbe8afbd991d582a680f55b12792547b68efa931a5576dc181040b31e5fd SHA512 4b19d191e2526bacc61bb8ab2964f5da4e0535656b094a7592f91d6b437c855a586fc772e2abd89138ff4f89aae12ade494c6e0fe7bee1502fe319215200d8f0
diff --git a/net-misc/passt/passt-2023.12.30.ebuild b/net-misc/passt/passt-2023.12.30.ebuild
new file mode 100644
index 000000000000..cd584dee8e46
--- /dev/null
+++ b/net-misc/passt/passt-2023.12.30.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp"
+HOMEPAGE="https://passt.top/"
+
+RELEASE_COMMIT="f091893"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://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"
+fi
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+IUSE="static"
+
+src_compile() {
+ [[ ${PV} != 9999* ]] && export VERSION="${PV}"
+ export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}"
+
+ emake $(usev static)
+}