Ignore:
Timestamp:
03/31/2021 10:41:39 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
7610848
Parents:
811b5a39
git-author:
Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
Message:

Update to new lfs structure

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

    r811b5a39 r6dfcfecc  
    2626    <para>The OpenSSL package contains  management tools and libraries relating
    2727    to cryptography. These are useful for providing cryptographic functions
    28     to other packages, such as OpenSSH, email applications and web browsers
     28    to other packages, such as OpenSSH, email applications, and web browsers
    2929    (for accessing HTTPS sites).  </para>
    3030
     
    3434
    3535      <seglistitem>
    36         <seg>&openssl-ch6-sbu;</seg>
    37         <seg>&openssl-ch6-du;</seg>
     36        <seg>&openssl-fin-sbu;</seg>
     37        <seg>&openssl-fin-du;</seg>
    3838      </seglistitem>
    3939    </segmentedlist>
     
    4343  <sect2 role="installation">
    4444    <title>Installation of OpenSSL</title>
    45 <!--
    46     <para>First, fix a problem identified upstream:</para>
    47 
    48 <screen><userinput remap="pre">sed -i '/\} data/s/ =.*$/;\n    memset(\&amp;data, 0, sizeof(data));/' \
    49   crypto/rand/rand_lib.c</userinput></screen>
    50 -->
     45
    5146    <para>Prepare OpenSSL for compilation:</para>
    5247
     
    8176  </sect2>
    8277
    83   <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ -->
     78  <!-- - - - - - - - - - -->
     79  <!-- Multilib - 32bit  -->
     80  <!-- - - - - - - - - - -->
    8481 
    8582  <sect2 arch="ml_32,ml_all" role="installation">
    86     <title>Installation of OpenSSL - 32-bit</title>
     83    <title>Installation of OpenSSL - 32bit</title>
    8784
    8885    <para>Clean previous build:</para>
     
    9794    ./config               \
    9895    --prefix=/usr          \
    99     --libdir=/usr/lib32    \
    100          --openssldir=/etc/ssl \
    101          --libdir=lib32        \
    102          shared                \
    103          zlib-dynamic</userinput></screen>
     96    --libdir=&usr-lib-m32;    \
     97    --openssldir=/etc/ssl \
     98    --libdir=lib32         \
     99    shared                 \
     100    zlib-dynamic</userinput></screen>
    104101
    105102    <para>Compile the package:</para>
    106103
    107104<screen><userinput remap="make">make</userinput></screen>
     105
    108106    <para>Install the package:</para>
    109107
    110108<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    111 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     109cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
    112110rm -rf DESTDIR</userinput></screen>
    113111
    114   </sect2>
    115 
    116   <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ -->
     112  </sect2><!-- m32 -->
     113
     114  <!-- - - - - - - - - - -->
     115  <!-- Multilib - x32bit -->
     116  <!-- - - - - - - - - - -->
    117117 
    118118  <sect2 arch="ml_x32,ml_all" role="installation">
    119     <title>Installation of OpenSSL - x32-bit</title>
     119    <title>Installation of OpenSSL - x32bit</title>
    120120
    121121    <para>Clean previous build:</para>
     
    130130    ./config              \
    131131    --prefix=/usr         \
    132     --libdir=/usr/libx32  \
    133          --openssldir=/etc/ssl \
    134          --libdir=libx32       \
    135          shared                \
    136          zlib-dynamic</userinput></screen>
     132    --libdir=&usr-lib-mx32;  \
     133    --openssldir=/etc/ssl \
     134    --libdir=libx32       \
     135    shared                \
     136    zlib-dynamic</userinput></screen>
    137137
    138138    <para>Compile the package:</para>
    139139
    140140<screen><userinput remap="make">make</userinput></screen>
     141
    141142    <para>Install the package:</para>
    142143
    143144<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    144 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     145cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
    145146rm -rf DESTDIR</userinput></screen>
    146147
    147   </sect2>
     148  </sect2><!-- mx32 -->
    148149
    149150  <sect2 id="contents-openssl" role="content">
Note: See TracChangeset for help on using the changeset viewer.