#1992 closed enhancement (fixed)
New Package: Avahi
Reported by: | Randy McMurchy | Owned by: | Wayne Blaszczyk |
---|---|---|---|
Priority: | low | Milestone: | x-future |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | Avahi |
Cc: |
Description ¶
The Avahi package (http://www.avahi.org/) would make a nice addition to BLFS. There are many reasons to add it. See: http://linuxfromscratch.org/pipermail/blfs-dev/2006-May/015268.html
Change History (36)
comment:1 by , 19 years ago
Status: | new → assigned |
---|
comment:2 by , 19 years ago
Milestone: | 6.2 → future |
---|
comment:3 by , 19 years ago
comment:4 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:6 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 8 comment:7 by , 15 years ago
Mmmm, there is a --with-distro=lfs option. How did that get in there? Anyway it fails with the following error: chmod +x avahi chmod: cannot access `avahi': No such file or directory make: * [avahi] Error 1
comment:8 by , 15 years ago
Replying to wblaszcz:
Mmmm, there is a --with-distro=lfs option. How did that get in there? Anyway it fails with the following error: chmod +x avahi chmod: cannot access `avahi': No such file or directory make: * [avahi] Error 1
I think I have something to do with it. Anyway, the error was human error on my part, and I made a patch to fix it, but it didn't get in to Avahi due to Lennart's selfishness and he diddn't like my "cat avahi.in > avahi" workaround (It was so that the makefiles are consitant), and he diddn't like LFS's bootscript system, calling it a link farm.
Anyway, I have the patch that makes Avahi 0.6.25 build. Wayne, please submit my patch to upstream and tell Lennart that this is so that Avahi can go into LFS.
follow-up: 10 comment:9 by , 15 years ago
I've tried out the patch and it doesn't work for me. I get the following:
make[3]: Entering directory `/sources/avahi-0.6.25/initscript/lfs'
cd ../.. && /bin/sh /sources/avahi-0.6.25/missing --run automake-1.10 --foreign initscript/lfs/Makefile
/sources/avahi-0.6.25/missing: line 54: automake-1.10: command not found WARNING: `automake-1.10' is missing on your system. You should only need it if
you modified
Makefile.am',
acinclude.m4' or `configure.ac'. You might want to install theAutomake' and
Perl' packages. Grab them from any GNU archive site.
cd ../.. && /bin/sh ./config.status initscript/lfs/Makefile
config.status: creating initscript/lfs/Makefile make[3]: Leaving directory `/sources/avahi-0.6.25/initscript/lfs' make[3]: Entering directory `/sources/avahi-0.6.25/initscript/lfs' chmod +x avahi chmod: cannot access `avahi': No such file or directory make[3]: * [avahi] Error 1 make[3]: Leaving directory `/sources/avahi-0.6.25/initscript/lfs' make[2]: * [all-recursive] Error 1 make[2]: Leaving directory `/sources/avahi-0.6.25/initscript' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/sources/avahi-0.6.25' make: * [all] Error 2
I have automake 1.11 installed.
comment:10 by , 15 years ago
Replying to wblaszcz:
I've tried out the patch and it doesn't work for me. I get the following:
Yea, well, I have revised the same patch and I'm going to submit it to Upstream. I tested it with a LFS 6.6-rc1 system. I'll attach it soon.
by , 15 years ago
Attachment: | avahi-lfs-initscript-fixes.patch added |
---|
Updated version of the LFS initscript patch.
by , 15 years ago
Attachment: | Makefile.am added |
---|
by , 15 years ago
Attachment: | Makefile.in added |
---|
follow-up: 12 comment:11 by , 15 years ago
I've been playing with Avahi and NetworkManager with the last couple of KDE4 builds. See the attached modified initscript/lfs files. They seem to work for me.
by , 15 years ago
Attachment: | avahidnsconfd.2.in added |
---|
follow-up: 13 comment:12 by , 15 years ago
Replying to ringlis:
I've been playing with Avahi and NetworkManager with the last couple of KDE4 builds. See the attached modified initscript/lfs files. They seem to work for me.
I'll later merge ringlis additions into my patch, just give me a few minutes.
comment:13 by , 15 years ago
Replying to willimm:
Replying to ringlis:
I've been playing with Avahi and NetworkManager with the last couple of KDE4 builds. See the attached modified initscript/lfs files. They seem to work for me.
I'll later merge ringlis additions into my patch, just give me a few minutes.
willimm,
These "modified" make files create 2 init scripts, avahi-daemon and avahi-dnsconfd.
The avahi-source/initscript/lfs created only one init script "avahi". I wanted support for the mDNS daemon as well.
Your run-level links link to /etc/rc.d/init.d/avahi, but these modified files create /etc/r.c/init.d/{avahi-daemon, avahi-dnsconfd}.
avahidnsconfd.in had a minor typo in the script corrected in avahidnsconfd2.in.
by , 15 years ago
Attachment: | avahi-0.6.25-lfs_initscript_fixes-1.patch added |
---|
New version of the Avahi LFS Initscripts patch. Please use, it also includes part of Ringlis' fixes. Run autoreconf -i -v right after applying this patch.
comment:14 by , 15 years ago
I've updated my patch to include some of Ringlis' fixes, including also starting up the mDNS server conf. daemon as well. If you want me to put that into a seprate bootscript, I'll do so.
comment:15 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:16 by , 15 years ago
I revisited this source after building Gnome-2.30. While pursuing NetworkManager and Gnome-2.30.
I made more modifications to enable avahi-autoipd along with the other avahi daemons.
See attached makefiles, init scripts.
by , 15 years ago
Attachment: | Makefile.2.in added |
---|
by , 15 years ago
Attachment: | Makefile.2.am added |
---|
by , 15 years ago
Attachment: | avahiautoipd.in added |
---|
by , 15 years ago
Attachment: | avahidaemon.2.in added |
---|
by , 15 years ago
Attachment: | avahidnsconfd.3.in added |
---|
comment:17 by , 15 years ago
Init changes: Removed /etc/rc.d/rcX.d/network run-level links to disable dhcpcd/static via services and allow networkmanager to take over this function. Haldaemon to run S20 vs S21. S20avahi-autoipd S21networkmanager (using slackware's init script (renamed), I still need to modify this make to suit LFS. Init error message stating /etc/NetworkManager/nm-system-settings.conf is missing but otherwise functions with defaults. S23avahi-daemon S23avahi-dnsconfd
So far the network functions using NM + Avahi vs dhcpcd. Still a work in progress. Any suggestions / fixes will be appreciated.
by , 15 years ago
Attachment: | avahi-config added |
---|
follow-up: 19 comment:18 by , 15 years ago
I'm not going to be adding in avahi-autoipd any day soon, as that daemon requires a network interface to start up correctly, and also the fact that most initscripts for other distros don't start that up either, so, the point of starting avahi-autoipd is rather moot for now.
For now, please use my attached patch that provides a good initscript for Avahi on LFS untill I find a way to intergrate avahi-autoipd.
follow-up: 20 comment:19 by , 15 years ago
Replying to willimm:
I'm not going to be adding in avahi-autoipd any day soon, as that daemon requires a network interface to start up correctly, and also the fact that most initscripts for other distros don't start that up either, so, the point of starting avahi-autoipd is rather moot for now.
For now, please use my attached patch that provides a good initscript for Avahi on LFS untill I find a way to intergrate avahi-autoipd.
After some testing it seems avahi-autoipd is redundant if you use NetworkManager or dhcpcd.
Avahi-autoipd starts up, query's for an IP then NetworkManager steps in and takes over the ethX interface.
comment:20 by , 15 years ago
Replying to ringlis:
After some testing it seems avahi-autoipd is redundant if you use NetworkManager or dhcpcd.
Well, at least we both agree that avahi-autoipd is rendered moot by DHCP clients or NetworkManager, and considiring that most distros don't start it up anyway, you may as well just forget about adding a avahi-autoipd bootscript.
comment:21 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:22 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added new package to book, avahi-0.6.25
KControl from KDE-3.5.4 crashes on the peripherals/camera telling that it uses Apple Bonjour compatibily layer of Avahi and suggests to use the native API of Avahi. However it prints out a redirection, http://0pointer.de/avahi-compat?s=libdns_sd&e=kcontrol for more info, so I think that the --enable-compat-libdns_sd switch shouldn't be passed to configure.