Libcap-2.30

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11720 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Pierre Labastie 2020-01-06 08:22:50 +00:00
parent 161691d721
commit 7e42b39861
4 changed files with 40 additions and 22 deletions

View File

@ -42,6 +42,16 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
<para>2020-01-06</para>
<itemizedlist>
<listitem>
<para>[pierre] - Update to libcap-2.30. Fixes
<ulink url="&lfs-ticket-root;4569">#4569</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2020-01-04</para>
<itemizedlist>

View File

@ -43,40 +43,37 @@
<sect2 role="installation">
<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>
<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>
<title>The meaning of the make option:</title>
<varlistentry>
<term><parameter>lib=lib</parameter></term>
<listitem>
<para>This parameter installs the library in
<para>This parameter sets the library directory to
<filename>/lib</filename> rather than
<filename>/lib64</filename> on x86_64. It has no effect on
x86.</para>
</listitem>
</varlistentry>
</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 id="contents-libcap" role="content">
@ -88,7 +85,7 @@ chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
<seglistitem>
<seg>capsh, getcap, getpcaps, and setcap</seg>
<seg>libcap.so</seg>
<seg>libcap.so and libpsx.a</seg>
</seglistitem>
</segmentedlist>
@ -148,6 +145,17 @@ chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
</listitem>
</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>
</sect2>

View File

@ -1,13 +1,13 @@
<!ENTITY version "SVN-20200104">
<!ENTITY version "SVN-20200106">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
<!ENTITY versiond "20200104-systemd">
<!ENTITY versiond "20200106-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
<!ENTITY releasedate "January 4th, 2020">
<!ENTITY releasedate "January 6th, 2020">
<!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "9.0">

View File

@ -389,12 +389,12 @@
<!ENTITY lfs-bootscripts-ch7-du "BOOTSCRIPTS-INSTALL-KB KB">
<!ENTITY lfs-bootscripts-ch7-sbu "less than 0.1 SBU">
<!ENTITY libcap-version "2.29">
<!ENTITY libcap-version "2.30">
<!ENTITY libcap-size "96 KB">
<!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
<!ENTITY libcap-md5 "dd865b8a0a13cb8e9768e832e00f9f11">
<!ENTITY libcap-md5 "ea531f37a30a61dce8bf8544537a46e3">
<!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
<!ENTITY libcap-ch6-du "1.5 MB">
<!ENTITY libcap-ch6-du "8.5 MB">
<!ENTITY libcap-ch6-sbu "less than 0.1 SBU">
<!ENTITY libffi-version "3.3">