Here I am again, hat in hand with humble demeanor.......

Phil Mayers p.mayers at imperial.ac.uk
Fri Sep 24 16:34:47 UTC 2010


On 24/09/10 17:22, Lars Hecking wrote:
> Stewart Dean writes:
>>   More questions...(CentOS 5.5, bind-9.7.1-P2)
>
>   The arguably easiest way to deal with this, if you prefer a recent version
>   of bind on CentOS, is to grab the most recent srpm from the updates/testing
>   directory of your nearest Fedora mirror and simply* rebuild it. Current
>   Fedora 14 (testing) version is 9.7.2-1.fc14.
>
>   * for more or less interesting values of simply.

If you're interested, a reasonably easy way to rebuild packages (albeit 
a bit space-heavy) is to use mock:

  1. Install EPEL for your distro - http://fedoraproject.org/wiki/EPEL
  2. yum install mock
  3. wget <the source rpm>
  4. mock -r epel-5-<arch> <the source rpm>

The bind 9.7 RPMs from Fedora seem to rebuild for RHEL5 and derivatives 
just fine using this method, and it beats spraying compilers and dev 
libraries all over your nameservers - mock runs in a (disposable) chroot.

Note that mock does not itself need to run on a RHEL5 box; it'll 
cross-compile just fine.



More information about the bind-users mailing list