source: networking/netutils/avahi.xml@ f3429309

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 f3429309 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

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

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