trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

Red Cricket red.cricket.blog at gmail.com
Fri Apr 5 20:11:36 UTC 2013


Ah I think that is what I was doing wrong.  I some how got the idea in my
head that the patch needed to be applied after configure because I was
getting "Patch which file:" prompts when I would run patch ... and that was
actually being caused because I (or rpmbuild) was in the wrong directory
when that patch command was issued.


On Fri, Apr 5, 2013 at 1:02 PM, Vernon Schryver <vjs at rhyolite.com> wrote:

> > From: Red Cricket <red.cricket.blog at gmail.com>
>
> > here's a link to pastebin http://pastebin.com/RxcsJMLe
>
> > > I used ...
> > >
> > > patch -s -p0 -i rl-9.9.2-P2.patch
> > >
> > > like it says in the documentation.
>
> It looks like the patch was applied after running ./configure.
> That doesn't work because the some Makefile.in files are changed
> by the patch, and those changed Makefile.in files are used by
> ./configure to generate some change Makefiles.  Those changed
> Makefiles compile rrl.c and other things.
>
> Where does the documentation advise running `./configure` before `patch`?
> It needs to be corrected.
>
> Instead try:
>  1. fetch BIND tarball and matching RPZ/RRL patch
>  2. unpack the BIND tarball
>  3. change directory (cd) to the unpacked BIND source directory
>  4. use `/what/ever/named -V` where /what/ever/named is the currently
>    installed version of BIND to get the ./configure parameters from
>    the current version for the target platform.
>  5. run `./configure stuff` where "stuff" are the parameters from step #4
>  6. `make`
>
> I can't help past that point, because it involves installing at
> least named-checkconf and named itself.  You might try `make install`
> but that might break things.  It certainly should not be done
> before saving the currently installed rndc, named-checkconf, and named.
>
>   ....
>
> Those who are not familiar with building and installing UNIX C programs
> from source and don't intend to get that familiarity by fighting
> with BIND and the RPZ/RRL patches should wait for BIND releases with RRL.
> Currently there are at least FreeBSD ports and a Red Hat Enterprise
> Linux Desktop update.  See
> https://rhn.redhat.com/errata/RHSA-2013-0550.html
> https://bugzilla.redhat.com/show_bug.cgi?id=906312
> and
> http://www.freebsd.org/ports/dns.html#bind99-9.9.2.1
>
>
> Vernon Schryver    vjs at rhyolite.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130405/80beed31/attachment.html>


More information about the bind-users mailing list