public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/openconnect/
Date: Fri,  5 May 2023 14:42:47 +0000 (UTC)	[thread overview]
Message-ID: <1683297758.7e265aeb623df5fa98b9a80d4be665ae16184222.floppym@gentoo> (raw)

commit:     7e265aeb623df5fa98b9a80d4be665ae16184222
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri May  5 14:40:13 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri May  5 14:42:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e265aeb

net-vpn/openconnect: add 9.10

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-vpn/openconnect/Manifest                           |  2 ++
 ...openconnect-9999.ebuild => openconnect-9.10.ebuild} | 18 +++++++++++++++---
 net-vpn/openconnect/openconnect-9999.ebuild            | 18 +++++++++++++++---
 3 files changed, 32 insertions(+), 6 deletions(-)

diff --git a/net-vpn/openconnect/Manifest b/net-vpn/openconnect/Manifest
index a855a2300764..aa92a3417bd2 100644
--- a/net-vpn/openconnect/Manifest
+++ b/net-vpn/openconnect/Manifest
@@ -1 +1,3 @@
 DIST openconnect-9.01.tar.gz 2718526 BLAKE2B e346b30ed8a299bcdd1fc88868d59b4d501c48bc5c02092e92e7ded0cd36e4de6a5b65aae4f6bf8c9aa60cf70f5466b110b64889df8d286016c9a1b4d9f46ff7 SHA512 b7428847a90f8ca9d1f1f61653c1f2486f0a07989f3b7435b746c5e901998194f4ee2b4f9569a548a23bba368bb1e9f273674c0759aac9df30208d2a6a303c34
+DIST openconnect-9.10.tar.gz 2843858 BLAKE2B 03349acaf2420fc1acb4e5787159a7185708e9e2fe8f7e3b54141342da361b304967a27d60ea3b3bede62b9e74718cbcc734c33c36bf49a7ab4ca8ee5d96bbbf SHA512 64d10ad67fccd11d1aaae23a77c6cfd8200bbba0eae21a7d01c604688ec9c35b5f19eeb9a47de14d383780eba64a2f6c06daccd4c1fae6289efdb0dc2fb7c536
+DIST openconnect-9.10.tar.gz.asc 833 BLAKE2B 37ac92d70b415ba4d80c6a9028610e5660eecf7bd826d8ea708c8c59b60ff2fc8dcdc583dbc163ad5929c34b034e44273dc91d966b81397daaa8edda6407f5bc SHA512 4ed8be3a8aa1a0bdedff94910b2de792c93025498f83b50033df9ef25fd0a9dd86ab3011183657b49bbc3c2b70a5acb9605bdfa722e2bb2f2318540d1047f730

diff --git a/net-vpn/openconnect/openconnect-9999.ebuild b/net-vpn/openconnect/openconnect-9.10.ebuild
similarity index 84%
copy from net-vpn/openconnect/openconnect-9999.ebuild
copy to net-vpn/openconnect/openconnect-9.10.ebuild
index 1128cd29c582..bda422a32553 100644
--- a/net-vpn/openconnect/openconnect-9999.ebuild
+++ b/net-vpn/openconnect/openconnect-9.10.ebuild
@@ -12,8 +12,10 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://gitlab.com/openconnect/openconnect.git"
 	inherit git-r3 autotools
 else
