Two helper scripts for porting Unbound:

 - freebsd-configure.sh runs ./configure with the correct parameters
   and regenerates the lex and yacc code.

 - freebsd-sources.pl untangles the upstream Makefile and generates
   source lists for our Makefiles.

Approved by:	re (blanket)
Move prototypes into header.

Approved by:	re (blanket)
Numerous fixes to make Unbound compile cleanly:

 - cast through void * to silence alignment warnings (presumably false
   positives resulting from poor API design)

 - constify a few function arguments

 - move prototypes for callbacks into a common header

 - now that the prototypes are in scope, fix instances of function
   definitions that don't match the prototype or what the caller
   actually passes

 - hide a conditionally unused global variable behind the same #ifdef
   that controls its use

Approved by:	re (blanket)
Forgotten in r255579: #include fixes.

Approved by:	re (blanket)
Generated configuration and documentation

Approved by:	re (blanket)
Regenerated lexer and parser

Approved by:	re (blanket)
Move more prototypes around, and remove one that wasn't used.

Approved by:	re (blanket)
Wholesale constification.

Approved by:	re (blanket)
Add missing #includes and fix some incorrect definitions.

Approved by:	re (blanket)
Massive constification + solve an alignment issue by using a union.

Approved by:	re (blanket)
drm/radeon: Add missing "return false" after unmapping invalid BIOS

Without that, we would try to copy the unmapped BIOS.

Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
Approved by:	re (blanket)
Final #include tweak.

Approved by:	re (blanket)
Add unbound-control.

Approved by:	re (blanket)
Complete the OPENSSH and LDNS sections.

Approved by:	re (blanket)
Tweak wording.

Approved by:	re (blanket)
The unbound-control-setup script needs to be generated so it knows where
to place the keys.  Also, the correct umask is 027, not 026, although it's
not likely to make any difference.

Approved by:	re (blanket)
Regenerate.

Approved by:	re (blanket)
Set the correct prefix and exec-prefix.

Approved by:	re (blanket)
Previous commit accidentally left out the umask change.

Approved by:	re (blanket)
Add a kernel interface (OF_xref_phandle()) for systems where phandles
used as cross-references in the device tree and phandles as used by the
Open Firmware client interface are in different namespaces. This include
IBM pSeries hardware as well as FDT systems. FDT certainly abuses
ihandles for this purpose and should be modified to use this API
eventually. This changes no behavior on systems where FreeBSD already
worked.

Reviewed by:	marius
Approved by:	re (kib)
MFC after:	2 weeks