aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-01-06 08:22:50 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-01-06 08:22:50 +0000
commit7e42b398615c56bc47375cb807d1246008863df3 (patch)
tree928413ef7e6e7fdc3590a0c3ffc7e372478e67d4
parent161691d721f1fb721d1a9849f715a46ed997749e (diff)
Libcap-2.30
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11720 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml10
-rw-r--r--chapter06/libcap.xml40
-rw-r--r--general.ent6
-rw-r--r--packages.ent6
4 files changed, 40 insertions, 22 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 1c72d069e..b6faebaf8 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,16 @@
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>
<listitem>
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml
index 0b8e45aa3..de9092988 100644
--- a/chapter06/libcap.xml
+++ b/chapter06/libcap.xml
@@ -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>
diff --git a/general.ent b/general.ent
index 998a6e5ca..816774d33 100644
--- a/general.ent
+++ b/general.ent
@@ -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">
diff --git a/packages.ent b/packages.ent
index ee03e019c..210ac6ccc 100644
--- a/packages.ent
+++ b/packages.ent
@@ -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">