commit:     e70edae37faee09ab990519421e88ca7f315e108
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon May 26 08:41:56 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon May 26 08:58:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70edae3

net-vpn/vopono: add 0.10.12

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-vpn/vopono/Manifest              |  2 ++
 net-vpn/vopono/vopono-0.10.12.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/net-vpn/vopono/Manifest b/net-vpn/vopono/Manifest
index 4787d1b9bd21..517722274f47 100644
--- a/net-vpn/vopono/Manifest
+++ b/net-vpn/vopono/Manifest
@@ -1,2 +1,4 @@
 DIST vopono-0.10.11-crates.tar.xz 33726524 BLAKE2B 
47a4867bbea7406b2997c7b75a0ae6fa7ac520f9650aa6bdf212d00beaed6e79f837e78b60d207db87bd30ffa53e2fb107901d0d6d4094a65ab11bf0d69eb16e
 SHA512 
fdd7775466b6a4f60f9ec68377830a4c47fc4f3d3b63212cddc2927f4d9e4d7611b47d05fff9cd8cf7cc6229d4856a5432a28fe91e9e1b6223ed9f1a062fab2e
 DIST vopono-0.10.11.tar.gz 1703898 BLAKE2B 
4c1972be521e75d76a0d351f97caa24ab5d3ec0477ac4311f880c1746c6492cd16dc916103b98dbe35c9fbe24b8e10b453e952a372aa0d661c09244e55d17bc1
 SHA512 
cad113a400a2686752738e7e1a3246fd2b0722d8aa6172a2866d498e7c49e8fef13767d7574094476a547ba40f46bed1320c9f2b815eeee2ed22fa4ccbae11d9
+DIST vopono-0.10.12-crates.tar.xz 33312248 BLAKE2B 
6bb9bf8f653a749e6563d905b54b9fd012c9a47e193e30fd936697e9797c06d7ad80397531d92eb3aed39054f4375783c771d810985bed59c47ad35d1bc2eb33
 SHA512 
170aa37041e70fd2ce7a4de89affce2f53d476e14374c2a5102cc87826eac6ef65cd231ae39ca10730c82ee1b71db8180f77ddafb1429bf168b0d7f6958c2dc8
+DIST vopono-0.10.12.tar.gz 2149671 BLAKE2B 
eeccdbfa9bcbadc0b222af65f65c16c24b63947202fd057ff3447a7590be820e9525879faf69e55fa13def8763c62c0b3ef6a05a4ad38a01b9a78fcd8d10ddb1
 SHA512 
2141975e78ee0e9382e7686dc04d93c88def304596c1bac0988050ecfaf01fd8126f76b4e93dfd686f88b99c26d9463b0ea0802c894f779e50f2ddeb092e651a

diff --git a/net-vpn/vopono/vopono-0.10.12.ebuild 
b/net-vpn/vopono/vopono-0.10.12.ebuild
new file mode 100644
index 000000000000..a465c8db0123
--- /dev/null
+++ b/net-vpn/vopono/vopono-0.10.12.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.85.0"
+
+inherit cargo optfeature
+
+DESCRIPTION="Launch applications via VPN tunnels using temporary network 
namespaces"
+HOMEPAGE="https://github.com/jamesmcm/vopono";
+SRC_URI="https://github.com/jamesmcm/vopono/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+       https://dev.gentoo.org/~juippis/distfiles/${P}-crates.tar.xz";
+
+LICENSE="GPL-3+"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# VPN backends sorted by preference.
+RDEPEND="|| (
+               net-vpn/openvpn
+               net-vpn/wireguard-tools
+               net-vpn/openfortivpn
+       )
+       app-arch/xz-utils"
+
+src_install() {
+       cargo_src_install
+       einstalldocs
+       dodoc USERGUIDE.md
+}
+
+pkg_postinst() {
+       # Judging from https://github.com/jamesmcm/vopono/issues/189 sudo is a 
pretty strict
+       # dependency, but not _absolutely_ needed.
+       # Alternatives like doas or run0 doesn't seem to be supported yet, but 
once they are, another
+       # "|| ( )" dependency block could be added for them.
+       optfeature "easy and automatic set up of network namespaces" 
app-admin/sudo
+}

Reply via email to