[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[8e19e86] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[36aab55] | 7 | <!ENTITY libdaemon-download-http "https://0pointer.de/lennart/projects/libdaemon/libdaemon-&libdaemon-version;.tar.gz">
|
---|
[8e19e86] | 8 | <!ENTITY libdaemon-download-ftp " ">
|
---|
| 9 | <!ENTITY libdaemon-md5sum "509dc27107c21bcd9fbf2f95f5669563">
|
---|
| 10 | <!ENTITY libdaemon-size "332 KB">
|
---|
| 11 | <!ENTITY libdaemon-buildsize "3 MB">
|
---|
| 12 | <!ENTITY libdaemon-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libdaemon" xreflabel="libdaemon-&libdaemon-version;">
|
---|
| 16 | <?dbhtml filename="libdaemon.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libdaemon-&libdaemon-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libdaemon">
|
---|
| 22 | <primary sortas="a-libdaemon">libdaemon</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libdaemon</title>
|
---|
| 27 |
|
---|
[89e3131] | 28 | <para>
|
---|
| 29 | The <application>libdaemon</application> package is a lightweight C
|
---|
| 30 | library that eases the writing of UNIX daemons.
|
---|
| 31 | </para>
|
---|
[8e19e86] | 32 |
|
---|
[3c9b5e9] | 33 | &lfs122_checked;
|
---|
[8e19e86] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[89e3131] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&libdaemon-download-http;"/>
|
---|
| 40 | </para>
|
---|
[8e19e86] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[89e3131] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&libdaemon-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[8e19e86] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[89e3131] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &libdaemon-md5sum;
|
---|
| 50 | </para>
|
---|
[8e19e86] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[89e3131] | 53 | <para>
|
---|
| 54 | Download size: &libdaemon-size;
|
---|
| 55 | </para>
|
---|
[8e19e86] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[89e3131] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &libdaemon-buildsize;
|
---|
| 60 | </para>
|
---|
[8e19e86] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[89e3131] | 63 | <para>
|
---|
| 64 | Estimated build time: &libdaemon-time;
|
---|
| 65 | </para>
|
---|
[8e19e86] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">libdaemon Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[89e3131] | 72 | <para role="optional">
|
---|
| 73 | <xref linkend="doxygen"/> and
|
---|
| 74 | <xref linkend="lynx"/>
|
---|
| 75 | </para>
|
---|
[8e19e86] | 76 |
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of libdaemon</title>
|
---|
| 82 |
|
---|
[89e3131] | 83 | <para>
|
---|
| 84 | Install <application>libdaemon</application> by running the following
|
---|
| 85 | commands:
|
---|
| 86 | </para>
|
---|
[8e19e86] | 87 |
|
---|
[89e3131] | 88 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[8e19e86] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
[89e3131] | 91 | <para>
|
---|
| 92 | If you have <application>Doxygen</application> installed and wish to
|
---|
| 93 | build the API documentation, issue the following command:
|
---|
| 94 | </para>
|
---|
[5bdb105a] | 95 |
|
---|
[2f3e3de9] | 96 | <screen remap="doc"><userinput>make -C doc doxygen</userinput></screen>
|
---|
[5bdb105a] | 97 |
|
---|
[89e3131] | 98 | <para>
|
---|
| 99 | This package does not come with a test suite.
|
---|
| 100 | </para>
|
---|
[8e19e86] | 101 |
|
---|
[89e3131] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[8e19e86] | 105 |
|
---|
[5bdb105a] | 106 | <screen role="root"><userinput>make docdir=/usr/share/doc/libdaemon-&libdaemon-version; install</userinput></screen>
|
---|
| 107 |
|
---|
[89e3131] | 108 | <para>
|
---|
[0d7900a] | 109 | If you built the API documentation, install it using the following commands
|
---|
[89e3131] | 110 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[5bdb105a] | 112 |
|
---|
[7089b877] | 113 | <!-- there is a link from README.html to reference/html, so install there -->
|
---|
[2f3e3de9] | 114 | <screen role="root"
|
---|
[7089b877] | 115 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &&
|
---|
| 116 | install -v -m644 doc/reference/html/* /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &&
|
---|
[89e3131] | 117 | install -v -m644 doc/reference/man/man3/* /usr/share/man/man3</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
[8e19e86] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[c3c56b2] | 133 | <segtitle>Installed Programs</segtitle>
|
---|
[8e19e86] | 134 | <segtitle>Installed Library</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
[c3c56b2] | 138 | <seg>
|
---|
| 139 | None
|
---|
| 140 | </seg>
|
---|
[89e3131] | 141 | <seg>
|
---|
| 142 | libdaemon.so
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | /usr/include/libdaemon and
|
---|
| 146 | /usr/share/doc/libdaemon-&libdaemon-version;
|
---|
| 147 | </seg>
|
---|
[8e19e86] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libdaemon-lib">
|
---|
[4c24eb0a] | 157 | <term><filename class="libraryfile">libdaemon.so</filename></term>
|
---|
[8e19e86] | 158 | <listitem>
|
---|
[89e3131] | 159 | <para>
|
---|
[4c24eb0a] | 160 | contains the <application>libdaemon</application> API functions
|
---|
[89e3131] | 161 | </para>
|
---|
[8e19e86] | 162 | <indexterm zone="libdaemon libdaemon-lib">
|
---|
[89e3131] | 163 | <primary sortas="c-libdaemon">libdaemon.so</primary>
|
---|
[8e19e86] | 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|