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