Author: renodr
Date: Sat Sep 30 01:46:14 2017
New Revision: 19283
Log:
Add libseccomp
Currency script might require adjusting
Added:
trunk/BOOK/general/genlib/libseccomp.xml (contents, props changed)
- copied, changed from r19282, trunk/BOOK/template/template.xml
Modified:
trunk/BOOK/general.ent
trunk/BOOK/general/genlib/genlib.xml
trunk/BOOK/general/sysutils/systemd.xml
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/packages.ent
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Fri Sep 29 19:30:36 2017 (r19282)
+++ trunk/BOOK/general.ent Sat Sep 30 01:46:14 2017 (r19283)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "29"> <!-- Always 2 digits -->
+<!ENTITY day "30"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "September 29th, &year;">
+<!ENTITY releasedate "September 30th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->
Modified: trunk/BOOK/general/genlib/genlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/genlib.xml Fri Sep 29 19:30:36 2017
(r19282)
+++ trunk/BOOK/general/genlib/genlib.xml Sat Sep 30 01:46:14 2017
(r19283)
@@ -103,6 +103,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpaper.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libqmi.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="libseccomp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigc++.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="libsigsegv.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="libstatgrab.xml"/>
Copied and modified: trunk/BOOK/general/genlib/libseccomp.xml (from r19282,
trunk/BOOK/template/template.xml)
==============================================================================
--- trunk/BOOK/template/template.xml Fri Sep 29 19:30:36 2017
(r19282, copy source)
+++ trunk/BOOK/general/genlib/libseccomp.xml Sat Sep 30 01:46:14 2017
(r19283)
@@ -4,209 +4,108 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!-- Place this in the packages.ent file
- <!ENTITY TEMPLATE-version "">
- -->
-
- <!ENTITY TEMPLATE-download-http "http://">
- <!ENTITY TEMPLATE-download-ftp "ftp://">
- <!ENTITY TEMPLATE-md5sum "MD5 sum">
- <!ENTITY TEMPLATE-size "?? MB">
- <!ENTITY TEMPLATE-buildsize "?? MB">
- <!ENTITY TEMPLATE-time "?? SBU">
-<!-- SBU should be rounded to integer if greater than 10, to one
- decimal if below 10, and should be "less than 0.1 SBU" if
- below 0.1. If the SBU without parallelisation is too long,
- it is acceptable to give the value "with parallelism=N", where
- N is the number of threads used. Note that some build system
- automatically fix N equal to the number of available CPU cores
- on the machine. -->
+ <!ENTITY libseccomp-download-http
"https://github.com/seccomp/libseccomp/releases/download/v&libseccomp-version;/libseccomp-&libseccomp-version;.tar.gz">
+ <!ENTITY libseccomp-download-ftp " ">
+ <!ENTITY libseccomp-md5sum "e74a626bea0cd607c23229b10b5f93da">
+ <!ENTITY libseccomp-size "548 KB">
+ <!ENTITY libseccomp-buildsize "6.2 MB (additional 3.4 MB for tests)">
+ <!ENTITY libseccomp-time "less than 0.1 SBU (additional 1.9 SBU for
tests)">
+<!-- EDITORS NOTE:
+ This library is heavily dependent on system calls at the time of it's
release.
+ This should be tested with every new minor (v4.13, v4.14, etc.) release
+ of the kernel, as it is very finicky and relies on hacks to accomplish
+ it's purpose. -->
]>
-<!-- Try to keep the indentation used in this file-->
-<sect1 id="TEMPLATE" xreflabel="TEMPLATE-&TEMPLATE-version;">
- <?dbhtml filename="TEMPLATE.html"?>
+<sect1 id="libseccomp" xreflabel="libseccomp-&libseccomp-version;">
+ <?dbhtml filename="libseccomp.html"?>
<sect1info>
- <!-- this part gets updated when you commit, IFF you set the properties:
- first, svn add path/to/thisfile.xml and then
- svn propset svn:mime-type text/plain path/to/thisfile.xml and
- svn propset svn:keywords "Date LastChangedBy" path/to/thisfile.xml -->
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
- <!-- No other tags inside any title.
- Use Title Case in All Titles -->
- <title>TEMPLATE-&TEMPLATE-version;</title>
+ <title>libseccomp-&libseccomp-version;</title>
- <indexterm zone="TEMPLATE">
- <primary sortas="a-TEMPLATE">TEMPLATE</primary>
+ <indexterm zone="libseccomp">
+ <primary sortas="a-libseccomp">libseccomp</primary>
</indexterm>
- <!--Required section-->
<sect2 role="package">
- <title>Introduction to TEMPLATE</title>
+ <title>Introduction to libseccomp</title>
<para>
- The <application>TEMPLATE</application> package contains...
- This is useful for...
+ The <application>libseccomp</application> package provides an easy to use
+ and platform independent interface to the
<application>Linux</application>
+ kernel's syscall filtering mechanism.
</para>
- <!-- if it builds but hasn't been tested: -->
- &lfs8?_built;
- <!-- if it works: -->
- &lfs8?_checked;
+ &lfs81_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
- Download (HTTP): <ulink url="&TEMPLATE-download-http;"/>
+ Download (HTTP): <ulink url="&libseccomp-download-http;"/>
</para>
</listitem>
<listitem>
<para>
- Download (FTP): <ulink url="&TEMPLATE-download-ftp;"/>
+ Download (FTP): <ulink url="&libseccomp-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
- Download MD5 sum: &TEMPLATE-md5sum;
+ Download MD5 sum: &libseccomp-md5sum;
</para>
</listitem>
<listitem>
<para>
- Download size: &TEMPLATE-size;
+ Download size: &libseccomp-size;
</para>
</listitem>
<listitem>
<para>
- Estimated disk space required: &TEMPLATE-buildsize;
+ Estimated disk space required: &libseccomp-buildsize;
</para>
</listitem>
<listitem>
<para>
- Estimated build time: &TEMPLATE-time;
+ Estimated build time: &libseccomp-time;
</para>
</listitem>
</itemizedlist>
- <!-- As required -->
- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
- <itemizedlist spacing="compact">
- <listitem>
- <para>
- Required patch:
- <ulink
url="&patch-root;/TEMPLATE-&TEMPLATE-version;-patch_name-patch_version.patch"/>
- </para>
- </listitem>
- </itemizedlist>
-
- <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
+ <bridgehead renderas="sect3">libseccomp Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
- <xref linkend="BLFS_DEPENDENCY"/> <!-- notice no period as this is not
- a sentence. If there are more than two, they must be separated by commas
- with the last member having "and" in front of it. The use of a serial
- comma is preferred (a comma after the next to last member before the
- "and"). BLFS_DEPENDENCY should be an "id" attribute defined somewhere
- in the book (usually in a <sect1>). -->
- <xref role="runtime" linkend="RUNTIME_DEPENDENCY"/> (runtime)
- <!-- Specifying that a dependency is a runtime one, may avoid circular
- dependencies. Add role="runtime" to help jhalfs -->
+ <xref linkend="python3"/>
</para>
- <!-- It may be nice to have a separate section for runtime dependencies.
- Do it as follow. -->
- <bridgehead renderas="sect4">Required at runtime</bridgehead>
- <para role="required">
- <xref role="runtime" linkend="RUNTIME_DEPENDENCY"/>
- </para>
-
- <!-- As required -->
- <bridgehead renderas="sect4">Recommended</bridgehead>
- <para role="recommended">
- <xref linkend="BLFS_DEPENDENCY"/> <!-- notice no period as this is not
- a sentence. See above for the use of "and" and commas. Normally, neither
- required nor recommended dependencies should be <ulink>. -->
- <xref linkend="ANOTHER_RECOMMENDED_DEP"/> (required if building
- <xref role="nodep" linkend="SOME_FANCY_PACKAGE"/>) <!-- You may need
- to refer to another package, which is not a dependency. Use the role
- attibute with value "nodep". -->
- <!-- See above for runtime dependencies -->
- </para>
-
- <!-- As required -->
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
- <xref linkend="BLFS_DEPENDENCY"/> and
- <ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink>
- <!-- notice no period as this is not a sentence. See above for the use
- of commas and "and". The order should <xref> before <ulink>.-->
- <!-- See above how to refer to another package, which is not a
- dependency. -->
+ <xref linkend="valgrind"/>,
+ <ulink url="http://cython.org/">Cython</ulink>, and
+ <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
</para>
<para condition="html" role="usernotes">
- User Notes: <ulink url="&blfs-wiki;/TEMPLATE"/>
- </para>
- </sect2>
-
- <!-- Optional section for packages that need a specific kernel
- configuration-->
- <sect2 role="kernel" id="TEMPLATE-kernel">
- <title>Kernel Configuration</title>
-
- <para>
- Enable the following options in the kernel configuration and recompile
the
- kernel if necessary:
+ User Notes: <ulink url="&blfs-wiki;/libseccomp"/>
</para>
-
-<!-- Spaces are significant in <screen> sections -->
-<screen><literal>Master section --->
- Subsection --->
- [*] Required parameter [CONFIG_REQU_PAR]
- <*> Required parameter (not as module) [CONFIG_REQU_PAR_NMOD]
- <*/M> Required parameter (could be a module) [CONFIG_REQU_PAR_MOD]
- <*/M/ > Optional parameter [CONFIG_OPT_PAR]
- [ ] Incompatible parameter [CONFIG_INCOMP_PAR]
- < > Incompatible parameter (even as module)
[CONFIG_INCOMP_PAR_MOD]</literal></screen>
-
- <para>
- Select the appropriate sub-options that appear when the above options are
- selected. As much as possible, the layout should be the same as in
- kernel menus.
- </para>
-
- <indexterm zone="TEMPLATE TEMPLATE-kernel">
- <primary sortas="d-TEMPLATE">TEMPLATE</primary>
- </indexterm>
</sect2>
- <!--Required section-->
<sect2 role="installation">
- <title>Installation of TEMPLATE</title>
+ <title>Installation of libseccomp</title>
<para>
- Install <application>TEMPLATE</application> by running the following
+ Install <application>libseccomp</application> by running the following
commands:
</para>
-<!-- Spaces are significant in <screen> sections -->
<screen><userinput>./configure --prefix=/usr --disable-static &&
make</userinput></screen>
- <!-- Optional section. Use one of the two mentions below about a test
- suite, delete the line that is not applicable. Of course, if the
- test suite uses syntax other than 'make check', revise the
- line to reflect the actual syntax to run the test suite -->
-
- <para>
- This package does not come with a test suite.
- </para>
-
<para>
To test the results, issue: <command>make check</command>.
</para>
@@ -218,136 +117,31 @@
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
- <!--Optional section-->
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../xincludes/gtk-doc-rebuild.xml"/>
-
- <para>
- <command>COMMAND</command>: This command does something.
- </para>
-
- <para>
- <parameter>--PARAMETER</parameter>: This parameter does something
- mandatory for BLFS purposes. It will be in the instructions above. It is
- not optional and is why it is listed as a parameter and not an option.
- </para>
-
- <para>
- <option>--OPTION</option>: This option does something optionally per the
- user's desires. It is not listed in the instructions above, but instead,
- is listed here because many (some) readers may want to include it.
- </para>
- </sect2>
-
- <sect2 role="using">
- <title>Using TEMPLATE</title>
-
- <para>
- Stuff about how to use TEMPLATE to do something. This section is rarely
- used.
- </para>
</sect2>
- <!--Optional section-->
- <sect2 role="configuration">
- <title>Configuring TEMPLATE</title>
-
- <sect3 id="TEMPLATE-config">
- <title>Config Files</title>
- <para>
- <filename>~/.Configfilename1</filename> and
- <filename>/etc/path/Configfilename2</filename> <!-- notice no period
as this is not a sentence-->
- </para>
-
- <indexterm zone="TEMPLATE TEMPLATE-config">
- <primary sortas="e-AA.Configfilename1">~/.Configfilename1</primary>
- </indexterm>
-
- <indexterm zone="TEMPLATE TEMPLATE-config">
- <primary
- sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary>
- </indexterm>
- </sect3>
-
- <sect3><title>Configuration Information</title>
-
- <para>
- Blah blah blah about config.
- </para>
-
-<screen><userinput>USER CONFIG COMMANDS</userinput></screen>
-
-<screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
-
- <!-- File creation. Add the appropriate <indexterm> block if needed.-->
- <para>
- Create the file .... for ...
- </para>
-
-<screen role="root"><userinput>cat >> /PATH/FILENAME << "EOF"
-<literal># Begin FILENAME
-
-TEXT
-
-# End FILENAME</literal>
-EOF</userinput></screen>
- </sect3>
-
- <sect3 id="TEMPLATE-init">
- <title>Boot Script</title>
-
- <para>
- To automatically start the <command>TEMPLATE</command> daemon when the
- system is rebooted, install the
- <filename>/etc/rc.d/init.d/TEMPLATE</filename> bootscript from the
- <xref linkend="bootscripts" revision="sysv"/>
- <xref linkend="systemd-units" revision="systemd"/> package as the
- <systemitem class="username">root</systemitem> user:
- </para>
-
- <indexterm zone="TEMPLATE TEMPLATE-init">
- <primary sortas="f-TEMPLATE">TEMPLATE</primary>
- </indexterm>
-
-<screen role="root"><userinput>make install-TEMPLATE</userinput></screen>
- </sect3>
- </sect2>
-
- <!--Required section-->
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
- <segtitle>Installed Program(s)</segtitle>
- <segtitle>Installed Librar(y,ies)</segtitle>
- <segtitle>Installed Director(y,ies)</segtitle>
-
- <!-- If there were no programs, libraries, or directories created, then
- we would list the section as "None". However, a decision must have
- been made to change the "None" to just removing the whole section
- because I've noticed that many packages have had the "None"
- removed and the section completely removed as well. The reasoning
- was that by putting "None", it appears as we know there are none.
- Without anything it appears as we are not sure. -->
+ <segtitle>Installed Program</segtitle>
+ <segtitle>Installed Library</segtitle>
+ <segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
- PROGRAM1, PROGRAM2 and PROGRAM3.
+ scmp_sys_resolver
</seg>
<seg>
- libLIBRARY1.so, libLIBRARY2.so and libLIBRARY3.so.
+ libseccomp.so
</seg>
<seg>
- /etc/TEMPLATE, /usr/include/TEMPLATE, /usr/lib/TEMPLATE,
- /usr/share/TEMPLATE-&TEMPLATE-version;,
- /usr/share/doc/TEMPLATE-&TEMPLATE-version; and
- /var/lib/TEMPLATE.
+ None
</seg>
</seglistitem>
</segmentedlist>
@@ -357,42 +151,26 @@
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <!-- If the program or library name conflicts (is the same) as the
- package name, add -prog or -lib to the varlistentry entity id
- and the 2nd entry of the indexterm zone entity -->
-
- <varlistentry id="PROGRAM1">
- <term><command>PROGRAM1</command></term>
- <listitem>
- <para>
- does this ..... (end the sentence with a period).
- </para>
- <indexterm zone="TEMPLATE PROGRAM1">
- <primary sortas="b-PROGRAM1">PROGRAM1</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="PROGRAM2">
- <term><command>PROGRAM2</command></term>
+ <varlistentry id="scmp_sys_resolver">
+ <term><command>scmp_sys_resolver</command></term>
<listitem>
<para>
- does this ..... (end the sentence with a period).
+ is used to resolve system calls for applications.
</para>
- <indexterm zone="TEMPLATE PROGRAM2">
- <primary sortas="b-PROGRAM2">PROGRAM2</primary>
+ <indexterm zone="libseccomp scmp_sys_resolver">
+ <primary sortas="b-scmp_sys_resolver">scmp_sys_resolver</primary>
</indexterm>
</listitem>
</varlistentry>
- <varlistentry id="libLIBRARY1">
- <term><filename class="libraryfile">libLIBRARY1.so</filename></term>
+ <varlistentry id="libseccomp-lib">
+ <term><filename class="libraryfile">libseccomp.so</filename></term>
<listitem>
<para>
- contains functions that ..... (end the sentence with a period).
+ contains API functions for translating syscalls.
</para>
- <indexterm zone="TEMPLATE libLIBRARY1">
- <primary sortas="c-libLIBRARY1">libLIBRARY1.so</primary>
+ <indexterm zone="libseccomp libseccomp-lib">
+ <primary sortas="c-libseccomp-lib">libseccomp.so</primary>
</indexterm>
</listitem>
</varlistentry>
Modified: trunk/BOOK/general/sysutils/systemd.xml
==============================================================================
--- trunk/BOOK/general/sysutils/systemd.xml Fri Sep 29 19:30:36 2017
(r19282)
+++ trunk/BOOK/general/sysutils/systemd.xml Sat Sep 30 01:46:14 2017
(r19283)
@@ -87,6 +87,7 @@
<xref linkend="iptables"/>,
<xref linkend="libgcrypt"/>,
<xref linkend="libidn2"/>,
+ <xref linkend="libseccomp"/>,
<xref linkend="libxkbcommon"/>,
<xref linkend="qemu"/>,
<xref linkend="valgrind"/>,
@@ -95,7 +96,6 @@
<ulink url="http://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>,
<ulink
url="https://www.kernel.org/pub/linux/utils/kernel/kexec/">kexec-tools</ulink>,
<ulink
url="https://www.gnu.org/software/libmicrohttpd/">libmicrohttpd</ulink>,
- <ulink url="https://github.com/seccomp/libseccomp">libseccomp</ulink>,
<ulink url="http://lz4.github.io/lz4/">lz4</ulink>,
<ulink url="http://fukuchi.org/works/qrencode/">qrencode</ulink>,
<ulink
url="http://sourceforge.net/projects/linuxquota/">quota-tools</ulink> and
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Fri Sep 29 19:30:36
2017 (r19282)
+++ trunk/BOOK/introduction/welcome/changelog.xml Sat Sep 30 01:46:14
2017 (r19283)
@@ -42,6 +42,16 @@
</listitem>
-->
<listitem>
+ <para>September 30th, 2017</para>
+ <itemizedlist>
+ <listitem>
+ <para>[renodr] - Added libseccomp for gnome-desktop. Fixes
+ <ulink url="&blfs-ticket-root;9825">#9825</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>September 29th, 2017</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Fri Sep 29 19:30:36 2017 (r19282)
+++ trunk/BOOK/packages.ent Sat Sep 30 01:46:14 2017 (r19283)
@@ -151,6 +151,7 @@
<!ENTITY libnfsidmap-version "0.26">
<!ENTITY libpaper-version "1.1.24+nmu5">
<!ENTITY libqmi-version "1.18.0">
+<!ENTITY libseccomp-version "2.3.2">
<!ENTITY libsigc-version "2.10.0">
<!ENTITY libsigsegv-version "2.11">
<!ENTITY libstatgrab-version "0.91">
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page