MFC r288963:Now that we own the code, use arc4random(3) unconditionallyand remove the corresponding HAVE_ARC4RANDOM conditions.
MFC r264400,r265836:r264400: NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.r265836: Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed.
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Add dump.c to the rtsol build. It is needed now that sec2str is non-staticand used in rtsold.c.
rtsol(8)/rtsold(8): make WARNS=3 cleanIt is actually WARNS=6 clean for non-strict alignment archs.Approved by: ed (co-mentor)
Add eye candy while I'm here: a blank line betweenthe license and the $FreeBSD$ line.
INET6 has no effect on rtsol, it's an IPv6-only tool with itscode independent of the macro. This utility is just omittedfrom the build as a whole by ../Makefile if MK_INET6 is set to false.Pointed out by: umeTested with: cmp(1)
Obey MK_INET6_SUPPORT.This is also a good chance to apply style.Makefile(5) in some cases.
Start the dreaded NOFOO -> NO_FOO conversion.OK'ed by: core
For variables that are only checked with defined(), don't provideany fake value.
style.Makefile(5): Use WARNS?= instead of WARNS=.
-DSMALL will remove the need of dump.c (for rtsol)Obtained from: KAME
use arc4random.MFC after: 3 days
support poll(2).Obtained from: KAMEMFC after: 1 week
Default to WARNS=2.Binary builds that cannot handle this must explicitly set WARNS=0.Reviewed by: mike
Sync with recent KAME.This work was based on kame-20010528-freebsd43-snap.tgz and somecritical problem after the snap was out were fixed.There are many many changes since last KAME merge.TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT.Reviewed by: itojunObtained from: KAMEMFC after: 3 weeks
Correct style bugs in previous commit
Sync with KAMEObtained from: KAME
Getaddrinfo(), getnameinfo(), and etc support in libc/net.Several udp and raw apps IPv6 support.Reviewed by: freebsd-arch, cvs-committersObtained from: KAME project