summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-12-28 10:32:02 +0000
committerpeter <peter@FreeBSD.org>2000-12-28 10:32:02 +0000
commit117ae0dab37bc1cc35a0315ff2df8e77e35977e1 (patch)
treef0d0cfdbc7bfc57a3aa8de23f9d6d7e0a7bfa0de /lib/Makefile
parentf49769785010468be1e939afb84ceafc62153c2c (diff)
downloadFreeBSD-src-117ae0dab37bc1cc35a0315ff2df8e77e35977e1.zip
FreeBSD-src-117ae0dab37bc1cc35a0315ff2df8e77e35977e1.tar.gz
Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes. There is no more "set the libcrypt->libXXXcrypt" nightmare. - Undo the libmd.so hack, use -D to hide the md5c.c internals. - Remove the symlink hacks in release/Makefile - the algorthm is set by set_crypt_format() as before. If this is not called, it tries to heuristically figure out the hash format, and if all else fails, it uses the optional auth.conf entry to chose the overall default hash. - Since source has non-hidden crypto in it there may be some issues with having the source it in some countries, so preserve the "secure/*" division. You can still build a des-free libcrypt library if you want to badly enough. This should not be a problem in the US or exporting from the US as freebsd.org had notified BXA some time ago. That makes this stuff re-exportable by anyone. - For consistancy, the default in absence of any other clues is md5. This is to try and minimize POLA across buildworld where folk may suddenly be activating des-crypt()-hash support. Since the des hash may not always be present, it seemed sensible to make the stronger md5 algorithm the default. All things being equal, no functionality is lost. Reviewed-by: jkh (flame-proof suit on)
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3db3e82..e84d25d2 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -19,7 +19,7 @@
#
# Otherwise, the SUBDIR list should be in alphabetical order.
-SUBDIR= ${_csu} libcom_err ${_libcrypt} msun libmd \
+SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
libncurses libradius libskey libtacplus libutil \
${_compat} libalias libatm ${_libbind} libc ${_libc_r} libcalendar \
libcam libcompat libdevstat libdisk libedit libfetch libform \
@@ -43,13 +43,6 @@ _libc_r= libc_r
_libbind= libbind
.endif
-_libcrypt= libcrypt
-.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT) && !defined(NO_DESCRYPT)
-# Build both libraries. They have different names, so no harm,
-# and this avoids having stale libscrypt.*
-_libcrypt+= ../secure/lib/libcrypt
-.endif
-
.if ${MACHINE_ARCH} == "i386"
_compat= compat
_libncp= libncp
OpenPOWER on IntegriCloud