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