Subject: Re.: Problem applying Security Advisory 2007-003 fix
To: None <jgw@tx0.org, netbsd-help@netbsd.org>
From: David H. Gutteridge <dhgutteridge@sympatico.ca>
List: netbsd-help
Date: 03/14/2007 03:13:08
>Hello,
>I'm having a problem with re-building bind per the recent Security 
>Advisory.
>The build fails with the following:
...
>I'm using the 3-0 branch on i386.  Not being much of a programmer I
>had to look up what "warning: implicit declaration of function" means.
>Assuming it wasn't a typo I searched for "dns_fwdtable_find2" in any
>header file under  /usr/src/dist/bind/ but didn't find any matches, so
>maybe it is a typo?  Anyone else having problems with this?
>
>Regards,
>Jeff

Hi Jeff,

The problem appears to be that the 3.0 series releases -- up to
3.0.2 -- did not have BIND 9.3.2, they had an earlier version.  You
need to update a fifth file via CVS for the compile to work for you
(at a minimum -- I'm on 3.1 and didn't have any problems, but I had
a look in the source tree for you).

Try the following, and recompile:

cvs update -r netbsd-3-0 dist/bind/lib/dns/include/dns/forward.h

That should fix it, unless there are other mismatches between 9.3.2 and
the older version.  If the above doesn't work, try updating the entire
BIND tree under dist/bind against netbsd-3-0, that should do it.  (3.0.3
will include 9.3.2nb1.)

Hope this helps,

Dave