From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A644A158099 for ; Thu, 23 Nov 2023 10:09:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95CA92BC024; Thu, 23 Nov 2023 10:09:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E2F12BC024 for ; Thu, 23 Nov 2023 10:09:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C02F733BE18 for ; Thu, 23 Nov 2023 10:09:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F5B9FC4 for ; Thu, 23 Nov 2023 10:09:18 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1700734124.cafbd5bd57e505ad11c0bf5610acd39a21878083.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/eduvpn-common/Manifest net-vpn/eduvpn-common/eduvpn-common-1.1.2.ebuild net-vpn/eduvpn-common/metadata.xml X-VCS-Directories: net-vpn/eduvpn-common/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: cafbd5bd57e505ad11c0bf5610acd39a21878083 X-VCS-Branch: master Date: Thu, 23 Nov 2023 10:09:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff5ba2ed-95de-4cde-9a35-ce9a100e8f42 X-Archives-Hash: bc92636bab9ef3fc100082d404522321 commit: cafbd5bd57e505ad11c0bf5610acd39a21878083 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Sat Oct 14 11:51:36 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Nov 23 10:08:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cafbd5bd net-vpn/eduvpn-common: new package, add 1.1.2 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Acked-by: Sam James gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> net-vpn/eduvpn-common/Manifest | 2 + net-vpn/eduvpn-common/eduvpn-common-1.1.2.ebuild | 74 ++++++++++++++++++++++++ net-vpn/eduvpn-common/metadata.xml | 28 +++++++++ 3 files changed, 104 insertions(+) diff --git a/net-vpn/eduvpn-common/Manifest b/net-vpn/eduvpn-common/Manifest new file mode 100644 index 000000000000..eee90b353fe8 --- /dev/null +++ b/net-vpn/eduvpn-common/Manifest @@ -0,0 +1,2 @@ +DIST eduvpn-common-1.1.2-deps.tar.xz 7517364 BLAKE2B a6bd2c11d5056170d88ca8c35d054cd6d529462af6595fe31c535640cdf59a25ae4811c04bc738832fa4c28d2d3308ca5615170547b0c93edf7c4dd3f475978b SHA512 ce167298a76df4e22b23e3cfb7640f0272ea546dc5767f66baab900029c2a4850b383521d2f74ae0d77c53f47ba6eb51d80ab122362e4a7470e69a1fc3ac423f +DIST eduvpn-common-1.1.2.gh.tar.gz 208300 BLAKE2B 8cb7e96d4a6a5032a1696aa57a6322f6a861aebba8b1f653d8be98e0044eacb3f23dc400ac9a8598dd83f30ca2140394ee2aa5733a27547f2a0378ad03ab422d SHA512 dbc290e48bc045456ad83e58e63c223cef5a7e1c7178537a44ed306a423276e644fb0f5607a7d8ddc5014b48ae11b57e365068d72887062277f8ab4f6f1ae660 diff --git a/net-vpn/eduvpn-common/eduvpn-common-1.1.2.ebuild b/net-vpn/eduvpn-common/eduvpn-common-1.1.2.ebuild new file mode 100644 index 000000000000..21519b3a39d0 --- /dev/null +++ b/net-vpn/eduvpn-common/eduvpn-common-1.1.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 go-module linux-info + +DESCRIPTION="Linux client and Python client API for eduVPN" +HOMEPAGE="https://www.eduvpn.org/" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/eduvpn/eduvpn-common.git" +else + SRC_URI=" + https://github.com/eduvpn/eduvpn-common/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz + https://www-user.tu-chemnitz.de/~hamari/eduvpn/${P}-deps.tar.xz + " + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="openvpn wireguard" +RESTRICT="test" + +RDEPEND=" + openvpn? ( net-vpn/openvpn ) +" + +wrap_python() { + local phase=$1 + shift + + pushd wrappers/python >/dev/null || die + distutils-r1_${phase} "$@" + popd >/dev/null || die +} + +pkg_pretend() { + if use wireguard; then + CONFIG_CHECK="~WIREGUARD" + WARNING_WIREGUARD="You must enable WIREGUARD to use wireguard." + check_extra_config + fi +} + +src_prepare() { + default + + mkdir -p wrappers/python/eduvpn_common/lib || die + + wrap_python ${FUNCNAME} +} + +src_compile() { + default + wrap_python ${FUNCNAME} +} + +src_test() { + default + wrap_python ${FUNCNAME} +} + +src_install() { + # The shared library is installed within the python package. There is no + # need to call the default routine. + wrap_python ${FUNCNAME} +} diff --git a/net-vpn/eduvpn-common/metadata.xml b/net-vpn/eduvpn-common/metadata.xml new file mode 100644 index 000000000000..26731a22c57e --- /dev/null +++ b/net-vpn/eduvpn-common/metadata.xml @@ -0,0 +1,28 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Code to be shared between eduVPN clients + + eduVPN is a frontend for either WireGuard or OpenVPN used widely at + european academic institutions. It features an easy to use VPN + configuration utility. Users just need to login occasionally with their + credentials issued by the institution to refresh their VPN + configuration. + + + enable support for OpenVPN + enable support for WireGuard + + + eduvpn/eduvpn-common + +