BIND 9.4.2 Beta 1 is now available.

Chris Buxton cbuxton at menandmice.com
Fri Aug 31 21:41:44 UTC 2007


Stephen,

How do I configure yum to find rpmdevtools?

Chris Buxton
Men & Mice

On Aug 31, 2007, at 1:01 PM, Stephen John Smoogen wrote:

> On 8/31/07, Adam Tkac <atkac at redhat.com> wrote:
>> Chris Buxton napsal(a):
>>> On Aug 21, 2007, at 5:22 AM, Adam Tkac wrote:
>>>> 9.4.2b1 source RPM avaliable on http://people.redhat.com/atkac/ 
>>>> bind/
>>>
>>> I'm new to SRPM's. Is there anything special I need to do on  
>>> CentOS 5
>>> to make this work?
>>>
>>> I tried the command shown below, with the results shown. At the  
>>> end, a
>>> new version of BIND is not compiled, let alone installed. I had the
>>> same results with the 9.4.2b1 SRPM referenced above.
>>>
>
> I would recommend to use rpmdevtools versus doing this as root. There
> have been bad spec files which have removed /bin or something when
> they got out of their build environment..
>
>> You have to build it by rpmbuild. On Red Hat based systems you  
>> will do:
>> $ rpm -i <name>.src.rpm (you do it as I see upper)
>> $ cd /usr/src/redhat/SPECS
>> $ rpmbuild -ba <name>.spec
>>
>> and after that you have binaries into /usr/src/redhat/RPMS/<arch>/
>>
>> or you will simply rpmbuild --rebuild <name>.src.rpm and binaries are
>> located into /usr/src/redhat/RPMS/<arch>/
>>
>> If you don't have rpmbuild command, install rpm-build package. All  
>> BINDs
>> should work on CentOS 5
>>
>
> yum install rpmdevtools
>
> /usr/bin/rpmdev-setuptree
> rpm -ivh <name>.src.rpm
> cd ~/rpmbuild/SPECS
> rpmbuild -ba <name>.spec
>
> This makes it so you are building it as you the user.. which makes
> sure that if the RPM is badly written you do not accidently whack /bin
> etc.
>
>
>> Adam
>>
>>
>>
>
>
> -- 
> Stephen J Smoogen. -- CSIRT/Linux System Administrator
> How far that little candle throws his beams! So shines a good deed
> in a naughty world. = Shakespeare. "The Merchant of Venice"



More information about the bind-users mailing list