Project

General

Profile

Actions

Bug #174

closed

Port avahi-daemon

Added by Justin Maggard over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
2014-05-24
Due date:
% Done:

100%

Estimated time:

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

knot-dyson.patch (2.44 KB) knot-dyson.patch add Dyson support to knot Justin Maggard, 2014-05-24 01:52 AM
Actions #1

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

Actions #2

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.

Actions #3

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 :-)

Actions #4

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

Actions #5

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
Actions #6

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.

Actions #7

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 :-)

http://cgit.osdyson.org/pkg-utopia/avahi.git

Actions #8

Updated by Igor Pashev about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF