source: networking/netutils/avahi.xml@ 000d5dc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 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 nosym 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 000d5dc was ded78c6, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Simplify several urls

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