pcp
[Top] [All Lists]

Re: [pcp] First Cut at Avahi Support for PCP Servers

To: Dave Brolley <brolley@xxxxxxxxxx>
Subject: Re: [pcp] First Cut at Avahi Support for PCP Servers
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 28 Oct 2013 05:30:19 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5251DF3C.7040805@xxxxxxxxxx>
References: <5251DF3C.7040805@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Kkf8St8KA5u9XsZgT+ehTOvIoOfUDA==
Thread-topic: First Cut at Avahi Support for PCP Servers
Hi Dave,

----- Original Message -----
> ...
> As it stands, this code is a working prototype. Let me know if this is
> headed in the right direction. Also any help with the autoconf/spec
> stuff is always appreciated.

Here's a few smallish updates to the autoconf stuff you've already done.
This defaults to checking for support (was off by default, but usage was
claiming on by default?), goes back to using autoconf 2.69 (needed for
aarch64) generated configure, provides a way to do Avahi alongside other
implementations (like the one on Mac OS X if anyone wants to tackle that
someday), adds the .deb dependency, and similar - all small stuff.

Still to do is the __pmServerFeature support, but I need to refactor a
bit of code there - bit too tied to the security features atm.  Please
review attached patch & commit it if ya like it.

BTW, for reference & future-proofing of APIs, this is the Mac OS X API:
https://developer.apple.com/library/mac/documentation/Networking/Reference/DNSServiceDiscovery_CRef/Reference/reference.html

cheers.

ps: pmwebd (http://jmdns.sourceforge.net/ - java clients) and pmproxy
could probably get the same treatment as pmcd at some point.

--
Nathan

Attachment: avahi.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>