Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45254

Summary: Add DLZ (Dynamically Loadable Zones) to Bind 9.2.2
Product: Gentoo Linux Reporter: Brian Friday <brian.friday>
Component: New packagesAssignee: Stewart (RETIRED) <blkdeath>
Status: RESOLVED FIXED    
Severity: enhancement CC: jgonzalez.openinput, voxus
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Bind-9.2.2.ebuild with DLZ addition
DLZ 0.6.0 actual patch file from the projects release tarball

Description Brian Friday 2004-03-20 20:16:45 UTC
While I know where moving to 9.2.3 currently the DLZ patch for that version hasn't been released yet. Thus here is a ebuild for 9.2.2 which includes DLZ. 

DLZ (Dynamically Loadable Zones) is a patch for BIND version 9 that simplifies BIND administration and reduces memory usage and startup time. DLZ allows you to store your zone data in a database. Unlike using scripts, the changes in your database are immediately reflected in BIND's response to DNS queries, so there is no need to reload or restart BIND. You see, BIND "dynamically loads" the "zone" data it needs to answer a query from the database.

DLZ supports LDAP, MySQL, BDB (build problems with berkdb), ODBC, Postgres, Filesystem and Stub. I've added support for all of this but disabled BDB since on my system I'm having build / linking issues. This ebuild was modified from an existing bind ebuild and aside from the berkdb issues so I can't be certain of its stability only that it built and the patch applied cleanly. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brian Friday 2004-03-20 20:28:22 UTC
Created attachment 27715 [details]
Bind-9.2.2.ebuild with DLZ addition

New ebuild for Bind-9.2.2 which has additional IUSE flags (dlz) and USE flags
(postgres, ldap, mysql, berkdb (currently not working), and odbc. The DLZ flag
means you want dlz built into the application, mysql, odbc, berkdb, ldap and
postgres mean you want dlz bind with one or more of thos as backends. I'm not
an expert at ebuilds so I've been having a problem getting ebuild
bind-9.2.2-r3.ebuild to create a digest for the DLZ download. Removing the
"dlz? ( uri )" fixes the problem but not sure if thats the right solution.
Comment 2 Stewart (RETIRED) gentoo-dev 2004-03-26 01:53:24 UTC
Please attach the dlz.patch file itself and a reference URL for this (project?) and I'll take a look at implementing it.

To simplify the patch process, it would be better if the patch were untarred and applied directly rather than going through the extra step (depending on size)
Comment 3 Brian Friday 2004-03-26 07:39:45 UTC
Here is the website for the project.

http://bind-dlz.sourceforge.net/

There is no seperate patch at this time as the tarball which I did the ugly download/untar/ then patch hack contains the whole project as it is shipped. Specifically about 50 files broken down into html, txt, scheme, changelog and the patch itself. 
Comment 4 Brian Friday 2004-03-26 07:41:45 UTC
Created attachment 28062 [details, diff]
DLZ 0.6.0 actual patch file from the projects release tarball
Comment 5 Jose Gonzalez Gomez 2004-06-14 05:34:30 UTC
I'm interested in this ebuild, so I think I'll give a try and post my results. By the way, there are some known issues with the bdb backend that are addressed in the homepage of the project:

    http://bind-dlz.sourceforge.net/bdb_driver_build.html

Have you taken a look at this?
Comment 6 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-25 14:28:57 UTC
bind-9.2.5 with dlz support committed to portage
thanks everyone