From patchwork Thu Dec 3 07:51:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107073 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9390.1796284333587402874 for ; Wed, 02 Dec 2026 23:52:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=rapB0fp8; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-3b439e37813so7691472a91.3 for ; Wed, 02 Dec 2026 23:52:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796284333; x=1796889133; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=1Mu+jFREkKkNX1TEx2mrwfIPZ+ScuVHtcB9sBWHkQgA=; b=rapB0fp8Z53eScoJ58Fy4NruyZbIdPWWHhkwnFn3uiRIcaJk7YWGqq0krBF7D3H1Oy 070/KDhuE0klyn70WZUdXXnmmgW41x2CkJqhFY5ustQWV1hr7pe4Ehz424gaHjZPfYww UhqIFNors6YQHK2x+ARoUmOw2e+veS5WrlRr2Se1+yuDpuSfoMg6aH7dGEqxleJt5m84 Ct+Da51Pl8h7Tpg8pMLkzlDYHNsl2eQlZl8WojmYN3sUoebAZap/9/vcazw29grtimuA SaY9KJ4lfSz+Z613lmlIihNQOx2umkskkZXXpZwyUwV5OKJbyWATqmZDbTOx9yce320Q 11UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796284333; x=1796889133; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=1Mu+jFREkKkNX1TEx2mrwfIPZ+ScuVHtcB9sBWHkQgA=; b=UG75K8jk1JqMHhjdtp9DA8dXngznQJQ0Ew9+c9pv/IBt/WYZIgaRn2GRMvbwg9Om7p PqtOurjBhieqLgkANLzT8JgSezXFUn5TNEAyTP/m/l1lfmZzB5+ci/mOKVKVdlizTkpu +zTz768XBXgX++ti6Y/4ovbrD9ROEBX5ZJO3NqVzLBZe+N6peYGgbQUE9asDZANtr8lg iXGY3Cw+0pazKdxNUeEX0iT8/OQNrUSKaFsGMuZp+j3KgysB013ngmfuyDdwMI2H+j7h wWjwPJ/qU77+9P965RW2+QDQjJN2TRxq4+B/ZgHsJSQTEmF2GZVZ5Nlpqpcb9nV+QqfM T0XQ== X-Gm-Message-State: APuU4Z9ik9WiCWLXlV30fzjuUyb2G8+6pA8cJD56p8p/yAllxtY/AcKF 272p5gjLta/XymD0HcIulW6Be64vRNiRpSZg15IWFtd3ML20N5ZzEFTmsM+a8c1B X-Gm-Gg: AZFdTZc8nZGTlNQCEhhpWryFvJMhKdL3KEjRf0y3LSIWsTooU7H0895IoDACUaIvWiF Z723ak1phaT2g+zUlT9/g5KwhuARwIBLCIySqvmQEJK3ug1COPHLFMYt5ivAHh+s3XsZ3XkSLi9 3d3XIQzKE7jAtnuE7T+tI3QfFXnIvH4MYw0OOKUWQunqoz4rfheQ8pJkcvyOi+fIhgyPw+UnIc5 Px79NT2lAAqjLEDMZS4kktp6Idagx9irmheLtiYbNuYE/pJoUICXADajcn2Gz2l/GnJhuuWis84 lVfytbb+Vc88qWqD07jXVPgLfHb5cuxpbuZAaNDjNBlj1VzHpNsFgoX3/1HH8Tciww5/a6b0pC/ f4uvLeHK0WBCxck6X7AJ+y50igNLlEx/LmYWqnfCeJC/9EDERbsoVgrQSUoxMgxrwouQJNhRKmY u0wlTvk2HwYTXtBTjhtdH4KYeptLRORelBTQJN7bYGSIfgLQC4P0xRk11PUKdPWO+aHVDaYSke4 W4fRrhA+VjyZcfJBRJbTtgotU/X5deuS+YPR/783mro2pvmaPukAMxlQs+8VhE0PhC0kMP5KQO3 U9G2B5aCQLBg2T8mpFy/BwVqjfFAOUCa06zBiztOKtTa7RCTg51svbmPoA9Zb6F3UG+KmP8XzuK lRwq9nDvpva5E3hCbQpvq9WeXeUCG41LpqpP9kzE+YlqchapytevEE1BNFYpqH9OOm+U47bNR1C jFZrGfpqyKhhMhc797j4SHWiXmHcXWihV9GIp6OXqFwEEy2DbUosRRAU2JwmTrp5u4CQvr9GXZZ lsz+7FY9ZPWYxulhgjjhp60LdypU8ONjydRK6f2t0gRO81dfc6OGWVRaFLhaGR+wEH5CTwbVTW8 OfiM X-Received: by 2002:a17:90b:250f:b0:3b4:f648:c41a with SMTP id 98e67ed59e1d1-3b4f648c59emr19534421a91.46.1796284332917; Wed, 02 Dec 2026 23:52:12 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b44b2156c2sm30558208a91.0.2026.12.02.23.52.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:52:11 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 08/13] mercurial: Upgrade 7.2.4 -> 7.2.5 Date: Wed, 2 Dec 2026 23:51:56 -0800 Message-ID: <20261203075202.3404502-9-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261203075202.3404502-1-khem.raj@oss.qualcomm.com> References: <20261203075202.3404502-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 03 Dec 2026 07:52:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133872 Security and bug fix release: - Upgrade the vendored zstd to 1.6.0 for CVE-2026-124851; upgrade Rust extension dependencies with advisories (RUSTSEC-2026-0391, RUSTSEC-2026-0395 to RUSTSEC-2026-0406) - New storage.revlog.validate-incoming-content option, enabled by server.validate, to check incoming revisions against their node id - rebase keeps the filelog ancestry of both sides of a merge; fix a dirstate crash on files of 2 GiB or more, HTTP pushes hanging on mid-request authentication and stale branchmap v3 heads - Several fixes for experimental changegroup v4 / delta-info - setup.py accepts ssl.HAS_TLSv1_3 in addition to ssl.HAS_TLSv1_2 Refresh 0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch: drop its setup.py hunk, which is fixed upstream by the HAS_TLSv1_3 check; the sslutil.py part is still needed for OpenSSL 4. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...-ssl.HAS_TLSv1_2-as-authoritative-wi.patch | 26 +++---------------- ...{mercurial_7.2.4.bb => mercurial_7.2.5.bb} | 2 +- 2 files changed, 5 insertions(+), 23 deletions(-) rename meta-oe/recipes-devtools/mercurial/{mercurial_7.2.4.bb => mercurial_7.2.5.bb} (96%) diff --git a/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch b/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch index e21376768b..265bed49cd 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch +++ b/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch @@ -25,12 +25,14 @@ Only trust ssl.HAS_TLSv1_2 with OpenSSL < 4.0 and assume TLS 1.2 is available otherwise. TLS 1.0 and TLS 1.1 are deliberately not assumed: they are disabled in the default OpenSSL 4.0 configuration. +The setup.py check was fixed upstream in 7.2.5 (it now also accepts +ssl.HAS_TLSv1_3), so only sslutil.py needs patching. + Upstream-Status: Pending Signed-off-by: Khem Raj --- mercurial/sslutil.py | 13 ++++++++++++- - setup.py | 9 ++++++++- - 2 files changed, 20 insertions(+), 2 deletions(-) + 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py index fd8333e..f278b26 100644 @@ -61,23 +63,3 @@ index fd8333e..f278b26 100644 supportedprotocols.add(b'tls1.2') if getattr(ssl, 'HAS_TLSv1_3', False): supportedprotocols.add(b'tls1.3') -diff --git a/setup.py b/setup.py -index ca70bc0..18d958a 100644 ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,14 @@ import sys - import sysconfig - import tempfile - --if not ssl.HAS_TLSv1_2: -+# OpenSSL 4.0 removed the version specific TLSv1_2_method() API, so CPython -+# reports ssl.HAS_TLSv1_2 as False when built against it (see CPython issue -+# gh-146207). TLS 1.2 itself is still fully supported there and remains -+# selectable through ssl.SSLContext.minimum_version, so the flag can only be -+# trusted with older OpenSSL releases. -+has_tlsv1_2 = ssl.HAS_TLSv1_2 or ssl.OPENSSL_VERSION_INFO[0] >= 4 -+ -+if not has_tlsv1_2: - error = """ - The `ssl` module does not advertise support for TLS 1.2. - Please make sure that your Python installation was compiled against an OpenSSL diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb b/meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb similarity index 96% rename from meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb rename to meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb index de398d52a5..b707c3ae74 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb +++ b/meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb @@ -12,7 +12,7 @@ inherit python3native python3targetconfig SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz \ file://0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch \ " -SRC_URI[sha256sum] = "85839e0f39e6cb893a88932aa36ef661759f3c5c5de4551ad26bd9df53cb71a2" +SRC_URI[sha256sum] = "717da551ddd9feb301454cd9a24623122c15d5d1929a55b71afd8ae0c0b9e239" # Constrain the version to digits-and-dots, otherwise the auto-derived regex # also matches the X.Yrc0 pre-releases in the same directory and picks those.