How to patch Fedora Core 2 Bind RPM?

Mark Haney mhaney at ercbroadband.org
Tue Aug 12 13:31:37 UTC 2008


John Smith wrote:
> Do you mean build the source and install it overtop the RPM or do you mean
> uninstall the RPM then build and install from source...
> 

Please, don't top post, it's hard to keep track of what I've said.

No, it means get the latest source RPM for bind:

http://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS/bind-9.5.0-33.P1.fc9.src.rpm

rpm -Uvh the source RPM.

That should get you a setup in /usr/src/redhat/ for the build to a 
binary RPM.

Then, cd to the specs directory and issue

rpmbuild -bb bind.spec (or whatever the .spec filename is)

And see if any dependencies need to be addressed.  Once the dependencies 
are done, you should be able to issue that command and get the updated 
RPM in /usr/src/redhat/RPMS/i386 (or whatever your arch is).

Then you can install that RPM just like any other.

This gets you an RPM managed version of BIND on your system.  Instead of 
compiling from a tarball.





-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the fedora-list mailing list