Changeset 1b61cd1 for chapter08


Ignore:
Timestamp:
04/01/2023 01:05:35 PM (15 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
c2596a4
Parents:
70f30e9 (diff), fd531b84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

Location:
chapter08
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • chapter08/chapter08.xml

    r70f30e9 r1b61cd1  
    6464  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
     66  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flit-core.xml"/>
    6667  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/>
    6768  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
  • chapter08/coreutils.xml

    r70f30e9 r1b61cd1  
    5454    </note>
    5555
    56    <!-- this has been fixed in upstream gnulib, when a new version of
    57    coreutils is released, please check #4055 to see if the change has been
    58    picked up in this package -->
    59 <!--
    60    <para>Now, fix a problem with chmod return values:</para>
    61 
    62 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-chmod-patch;</userinput></screen>
    63 -->
     56    <!-- https://bugs.gnu.org/62403 -->
     57    <para>Fix a bug in checksum utilities causing failed checks not
     58    reported correctly:</para>
     59
     60<screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>
     61
    6462    <para>Now prepare Coreutils for compilation:</para>
    6563
  • chapter08/openssl.xml

    r70f30e9 r1b61cd1  
    9797        <emphasis>when upgrading to a version with the same MAJOR version
    9898        number</emphasis>.
     99      </para>
     100
     101      <!-- https://bugzilla.mindrot.org/show_bug.cgi?id=3548 -->
     102      <para>
     103        If <application>OpenSSH</application> is installed, it will be an
     104        exception of the general rule above.  It contains an
     105        over-restrictive OpenSSL version check, so both SSH client and SSH
     106        server will refuse to start if OpenSSL
     107        is updated with MAJOR version number unchanged but MINOR version
     108        number changed.  You need to rebuild
     109        <application>OpenSSH</application> after such an upgrade.
     110        <emphasis role='bold'>If <application>OpenSSH</application> is being
     111        used to access the system, you must rebuild and reinstall it
     112        after upgrading OpenSSL to a new MINOR version number before logout
     113        or you won't be able to login via SSH anymore.</emphasis>
    99114      </para>
    100115
  • chapter08/stripping.xml

    r70f30e9 r1b61cd1  
    5656  <important>
    5757    <para>
    58       If any package of which the version is different from the version
     58      If there is any package whose version is different from the version
    5959      specified by the book (either following a security advisory or
    6060      satisfying personal preference), it may be necessary to update the
    61       the library file name in <envar>save_usrlib</envar> or
     61      library file name in <envar>save_usrlib</envar> or
    6262      <envar>online_usrlib</envar>.
    6363      <emphasis role='bold'>Failing to do so may render the system
  • chapter08/util-linux.xml

    r70f30e9 r1b61cd1  
    976976      </varlistentry>
    977977
    978       <varlistentry id="rkfill">
    979         <term><command>rkfill</command></term>
     978      <varlistentry id="rfkill">
     979        <term><command>rfkill</command></term>
    980980        <listitem>
    981981          <para>Tool for enabling and disabling wireless devices</para>
    982           <indexterm zone="ch-system-util-linux rkfill">
    983             <primary sortas="b-rkfill">rkfill</primary>
     982          <indexterm zone="ch-system-util-linux rfkill">
     983            <primary sortas="b-rfkill">rfkill</primary>
    984984          </indexterm>
    985985        </listitem>
  • chapter08/wheel.xml

    r70f30e9 r1b61cd1  
    4343    <para>Compile Wheel with the following command:</para>
    4444
    45 <screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>Install Wheel with the following command:</para>
     
    4949<screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen>
    5050
    51     <variablelist>
    52       <title>The meaning of the pip3 configuration options and commands:</title>
    53 
    54       <varlistentry>
    55         <term><envar>PYTHONPATH=src</envar></term>
    56         <listitem>
    57            <para>Allows this package (not installed yet) to build a
    58            wheel archive for itself, to avoid a chicken-or-egg problem.</para>
    59         </listitem>
    60       </varlistentry>
    61 
    62       <varlistentry>
    63         <term><command>wheel</command></term>
    64         <listitem>
    65            <para>This command builds the wheel archive for this package.</para>
    66         </listitem>
    67       </varlistentry>
    68 
    69       <varlistentry>
    70         <term><parameter>-w dist</parameter></term>
    71         <listitem>
    72            <para>Instructs pip to put the created wheel into the
    73            <filename class='directory'>dist</filename> directory.</para>
    74         </listitem>
    75       </varlistentry>
    76 
    77       <varlistentry>
    78         <term><command>install</command></term>
    79         <listitem>
    80            <para>This command installs the package.</para>
    81         </listitem>
    82       </varlistentry>
    83 
    84       <varlistentry>
    85         <term><parameter>--no-build-isolation</parameter>,
    86               <parameter>--no-deps</parameter>, and
    87               <parameter>--no-index</parameter></term>
    88         <listitem>
    89           <para>These options prevent fetching files from the online package
    90           repository (PyPI). If packages are installed in the correct order,
    91           pip won't need to fetch any files in the first place; these
    92           options add some safety in case of user error.</para>
    93         </listitem>
    94       </varlistentry>
    95 
    96       <varlistentry>
    97         <term><parameter>--find-links dist</parameter></term>
    98         <listitem>
    99            <para>Instructs pip to search for wheel archives in the
    100            <filename class='directory'>dist</filename> directory.</para>
    101         </listitem>
    102       </varlistentry>
    103     </variablelist>
    10451  </sect2>
    10552
Note: See TracChangeset for help on using the changeset viewer.