source: networking/netutils/avahi-systemd.xml@ 469bc5d4

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 469bc5d4 was 469bc5d4, checked in by Krejzi <krejzi@…>, 10 years ago

More checks and fixes.

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

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