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 |
|
---|
7 | <!ENTITY mod_dnssd-download-http "http://0pointer.de/lennart/projects/mod_dnssd/mod_dnssd-&mod_dnssd-version;.tar.gz">
|
---|
8 | <!ENTITY mod_dnssd-download-ftp " ">
|
---|
9 | <!ENTITY mod_dnssd-md5sum "bed3d95a98168bf0515922d1c05020c5">
|
---|
10 | <!ENTITY mod_dnssd-size "84 KB">
|
---|
11 | <!ENTITY mod_dnssd-buildsize "1 MB">
|
---|
12 | <!ENTITY mod_dnssd-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="mod_dnssd" xreflabel="mod_dnssd-&mod_dnssd-version;" revision="systemd">
|
---|
16 | <?dbhtml filename="mod_dnssd.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>mod_dnssd-&mod_dnssd-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="mod_dnssd">
|
---|
25 | <primary sortas="a-mod_dnssd">mod_dnssd</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to mod_dnssd</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>mod_dnssd</application> package is an
|
---|
33 | <application>Apache</application> HTTPD module which adds Zeroconf support
|
---|
34 | via DNS-SD using <application>Avahi</application>. This allows
|
---|
35 | <application>Apache</application> to advertise itself and the websites
|
---|
36 | available to clients compatible with the protocol.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs81_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&mod_dnssd-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&mod_dnssd-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &mod_dnssd-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &mod_dnssd-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &mod_dnssd-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &mod_dnssd-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">mod_dnssd Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="apache"/> and
|
---|
80 | <xref linkend="avahi"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
84 | <para role="optional">
|
---|
85 | <xref linkend="lynx"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">User Notes:
|
---|
89 | <ulink url="&blfs-wiki;/mod_dnssd"/></para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of mod_dnssd</title>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Install <application>mod_dnssd</application> by running the following
|
---|
98 | commands:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput>sed -i 's/unixd_setup_child/ap_&/' src/mod_dnssd.c &&
|
---|
102 |
|
---|
103 | ./configure --prefix=/usr \
|
---|
104 | --disable-lynx &&
|
---|
105 | make</userinput></screen>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | This package does not come with a test suite.
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen role="root"><userinput>make install
|
---|
116 | sed -i 's| usr| /usr|' /etc/httpd/httpd.conf</userinput></screen>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="commands">
|
---|
121 | <title>Command Explanations</title>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | <command>sed ... src/mod_dnssd.c</command>: Fix an external function
|
---|
125 | call that has been updated since this package was released.
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | <parameter>--disable-lynx</parameter>: This parameter turns off
|
---|
130 | <application>Lynx</application> usage for documentation generation.
|
---|
131 | Remove it if you have <application>Lynx</application> installed.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | <command>sed ... /etc/httpd/httpd.conf</command>: Fix a directory
|
---|
136 | path that the intallation procedure incorrectly puts in the
|
---|
137 | httpd configuration file.
|
---|
138 | </para>
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="content">
|
---|
142 | <title>Contents</title>
|
---|
143 |
|
---|
144 | <segmentedlist>
|
---|
145 | <segtitle>Installed Programs</segtitle>
|
---|
146 | <segtitle>Installed Library</segtitle>
|
---|
147 | <segtitle>Installed Directories</segtitle>
|
---|
148 |
|
---|
149 | <seglistitem>
|
---|
150 | <seg>None</seg>
|
---|
151 | <seg>mod_dnssd.so</seg>
|
---|
152 | <seg>None</seg>
|
---|
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="mod_dnssd-lib">
|
---|
162 | <term><filename class='libraryfile'>mod_dnssd.so</filename></term>
|
---|
163 | <listitem>
|
---|
164 | <para>is the <application>Apache</application> HTTPD module.</para>
|
---|
165 | <indexterm zone="mod_dnssd mod_dnssd-lib">
|
---|
166 | <primary sortas="c-mod_dnssd">mod_dnssd.so</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | </variablelist>
|
---|
172 |
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | </sect1>
|
---|