Author: pierre
Date: Mon Jan 28 13:29:58 2019
New Revision: 21056
Log:
Add and document a switch for using Python 3 in libpwquality
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/postlfs/security/libpwquality.xml
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Mon Jan 28 13:11:02
2019 (r21055)
+++ trunk/BOOK/introduction/welcome/changelog.xml Mon Jan 28 13:29:58
2019 (r21056)
@@ -46,6 +46,10 @@
<para>January 28th, 2019</para>
<itemizedlist>
<listitem>
+ <para>[pierre] - Libpwquality needs a configure switch to use Python
+ 3. Add and document it.</para>
+ </listitem>
+ <listitem>
<para>[ken] - Update to firefox-65.0. Now supports webp. Fixes
<ulink url="&blfs-ticket-root;11597">#11597</ulink>.</para>
</listitem>
Modified: trunk/BOOK/postlfs/security/libpwquality.xml
==============================================================================
--- trunk/BOOK/postlfs/security/libpwquality.xml Mon Jan 28 13:11:02
2019 (r21055)
+++ trunk/BOOK/postlfs/security/libpwquality.xml Mon Jan 28 13:29:58
2019 (r21056)
@@ -84,6 +84,11 @@
<xref linkend="linux-pam"/>
</para>
+ <bridgehead renderas="sect4">Optional</bridgehead>
+ <para role="optional">
+ <xref linkend="python2"/>
+ </para>
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libpwquality"/>
</para>
@@ -98,7 +103,8 @@
</para>
<screen><userinput>./configure --prefix=/usr --disable-static \
- --with-securedir=/lib/security &&
+ --with-securedir=/lib/security \
+ --with-python-binary=python3 &&
make</userinput></screen>
<para>
@@ -113,6 +119,16 @@
</sect2>
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <parameter>--with-python-binary=python3</parameter>: This parameter gives
+ the location of the <application>Python</application> binary. The default
+ is <parameter>python</parameter>, and requires <xref linkend="python2"/>.
+ </para>
+ </sect2>
+
<sect2 role="configuration">
<title>Configuring Libpwquality</title>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page