source: networking/netutils/avahi.xml@ c463c87

gnome
Last change on this file since c463c87 was c463c87, checked in by Christopher Gregory <cjg@…>, 10 years ago

Removed excess white space and updated systemd instructions on svnserver autofs bluez fcron sysstat nfs-utils ntp rsync samba wpa_supplicant
avahi mariadb postgresql exim postfix apache bind proftpd vsftpd openldap unbound xinetd and clutter pages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13434 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 20.3 KB
Line 
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 avahi-download-http "http://avahi.org/download/avahi-&avahi-version;.tar.gz">
8 <!ENTITY avahi-download-ftp " ">
9 <!ENTITY avahi-md5sum "2f22745b8f7368ad5a0a3fddac343f2d">
10 <!ENTITY avahi-size "1.3 MB">
11 <!ENTITY avahi-buildsize "23 MB">
12 <!ENTITY avahi-time "0.4 SBU">
13]>
14
15<sect1 id="avahi" xreflabel="Avahi-&avahi-version;">
16 <?dbhtml filename="avahi.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Avahi-&avahi-version;</title>
24
25 <indexterm zone="avahi">
26 <primary sortas="a-Avahi">Avahi</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Avahi</title>
31
32 <para>
33 The <application>Avahi</application> package is a system which
34 facilitates service discovery on a local network.
35 </para>
36
37 &lfs75_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&avahi-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&avahi-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &avahi-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &avahi-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &avahi-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &avahi-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Avahi Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="glib2"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="gobject-introspection"/>,
83 <xref linkend="gtk2"/>,
84 <xref linkend="gtk3"/>,
85 <xref linkend="libdaemon"/> and
86 <xref linkend="libglade"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="dbus-python"/>,
92 <xref linkend="pygtk"/> and
93 <xref linkend="qt4"/>
94 </para>
95
96 <para condition="html" role="usernotes">User Notes:
97 <ulink url="&blfs-wiki;/avahi"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of Avahi</title>
103
104 <para>
105 There should be a dedicated user and group to take control
106 of the <command>avahi-daemon</command> daemon after it is
107 started. Issue the following commands as the
108 <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>groupadd -fg 84 avahi &amp;&amp;
112useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 \
113 -g avahi -s /bin/false avahi</userinput></screen>
114
115 <para>
116 There should also be a dedicated priviliged access group for
117 <application>Avahi</application> clients. Issue the following command as
118 the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>groupadd -fg 86 netdev</userinput></screen>
122
123 <para>Install <application>Avahi</application> by running the following
124 commands:</para>
125
126<!-- final part of sed removes " -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \" -->
127<screen><userinput>sed -i 's/\(CFLAGS=.*\)-Werror \(.*\)/\1\2/' configure &amp;&amp;
128sed -i -e 's/-DG_DISABLE_DEPRECATED=1//' \
129 -e '/-DGDK_DISABLE_DEPRECATED/d' avahi-ui/Makefile.in &amp;&amp;
130./configure --prefix=/usr \
131 --sysconfdir=/etc \
132 --localstatedir=/var \
133 --disable-static \
134 --disable-mono \
135 --disable-monodoc \
136 --disable-python \
137 --disable-qt3 \
138 --disable-qt4 \
139 --enable-core-docs \
140 --with-distro=none &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 This package does not come with a test suite.
145 </para>
146
147 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <command>sed -i ...</command>: These seds allow the package to build after
158 the deprecation of symbols in <literal>gtkstock.h</literal> by current
159 <application>gtk+-3</application> by removing <literal>-Werror</literal>
160 and by removing the defines for G{,DK,TK}_DISABLE_DEPRECATED.
161 </para>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/static-libraries.xml"/>
165
166 <para>
167 <parameter>--disable-mono</parameter>: This parameter disables the
168 <application>Mono</application> bindings.
169 </para>
170
171 <para>
172 <parameter>--disable-monodoc</parameter>: This parameter disables
173 documentation for the <application>Mono</application> bindings.
174 </para>
175
176 <para>
177 <parameter>--disable-python</parameter>: This parameter disables the
178 scripts that depend on <application>Python</application>. It also
179 allows a regular install to complete successfully.
180 </para>
181
182 <para>
183 <parameter>--disable-qt3</parameter>: This parameter disables the
184 building of <application>Qt3</application> mainloop integration.
185 </para>
186
187 <para>
188 <parameter>--disable-qt4</parameter>: This parameter disables the building
189 of <application>Qt4Core</application> mainloop integration. Omit
190 this if you have installed <application>Qt4</application>.
191 </para>
192
193 <para>
194 <parameter>--enable-core-docs</parameter>: This parameter enables the
195 building of documentation.
196 </para>
197
198 <para>
199 <parameter>--with-distro=none</parameter>: There is an obsolete
200 boot script in the distribution for LFS. This option disables it.
201 </para>
202
203 <para>
204 <option>--disable-dbus</option>: This parameter disables the use
205 of <application>D-Bus</application>.
206 </para>
207
208 <para>
209 <option>--disable-gtk</option>: This parameter disables the use
210 of <application>GTK+2</application>.
211 </para>
212
213 <para>
214 <option>--disable-gtk3</option>: This parameter disables the use
215 of <application>GTK+3</application>.
216 </para>
217
218 <para>
219 <option>--disable-libdaemon</option>: This parameter disables the use
220 of <application>libdaemon</application>. If you use this option,
221 <command>avahi-daemon</command> won't be built.
222 </para>
223
224 <para>
225 <option>--enable-tests</option>: This option enables the building of
226 tests and examples.
227 </para>
228
229 <para>
230 <option>--enable-compat-howl</option>: This option enables the
231 compatibility layer for <application>HOWL</application>.
232 </para>
233
234 <para>
235 <option>--enable-compat-libdns_sd</option>: This option enables the
236 compatibility layer for <application>libdns_sd</application>.
237 </para>
238
239 </sect2>
240
241 <sect2 role="configuration">
242 <title>Configuring avahi</title>
243
244 <sect3 id="avahi-init-systemd">
245 <title>Systemd Unit File</title>
246
247 <para>
248 This package will automatically install systemd units
249 if systemd is detected. To enable them, issue the following
250 commands as the <systemitem class="username">root</systemitem>
251 user:
252 </para>
253
254 <indexterm zone="avahi avahi-init-systemd">
255 <primary sortas="f-avahi">avahi</primary>
256 </indexterm>
257
258<screen role="root"><userinput>systemctl enable avahi-daemon</userinput></screen>
259
260 <para>
261 If desired issue the following command as the <systemitem class="username">root</systemitem>
262 user:</para>
263
264<screen role="root"><userinput>systemctl enable avahi-dnsconfd</userinput></screen>
265
266 </sect3>
267
268 </sect2>
269
270 <sect2 role="content">
271 <title>Contents</title>
272
273 <segmentedlist>
274 <segtitle>Installed Programs</segtitle>
275 <segtitle>Installed Libraries</segtitle>
276 <segtitle>Installed Directories</segtitle>
277
278 <seglistitem>
279 <seg>avahi-autoipd, avahi-bookmarks, avahi-browse, avahi-browse-domains,
280 avahi-daemon, avahi-discover, avahi-discover-standalone, avahi-dnsconfd,
281 avahi-publish, avahi-publish-address, avahi-publish-service,
282 avahi-resolve, avahi-resolve-address, avahi-resolve-host-name,
283 avahi-set-host-name, bshell, bssh, and bvnc</seg>
284 <seg>libavahi-client.so, libavahi-common.so,
285 libavahi-core.so, libavahi-glib.so, libavahi-gobject.so,
286 libavahi-ui-gtk3.so,, libavahi-ui.so, libdns_sd.so, and
287 libhowl.so,</seg>
288 <seg>/etc/avahi/services, /usr/{include/{avahi-client,avahi-common,
289 avahi-compat-howl/{corby,discovery,rendezvous,salt},
290 avahi-compat-libdns_sd,avahi-core,avahi-glib,avahi-gobject,avahi-ui},
291 lib/{avahi,python&python2-majorver;/site-packages/{avahi,
292 avahi_discover}},share/{avahi/interfaces,locale/en_NZ/LC_MESSAGES}}</seg>
293 </seglistitem>
294 </segmentedlist>
295
296 <variablelist>
297 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
298 <?dbfo list-presentation="list"?>
299 <?dbhtml list-presentation="table"?>
300
301 <varlistentry id="avahi-autoipd">
302 <term><command>avahi-autoipd</command></term>
303 <listitem>
304 <para>is a IPv4LL network address configuration daemon.</para>
305 <indexterm zone="avahi avahi-autoipd">
306 <primary sortas="b-avahi-autoipd">avahi-autoipd</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="avahi-bookmarks">
312 <term><command>avahi-bookmarks</command></term>
313 <listitem>
314 <para>is a Web service showing mDNS/DNS-SD announced HTTP services
315 using the <application>Avahi</application> daemon.</para>
316 <indexterm zone="avahi avahi-bookmarks">
317 <primary sortas="b-avahi-bookmarks">avahi-bookmarks</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="avahi-browse">
323 <term><command>avahi-browse</command></term>
324 <listitem>
325 <para>browses for mDNS/DNS-SD services using the
326 <application>Avahi</application> daemon.</para>
327 <indexterm zone="avahi avahi-browse">
328 <primary sortas="b-avahi-browse">avahi-browse</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="avahi-browse-domains">
334 <term><command>avahi-browse-domains</command></term>
335 <listitem>
336 <para>browses for mDNS/DNS-SD services using the
337 <application>Avahi</application> daemon.</para>
338 <indexterm zone="avahi avahi-browse-domains">
339 <primary sortas="b-avahi-browse-domains">avahi-browse-domains</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="avahi-daemon">
345 <term><command>avahi-daemon</command></term>
346 <listitem>
347 <para>is the <application>Avahi</application> mDNS/DNS-SD
348 daemon.</para>
349 <indexterm zone="avahi avahi-daemon">
350 <primary sortas="b-avahi-daemon">avahi-daemon</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="avahi-discover">
356 <term><command>avahi-discover</command></term>
357 <listitem>
358 <para>browses for mDNS/DNS-SD services using the
359 <application>Avahi</application> daemon.</para>
360 <indexterm zone="avahi avahi-discover">
361 <primary sortas="b-avahi-discover">avahi-discover</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="avahi-discover-standalone">
367 <term><command>avahi-discover-standalone</command></term>
368 <listitem>
369 <para>browses for mDNS/DNS-SD services using the
370 <application>Avahi</application> daemon.</para>
371 <indexterm zone="avahi avahi-discover-standalone">
372 <primary sortas="b-avahi-discover-standalone">avahi-discover-standalone</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="avahi-dnsconfd">
378 <term><command>avahi-dnsconfd</command></term>
379 <listitem>
380 <para>is a Unicast DNS server from mDNS/DNS-SD configuration
381 daemon.</para>
382 <indexterm zone="avahi avahi-dnsconfd">
383 <primary sortas="b-avahi-dnsconfd">avahi-dnsconfd</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="avahi-publish">
389 <term><command>avahi-publish</command></term>
390 <listitem>
391 <para>registers a mDNS/DNS-SD service or host name or address mapping
392 using the <application>Avahi</application> daemon.</para>
393 <indexterm zone="avahi avahi-publish">
394 <primary sortas="b-avahi-publish">avahi-publish</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="avahi-publish-address">
400 <term><command>avahi-publish-address</command></term>
401 <listitem>
402 <para>registers a mDNS/DNS-SD service or host name or address mapping
403 using the <application>Avahi</application> daemon.</para>
404 <indexterm zone="avahi avahi-publish-address">
405 <primary sortas="b-avahi-publish-address">avahi-publish-address</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="avahi-publish-service">
411 <term><command>avahi-publish-service</command></term>
412 <listitem>
413 <para>registers a mDNS/DNS-SD service or host name or address mapping
414 using the <application>Avahi</application> daemon.</para>
415 <indexterm zone="avahi avahi-publish-service">
416 <primary sortas="b-avahi-publish-service">avahi-publish-service</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="avahi-resolve">
422 <term><command>avahi-resolve</command></term>
423 <listitem>
424 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
425 (and vice versa) using the <application>Avahi</application>
426 daemon.</para>
427 <indexterm zone="avahi avahi-resolve">
428 <primary sortas="b-avahi-resolve">avahi-resolve</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="avahi-resolve-address">
434 <term><command>avahi-resolve-address</command></term>
435 <listitem>
436 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
437 (and vice versa) using the <application>Avahi</application>
438 daemon.</para>
439 <indexterm zone="avahi avahi-resolve-address">
440 <primary sortas="b-avahi-resolve-address">avahi-resolve-address</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 <varlistentry id="avahi-resolve-host-name">
446 <term><command>avahi-resolve-host-name</command></term>
447 <listitem>
448 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
449 (and vice versa) using the <application>Avahi</application>
450 daemon.</para>
451 <indexterm zone="avahi avahi-resolve-host-name">
452 <primary sortas="b-avahi-resolve-host-name">avahi-resolve-host-name</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="avahi-set-host-name">
458 <term><command>avahi-set-host-name</command></term>
459 <listitem>
460 <para>changes the mDNS host name.</para>
461 <indexterm zone="avahi avahi-set-host-name">
462 <primary sortas="b-avahi-set-host-name">avahi-set-host-name</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <!--<varlistentry id="bshell">
468 <term><command>bshell</command></term>
469 <listitem>
470 <para>does this .....</para>
471 <indexterm zone="avahi bshell">
472 <primary sortas="b-bshell">bshell</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>-->
476
477 <varlistentry id="bssh">
478 <term><command>bssh</command></term>
479 <listitem>
480 <para>browses for SSH servers on the local network.</para>
481 <indexterm zone="avahi bssh">
482 <primary sortas="b-bssh">bssh</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="bvnc">
488 <term><command>bvnc</command></term>
489 <listitem>
490 <para>browses for VNC servers on the local network.</para>
491 <indexterm zone="avahi bvnc">
492 <primary sortas="b-bvnc">bvnc</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <!--<varlistentry id="libavahi-client">
498 <term><filename class='libraryfile'>libavahi-client.{so,a}</filename></term>
499 <listitem>
500 <para>contains functions that .....</para>
501 <indexterm zone="avahi libavahi-client">
502 <primary sortas="c-libavahi-client">libavahi-client.{so,a}</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="libavahi-common">
508 <term><filename class='libraryfile'>libavahi-common.{so,a}</filename></term>
509 <listitem>
510 <para>contains functions that .....</para>
511 <indexterm zone="avahi libavahi-common">
512 <primary sortas="c-libavahi-common">libavahi-common.{so,a}</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="libavahi-core">
518 <term><filename class='libraryfile'>libavahi-core.{so,a}</filename></term>
519 <listitem>
520 <para>contains functions that .....</para>
521 <indexterm zone="avahi libavahi-core">
522 <primary sortas="c-libavahi-core">libavahi-core.{so,a}</primary>
523 </indexterm>
524 </listitem>
525 </varlistentry>
526
527 <varlistentry id="libavahi-glib">
528 <term><filename class='libraryfile'>libavahi-glib.{so,a}</filename></term>
529 <listitem>
530 <para>contains functions that .....</para>
531 <indexterm zone="avahi libavahi-glib">
532 <primary sortas="c-libavahi-glib">libavahi-glib.{so,a}</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 <varlistentry id="libavahi-gobject">
538 <term><filename class='libraryfile'>libavahi-gobject.{so,a}</filename></term>
539 <listitem>
540 <para>contains functions that .....</para>
541 <indexterm zone="avahi libavahi-gobject">
542 <primary sortas="c-libavahi-gobject">libavahi-gobject.{so,a}</primary>
543 </indexterm>
544 </listitem>
545 </varlistentry>
546
547 <varlistentry id="libavahi-ui-gtk3">
548 <term><filename class='libraryfile'>libavahi-ui-gtk3.{so,a}</filename></term>
549 <listitem>
550 <para>contains functions that .....</para>
551 <indexterm zone="avahi libavahi-ui-gtk3">
552 <primary sortas="c-libavahi-ui-gtk3">libavahi-ui-gtk3.{so,a}</primary>
553 </indexterm>
554 </listitem>
555 </varlistentry>
556
557 <varlistentry id="libavahi-ui">
558 <term><filename class='libraryfile'>libavahi-ui.{so,a}</filename></term>
559 <listitem>
560 <para>contains functions that .....</para>
561 <indexterm zone="avahi libavahi-ui">
562 <primary sortas="c-libavahi-ui">libavahi-ui.{so,a}</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
567 <varlistentry id="libdns_sd">
568 <term><filename class='libraryfile'>libdns_sd.{so,a}</filename></term>
569 <listitem>
570 <para>contains functions that .....</para>
571 <indexterm zone="avahi libdns_sd">
572 <primary sortas="c-libdns_sd">libdns_sd.{so,a}</primary>
573 </indexterm>
574 </listitem>
575 </varlistentry>
576
577 <varlistentry id="libhowl">
578 <term><filename class='libraryfile'>libhowl.{so,a}</filename></term>
579 <listitem>
580 <para>contains functions that .....</para>
581 <indexterm zone="avahi libhowl">
582 <primary sortas="c-libhowl">libhowl.{so,a}</primary>
583 </indexterm>
584 </listitem>
585 </varlistentry>-->
586
587 </variablelist>
588
589 </sect2>
590
591</sect1>
Note: See TracBrowser for help on using the repository browser.