summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2024-06-11 22:58:55 +0200
committerSam James <sam@gentoo.org>2024-07-04 02:14:50 +0100
commitb256cf0d76a15f3ab48dc8d89e208bc668317b74 (patch)
tree83483dbf60e2b968e8b489bb7892d73c139ebaf0 /net-vpn
parentnet-vpn/eduvpn-client: rename patch (diff)
downloadgentoo-b256cf0d76a15f3ab48dc8d89e208bc668317b74.tar.gz
gentoo-b256cf0d76a15f3ab48dc8d89e208bc668317b74.tar.bz2
gentoo-b256cf0d76a15f3ab48dc8d89e208bc668317b74.zip
net-vpn/eduvpn-client: add 4.3.1
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/eduvpn-client/Manifest2
-rw-r--r--net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild67
-rw-r--r--net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch16
3 files changed, 85 insertions, 0 deletions
diff --git a/net-vpn/eduvpn-client/Manifest b/net-vpn/eduvpn-client/Manifest
index e7c123e8599e..098e15669ed3 100644
--- a/net-vpn/eduvpn-client/Manifest
+++ b/net-vpn/eduvpn-client/Manifest
@@ -1,2 +1,4 @@
DIST python-eduvpn-client-4.2.1.tar.xz 973220 BLAKE2B 4ab4233ae31ad8b60ac12566995b9340d5e908a5f5146403491389e51ca72714ff2dbb4353f2cf17938c5bb036bfc39159f2bb8acab832a3981b2ad431d5156e SHA512 ae1b537b0f89b9bda32c4f46d67eade2bb96d17fdcb1c79eb1cac52754f715fdaf2953de6c2875cd0339fcbbbb1221b95c654958a9a1788865da71f0b29e657a
DIST python-eduvpn-client-4.2.1.tar.xz.asc 228 BLAKE2B 4f41b358e38ba0f488fc4f1ef4f4ff82ec094308455178978ed33f98fb660c867350624e49cd414ca73ededb7599f689aba1f92ee4416e57c90e19e703ebfbb9 SHA512 d141c1227cf7b5f3425085c42842408d7ed4cb55904dfe22fa9a220e520050c6fbdd3e943876845b1ded95f56eeef3a211f3e33c75c547adfe081f83041a0647
+DIST python-eduvpn-client-4.3.1.tar.xz 977296 BLAKE2B b4d75fa119c11350ee7fd84886bb1e822342f67e683eae3a53319e9b52bd42a62fca3988eec263e29cf4313219d85ed6915fe81e578b399d12647d25cf4d1259 SHA512 a9cb8ff72f4fc9a54cb8f29a0729d1c50b45dacb707e1e02147a06ef9e4eb0c27f6d18871eec8bc4ad9e3ae90e5d2c2009e1c6835602a468b65daacf195b7a13
+DIST python-eduvpn-client-4.3.1.tar.xz.asc 228 BLAKE2B 04686da2736888200ae43c594c5927e470cd957458859603282beedb1dd2df418759132650552fb48a9d6438203f40c797a094c5246010603076ee99376517b4 SHA512 672d2e7b35458b74aac96596cdc7ae73194cf6ed9960b3257c849d17e02f3add1249f82488eae5c8b51a0511c203b68e0d71550f968a2ac01da2b9ebf3317847
diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild
new file mode 100644
index 000000000000..13d420d01b3e
--- /dev/null
+++ b/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+DOCS_DIR="doc"
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 docs xdg-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/eduvpn/python-${PN}.git"
+ S="${WORKDIR}/${P}"
+else
+ # Development Versions use a different release signing key
+ if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc
+ else
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc
+ fi
+ inherit verify-sig
+ MY_P="python-${P}"
+ SRC_URI="
+ https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz
+ verify-sig? ( https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz.asc )
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Linux client and Python client API for eduVPN"
+HOMEPAGE="https://www.eduvpn.org/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+# Test suite involves adding NetworkManager configuration entries,
+# disable for now.
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ net-misc/networkmanager
+ =net-vpn/eduvpn-common-2*[${PYTHON_USEDEP}]
+"
+
+if [[ ${PV} != *9999* ]] ; then
+ BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )"
+fi
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.3.1-desktop.patch"
+)
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch b/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch
new file mode 100644
index 000000000000..2d765b9a002f
--- /dev/null
+++ b/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch
@@ -0,0 +1,16 @@
+--- a/eduvpn/data/share/applications/org.eduvpn.client.desktop
++++ b/eduvpn/data/share/applications/org.eduvpn.client.desktop
+@@ -7,4 +7,4 @@ Comment=a GUI to connect to eduVPN using OpenVPN and WireGuard
+ Icon=org.eduvpn.client
+ Terminal=false
+ StartupWMClass=org.eduvpn.client
+-
++Categories=Network;Dialup
+--- a/eduvpn/data/share/applications/org.letsconnect-vpn.client.desktop
++++ b/eduvpn/data/share/applications/org.letsconnect-vpn.client.desktop
+@@ -7,4 +7,4 @@ Comment=a GUI to connect to Let's Connect! using OpenVPN and WireGuard
+ Icon=org.letsconnect-vpn.client
+ Terminal=false
+ StartupWMClass=org.letsconnect-vpn.client
+-
++Categories=Network;Dialup