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.
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.
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)
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.
Created attachment 28062 [details, diff] DLZ 0.6.0 actual patch file from the projects release tarball
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?
bind-9.2.5 with dlz support committed to portage thanks everyone