From e6e3c666880847ad908692087ca6d5015895dffa Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 2 Oct 2023 09:11:49 -0300 Subject: crypt: Remove libcrypt support All the crypt related functions, cryptographic algorithms, and make requirements are removed, with only the exception of md5 implementation which is moved to locale folder since it is required by localedef for integrity protection (libc's locale-reading code does not check these, but localedef does generate them). Besides thec code itself, both internal documentation and the manual is also adjusted. This allows to remove both --enable-crypt and --enable-nss-crypt configure options. Checked with a build for all affected ABIs. Co-authored-by: Zack Weinberg Reviewed-by: Carlos O'Donell --- NEWS | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9432564444..4580fe381d 100644 --- a/NEWS +++ b/NEWS @@ -44,6 +44,22 @@ Deprecated and removed features, and other changes affecting compatibility: ".tmp", to avoid examining temporary files created by the RPM and dpkg package managers. +* libcrypt has been removed from the GNU C Library. The configure + options "--enable-crypt" and "--enable-nss-crypt" are no longer + available. , libcrypt.a, and libcrypt.so.1 will not be + installed, and will not declare the crypt function. + + The replacement for libcrypt is libxcrypt, maintained separately from + GNU libc, but available under compatible licensing terms, and providing + binary backward compatibility with the former libcrypt. It is currently + distributed from . + + As a consequence of this removal, GNU libc no longer makes any use of + the NSS cryptography library (Network Security Services; not to be + confused with Name Service Switch). Distributors of binary packages + of GNU libc are advised to check whether their build processes can be + simplified. + Changes to build and runtime requirements: * Building on LoongArch requires at a minimum binutils 2.41 for vector -- cgit 1.4.1