commit: 4b7575b3f13e546dd2431d0ab8db699935392bdb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Sep 8 03:34:26 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 10 11:28:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7575b3
virtual/libcrypt: add 2-r1 with support for musl 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 <AT> gentoo.org> virtual/libcrypt/libcrypt-2-r1.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/virtual/libcrypt/libcrypt-2-r1.ebuild b/virtual/libcrypt/libcrypt-2-r1.ebuild new file mode 100644 index 000000000000..ed66eaa1a4fd --- /dev/null +++ b/virtual/libcrypt/libcrypt-2-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-build + +DESCRIPTION="Virtual for libcrypt.so" + +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=" + !prefix-guest? ( + elibc_glibc? ( sys-libs/libxcrypt[system(-),static-libs(-)?,${MULTILIB_USEDEP}] ) + elibc_musl? ( sys-libs/libxcrypt[system(-),static-libs(-)?] ) + ) + elibc_Cygwin? ( sys-libs/cygwin-crypt ) +"
