* [gentoo-commits] repo/gentoo:master commit in: net-vpn/vopono/
@ 2025-01-30 16:32 Joonas Niilola
0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2025-01-30 16:32 UTC (permalink / raw
To: gentoo-commits
commit: ff5f805cf40b764dadbd4cd2fbbaa4684981284d
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 30 16:28:58 2025 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 16:28:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5f805c
net-vpn/vopono: new package, add 0.10.11
vopono is a tool to run applications through VPN tunnels via temporary network
namespaces. This allows you to run only a handful of applications through
different VPNs simultaneously, whilst keeping your main connection as normal.
vopono includes built-in configurations for both Wireguard and OpenVPN.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-vpn/vopono/Manifest | 2 ++
net-vpn/vopono/metadata.xml | 17 +++++++++++++++++
net-vpn/vopono/vopono-0.10.11.ebuild | 30 ++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/net-vpn/vopono/Manifest b/net-vpn/vopono/Manifest
new file mode 100644
index 000000000000..4787d1b9bd21
--- /dev/null
+++ b/net-vpn/vopono/Manifest
@@ -0,0 +1,2 @@
+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
diff --git a/net-vpn/vopono/metadata.xml b/net-vpn/vopono/metadata.xml
new file mode 100644
index 000000000000..af5d9361ef89
--- /dev/null
+++ b/net-vpn/vopono/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>juippis@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ vopono is a tool to run applications through VPN tunnels via temporary network namespaces. This
+ allows you to run only a handful of applications through different VPNs simultaneously, whilst
+ keeping your main connection as normal.
+
+ vopono includes built-in killswitches for both Wireguard and OpenVPN.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">jamesmcm/vopono</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-vpn/vopono/vopono-0.10.11.ebuild b/net-vpn/vopono/vopono-0.10.11.ebuild
new file mode 100644
index 000000000000..16c2beb63020
--- /dev/null
+++ b/net-vpn/vopono/vopono-0.10.11.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.5
+
+EAPI=8
+
+inherit cargo
+
+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"
+
+RDEPEND="|| (
+ net-vpn/openvpn
+ net-vpn/wireguard-tools
+ )"
+
+src_install() {
+ cargo_src_install
+ einstalldocs
+ dodoc USERGUIDE.md
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-vpn/vopono/
@ 2025-02-01 7:17 Joonas Niilola
0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2025-02-01 7:17 UTC (permalink / raw
To: gentoo-commits
commit: 398b8d378f48cbdfd0794546fff16af6b1bdd984
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 1 07:08:59 2025 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 1 07:16:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398b8d37
net-vpn/vopono: adjust dependencies
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../{vopono-0.10.11.ebuild => vopono-0.10.11-r1.ebuild} | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/net-vpn/vopono/vopono-0.10.11.ebuild b/net-vpn/vopono/vopono-0.10.11-r1.ebuild
similarity index 59%
rename from net-vpn/vopono/vopono-0.10.11.ebuild
rename to net-vpn/vopono/vopono-0.10.11-r1.ebuild
index 16c2beb63020..bf5bd35d9ec6 100644
--- a/net-vpn/vopono/vopono-0.10.11.ebuild
+++ b/net-vpn/vopono/vopono-0.10.11-r1.ebuild
@@ -1,11 +1,9 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Autogenerated by pycargoebuild 0.13.5
-
EAPI=8
-inherit cargo
+inherit cargo optfeature
DESCRIPTION="Launch applications via VPN tunnels using temporary network namespaces"
HOMEPAGE="https://github.com/jamesmcm/vopono"
@@ -18,9 +16,11 @@ 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
)"
src_install() {
@@ -28,3 +28,11 @@ 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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-01 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-30 16:32 [gentoo-commits] repo/gentoo:master commit in: net-vpn/vopono/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2025-02-01 7:17 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox