source: networking/netutils/avahi.xml@ 5fd872d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 5fd872d was 5fd872d, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to mariadb-10.2.7.
Update to git-2.13.3.
Update to avahi-0.7.
Update to httpd-2.4.27.

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

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