#2806 closed enhancement (duplicate)
New package: Avahi
Reported by: | willimm | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
This package facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. (Neat, huh?)
This kind of technology is already found in Apple MacOS X (refered to as Bonjour), and repleases mDNSresponser and howl.
Latest version: 0.6.24
BTW, I make a ticket for Avahi on it's Trac, regarding adding an bootscript for BLFS. (#254) Will get done around the release of 0.7. In the meantime, use --with-distro=none.
Deps (according to CBLFS): Required:
- Expat
- libdaemon (simple package, compiles with ./configure --prefix=/usr && make && make install, can use lynx. Homepage: http://0pointer.de/lennart/projects/libdaemon/.)
- XML::Parser
- Intltool
Recommended:
- DBUS Glib
- Glib2
Optonal:
- GTK2
- libglade
- Qt (both 3 and 4)
- Both PyGTK and DBUS Python
- PyTwisted ( simple package, use both python setup.py build && python setup.py install, needs ZopeInterface (http://www.zope.org/), also simple, with python setup.py install. Homepage: http://twistedmatrix.com/trac/ Not to mention, both packages need Python, obsouly.)
- Both Mono and Monodoc
- libcap
- Pyrex and Python (Pyrex is simple, run python setup.py install and you're done. Homepage: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/)
- GDBM or BDB.
Installation instructions:
First, create the required users and groups for avahi.
groupadd -g 20 avahi && useradd -c "Avahi Daemon User" -d /dev/null \ -u 20 -g avahi -s /bin/false avahi && groupadd -g 21 avahi-autoipd && useradd -c "Avahi AutoIP Daemon User" -d /dev/null \ -u 21 -g avahi-autoipd -s /bin/false avahi-autoipd && groupadd -g 22 netdev
Optinal configure options:
If you didden't build these packages, use configure switches to disable building them:
--disable-glib --disable-qt3 --disable-qt4 --disable-gtk --disable-dbus --disable-expat --disable-mono --disable-monodoc
If you want the HOWL compat layer:
--enable-compat-howl
And if you want the libdns_sd compat layer:
--enable-compat-libdns_sd
Building:
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --with-distro=none && make
And install as root:
make install
Closed as a duplicate of #1992