Re-add usr.bin and usr.sbin for ftp. We're not PIE yet, so it's fine.
Delay checking the vnode locking of the target vnodes in tmpfs_rename()
until we've confirmed they're on the same filesystem as the source:
not all filesystems do locking the same.

problem report and testing chrisz@
ok espie@
Increase the size of the bge_flags field to allow for more flags.

ok mikeb@
Cache the result of uname(3) such that we don't need to call it
over and over again for each manual; found with gprof(1).
Speeds up mandocdb(8) -Q by 3%, now at 39.5% of makewhatis(8).
Remove unused fields.

ok sasano@
simplify set_modes, there's no need to stat(2) stuff, chown -1 takes care
of things.
if HISTORY_DIR is defined, create a new "permanent" file during build.
this file records the sha256 of all elements in the archive, and keeps
track of changes (quite simply: sha256 that were already present end
up at the end of the file).

Start recording these *now*, so that we have enough info to shuffle
packages later.
document new stuff
integrate signer logic and fix resign with -DSIGNER
let's verify all checksums.
I forgot about special files, since they've been extracted early,
but they can be checked nonetheless.

(prevents people from tampering with DESC and the like)
tedu some very old checks: we no longer have INSTALL/UNINSTALL scripts,
so we don't care whether /var/db/pkg is mounted noexec.
recognize special file +META
scrape support for old +COMMENT file.
8 years of backward compatibility is long enough... :)
FTX support; from Chris Hettrick
sync
some more devices; Alexey E. Suslikov
sync
ctype cleanups; ok okan
use IF_NAMESIZE as size of buffer for interface name

OK mpi@ deraadt@
Some follow-up fixes for IFID collision handling in IPv6CP.

Really change the link-local address in the unlikely event of an IFID
collision, instead of going into an infinite conf-nak loop with the peer.

To make the netinet6 code use the IPv6CP IFID in a new link-local address,
in6_ifattach_linklocal() must accept a provided IFID.  Replace the unused
'altifp' parameter with a new 'ifid' parameter for this purpose.

Always use the latest suggested address in IPv6CP replies, even if
the task to update the interface's address hasn't run yet.
Also, clear the ifindex (KAME hack) in addresses sent during IPv6CP.

ok mpi