Bug #174
closedPort avahi-daemon
100%
Description
"host" is provided by either bind9 or knot. Neither will build without modifications to the debian package. Since knot is smaller, I decided to work on that one.
knot has build-deps on unavailable packages ragel and liburcu, but both build without modification. However, knot needs some source code changes to build on Dyson. I have attached a patch to fix this.
Files
Updated by Igor Pashev over 10 years ago
- Status changed from New to Resolved
Uploaded knot 1.4.4-1+dyson1, SMF powered :-)
Git repository: http://cgit.osdyson.org/knot.git
Updated by Igor Pashev over 10 years ago
Actually, host
utility and others are used for Debian-specific checks on local domain in avahi-daemon-check-dns.sh
. These checks also involve ifconfig
utility with linux-specific output format. So for Dyson is should be either ported or disdabled.
Updated by Igor Pashev over 10 years ago
- Status changed from Resolved to In Progress
- % Done changed from 0 to 50
I think with ipadm
& Ko it would be easy to port :-)
Updated by Igor Pashev over 10 years ago
More over knot's host has different output, and can't be used with avahi that easy:
Knot:
# host -t soa local. Host local. type SOA error: NXDOMAIN
Bind:
# host -t soa local. Host local. not found: 3(NXDOMAIN)
Avahi:
OUT=`LC_ALL=C host -t soa local. 2>&1` if [ $? -eq 0 ] ; then if echo "$OUT" | egrep -vq 'has no|not found'; then return 0 fi else
Updated by Igor Pashev over 10 years ago
- Subject changed from avahi-daemon won't install due to dependency on "host" to Port avahi-daemon
- % Done changed from 50 to 70
Updated by Igor Pashev over 10 years ago
- % Done changed from 70 to 80
I decided to remove this functionality (detecting unicast DNS servers serving local domain), and thus dropped dependency on host utility. In any case this functionality is designed to work with Debian ifup/ifdown scripts.
Updated by Igor Pashev over 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Uploaded avahi 0.6.31-5~dyson1. Should work :-)
Updated by Igor Pashev about 10 years ago
- Status changed from Resolved to Closed