Changeset 0f0dc82


Ignore:
Timestamp:
04/21/2021 05:56:54 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
c9aa980
Parents:
5156197
Message:

cracklib: build Python 3 module

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r5156197 r0f0dc82  
    4646      <itemizedlist>
    4747         <listitem>
     48            <para>[xry111] - Add workaround for cracklib to build Python 3
     49            module.</para>
     50         </listitem>
     51         <listitem>
    4852            <para>[xry111] - Revert 7b66ed21, as the proposed fix in it
    4953            is rejected by Python maintainers.</para>
  • postlfs/security/cracklib.xml

    r5156197 r0f0dc82  
    120120    </important>
    121121
    122     <bridgehead renderas="sect3">CrackLib Dependencies</bridgehead>
    123 
    124     <bridgehead renderas="sect4">Optional</bridgehead>
    125     <para role="optional">
    126       <xref linkend="python2"/>
    127     </para>
    128 
    129122    <para condition="html" role="usernotes">User Notes:
    130123      <ulink url="&blfs-wiki;/cracklib"/>
     
    142135<screen><userinput>sed -i '/skipping/d' util/packer.c &amp;&amp;
    143136
     137PYTHON=python3 CPPFLAGS=-I/usr/include/python&python3-majorver; \
    144138./configure --prefix=/usr    \
    145139            --disable-static \
     
    207201
    208202    <para>
     203      <envar>PYTHON=python3</envar>: This forces the installation of
     204      python bindings for Python 3, even if Python 2 is installed.
     205    </para>
     206
     207    <para>
     208      <envar>CPPFLAGS=-I/usr/include/python&python3-majorver;</envar>:
     209      This works around an issue caused by incorrect usage of Python 3
     210      headers.
     211    </para>
     212
     213    <para>
    209214      <parameter>--with-default-dict=/lib/cracklib/pw_dict</parameter>:
    210215      This parameter forces the installation of the
     
    272277        cracklib-unpacker and create-cracklib-dict</seg>
    273278
    274         <seg>libcrack.so and the _cracklibmodule.so
    275           <application>Python</application> module</seg>
     279        <seg>libcrack.so and the _cracklib.so
     280          (<application>Python</application> module)</seg>
    276281
    277282        <seg>/lib/cracklib, /usr/share/dict and /usr/share/cracklib</seg>
Note: See TracChangeset for help on using the changeset viewer.