|
@@ -43,40 +43,37 @@
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
<title>Installation of Libcap</title>
|
|
<title>Installation of Libcap</title>
|
|
|
|
|
|
- <para>Prevent two static libraries from being installed:</para>
|
|
|
|
|
|
+ <para>Prevent a static library from being installed:</para>
|
|
|
|
|
|
-<screen><userinput remap="pre">sed -i '/install.*STA...LIBNAME/d' libcap/Makefile</userinput></screen>
|
|
|
|
-
|
|
|
|
- <para>Fix a file with wrong syntax:</para>
|
|
|
|
-
|
|
|
|
-<screen><userinput remap="pre">sed -i '/libpsx/,$d' libcap/libcap.pc.in</userinput></screen>
|
|
|
|
|
|
+<screen><userinput remap="pre">sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make lib=lib</userinput></screen>
|
|
<screen><userinput remap="make">make lib=lib</userinput></screen>
|
|
|
|
|
|
- <para>This package does not come with a test suite.</para>
|
|
|
|
-
|
|
|
|
- <para>Install the package:</para>
|
|
|
|
-
|
|
|
|
-<screen><userinput remap="install">make lib=lib install
|
|
|
|
-chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
|
|
|
|
-
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
<title>The meaning of the make option:</title>
|
|
<title>The meaning of the make option:</title>
|
|
|
|
|
|
<varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>lib=lib</parameter></term>
|
|
<term><parameter>lib=lib</parameter></term>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>This parameter installs the library in
|
|
|
|
|
|
+ <para>This parameter sets the library directory to
|
|
<filename>/lib</filename> rather than
|
|
<filename>/lib</filename> rather than
|
|
<filename>/lib64</filename> on x86_64. It has no effect on
|
|
<filename>/lib64</filename> on x86_64. It has no effect on
|
|
x86.</para>
|
|
x86.</para>
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
-
|
|
|
|
</variablelist>
|
|
</variablelist>
|
|
|
|
|
|
|
|
+ <para>To test the results, issue:</para>
|
|
|
|
+
|
|
|
|
+<screen><userinput remap="test">make test</userinput></screen>
|
|
|
|
+
|
|
|
|
+ <para>Install the package:</para>
|
|
|
|
+
|
|
|
|
+<screen><userinput remap="install">make lib=lib install
|
|
|
|
+chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
|
|
|
|
+
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-libcap" role="content">
|
|
<sect2 id="contents-libcap" role="content">
|
|
@@ -88,7 +85,7 @@ chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
|
|
|
|
|
|
<seglistitem>
|
|
<seglistitem>
|
|
<seg>capsh, getcap, getpcaps, and setcap</seg>
|
|
<seg>capsh, getcap, getpcaps, and setcap</seg>
|
|
- <seg>libcap.so</seg>
|
|
|
|
|
|
+ <seg>libcap.so and libpsx.a</seg>
|
|
</seglistitem>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
</segmentedlist>
|
|
|
|
|
|
@@ -148,6 +145,17 @@ chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
|
|
|
|
|
|
+ <varlistentry id="libpsx">
|
|
|
|
+ <term><filename class="libraryfile">libpsx</filename></term>
|
|
|
|
+ <listitem>
|
|
|
|
+ <para>Contains functions to support POSIX semantics for syscalls
|
|
|
|
+ associated with the pthread library</para>
|
|
|
|
+ <indexterm zone="ch-system-libcap libpsx">
|
|
|
|
+ <primary sortas="c-libpsx">libpsx</primary>
|
|
|
|
+ </indexterm>
|
|
|
|
+ </listitem>
|
|
|
|
+ </varlistentry>
|
|
|
|
+
|
|
</variablelist>
|
|
</variablelist>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|