Ignore:
Timestamp:
01/06/2020 08:22:50 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
6a57b4c
Parents:
161691d
Message:

Libcap-2.30

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11720 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/libcap.xml

    r161691d r7e42b39  
    4444    <title>Installation of Libcap</title>
    4545
    46     <para>Prevent two static libraries from being installed:</para>
     46    <para>Prevent a static library from being installed:</para>
    4747
    48 <screen><userinput remap="pre">sed -i '/install.*STA...LIBNAME/d' libcap/Makefile</userinput></screen>
    49 
    50     <para>Fix a file with wrong syntax:</para>
    51 
    52 <screen><userinput remap="pre">sed -i '/libpsx/,$d' libcap/libcap.pc.in</userinput></screen>
     48<screen><userinput remap="pre">sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
    5349
    5450    <para>Compile the package:</para>
    5551
    5652<screen><userinput remap="make">make lib=lib</userinput></screen>
    57 
    58     <para>This package does not come with a test suite.</para>
    59 
    60     <para>Install the package:</para>
    61 
    62 <screen><userinput remap="install">make lib=lib install
    63 chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
    6453
    6554    <variablelist>
     
    6958        <term><parameter>lib=lib</parameter></term>
    7059        <listitem>
    71           <para>This parameter installs the library in
     60          <para>This parameter sets the library directory to
    7261          <filename>/lib</filename> rather than
    7362          <filename>/lib64</filename> on x86_64. It has no effect on
     
    7564        </listitem>
    7665      </varlistentry>
    77  
    7866    </variablelist>
     67
     68    <para>To test the results, issue:</para>
     69
     70<screen><userinput remap="test">make test</userinput></screen>
     71
     72    <para>Install the package:</para>
     73
     74<screen><userinput remap="install">make lib=lib install
     75chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
    7976
    8077  </sect2>
     
    8986      <seglistitem>
    9087        <seg>capsh, getcap, getpcaps, and setcap</seg>
    91         <seg>libcap.so</seg>
     88        <seg>libcap.so and libpsx.a</seg>
    9289      </seglistitem>
    9390    </segmentedlist>
     
    149146      </varlistentry>
    150147
     148      <varlistentry id="libpsx">
     149        <term><filename class="libraryfile">libpsx</filename></term>
     150        <listitem>
     151          <para>Contains functions to support POSIX semantics for syscalls
     152          associated with the pthread library</para>
     153          <indexterm zone="ch-system-libcap libpsx">
     154            <primary sortas="c-libpsx">libpsx</primary>
     155          </indexterm>
     156        </listitem>
     157      </varlistentry>
     158
    151159    </variablelist>
    152160
Note: See TracChangeset for help on using the changeset viewer.