Commit Graph

19 Commits

Author SHA1 Message Date
riastradh
ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
spz
dc860a366c merge for tcpdump 4.9.0 and document 2017-02-05 04:05:05 +00:00
christos
fdccd7e474 merge conflicts. 2017-01-24 23:29:13 +00:00
joerg
f9c2736326 Disable a couple of warnings until further investigation. 2017-01-11 12:19:43 +00:00
riastradh
0ab10b7e19 print-ip6.c is needed even with MKINET6=no.
Provides print_ip6 used by various other objects, with different
definitions depending on #ifdef INET6.
2016-12-02 02:14:03 +00:00
christos
4855893e61 Fix MKCRYPTO=no build 2016-06-29 19:45:14 +00:00
christos
ba2ff12108 merge conflicts 2015-03-31 21:59:35 +00:00
prlw1
f44489f8dc MKINET6=no build fixes
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
christos
b3a00663c5 merge conflicts 2014-11-20 03:05:03 +00:00
christos
9d3749d780 update for 4.5.1 2013-12-31 17:33:11 +00:00
joerg
3657cb7f1d Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
christos
0e9868ba9d merge conflicts 2013-04-06 19:33:07 +00:00
christos
9ad467753c fix strict aliasing issues. 2011-08-17 10:48:02 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
jruoho
27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
christos
25abe6c390 tcpdump goes to /usr/sbin 2010-12-05 05:52:46 +00:00
christos
923cb98430 cleanup old stuff and install in the right place 2010-12-05 05:24:03 +00:00
christos
69e620e14c build and import glue. 2010-12-05 05:14:00 +00:00