History log of /src/lib/libtelnet/Makefile |
Revision | | Date | Author | Comments |
1.37 |
| 21-May-2017 |
riastradh | 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.
|
1.36 |
| 10-Aug-2012 |
joerg | Don't depend on HAVE_GCC being always defined.
|
1.35 |
| 21-Mar-2012 |
matt | These directories default to WARNS?=5
|
1.34 |
| 09-Jan-2012 |
christos | PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION (rfc2941) - minimal fixes to compile with WARNS=4 - separate kerberos (USE_KERBEROS) from encryption (MKCRYPTO)
|
1.33 |
| 20-Jun-2011 |
mrg | branches: 1.33.2; remove most of the remaining HAVE_GCC tests that are always true in the modern world.
|
1.32 |
| 24-Apr-2011 |
elric | branches: 1.32.2; We no longer need to -I/usr/include/krb5.
|
1.31 |
| 29-Aug-2008 |
gmcgarry | Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
1.30 |
| 12-Jul-2008 |
gmcgarry | Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
|
1.29 |
| 03-May-2008 |
lukem | branches: 1.29.2; Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
|
1.28 |
| 28-May-2007 |
tls | branches: 1.28.10; Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
1.27 |
| 25-Jun-2006 |
mrg | make MKCRYPTO=no work again.
|
1.26 |
| 11-May-2006 |
mrg | sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
|
1.25 |
| 20-Mar-2006 |
christos | Goodbye KerberosIV
|
1.24 |
| 19-Feb-2005 |
christos | Fix pk to use BN_ instead of libmp.
|
1.23 |
| 19-Feb-2005 |
christos | PAM support from FreeBSD.
|
1.22 |
| 23-May-2004 |
lukem | Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and setting NOLINT, NOPIC, NOPROFILE (etc)
|
1.21 |
| 11-Dec-2003 |
dyoung | Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no) and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist complained of missing files.
* move kerberos- and kerberos 4-only files into new flists, distrib/sets/lists/*/krb.*
* make the flist generators grok MKKERBEROS{,4} variables
* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no. 9 out of 10 experts agree that it is ludicrous to build w/ KERBEROS4 and w/o KERBEROS5.
* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.
* omit some Kerberos-only subdirectories from the build as MKKERBEROS{,4} indicate
(I acknowledge the sentiment that flists are the wrong way to go, and that the makefiles should produce the metalog directly. That sounds to me like the right way to go, but I am not prepared to do revamp all the makefiles. While my approach is expedient, it fits painlessly within the current build architecture until we are delivered from flist purgatory, and it does not postpone our delivery. Fair enough?)
|
1.20 |
| 23-Jul-2003 |
itojun | no longer need to -I/usr/include first (yes, it's still confusing, i admit)
|
1.19 |
| 23-Jul-2003 |
tron | Fix build problem caused by recent "Makefile" changes.
|
1.18 |
| 23-Jul-2003 |
itojun | split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se (build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
|
1.17 |
| 16-Jul-2003 |
itojun | do not build/install shlib
|
1.16 |
| 28-Mar-2003 |
thorpej | Remove GCC 3.3 hack; the libtelnet code has been changed to avoid the warning.
|
1.15 |
| 22-Mar-2002 |
thorpej | Split the notion of building Hesiod, Kerberos, S/key, and YP infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control building of support for using the corresponding API in various libraries/programs that can use it.
As discussed on tech-toolchain.
|
1.14 |
| 29-Jan-2002 |
thorpej | Hack around GCC PR optmization/5230 if HAVE_GCC3 is set. (GCC 3.x issues spurious warning when compiling a Duff's device with optimization.)
|
1.13 |
| 05-Nov-2001 |
lukem | explicitly set to WARNS?=1
|
1.12 |
| 23-Jun-2000 |
thorpej | Add MK... variables to enable/disable various aspects of building crypto support into the system. See share/mk/bsd.README for more a full description.
|
1.11 |
| 22-Jun-2000 |
thorpej | Bring the telnet situation back into better shape. Specifically, pull in just about all of the differences from the crypto-us telnet suite (which includes Kerberos 4 and connection encryption support). Also bring in the Kerberos 5 support from the Heimdal telnet, and frob a little so that it can work with the non-Heimdal telnet suite.
There is still some work left to do, specifically: - Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4 module. - Add connection encryption support to the Heimdal Kerberos 5 module. Hints on this can be taken from the MIT Kerberos 5 module which still exists in crypto-us.
However, even with the shortcomings listed above, this is a better situation than using the stock Heimdal telnet suite, which does not understand the IPSec policy stuff, and is also based on much older code which contains bugs that we have already fixed in the NetBSD sources.
|
1.10 |
| 20-Jun-2000 |
thorpej | branches: 1.10.2; Merge a bunch of things from crypto-us and crypto-intl into basesrc, adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate bsd.crypto.mk.
There is still a bunch more work to do, but crypto is now more-or-less fully merged into the base NetBSD distribution.
|
1.9 |
| 20-Jul-1999 |
mrg | branches: 1.9.6; optionally include CRYPTOPATH Makefile.frag files.
|
1.8 |
| 12-Jul-1999 |
thorpej | Use bsd.crypto.mk.
|
1.7 |
| 23-Oct-1997 |
lukem | use CPPFLAGS instead of CFLAGS
|
1.6 |
| 24-Feb-1996 |
jtk | branches: 1.6.2; update libtelnet with changes through 95.10.23 version
|
1.5 |
| 25-Feb-1994 |
cgd | we have cgetent()
|
1.4 |
| 25-Feb-1994 |
cgd | new libtelnet from ftp.cray.com. Encryption support ripped out, pending figuring out what to do about it...
|
1.3 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.2 |
| 16-Jul-1993 |
brezak | Be able to build telnet without enc_des.c
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.6.2.1 |
| 09-Nov-1997 |
lukem | sync with trunk (approved by thorpej)
|
1.9.6.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.10.2.3 |
| 24-Jun-2000 |
thorpej | Update from trunk: Add MK... variables to enable/disable various aspects of building crypto support into the system. See share/mk/bsd.README for more a full description.
|
1.10.2.2 |
| 22-Jun-2000 |
thorpej | Update from trunk: Bring the telnet situation back into better shape. Specifically, pull in just about all of the differences from the crypto-us telnet suite (which includes Kerberos 4 and connection encryption support). Also bring in the Kerberos 5 support from the Heimdal telnet, and frob a little so that it can work with the non-Heimdal telnet suite.
There is still some work left to do, specifically: - Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4 module. - Add connection encryption support to the Heimdal Kerberos 5 module. Hints on this can be taken from the MIT Kerberos 5 module which still exists in crypto-us.
However, even with the shortcomings listed above, this is a better situation than using the stock Heimdal telnet suite, which does not understand the IPSec policy stuff, and is also based on much older code which contains bugs that we have already fixed in the NetBSD sources.
|
1.10.2.1 |
| 20-Jun-2000 |
thorpej | file Makefile was added on branch netbsd-1-5 on 2000-06-22 07:09:02 +0000
|
1.28.10.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.29.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.32.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.33.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.33.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|