source: networking/netutils/avahi.xml@ bb65a3c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bb65a3c was 6365d99, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix some deps:

  • pygobject3 for python2 depends on older pycairo
  • avahi depends on libevent, unless passed the --disable-libevent switch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22801 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 21.7 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 "https://github.com/lathiat/avahi/releases/download/v&avahi-version;/avahi-&avahi-version;.tar.gz">
8 <!ENTITY avahi-download-ftp " ">
9 <!ENTITY avahi-md5sum "229c6aa30674fc43c202b22c5f8c2be7">
10 <!ENTITY avahi-size "1.5 MB">
11 <!ENTITY avahi-buildsize "32 MB">
12 <!ENTITY avahi-time "0.3 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 &lfs91_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"/>,
86 <xref linkend="libglade"/>, and
87 <xref linkend="qt5"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="dbus-python"/>,
93 <xref linkend="libevent"/>,
94 <xref linkend="pygtk"/>,
95 <xref linkend="doxygen"/> and
96 <ulink url="https://sourceforge.net/projects/xmltoman/">xmltoman</ulink>
97 (for generating documentation)
98 </para>
99
100 <para condition="html" role="usernotes">User Notes:
101 <ulink url="&blfs-wiki;/avahi"/>
102 </para>
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of Avahi</title>
107
108 <para>
109 There should be a dedicated user and group to take control
110 of the <command>avahi-daemon</command> daemon after it is
111 started. Issue the following commands as the
112 <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>groupadd -fg 84 avahi &amp;&amp;
116useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 \
117 -g avahi -s /bin/false avahi</userinput></screen>
118
119 <para>
120 There should also be a dedicated priviliged access group for
121 <application>Avahi</application> clients. Issue the following command as
122 the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>groupadd -fg 86 netdev</userinput></screen>
126
127 <para>Install <application>Avahi</application> by running the following
128 commands:</para>
129
130<screen revision="sysv"><userinput>./configure --prefix=/usr \
131 --sysconfdir=/etc \
132 --localstatedir=/var \
133 --disable-static \
134 --disable-libevent \
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=no &amp;&amp;
143make</userinput></screen>
144
145<screen revision="systemd"><userinput>./configure --prefix=/usr \
146 --sysconfdir=/etc \
147 --localstatedir=/var \
148 --disable-static \
149 --disable-libevent \
150 --disable-mono \
151 --disable-monodoc \
152 --disable-python \
153 --disable-qt3 \
154 --disable-qt4 \
155 --enable-core-docs \
156 --with-distro=none \
157 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
158make</userinput></screen>
159
160 <para>
161 This package does not come with a test suite.
162 </para>
163
164 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
165
166<screen role="root"><userinput>make install</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/static-libraries.xml"/>
175
176 <para>
177 <parameter>--disable-libevent</parameter>: This parameter disables the
178 use of <xref linkend="libevent"/>. Remove if you have it installed.
179 </para>
180
181 <para>
182 <parameter>--disable-mono</parameter>: This parameter disables the
183 <application>Mono</application> bindings.
184 </para>
185
186 <para>
187 <parameter>--disable-monodoc</parameter>: This parameter disables
188 documentation for the <application>Mono</application> bindings.
189 </para>
190
191 <para>
192 <parameter>--disable-python</parameter>: This parameter disables the
193 scripts that depend on <application>Python</application>. It also
194 allows a regular install to complete successfully.
195 </para>
196
197 <para>
198 <parameter>--disable-qt3</parameter>: This parameter disables the
199 attempt to build the obsolete <application>Qt3</application>
200 portions of the package.
201 </para>
202
203 <para>
204 <parameter>--disable-qt4</parameter>: This parameter disables the
205 attempt to build the obsolete <application>Qt4Core</application>
206 portions of the package.
207 </para>
208
209 <para>
210 <parameter>--enable-core-docs</parameter>: This parameter enables the
211 building of documentation.
212 </para>
213
214 <para>
215 <parameter>--with-distro=none</parameter>: There is an obsolete
216 boot script in the distribution for LFS. This option disables it.
217 </para>
218
219 <para revision="sysv">
220 <parameter>--with-systemdsystemunitdir=no</parameter>: Without it, the
221 daemon fails to start in BLFS, which does not support
222 <application>systemd</application>.
223 </para>
224
225 <para revision="systemd">
226 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>:
227 This parameter is used to set the correct installation directory for
228 systemd units.
229 </para>
230
231 <para>
232 <option>--disable-dbus</option>: This parameter disables the use
233 of <application>D-Bus</application>.
234 </para>
235
236 <para>
237 <option>--disable-gtk</option>: This parameter disables the use
238 of <application>GTK+2</application>.
239 </para>
240
241 <para>
242 <option>--disable-gtk3</option>: This parameter disables the use
243 of <application>GTK+3</application>.
244 </para>
245
246 <para>
247 <option>--disable-libdaemon</option>: This parameter disables the use
248 of <application>libdaemon</application>. If you use this option,
249 <command>avahi-daemon</command> won't be built.
250 </para>
251
252 <para>
253 <option>--enable-tests</option>: This option enables the building of
254 tests and examples.
255 </para>
256
257 <para>
258 <option>--enable-compat-howl</option>: This option enables the
259 compatibility layer for <application>HOWL</application>.
260 </para>
261
262 <para>
263 <option>--enable-compat-libdns_sd</option>: This option enables the
264 compatibility layer for <application>libdns_sd</application>.
265 </para>
266
267 </sect2>
268
269 <sect2 role="configuration">
270 <title>Configuring avahi</title>
271
272 <sect3 id="avahi-init">
273 <title>Boot Script</title>
274
275 <para revision="sysv">
276 To automatically start the <command>avahi-daemon</command>
277 when the system is rebooted, install the
278 <filename>/etc/rc.d/init.d/avahi</filename> bootscript from
279 the <xref linkend="bootscripts"/> package.
280 </para>
281
282 <para revision="systemd">
283 To start the <command>avahi-daemon</command> daemon at boot, enable
284 the previously installed systemd unit by running the following command
285 as the <systemitem class="username">root</systemitem> user:
286 </para>
287
288 <indexterm zone="avahi avahi-init">
289 <primary sortas="f-avahi">avahi</primary>
290 </indexterm>
291
292<screen role="root" revision="sysv"><userinput>make install-avahi</userinput></screen>
293
294<screen role="root" revision="systemd"><userinput>systemctl enable avahi-daemon</userinput></screen>
295
296 <para revision="systemd">
297 To start the <command>avahi-dnsconfd</command> daemon at boot, enable
298 the previously installed systemd unit by running the following command
299 as the <systemitem class="username">root</systemitem> user:
300 </para>
301
302<screen role="root" revision="systemd"><userinput>systemctl enable avahi-dnsconfd</userinput></screen>
303
304 </sect3>
305
306 </sect2>
307
308 <sect2 role="content">
309 <title>Contents</title>
310
311 <segmentedlist>
312 <segtitle>Installed Programs</segtitle>
313 <segtitle>Installed Libraries</segtitle>
314 <segtitle>Installed Directories</segtitle>
315
316 <seglistitem>
317 <seg>avahi-autoipd, avahi-browse, avahi-browse-domains,
318 avahi-daemon, avahi-discover-standalone, avahi-dnsconfd,
319 avahi-publish, avahi-publish-address, avahi-publish-service,
320 avahi-resolve, avahi-resolve-address, avahi-resolve-host-name,
321 avahi-set-host-name, bshell, bssh, and bvnc</seg>
322 <seg>libavahi-client.so, libavahi-common.so, libavahi-core.so,
323 libavahi-glib.so, libavahi-gobject.so, libavahi-libevent.so
324 libavahi-ui-gtk3.so, libavahi-qt5, libavahi-ui.so, libdns_sd.so, and
325 libhowl.so,</seg>
326 <seg>/etc/avahi/services, /usr/include/{avahi-client,avahi-common,
327 avahi-compat-howl, avahi-compat-libdns_sd, avahi-core, avahi-glib,
328 avahi-gobject, avahi-libevent, avahi-qt5, avahi-ui},
329 /usr/lib/avahi, /usr/share/avahi</seg>
330 </seglistitem>
331 </segmentedlist>
332
333 <variablelist>
334 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
335 <?dbfo list-presentation="list"?>
336 <?dbhtml list-presentation="table"?>
337
338 <varlistentry id="avahi-autoipd">
339 <term><command>avahi-autoipd</command></term>
340 <listitem>
341 <para>is a IPv4LL network address configuration daemon.</para>
342 <indexterm zone="avahi avahi-autoipd">
343 <primary sortas="b-avahi-autoipd">avahi-autoipd</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347 <!--
348 <varlistentry id="avahi-bookmarks">
349 <term><command>avahi-bookmarks</command></term>
350 <listitem>
351 <para>is a Web service showing mDNS/DNS-SD announced HTTP services
352 using the <application>Avahi</application> daemon.</para>
353 <indexterm zone="avahi avahi-bookmarks">
354 <primary sortas="b-avahi-bookmarks">avahi-bookmarks</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358 -->
359 <varlistentry id="avahi-browse">
360 <term><command>avahi-browse</command></term>
361 <listitem>
362 <para>browses for mDNS/DNS-SD services using the
363 <application>Avahi</application> daemon.</para>
364 <indexterm zone="avahi avahi-browse">
365 <primary sortas="b-avahi-browse">avahi-browse</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="avahi-browse-domains">
371 <term><command>avahi-browse-domains</command></term>
372 <listitem>
373 <para>browses for mDNS/DNS-SD services using the
374 <application>Avahi</application> daemon.</para>
375 <indexterm zone="avahi avahi-browse-domains">
376 <primary sortas="b-avahi-browse-domains">avahi-browse-domains</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="avahi-daemon">
382 <term><command>avahi-daemon</command></term>
383 <listitem>
384 <para>is the <application>Avahi</application> mDNS/DNS-SD
385 daemon.</para>
386 <indexterm zone="avahi avahi-daemon">
387 <primary sortas="b-avahi-daemon">avahi-daemon</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391 <!--
392 <varlistentry id="avahi-discover">
393 <term><command>avahi-discover</command></term>
394 <listitem>
395 <para>browses for mDNS/DNS-SD services using the
396 <application>Avahi</application> daemon.</para>
397 <indexterm zone="avahi avahi-discover">
398 <primary sortas="b-avahi-discover">avahi-discover</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402 -->
403 <varlistentry id="avahi-discover-standalone">
404 <term><command>avahi-discover-standalone</command></term>
405 <listitem>
406 <para>browses for mDNS/DNS-SD services using the
407 <application>Avahi</application> daemon.</para>
408 <indexterm zone="avahi avahi-discover-standalone">
409 <primary sortas="b-avahi-discover-standalone">avahi-discover-standalone</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="avahi-dnsconfd">
415 <term><command>avahi-dnsconfd</command></term>
416 <listitem>
417 <para>is a Unicast DNS server from mDNS/DNS-SD configuration
418 daemon.</para>
419 <indexterm zone="avahi avahi-dnsconfd">
420 <primary sortas="b-avahi-dnsconfd">avahi-dnsconfd</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="avahi-publish">
426 <term><command>avahi-publish</command></term>
427 <listitem>
428 <para>registers a mDNS/DNS-SD service or host name or address mapping
429 using the <application>Avahi</application> daemon.</para>
430 <indexterm zone="avahi avahi-publish">
431 <primary sortas="b-avahi-publish">avahi-publish</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="avahi-publish-address">
437 <term><command>avahi-publish-address</command></term>
438 <listitem>
439 <para>registers a mDNS/DNS-SD service or host name or address mapping
440 using the <application>Avahi</application> daemon.</para>
441 <indexterm zone="avahi avahi-publish-address">
442 <primary sortas="b-avahi-publish-address">avahi-publish-address</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="avahi-publish-service">
448 <term><command>avahi-publish-service</command></term>
449 <listitem>
450 <para>registers a mDNS/DNS-SD service or host name or address mapping
451 using the <application>Avahi</application> daemon.</para>
452 <indexterm zone="avahi avahi-publish-service">
453 <primary sortas="b-avahi-publish-service">avahi-publish-service</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="avahi-resolve">
459 <term><command>avahi-resolve</command></term>
460 <listitem>
461 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
462 (and vice versa) using the <application>Avahi</application>
463 daemon.</para>
464 <indexterm zone="avahi avahi-resolve">
465 <primary sortas="b-avahi-resolve">avahi-resolve</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="avahi-resolve-address">
471 <term><command>avahi-resolve-address</command></term>
472 <listitem>
473 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
474 (and vice versa) using the <application>Avahi</application>
475 daemon.</para>
476 <indexterm zone="avahi avahi-resolve-address">
477 <primary sortas="b-avahi-resolve-address">avahi-resolve-address</primary>
478 </indexterm>
479 </listitem>
480 </varlistentry>
481
482 <varlistentry id="avahi-resolve-host-name">
483 <term><command>avahi-resolve-host-name</command></term>
484 <listitem>
485 <para>resolves one or more mDNS/DNS host name(s) to IP address(es)
486 (and vice versa) using the <application>Avahi</application>
487 daemon.</para>
488 <indexterm zone="avahi avahi-resolve-host-name">
489 <primary sortas="b-avahi-resolve-host-name">avahi-resolve-host-name</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
494 <varlistentry id="avahi-set-host-name">
495 <term><command>avahi-set-host-name</command></term>
496 <listitem>
497 <para>changes the mDNS host name.</para>
498 <indexterm zone="avahi avahi-set-host-name">
499 <primary sortas="b-avahi-set-host-name">avahi-set-host-name</primary>
500 </indexterm>
501 </listitem>
502 </varlistentry>
503
504 <!--<varlistentry id="bshell">
505 <term><command>bshell</command></term>
506 <listitem>
507 <para>does this .....</para>
508 <indexterm zone="avahi bshell">
509 <primary sortas="b-bshell">bshell</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>-->
513
514 <varlistentry id="bssh">
515 <term><command>bssh</command></term>
516 <listitem>
517 <para>browses for SSH servers on the local network.</para>
518 <indexterm zone="avahi bssh">
519 <primary sortas="b-bssh">bssh</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
524 <varlistentry id="bvnc">
525 <term><command>bvnc</command></term>
526 <listitem>
527 <para>browses for VNC servers on the local network.</para>
528 <indexterm zone="avahi bvnc">
529 <primary sortas="b-bvnc">bvnc</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <!--<varlistentry id="libavahi-client">
535 <term><filename class='libraryfile'>libavahi-client.{so,a}</filename></term>
536 <listitem>
537 <para>contains functions that .....</para>
538 <indexterm zone="avahi libavahi-client">
539 <primary sortas="c-libavahi-client">libavahi-client.{so,a}</primary>
540 </indexterm>
541 </listitem>
542 </varlistentry>
543
544 <varlistentry id="libavahi-common">
545 <term><filename class='libraryfile'>libavahi-common.{so,a}</filename></term>
546 <listitem>
547 <para>contains functions that .....</para>
548 <indexterm zone="avahi libavahi-common">
549 <primary sortas="c-libavahi-common">libavahi-common.{so,a}</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="libavahi-core">
555 <term><filename class='libraryfile'>libavahi-core.{so,a}</filename></term>
556 <listitem>
557 <para>contains functions that .....</para>
558 <indexterm zone="avahi libavahi-core">
559 <primary sortas="c-libavahi-core">libavahi-core.{so,a}</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="libavahi-glib">
565 <term><filename class='libraryfile'>libavahi-glib.{so,a}</filename></term>
566 <listitem>
567 <para>contains functions that .....</para>
568 <indexterm zone="avahi libavahi-glib">
569 <primary sortas="c-libavahi-glib">libavahi-glib.{so,a}</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574 <varlistentry id="libavahi-gobject">
575 <term><filename class='libraryfile'>libavahi-gobject.{so,a}</filename></term>
576 <listitem>
577 <para>contains functions that .....</para>
578 <indexterm zone="avahi libavahi-gobject">
579 <primary sortas="c-libavahi-gobject">libavahi-gobject.{so,a}</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="libavahi-ui-gtk3">
585 <term><filename class='libraryfile'>libavahi-ui-gtk3.{so,a}</filename></term>
586 <listitem>
587 <para>contains functions that .....</para>
588 <indexterm zone="avahi libavahi-ui-gtk3">
589 <primary sortas="c-libavahi-ui-gtk3">libavahi-ui-gtk3.{so,a}</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="libavahi-ui">
595 <term><filename class='libraryfile'>libavahi-ui.{so,a}</filename></term>
596 <listitem>
597 <para>contains functions that .....</para>
598 <indexterm zone="avahi libavahi-ui">
599 <primary sortas="c-libavahi-ui">libavahi-ui.{so,a}</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
604 <varlistentry id="libdns_sd">
605 <term><filename class='libraryfile'>libdns_sd.{so,a}</filename></term>
606 <listitem>
607 <para>contains functions that .....</para>
608 <indexterm zone="avahi libdns_sd">
609 <primary sortas="c-libdns_sd">libdns_sd.{so,a}</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
614 <varlistentry id="libhowl">
615 <term><filename class='libraryfile'>libhowl.{so,a}</filename></term>
616 <listitem>
617 <para>contains functions that .....</para>
618 <indexterm zone="avahi libhowl">
619 <primary sortas="c-libhowl">libhowl.{so,a}</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>-->
623
624 </variablelist>
625
626 </sect2>
627
628</sect1>
Note: See TracBrowser for help on using the repository browser.