[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 |
|
---|
[2235177] | 7 | <!-- <!ENTITY libdaemon-download-http "http://0pointer.de/lennart/projects/libdaemon/libdaemon-&libdaemon-version;.tar.gz">-->
|
---|
| 8 | <!ENTITY libdaemon-download-http "&fedora-http-repo;/libdaemon/libdaemon-&libdaemon-version;.tar.gz/&libdaemon-md5sum;/libdaemon-&libdaemon-version;.tar.gz">
|
---|
[8e19e86] | 9 | <!ENTITY libdaemon-download-ftp " ">
|
---|
| 10 | <!ENTITY libdaemon-md5sum "509dc27107c21bcd9fbf2f95f5669563">
|
---|
| 11 | <!ENTITY libdaemon-size "332 KB">
|
---|
| 12 | <!ENTITY libdaemon-buildsize "3 MB">
|
---|
| 13 | <!ENTITY libdaemon-time "0.1 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libdaemon" xreflabel="libdaemon-&libdaemon-version;">
|
---|
| 17 | <?dbhtml filename="libdaemon.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libdaemon-&libdaemon-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libdaemon">
|
---|
| 27 | <primary sortas="a-libdaemon">libdaemon</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libdaemon</title>
|
---|
| 32 |
|
---|
[89e3131] | 33 | <para>
|
---|
| 34 | The <application>libdaemon</application> package is a lightweight C
|
---|
| 35 | library that eases the writing of UNIX daemons.
|
---|
| 36 | </para>
|
---|
[8e19e86] | 37 |
|
---|
[3e06289] | 38 | &lfs76_checked;
|
---|
[8e19e86] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[89e3131] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libdaemon-download-http;"/>
|
---|
| 45 | </para>
|
---|
[8e19e86] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[89e3131] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libdaemon-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[8e19e86] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[89e3131] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libdaemon-md5sum;
|
---|
| 55 | </para>
|
---|
[8e19e86] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[89e3131] | 58 | <para>
|
---|
| 59 | Download size: &libdaemon-size;
|
---|
| 60 | </para>
|
---|
[8e19e86] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[89e3131] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libdaemon-buildsize;
|
---|
| 65 | </para>
|
---|
[8e19e86] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[89e3131] | 68 | <para>
|
---|
| 69 | Estimated build time: &libdaemon-time;
|
---|
| 70 | </para>
|
---|
[8e19e86] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">libdaemon Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[89e3131] | 77 | <para role="optional">
|
---|
| 78 | <xref linkend="doxygen"/> and
|
---|
| 79 | <xref linkend="lynx"/>
|
---|
| 80 | </para>
|
---|
[8e19e86] | 81 |
|
---|
| 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/libdaemon"/></para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libdaemon</title>
|
---|
| 89 |
|
---|
[89e3131] | 90 | <para>
|
---|
| 91 | Install <application>libdaemon</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
[8e19e86] | 94 |
|
---|
[89e3131] | 95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[8e19e86] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[89e3131] | 98 | <para>
|
---|
| 99 | If you have <application>Doxygen</application> installed and wish to
|
---|
| 100 | build the API documentation, issue the following command:
|
---|
| 101 | </para>
|
---|
[5bdb105a] | 102 |
|
---|
| 103 | <screen><userinput>make -C doc doxygen</userinput></screen>
|
---|
| 104 |
|
---|
[89e3131] | 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
[8e19e86] | 108 |
|
---|
[89e3131] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[8e19e86] | 112 |
|
---|
[5bdb105a] | 113 | <screen role="root"><userinput>make docdir=/usr/share/doc/libdaemon-&libdaemon-version; install</userinput></screen>
|
---|
| 114 |
|
---|
[89e3131] | 115 | <para>
|
---|
[0d7900a] | 116 | If you built the API documentation, install it using the following commands
|
---|
[89e3131] | 117 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
[5bdb105a] | 119 |
|
---|
| 120 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libdaemon-&libdaemon-version;/api &&
|
---|
[89e3131] | 121 | install -v -m644 doc/reference/html/* /usr/share/doc/libdaemon-&libdaemon-version;/api &&
|
---|
| 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">
|
---|
[89e3131] | 162 | <term><filename class='libraryfile'>libdaemon.so</filename></term>
|
---|
[8e19e86] | 163 | <listitem>
|
---|
[89e3131] | 164 | <para>
|
---|
| 165 | contains the <application>libdaemon</application> API functions.
|
---|
| 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>
|
---|