commit:     934a0f8eccc4e51e7b0ce7c856a5b82bfc9251a0
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 26 17:56:17 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Nov 26 18:15:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934a0f8e

net-vpn/riseup-vpn: add 0.25.8

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 net-vpn/riseup-vpn/Manifest                 |  1 +
 net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild | 84 +++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest
index 0a59b9775d16..4b7f029a47d5 100644
--- a/net-vpn/riseup-vpn/Manifest
+++ b/net-vpn/riseup-vpn/Manifest
@@ -4,3 +4,4 @@ DIST riseup-vpn-0.24.5-deps.tar.xz 33109948 BLAKE2B 
2149f395c5f29ef63044b6e968a8
 DIST riseup-vpn-0.24.5.tar.gz 9415881 BLAKE2B 
9cf9c0db485de2c6cb3c09d0cda5f1cb1ce31d0c4686e0721cdac04d51e882c3b65fd282430c53da84242c2bfd6bbd20b58dfc9ee7d2844aa512656a28d439b9
 SHA512 
d3295ca6dd78dd761eafbd24fcaaec7970fbd5ef272e7d0f02502652a7c4a6bcf385c3ccbf29907aa28665f437824aff50a804853c9e6e979fd924c0407c6e25
 DIST riseup-vpn-0.24.8-deps.tar.xz 151811720 BLAKE2B 
502191486805abae6e19e0bde0ac534e2d1ce5d2c62476342079f8682b2a1be05f2777459f28c46e594a385326897e1fa7b25cf2ef3abf9510767dd9257707ea
 SHA512 
cae8af599de8aeec4a266ebf3293e9b4cef792bbe671489eead66a32cd750b3930965247919b10f49c8d21b84c197d8355a0a0d879752d192ffbccb49d14c75c
 DIST riseup-vpn-0.24.8.tar.gz 15767766 BLAKE2B 
39937b631eed3ebfff2800988fce9db0ac4b04c9e53a3d6a855f6098c38204f8f916e41a60631065e8335a73bd113c28e61eeeae996c5eaf90607850c4687e78
 SHA512 
9afcd3d4d4516d37f82b733d56ea6310d3d18c391821eeb80f486f9673d50948024fb67717ed9f25d4fb328e465733ed9c00e26b43ca0a181659c0a330b38567
+DIST riseup-vpn-0.25.8.tar.gz 16400115 BLAKE2B 
4bb61ce5bbadda95c4f16c9a41b9b10165f7b432b7011ff10beceb5bf9a217f42dfa90bf7a56ed0a2874e7efcbc3e8980dc237c7795e704e622d08928e7cf5a7
 SHA512 
24ce6b5dd488bd4e5cdc89a3fbedc150b1af0da49b4f7fbf4dc9bc1515724b2530b442b878a310b9f5e5e968073ad354d8df7740538364d4044fc5c3cf55747b

diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild 
b/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild
new file mode 100644
index 000000000000..51a1a066d715
--- /dev/null
+++ b/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit desktop python-single-r1 go-module qmake-utils virtualx xdg
+
+DESCRIPTION="Anonymous encrypted VPN client powered by Bitmask"
+HOMEPAGE="https://riseup.net/en/vpn https://0xacab.org/leap/bitmask-vpn 
https://bitmask.net";
+SRC_URI="
+       
https://0xacab.org/leap/bitmask-vpn/-/archive/${PV}/bitmask-vpn-${PV}.tar.gz -> 
${P}.tar.gz
+"
+S="${WORKDIR}/bitmask-vpn-${PV}"
+
+# Generated with dev-go/golicense
+LICENSE="GPL-3 BSD-2 CC0-1.0 MIT BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="test"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+# The tests require internet access to connect to Riseup Networks
+
+BDEPEND="
+       virtual/pkgconfig
+       dev-qt/qttools[linguist]
+"
+
+DEPEND="
+       dev-qt/qtbase:6[gui,widgets]
+       dev-qt/qtdeclarative:6[widgets]
+       dev-qt/qtsvg:6
+       media-libs/libglvnd
+"
+
+RDEPEND="${DEPEND}
+       ${PYTHON_DEPS}
+       net-vpn/openvpn
+       sys-auth/polkit
+"
+
+src_prepare() {
+       default
+
+       # do not pre-strip
+       sed -i -e '/strip $RELEASE\/$TARGET/d' gui/build.sh || die
+
+       # We need qmake and lrelease from  qt6 bin dir
+       export PATH="${PATH}:$(qt6_get_bindir)" || die
+
+       export PROVIDER=riseup
+}
+
+src_compile() {
+       emake gen_providers_json
+       emake build
+}
+
+src_test() {
+       emake test
+       virtx emake test_ui
+}
+
+src_install() {
+       einstalldocs
+
+       dobin build/qt/release/riseup-vpn
+
+       python_scriptinto /usr/sbin
+       python_doscript pkg/pickle/helpers/bitmask-root
+
+       insinto /usr/share/polkit-1/actions
+       newins pkg/pickle/helpers/se.leap.bitmask.policy 
se.leap.bitmask.riseupvpn.policy
+
+       newicon -s scalable providers/riseup/assets/icon.svg riseup.svg
+       make_desktop_entry ${PN} RiseupVPN riseup Network
+
+       dodoc -r docs/*
+}

Reply via email to