NetBSD/tests/Makefile

44 lines
740 B
Makefile
Raw Normal View History

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 18:28:36 +03:00
# $NetBSD: Makefile,v 1.46 2017/05/21 15:28:42 riastradh Exp $
.include <bsd.own.mk>
.if ${MKATF} != "no"
TESTSDIR= ${TESTSBASE}
TESTS_SUBDIRS= bin dev games include kernel lib libexec net
TESTS_SUBDIRS+= sbin sys usr.bin usr.sbin
2012-08-08 17:57:05 +04:00
. if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
TESTS_SUBDIRS+= fs rump
2011-06-16 03:45:45 +04:00
. if ${MKKMOD} != "no"
TESTS_SUBDIRS+= modules
. endif
2012-08-08 17:57:05 +04:00
. endif
TESTS_SUBDIRS+= crypto
. if ${MKIPFILTER} != "no"
TESTS_SUBDIRS+= ipf
. endif
. if ${MKSHARE} != "no"
TESTS_SUBDIRS+= share
. endif
. if ${MKATF} != "no"
ATFFILE_EXTRA_SUBDIRS+= atf
. endif
. if ${MKKYUA} != "no"
ATFFILE_EXTRA_SUBDIRS+= kyua-atf-compat kyua-cli kyua-testers
. endif
.include <bsd.test.mk>
.else
.include <bsd.subdir.mk>
.endif