-	SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+	inherit verify-sig
+	SRC_URI="https://www.infradead.org/openconnect/download/${P}.tar.gz
+		verify-sig? ( https://www.infradead.org/openconnect/download/${P}.tar.gz.asc )"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software"
@@ -68,6 +70,11 @@ BDEPEND="
 	test? ( net-vpn/ocserv )
 "
 
+if [[ ${PV} != 9999 ]]; then
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-dwmw2 )"
+	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/dwmw2@kernel.org.key"
+fi
+
 CONFIG_CHECK="~TUN"
 
 pkg_pretend() {
@@ -81,8 +88,12 @@ pkg_setup() {
 src_unpack() {
 	if [[ ${PV} == 9999 ]]; then
 		git-r3_src_unpack
+	else
+		if use verify-sig; then
+			verify-sig_verify_detached "${DISTDIR}/${P}".tar.gz{,.asc}
+		fi
+		unpack "${P}.tar.gz"
 	fi
-	default
 }
 
 src_prepare() {
@@ -132,6 +143,7 @@ src_test() {
 			break
 		fi
 	done
+	addwrite /proc
 	default
 }
 

diff --git a/net-vpn/openconnect/openconnect-9999.ebuild b/net-vpn/openconnect/openconnect-9999.ebuild
index 1128cd29c582..bda422a32553 100644
--- a/net-vpn/openconnect/openconnect-9999.ebuild
+++ b/net-vpn/openconnect/openconnect-9999.ebuild
@@ -12,8 +12,10 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://gitlab.com/openconnect/openconnect.git"
 	inherit git-r3 autotools
 else
-	SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+	inherit verify-sig
+	SRC_URI="https://www.infradead.org/openconnect/download/${P}.tar.gz
+		verify-sig? ( https://www.infradead.org/openconnect/download/${P}.tar.gz.asc )"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software"
@@ -68,6 +70,11 @@ BDEPEND="
 	test? ( net-vpn/ocserv )
 "
 
+if [[ ${PV} != 9999 ]]; then
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-dwmw2 )"
+	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/dwmw2@kernel.org.key"
+fi
+
 CONFIG_CHECK="~TUN"
 
 pkg_pretend() {
@@ -81,8 +88,12 @@ pkg_setup() {
 src_unpack() {
 	if [[ ${PV} == 9999 ]]; then
 		git-r3_src_unpack
+	else
+		if use verify-sig; then
+			verify-sig_verify_detached "${DISTDIR}/${P}".tar.gz{,.asc}
+		fi
+		unpack "${P}.tar.gz"
 	fi
-	default
 }
 
 src_prepare() {
@@ -132,6 +143,7 @@ src_test() {
 			break
 		fi
 	done
+	addwrite /proc
 	default
 }
 


             reply	other threads:[~2023-05-05 14:42 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05 14:42 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 16:13 [gentoo-commits] repo/gentoo:master commit in: net-vpn/openconnect/ Mike Gilbert
2024-04-13 15:47 Mike Gilbert
2024-04-13 15:31 Mike Gilbert
2023-06-06  0:26 Mike Gilbert
2023-06-02  5:34 Sam James
2023-06-02  2:39 Sam James
2023-06-02  2:39 Sam James
2023-06-02  2:39 Sam James
2023-06-02  2:39 Sam James
2023-05-21 20:47 Mike Gilbert
2023-05-17 18:29 Mike Gilbert
2023-05-01 15:15 Sam James
2023-04-18  6:06 Sam James
2022-11-24 12:00 WANG Xuerui
2022-09-07  7:52 Michał Górny
2022-08-30  8:37 Jakov Smolić
2022-08-23 18:10 Arthur Zamarin
2022-08-20  7:03 Arthur Zamarin
2022-08-20  3:47 Sam James
2022-08-20  0:22 Yixun Lan
2022-08-19 19:12 Mike Gilbert
2022-07-31 11:10 Agostino Sarubbo
2022-07-31 11:08 Agostino Sarubbo
2022-07-31 11:06 Agostino Sarubbo
2022-07-31  8:27 Sam James
2022-07-31  8:27 Sam James
2022-07-30 21:54 Mike Gilbert
2022-07-30 21:54 Mike Gilbert
2022-07-30 21:54 Mike Gilbert
2022-05-19  7:49 Agostino Sarubbo
2022-05-15  9:05 Jakov Smolić
2022-05-13 21:06 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-05-05 15:10 Mike Gilbert
2022-04-23 23:31 Mike Gilbert
2022-04-23 21:34 Sam James
2022-04-11 12:31 Mike Gilbert
2022-04-11  1:08 Mike Gilbert
2022-04-11  0:46 Mike Gilbert
2022-04-11  0:46 Mike Gilbert
2022-04-09 22:05 Jason Zaman
2021-10-20 17:47 Mike Gilbert
2021-10-16 22:05 Sam James
2021-10-14 18:32 Sam James
2021-10-14 16:38 Sam James
2021-10-14  5:57 Agostino Sarubbo
2021-10-13 20:33 Sam James
2021-10-10 19:08 Mike Gilbert
2021-10-02  6:02 Mike Gilbert
2021-10-02  6:01 Mike Gilbert
2021-10-02  6:01 Mike Gilbert
2021-07-24 23:02 Marek Szuba
2021-03-27 18:25 Agostino Sarubbo
2020-11-12 15:30 Sam James
2020-11-12 15:09 Sam James
2020-11-11 16:44 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-09-02 16:33 Mike Gilbert
2020-06-10 23:32 Mike Gilbert
2020-06-08  6:41 Michał Górny
2020-05-14 21:29 Thomas Deutschmann
2020-05-13 17:14 Agostino Sarubbo
2020-05-09  8:47 Mart Raudsepp
2020-05-07 16:35 Mikle Kolyada
2020-05-07 15:58 Agostino Sarubbo
2020-05-06  1:01 Thomas Deutschmann
2020-05-06  1:00 Mike Gilbert
2020-05-02 13:30 Mart Raudsepp
2020-05-01  9:11 Georgy Yakovlev
2020-05-01  4:27 Mike Gilbert
2020-04-22 18:03 Mike Gilbert
2020-04-22 17:05 Agostino Sarubbo
2020-04-22 17:04 Agostino Sarubbo
2020-04-22 17:02 Agostino Sarubbo
2020-04-22 17:01 Agostino Sarubbo
2020-04-22 16:41 Mart Raudsepp
2020-04-21 19:58 Mike Gilbert
2020-04-21 19:27 Mike Gilbert
2020-04-03 14:26 Mike Gilbert
2020-04-03  4:14 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-02-16 20:24 David Seifert
2019-12-09 19:54 Mike Gilbert
2019-11-01 10:45 Mikle Kolyada
2019-10-06 20:56 Aaron Bauman
2019-10-03  8:14 Agostino Sarubbo
2019-10-03  7:59 Agostino Sarubbo
2019-10-03  7:57 Agostino Sarubbo
2019-09-24 19:27 Mike Gilbert
2019-06-23  1:33 Mike Gilbert
2019-06-23  1:33 Mike Gilbert
2019-06-23  1:33 Mike Gilbert
2019-05-24 20:48 Aaron Bauman
2019-01-19  3:41 Mike Gilbert
2019-01-18 17:21 Mike Gilbert
2019-01-18 17:11 Mike Gilbert
2018-10-22  0:37 Mike Gilbert
2018-10-22  0:37 Mike Gilbert
2018-03-28 17:08 Mike Gilbert
2018-01-05 22:02 Ulrich Müller
2017-08-28  4:42 Markus Meier
2017-05-10 15:44 Agostino Sarubbo
2017-05-10  9:32 Agostino Sarubbo
2017-05-07 19:16 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683297758.7e265aeb623df5fa98b9a80d4be665ae16184222.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox