mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
173 lines
4.8 KiB
XML
173 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libdaemon-download-http "https://0pointer.de/lennart/projects/libdaemon/libdaemon-&libdaemon-version;.tar.gz">
|
|
<!ENTITY libdaemon-download-ftp " ">
|
|
<!ENTITY libdaemon-md5sum "509dc27107c21bcd9fbf2f95f5669563">
|
|
<!ENTITY libdaemon-size "332 KB">
|
|
<!ENTITY libdaemon-buildsize "3 MB">
|
|
<!ENTITY libdaemon-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="libdaemon" xreflabel="libdaemon-&libdaemon-version;">
|
|
<?dbhtml filename="libdaemon.html"?>
|
|
|
|
|
|
<title>libdaemon-&libdaemon-version;</title>
|
|
|
|
<indexterm zone="libdaemon">
|
|
<primary sortas="a-libdaemon">libdaemon</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libdaemon</title>
|
|
|
|
<para>
|
|
The <application>libdaemon</application> package is a lightweight C
|
|
library that eases the writing of UNIX daemons.
|
|
</para>
|
|
|
|
&lfs120_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libdaemon-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libdaemon-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libdaemon-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libdaemon-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libdaemon-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libdaemon-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libdaemon Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="doxygen"/> and
|
|
<xref linkend="lynx"/>
|
|
</para>
|
|
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libdaemon</title>
|
|
|
|
<para>
|
|
Install <application>libdaemon</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you have <application>Doxygen</application> installed and wish to
|
|
build the API documentation, issue the following command:
|
|
</para>
|
|
|
|
<screen remap="doc"><userinput>make -C doc doxygen</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make docdir=/usr/share/doc/libdaemon-&libdaemon-version; install</userinput></screen>
|
|
|
|
<para>
|
|
If you built the API documentation, install it using the following commands
|
|
as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<!-- there is a link from README.html to reference/html, so install there -->
|
|
<screen role="root"
|
|
remap="doc"><userinput>install -v -m755 -d /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &&
|
|
install -v -m644 doc/reference/html/* /usr/share/doc/libdaemon-&libdaemon-version;/reference/html &&
|
|
install -v -m644 doc/reference/man/man3/* /usr/share/man/man3</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libdaemon.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/libdaemon and
|
|
/usr/share/doc/libdaemon-&libdaemon-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libdaemon-lib">
|
|
<term><filename class="libraryfile">libdaemon.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>libdaemon</application> API functions
|
|
</para>
|
|
<indexterm zone="libdaemon libdaemon-lib">
|
|
<primary sortas="c-libdaemon">libdaemon.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|