History log of /netbsd-src/lib/libtelnet/Makefile (Results 1 – 25 of 37)
Revision Date Author Comments
# ef315f79 21-May-2017 riastradh <riastradh@NetBSD.org>

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

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.

show more ...


# e16a720f 10-Aug-2012 joerg <joerg@NetBSD.org>

Don't depend on HAVE_GCC being always defined.


# fa835e8c 21-Mar-2012 matt <matt@NetBSD.org>

These directories default to WARNS?=5


# 6a6c8f61 09-Jan-2012 christos <christos@NetBSD.org>

PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- minimal fixes to compile with WARNS=4
- separate kerberos (USE_KERBEROS) from encryption (MKCRYPTO)


# 75e42fa7 20-Jun-2011 mrg <mrg@NetBSD.org>

remove most of the remaining HAVE_GCC tests that are always true in
the modern world.


# 8d159f43 24-Apr-2011 elric <elric@NetBSD.org>

We no longer need to -I/usr/include/krb5.


# 3c9a9591 29-Aug-2008 gmcgarry <gmcgarry@NetBSD.org>

Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.


# 68655695 12-Jul-2008 gmcgarry <gmcgarry@NetBSD.org>

Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.


# 66176dfd 03-May-2008 lukem <lukem@NetBSD.org>

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

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)

show more ...


# 4147a3c5 28-May-2007 tls <tls@NetBSD.org>

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

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.

show more ...


# 5609a371 25-Jun-2006 mrg <mrg@NetBSD.org>

make MKCRYPTO=no work again.


# aadd7d48 11-May-2006 mrg <mrg@NetBSD.org>

sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.


# 85e611dd 20-Mar-2006 christos <christos@NetBSD.org>

Goodbye KerberosIV


# c8127943 19-Feb-2005 christos <christos@NetBSD.org>

Fix pk to use BN_ instead of libmp.


# 185393ef 19-Feb-2005 christos <christos@NetBSD.org>

PAM support from FreeBSD.


# b8172479 23-May-2004 lukem <lukem@NetBSD.org>

Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)


# 47582911 11-Dec-2003 dyoung <dyoung@NetBSD.org>

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

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?)

show more ...


# bf8555f1 23-Jul-2003 itojun <itojun@NetBSD.org>

no longer need to -I/usr/include first (yes, it's still confusing, i admit)


# c0435314 23-Jul-2003 tron <tron@NetBSD.org>

Fix build problem caused by recent "Makefile" changes.


# e63468d8 23-Jul-2003 itojun <itojun@NetBSD.org>

split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)


# 24fbe10c 16-Jul-2003 itojun <itojun@NetBSD.org>

do not build/install shlib


# 715b5daa 28-Mar-2003 thorpej <thorpej@NetBSD.org>

Remove GCC 3.3 hack; the libtelnet code has been changed to avoid the
warning.


# 9c33b55e 22-Mar-2002 thorpej <thorpej@NetBSD.org>

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 infratsruc

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.

show more ...


# 7be08791 29-Jan-2002 thorpej <thorpej@NetBSD.org>

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.)


# c1b95c00 05-Nov-2001 lukem <lukem@NetBSD.org>

explicitly set to WARNS?=1


12