avahi-0.6.25

Introduction to avahi

The avahi package is a system which facilitates service discovery on a local network.

This package is known to build using an LFS 6.5 platform but has not been tested.

Package Information

Additional Downloads

avahi Dependencies

Required

intltool-0.50.0 and GLib-2.30.1

Optional

D-Bus Python Bindings-0.84.0, gtk+-2.24.8, libdaemon-0.14, libglade-2.6.4, Python-2.7.2, PyGTK-2.17.0, Qt-3.3.8d, and Qt-4.8.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/avahi

Installation of avahi

It is recommended to have a dedicated user and group to take control of the avahi-daemon daemon after it is started. Issue the following commands as the root user:

groupadd -fg 84 avahi &&
useradd -c "Avahi Daemon Owner" -d /dev/null -u 84 \
    -g avahi -s /bin/false avahi  || [ $? == 9 ]

It is recommended to have a dedicated priviliged access group for Avahi clients. Issue the following command as the root user:

groupadd -fg 86 netdev

Install avahi by running the following commands:

patch -Np1 -i ../avahi-0.6.25-lfs_initscript_fixes-1.patch &&
autoreconf -i -v &&
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --with-distro=lfs \
            --disable-qt3 \
            --disable-qt4 \
            --disable-gtk \
            --disable-dbus \
            --disable-libdaemon \
            --disable-python \
            --disable-mono \
            --disable-monodoc \
            --enable-core-docs &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--with-distro=lfs: This parameter specifies the LFS distribution to target.

--disable-qt3: This parameter disables the building of Qt3 mainloop integration.

--disable-qt4: This parameter disables the building of Qt4Core mainloop integration.

--disable-gtk: This parameter disables the use of GTK+.

--disable-dbus: This parameter disables the use of D-Bus.

--disable-libdaemon: This parameter disables the use of libdaemon.

--disable-python: This parameter disables the scripts that depends on Python.

--disable-mono: This parameter disables the Mono bindings.

--disable-monodoc: This parameter disables documentation for the Mono bindings.

--enable-core-docs: This parameter enables the building of documentation.

--enable-tests: This option enables the building of tests and examples.

--enable-compat-libdns_sd: This option enables the compatibility layer for libdns_sd.

--enable-compat-howl: This option enables the compatibility layer for HOWL.

Contents

Installed Programs: avahi-autoipd, avahi-bookmarks, avahi-browse, avahi-daemon, avahi-discover, avahi-discover-standalone, avahi-dnsconfd, avahi-publish, avahi-resolve, avahi-set-host-name, and bssh
Installed Libraries: libavahi-client.{so,a}, libavahi-common.{so,a}, libavahi-core.{so,a}, libavahi-glib.{so,a}, libavahi-gobject.{so,a}, and libavahi-ui.{so,a}
Installed Directories: /etc/avahi/services,/usr/{include/avahi-{client,common,core,glib, gobject,ui},lib/{avahi,python2.7/site-packages/{avahi,avahi_discover}}, share/avahi/{interfaces,introspection}}

Short Descriptions

avahi-autoipd

is a IPv4LL network address configuration daemon.

avahi-bookmarks

is a Web service showing mDNS/DNS-SD announced HTTP services using the Avahi daemon.

avahi-browse

browses for mDNS/DNS-SD services using the Avahi daemon.

avahi-daemon

is the Avahi mDNS/DNS-SD daemon.

avahi-discover

browses for mDNS/DNS-SD services using the Avahi daemon.

avahi-discover-standalone

does this .....

avahi-dnsconfd

is a Unicast DNS server from mDNS/DNS-SD configuration daemon.

avahi-publish

registers a mDNS/DNS-SD service or host name or address mapping using the Avahi daemon.

avahi-resolve

resolves one or more mDNS/DNS host name(s) to IP address(es) (and vice versa) using the Avahi daemon.

avahi-set-host-name

changes the mDNS host name.

bssh

browses for SSH/VNC servers on the local network.

Last updated on 2011-10-31 19:38:44 +0000