Changeset 7e42b39 for chapter06/libcap.xml
- Timestamp:
- 01/06/2020 08:22:50 AM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/libcap.xml
r161691d r7e42b39 44 44 <title>Installation of Libcap</title> 45 45 46 <para>Prevent two static librariesfrom being installed:</para>46 <para>Prevent a static library from being installed:</para> 47 47 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> 53 49 54 50 <para>Compile the package:</para> 55 51 56 52 <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 install63 chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>64 53 65 54 <variablelist> … … 69 58 <term><parameter>lib=lib</parameter></term> 70 59 <listitem> 71 <para>This parameter installs the library in60 <para>This parameter sets the library directory to 72 61 <filename>/lib</filename> rather than 73 62 <filename>/lib64</filename> on x86_64. It has no effect on … … 75 64 </listitem> 76 65 </varlistentry> 77 78 66 </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 75 chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen> 79 76 80 77 </sect2> … … 89 86 <seglistitem> 90 87 <seg>capsh, getcap, getpcaps, and setcap</seg> 91 <seg>libcap.so </seg>88 <seg>libcap.so and libpsx.a</seg> 92 89 </seglistitem> 93 90 </segmentedlist> … … 149 146 </varlistentry> 150 147 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 151 159 </variablelist> 152 160
Note:
See TracChangeset
for help on using the changeset viewer.