Bug 108182 - dns/powerdns: fix building issues with gpgsql backend and remove sqlite3 backend (added it a bit too soon)
Summary: dns/powerdns: fix building issues with gpgsql backend and remove sqlite3 back...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-21 16:30 UTC by Ralf van der Enden
Modified: 2007-02-01 20:40 UTC (History)
0 users

See Also:


Attachments
pdns-2.9.20_3.diff (2.31 KB, patch)
2007-01-21 16:30 UTC, Ralf van der Enden
no flags Details | Diff
powerdns.patch (3.20 KB, patch)
2007-01-28 20:33 UTC, Tobias Roth
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2007-01-21 16:30:22 UTC
Remove SQLite 3 backend from OPTIONs (will be added in 2.9.21). Added a bit prematurely.
Fix building of the pgsql backend.

Additional information:
In the last update I moved the configuration file from /usr/local/etc to /usr/local/etc/pdns
I did this to match the location of the configfile of the dns/powerdns-recursor port.
Could this be mentioned in the /usr/ports/UPDATING file ?
Comment 1 Tobias Roth 2007-01-28 20:33:07 UTC
Hi

As discussed with Xride on IRC, the attached patch replaces the above
one. It fixes the pkg-plist and removes an unneeded file.

Cheers,
Tobias
Comment 2 Ralf van der Enden 2007-01-29 08:15:31 UTC
Hi Tobias,

Looks good to me (almost identical to my own patch), so should be good to 
commit.

Regards,
Ralf

----- Original Message ----- 
From: "Tobias Roth" <ports@fsck.ch>
To: <bug-followup@FreeBSD.org>; <tremere@cainites.net>
Sent: Sunday, January 28, 2007 9:33 PM
Subject: Re: ports/108182: dns/powerdns: fix building issues with gpgsql 
backend and remove sqlite3 backend (added it a bit too soon)


Hi

As discussed with Xride on IRC, the attached patch replaces the above
one. It fixes the pkg-plist and removes an unneeded file.

Cheers,
Tobias
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-30 20:48:10 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-01-30 21:04:12 UTC
pav         2007-01-30 21:04:01 UTC

  FreeBSD ports repository

  Modified files:
    dns/powerdns         Makefile pkg-plist 
    dns/powerdns/files   patch-modules_gpgsqlbackend_Makefile_in 
  Log:
  - Remove SQLITE3 backend option, it was added prematurely
  - Fix plist
  
  PR:             ports/108182
  Submitted by:   Tobias Roth <ports@fsck.ch>
  Approved by:    Ralf van der Enden <tremere@cainites.net> (maintainer)
  
  Revision  Changes    Path
  1.53      +1 -10     ports/dns/powerdns/Makefile
  1.3       +0 -9      ports/dns/powerdns/files/patch-modules_gpgsqlbackend_Makefile_in
  1.13      +4 -4      ports/dns/powerdns/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-01-30 21:06:50 UTC
pav         2007-01-30 21:06:43 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING 
  Log:
  - Add a note about powerdns config file move
  
  PR:             ports/108182
  Submitted by:   Ralf van der Enden <tremere@cainites.net>
  
  Revision  Changes    Path
  1.451     +7 -1      ports/UPDATING
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Edmund Craske 2007-02-01 20:13:10 UTC
Hi, it appears that the pdns rc.d script needs updating with the new 
location of the pdns.conf:

pdns_conf=${pdns_conf:-"/usr/local/etc/pdns.conf"}

should be

pdns_conf=${pdns_conf:-"/usr/local/etc/pdns/pdns.conf"}

If I don't change this, and remove /usr/local/etc/pdns.conf (as would be 
the case with a new install) then I get an error like so:

Feb  1 19:55:22 alpha m00: /usr/local/etc/rc.d/pdns: WARNING: 
/usr/local/etc/pdns.conf is not readable.

Also, it's probably a good idea to patch the pdns.conf-dist so that the 
commented out config file location points to the right place:

# config-dir=/usr/local/etc
should become
# config-dir=/usr/local/etc/pdns

As for where pdns looks if this setting is left commented, I am not sure 
- is it part of the configure process?

Thanks for fixing the gpgsql backend issue :)

Edmund Craske