summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-09-29 16:55:21 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-09-29 17:01:55 +0200
commitedf083bc541b959e921a449afbdee76f18972329 (patch)
treeff1461e14e234b1e1b3fd18021a999fac2f05ced /net-vpn
parentsys-libs/snapd-glib: drop 1.63 (diff)
downloadgentoo-edf083bc541b959e921a449afbdee76f18972329.tar.gz
gentoo-edf083bc541b959e921a449afbdee76f18972329.tar.bz2
gentoo-edf083bc541b959e921a449afbdee76f18972329.zip
net-vpn/riseup-vpn: add 0.24.8
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/riseup-vpn/Manifest2
-rw-r--r--net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest
index 0be9c4522ae5..f4e907b82f57 100644
--- a/net-vpn/riseup-vpn/Manifest
+++ b/net-vpn/riseup-vpn/Manifest
@@ -2,3 +2,5 @@ DIST riseup-vpn-0.24.3-deps.tar.xz 35335684 BLAKE2B 85774c35593e59009b8b8ae3ada8
DIST riseup-vpn-0.24.3.tar.gz 12270357 BLAKE2B a28d5fe1920614717f7c4a276fbddd24523b7a0a4776bfb7ef49256984e1348b5821854c5547c8a1a72a4c5a07f28c3fd3b5866ed13cb1b3606ec398e4b41478 SHA512 03e916fd3e019b62a09b673aab14f7de9554d2ab5affd793c607f392ed8411c2081db8c223232572fe9b629a4bd68e9994e59c00c4d5ef67b0c8705c11981409
DIST riseup-vpn-0.24.5-deps.tar.xz 33109948 BLAKE2B 2149f395c5f29ef63044b6e968a835d359522f013b78d167cb6a441e27728daf104c77037d6d3acc51794ded4d7224e12af84ec33cfca9911bdd236e70080e14 SHA512 1ea3b50ab742fb5fdb1d1a91469815be2c00b01760dbfed29de985ee3dab91be8a596b7694ff8da4bea6e6c707d5c03f5a4fdb03826ad1c9e2e36a55f757af88
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
diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild
new file mode 100644
index 000000000000..fd915cb57255
--- /dev/null
+++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+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
+ https://dev.gentoo.org/~andrewammerlaan/${P}-deps.tar.xz
+"
+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
+}
+
+src_compile() {
+ emake build
+}
+
+src_test() {
+ emake test
+ virtx emake test_ui
+}
+
+src_install() {
+ einstalldocs
+
+ newbin "build/qt/release/bitmask-vpn" 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/*
+}