Changeset 292ff45 for general


Ignore:
Timestamp:
04/01/2021 02:12:34 AM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
40454cd2
Parents:
8fa411c
Message:

Patch Python-2.7.18 for vulnerabilities.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24419 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python2.xml

    r8fa411c r292ff45  
    1010  <!ENTITY python2-md5sum        "fd6cc8ec0a78c44036f825e739f36e5a">
    1111  <!ENTITY python2-size          "12.2 MB">
    12   <!ENTITY python2-buildsize     "134 MB (add 17 MB for tests)">
    13   <!ENTITY python2-time          "0.7 SBU (Using parallelism=4; add 7.1 SBU for tests)">
     12  <!ENTITY python2-buildsize     "228 MB (add 17 MB for tests)">
     13  <!ENTITY python2-time          "0.5 SBU (Using parallelism=4; add 5.9 SBU for tests)">
    1414
    1515  <!ENTITY python2htmldoc-download-http
     
    9393
    9494    <itemizedlist spacing="compact">
    95       <title>Optional HTML Documentation</title>
    96       <listitem>
    97         <para>
    98           Download (HTTP): <ulink url="&python2htmldoc-download-http;"/>
     95      <listitem>
     96        <para>
     97          Required patch:
     98          <ulink url="&patch-root;/Python-&python2-version;-security_fixes-1.patch"/>
     99        </para>
     100      </listitem>
     101      <listitem>
     102        <para>
     103          Optional HTML Documentation: <ulink url="&python2htmldoc-download-http;"/>
    99104        </para>
    100105      </listitem>
    101106    </itemizedlist>
     107
    102108
    103109    <bridgehead renderas="sect3">Python 2 Dependencies</bridgehead>
     
    153159    </para>
    154160
    155 <screen><userinput>./configure --prefix=/usr       \
    156             --enable-shared     \
    157             --with-system-expat \
    158             --with-system-ffi   \
    159             --enable-unicode=ucs4 &amp;&amp;
     161<screen><userinput>
     162patch -Np1 -i ../Python-&python2-version;-security_fixes-1.patch &amp;&amp;
     163./configure --prefix=/usr                              \
     164            --enable-shared                            \
     165            --with-system-expat                        \
     166            --with-system-ffi                          \
     167            --enable-unicode=ucs4                     &amp;&amp;
    160168make</userinput></screen>
    161169
    162170    <para>
     171      If you invoke the tests, they will run through twice.
    163172      To test the results, issue: <command>make -k test</command>.
    164173    </para>
Note: See TracChangeset for help on using the changeset viewer.