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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2763A158013 for ; Thu, 17 Oct 2024 05:59:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41612E0841; Thu, 17 Oct 2024 05:59:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A933E082F for ; Thu, 17 Oct 2024 05:59:12 +0000 (UTC) From: =?UTF-8?q?Ulrich=20M=C3=BCller?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Ulrich=20M=C3=BCller?= Subject: [gentoo-dev] [PATCH 3/4] cvs.eclass: New eclass variable ECVS_SSH_EXTRA_OPTS Date: Thu, 17 Oct 2024 07:58:30 +0200 Message-ID: <20241017055843.16396-3-ulm@gentoo.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017055843.16396-1-ulm@gentoo.org> References: <20241017055843.16396-1-ulm@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 3674420b-c237-423f-ab00-67330044b578 X-Archives-Hash: 973e67cabc74aa551168db529b79d616 This allows passing additional options to ssh. Signed-off-by: Ulrich Müller --- eclass/cvs.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 1289ee54cc3b..5148daa2d57d 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -174,6 +174,12 @@ _CVS_ECLASS=1 # WARNING: If a SSH host key is not specified using this variable, the # remote host key will not be verified. +# @ECLASS_VARIABLE: ECVS_SSH_EXTRA_OPTS +# @DEFAULT_UNSET +# @DESCRIPTION: +# If SSH is used for "ext" authentication, this array variable can be +# used to pass additional options to the SSH command. + # @ECLASS_VARIABLE: ECVS_CLEAN # @DEFAULT_UNSET # @DESCRIPTION: @@ -387,6 +393,7 @@ cvs_fetch() { -oUserKnownHostsFile="${known_hosts_file}" \\ -oForwardX11=no \\ -oClearAllForwardings=yes \\ + ${ECVS_SSH_EXTRA_OPTS[*]} \\ "\$@" EOF chmod a+x "${CVS_RSH}" || die -- 2.47.0