diff options
author | 2022-09-08 04:40:44 +0100 | |
---|---|---|
committer | 2022-09-10 12:28:03 +0100 | |
commit | 68061fbd8345c59ec19fbad1bf1569d55186c19a (patch) | |
tree | cb34b52145cff7a907cdd5846e61f00c26394508 /profiles | |
parent | profiles/features/musl: unmask sys-libs/libxcrypt[system] (diff) | |
download | gentoo-68061fbd8345c59ec19fbad1bf1569d55186c19a.tar.gz gentoo-68061fbd8345c59ec19fbad1bf1569d55186c19a.tar.bz2 gentoo-68061fbd8345c59ec19fbad1bf1569d55186c19a.zip |
profiles/features/musl: set -crypt on sys-libs/musl
musl will still work with its own libcrypt, but applications
and libraries are starting to need a fancier libcrypt (libxcrypt)
so let's disable USE=crypt by default on sys-libs/musl to
have libxcrypt provide crypt.h & libcrypt.so (musl's libcrypt
is included in libc.so).
This brings musl in line with the changes we made for glibc a while
ago. The situation with glibc is a bit different because the migration
is mandatory there, while we're just strongly recommending it for musl
because sys-libs/libxcrypt[-system] causes headaches (see linked
PAM bug for an example, but I've also hit a similar issue with Python
yesterday).
Bug: https://bugs.gentoo.org/867991
Bug: https://bugs.gentoo.org/699422
Signed-off-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/27187
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/features/musl/package.use | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/profiles/features/musl/package.use b/profiles/features/musl/package.use index 686670ae9ef4..db211e90d794 100644 --- a/profiles/features/musl/package.use +++ b/profiles/features/musl/package.use @@ -1,6 +1,12 @@ -# Copyright 1999-2018 Gentoo Foundation. +# Copyright 1999-2022 Gentoo Authors. # Distributed under the terms of the GNU General Public License v2 +# Sam James <sam@gentoo.org> (2022-09-08) +# musl isn't removing support for its own crypt, +# so we don't need to mask the flag, just turn it +# off by default to steer towards libxcrypt. +sys-libs/musl -crypt + # Esteve Varela Colominas <esteve.varela@gmail.com> (2022-02-19) # The musl allocator works well with telegram net-im/telegram-desktop -jemalloc |