diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2023-12-08 23:44:44 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-02-26 17:41:47 +0100 |
commit | 2865a79eb7f6ee336394e922222c30dc2bc4a063 (patch) | |
tree | 8f31b6edd3f9f83e9f8c6fa09d67d0f88544d04c /net-vpn | |
parent | net-vpn/eduvpn-common: add verify-sig support (diff) | |
download | gentoo-2865a79eb7f6ee336394e922222c30dc2bc4a063.tar.gz gentoo-2865a79eb7f6ee336394e922222c30dc2bc4a063.tar.bz2 gentoo-2865a79eb7f6ee336394e922222c30dc2bc4a063.zip |
net-vpn/eduvpn-client: add verify-sig support
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/eduvpn-client/Manifest | 3 | ||||
-rw-r--r-- | net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/net-vpn/eduvpn-client/Manifest b/net-vpn/eduvpn-client/Manifest index 010edea0427a..b835ee77c4be 100644 --- a/net-vpn/eduvpn-client/Manifest +++ b/net-vpn/eduvpn-client/Manifest @@ -1,2 +1,3 @@ DIST eduvpn-client-4.1.3.gh.tar.gz 1163669 BLAKE2B 75184f21ecf24466e1496ced1295cb95a42e35f80d070a90dc9a2e2ed46272604703c0f56ebbc9a53b78f09a9ed685e64f578539502ef93b384d779d2a69af8c SHA512 2f180b238fc22dd19ae07a5e9e0518e51b302ecb1413a2d7f4fdb551f9cee5ef82ecf74498b63abb86745b8f9719a075b8d9758104cf124f88d65767944bc839 -DIST eduvpn-client-4.2.1.gh.tar.gz 1025053 BLAKE2B e81d95ce2fae2035bb292c3d9f75ecf7e2b10dc39bb6dbff67ff12d3ae248d18555ae96939f45d83dc3e646ab8d81c613d2a0f8ffc31af04a36a0b5fc4a41d6a SHA512 a357964260183be3766add156241a2e18448342dca49bfa7a7f9835952577fb19bd879eb663b463451a151b47eb5a77e4e4d1d34824b89088d41fe1284a9c84b +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 diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild index f0298e230b0d..0b30b821346b 100644 --- a/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild +++ b/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild @@ -17,8 +17,14 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/eduvpn/python-${PN}.git" S="${WORKDIR}/${P}" else - SRC_URI="https://github.com/eduvpn/python-eduvpn-client/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - S="${WORKDIR}/python-${P}" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc + 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 ) + " + S="${WORKDIR}/${MY_P}" fi DESCRIPTION="Linux client and Python client API for eduVPN" @@ -37,6 +43,10 @@ RDEPEND=" >=net-vpn/eduvpn-common-1.2.0[${PYTHON_USEDEP}] " +if [[ ${PV} != *9999* ]] ; then + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-eduvpn )" +fi + PATCHES=( "${FILESDIR}/${PN}-desktop.patch" ) |