From 28b3209b0ad610da9e812b08cce56fe754937829 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 28 Mar 2014 02:01:51 +0000 Subject: Added libcap-2.24 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10517 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 35 ++++++ chapter01/changelog.xml | 9 ++ chapter01/whatsnew.xml | 3 + chapter06/chapter06.xml | 3 + chapter06/libcap.xml | 129 +++++++++++++++++++++ general.ent | 4 +- packages.ent | 8 ++ .../lfs-xsl/docbook-xsl-1.78.1/svn-commit.tmp | 4 - 8 files changed, 189 insertions(+), 6 deletions(-) create mode 100644 chapter06/libcap.xml delete mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/svn-commit.tmp diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index aa89adaa6..ee6ee3b36 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -1402,6 +1402,41 @@ + + Libcap + + + &dependencies; + + + Attr, Bash, Binutils, Coreutils, GCC, Glibc, Perl, Make, and Sed + + + + + &testsuites; + + + No test suite available + + + + + &before; + + + Systemd + + + + + &external; + + + Linux-PAM + + + Libpipeline diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4ebfa1ce7..db4581484 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,15 @@ --> + + 2014-03-28 + + + [bdubbs] - Added libcap-2.24. + + + + 2014-03-27 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 9218d87a7..1349afc72 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -247,6 +247,9 @@ intltool-&intltool-version; + + libcap-&libcap-version; + XML::Parser-&xml-parser-version; diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index a1e22ad23..51d5a932f 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -32,8 +32,11 @@ + + + diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml new file mode 100644 index 000000000..63e9d0017 --- /dev/null +++ b/chapter06/libcap.xml @@ -0,0 +1,129 @@ + + + %general-entities; +]> + + + + + + libcap + &libcap-version; +
&libcap-url;
+
+ + Libcap-&libcap-version; + + + Libcap + + + + + + <para>The Libcap package implements the user-space interfaces to the POSIX + 1003.1e capabilities available in Linux kernels. These capabilities are a + partitioning of the all powerful root privilege into a set of distinct + privileges.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&libcap-ch6-sbu;</seg> + <seg>&libcap-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Libcap + + Compile the package: + +make + + This package does not come with a test suite. + + Install the package: + +make RAISE_SETFCAP=no prefix=/usr install +chmod -v 755 /usr/lib/libcap.so + + The shared library needs to be moved to + /lib, and as a result the + .so file in + /usr/lib will need to be recreated: + +mv -v /usr/lib/libcap.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libcap.so) /usr/lib/libcap.so + + + + + Contents of Libcap + + + Installed programs + Installed library + + + capsh, getcap, getpcaps, and setcap + libcap.{a,so} + + + + + Short Descriptions + + + + + capsh + + A shell wrapper to explore and constrain capability support + + capsh + + + + + + getcap + + Examines file capabilities + + getcap + + + + + + getpcaps + + Displays the capabilities on the queried process(es) + + getpcaps + + + + + + libcap + + Contains the libcap API functions + + libcap + + + + + + + + +
diff --git a/general.ent b/general.ent index 3b8852383..283581210 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 80b546c30..8c4d0531c 100644 --- a/packages.ent +++ b/packages.ent @@ -370,6 +370,14 @@ + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/svn-commit.tmp b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/svn-commit.tmp deleted file mode 100644 index e56c54f2c..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/svn-commit.tmp +++ /dev/null @@ -1,4 +0,0 @@ -Restore VERSION to snapshot state. ---This line, and those below, will be ignored-- - -M VERSION -- cgit v1.2.3-54-g00ecf