[lfs] branch trunk updated: Update expat and add a patch for Python. Add a patch to Python-3.14.3 (Security update). Update to expat-2.7.5 (Security update).

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <177455596081.22394.14448513856779084821@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 5ec984b65 Update expat and add a patch for Python. Add a patch to Python-3.14.3 (Security update). Update to expat-2.7.5 (Security update).
5ec984b65 is described below

commit 5ec984b65ed496ddfef1402615796bc387f4e50c
Author: Bruce Dubbs <[email protected]>
AuthorDate: Thu Mar 26 15:11:21 2026 -0500

    Update expat and add a patch for Python.
    Add a patch to Python-3.14.3 (Security update).
    Update to expat-2.7.5 (Security update).
---
 chapter01/changelog.xml | 14 ++++++++++++++
 chapter01/whatsnew.xml  |  6 +++---
 chapter03/patches.xml   |  3 +--
 chapter08/python.xml    | 10 ++++------
 packages.ent            | 12 ++++++------
 patches.ent             |  6 ++----
 6 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index a5cc72015..af3dcb486 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,20 @@
     appropriate for the entry or if needed the entire day's listitem.
     -->
 
+    <listitem>
+      <para>2026-03-26</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add a patch to Python-3.14.3 (Security update). Fixes
+          <ulink url='&lfs-ticket-root;5896'>#5896</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to expat-2.7.5 (Security update). Fixes
+          <ulink url='&lfs-ticket-root;5891'>#5891</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2026-03-15</para>
       <itemizedlist>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 1a9964d51..1d7172bfa 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -68,9 +68,9 @@
     <listitem>
        <para>E2fsprogs-&e2fsprogs-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
        <para>Expat-&expat-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
        <para>Expect-&expect-version;</para>
     </listitem>-->
@@ -301,7 +301,7 @@
   <itemizedlist>
     <title>Added:</title>
     <listitem><para></para></listitem>  <!-- satisfy build -->
-    <!--<listitem><para>Glibc-2.42-upstream_fixes-1.patch</para></listitem>-->
+    <listitem><para>Python-3.14.3-security_fixes-1.patch</para></listitem>
   </itemizedlist>
 
   <itemizedlist>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 2f546b53c..c1bf76515 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -126,7 +126,7 @@
         <para>MD5 sum: <literal>&perl-upstream-fix-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
-
+-->
     <varlistentry>
       <term>Python Security Fix Patch - <token>&python-security-fixes-patch-size;</token>:</term>
       <listitem>
@@ -134,7 +134,6 @@
         <para>MD5 sum: <literal>&python-security-fixes-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
--->
 
     <varlistentry revision="sysv">
       <term>SysVinit Consolidated Patch - <token>&sysvinit-consolidated-patch-size;</token>:</term>
diff --git a/chapter08/python.xml b/chapter08/python.xml
index 769c22fa9..32fceb141 100644
--- a/chapter08/python.xml
+++ b/chapter08/python.xml
@@ -42,13 +42,11 @@
 
   <sect2 role="installation">
     <title>Installation of Python 3</title>
-<!-- Fixed in Python-3.14.3
-    <para>Fix a regression that causes issues in BLFS packages like
-    pyatspi:</para>
 
-<screen><userinput remap="pre">sed -e "/self.namespaceURI =/i\        self.ownerDocument = None" \
-    -i Lib/xml/dom/minidom.py</userinput></screen>
--->
+    <para>First, apply a security patch for issues identified upstream:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&python-security-fixes-patch;</userinput></screen>
+
     <para>Prepare Python for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr          \
diff --git a/packages.ent b/packages.ent
index 1672d3687..f9b8ccafd 100644
--- a/packages.ent
+++ b/packages.ent
@@ -148,10 +148,10 @@
 <!ENTITY elfutils-fin-du "41 MB">
 <!ENTITY elfutils-fin-sbu "0.1 SBU">
 
-<!ENTITY expat-version "2.7.4">
-<!ENTITY expat-size "496 KB">
+<!ENTITY expat-version "2.7.5">
+<!ENTITY expat-size "497 KB">
 <!ENTITY expat-url "&github;/libexpat/libexpat/releases/download/R_2_7_4/expat-&expat-version;.tar.xz">
-<!ENTITY expat-md5 "5d3d1e1c829f8fb6f42b8e3e2371afa3">
+<!ENTITY expat-md5 "b2dc971ac2009807c8fcb94a04a6ade8">
 <!ENTITY expat-home "https://libexpat.github.io/">
 <!ENTITY expat-fin-du "14 MB">
 <!ENTITY expat-fin-sbu "0.1 SBU">
@@ -796,10 +796,10 @@
 <!ENTITY wheel-fin-du "708 KB">
 <!ENTITY wheel-fin-sbu "less than 0.1 SBU">
 
-<!ENTITY xml-parser-version "2.47">
-<!ENTITY xml-parser-size "276 KB">
+<!ENTITY xml-parser-version "2.51">
+<!ENTITY xml-parser-size "307 KB">
 <!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz">
-<!ENTITY xml-parser-md5 "89a8e82cfd2ad948b349c0a69c494463">
+<!ENTITY xml-parser-md5 "1ab894865dc9de1dd9f360aa7c4fbd34">
 <!ENTITY xml-parser-home "&github;/chorny/XML-Parser">
 <!ENTITY xml-parser-fin-du "2.3 MB">
 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
diff --git a/patches.ent b/patches.ent
index d5baf8ce3..bf5a485e5 100644
--- a/patches.ent
+++ b/patches.ent
@@ -43,11 +43,9 @@
 <!ENTITY perl-upstream-fix-patch-size "13 KB">
 -->
 
-<!--
 <!ENTITY python-security-fixes-patch "Python-&python-version;-security_fixes-1.patch">
-<!ENTITY python-security-fixes-patch-md5 "55f88f3bfe711911425c3172b9024938">
-<!ENTITY python-security-fixes-patch-size "24 KB">
--->
+<!ENTITY python-security-fixes-patch-md5 "bcccd393028ecb30340b36299a652736">
+<!ENTITY python-security-fixes-patch-size "15 KB">
 
 <!--
 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-3.patch">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.