Project

General

Profile

Bug #174

Port avahi-daemon

Added by Justin Maggard over 6 years ago. Updated about 6 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

History

#1

Updated by Igor Pashev over 6 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

#2

Updated by Igor Pashev over 6 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.

#3

Updated by Igor Pashev over 6 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 :-)

#4

Updated by Igor Pashev over 6 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

#5

Updated by Igor Pashev over 6 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
#6

Updated by Igor Pashev over 6 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.

#7

Updated by Igor Pashev over 6 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

#8

Updated by Igor Pashev about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF