Re: PowerDNS Recursor 3.5-RC5 released!

[email protected]
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <[email protected]>
On 2013-04-08 10:30, Peter van Dijk wrote:
> Hi everybody,
>
> Release Candidate 5 of the PowerDNS Recursor 3.5 is available from:
>
> source: 
> http://powerdnssec.org/downloads/pdns-recursor-3.5-rc5.tar.bz2
> semistatic packages: http://powerdnssec.org/downloads/packages/
> RHEL5/6 native:
> http://www.monshouwer.eu/download/3rd_party/pdns-recursor/rc5/

Seems ok (so far) on OSX, with one minor exception.

The "/etc/powerdns/recursor.conf" location for the config file
is hardcoded, not allowing overrides.

Originally (wrongly) thought it was from the Makefile:

   CONFIGDIR="/etc/powerdns/"

But the value being used is the one in config.h, which makes more
sense in hindsight (ie "embedded in the compiled executable"):

   #define SYSCONFDIR "/etc/powerdns/"

In the short term it's easy to fix for OSX packaging by just
patching config.h on the fly.

Not sure what the "proper" fix is though, so someone can adjust
the location without needing to patch things before compiling. ;)

Anyone have suggestions?  Make adding a sed to the mock
"configure" script. ?

Regards and best wishes,

Justin Clift
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.