[gentoo-commits] repo/gentoo:master commit in: profiles/features/uclibc/, profiles/features/musl/, profiles/base/

2021-07-14 Thread Andreas K. Hüttel
commit: 4ced298fd259cbd089f994e084b30a58718b37fe
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Jul 14 18:47:12 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Jul 14 20:45:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ced298f

package.use.{mask,force}: adapt for libxcrypt transition, except musl/uclibc

Bug: https://bugs.gentoo.org/699422
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/base/package.use.force|  8 
 profiles/base/package.use.mask | 10 ++
 profiles/features/musl/package.use.force   |  4 
 profiles/features/musl/package.use.mask|  4 
 profiles/features/uclibc/package.use.force |  6 ++
 profiles/features/uclibc/package.use.mask  |  4 
 6 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index eb7bc3a9dd5..aa66e55ed5b 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -91,12 +91,12 @@ sys-libs/libcxx libcxxabi
 # the flag.
 sys-kernel/vanilla-kernel initramfs
 
-# Sergei Trofimovich  (2019-11-06)
+# Andreas K. Hüttel  (2021-07-14)
 # Upstream plans to drop libcrypt.so.1/crypt.h from glibc
 # distribution and rely on external providers like libxcrypt.
-# Gentoo will follow suit but today we are not yet ready.
-# Unmask at your risk. Bug #699422 tracks the effort.
-sys-libs/glibc crypt
+# Here we are following that path too.
+=sys-libs/libxcrypt-4.4.23-r1 system compat
 
 # Matt Turner  (2019-09-01)
 # app-shells/mksh-57-r1 static
 
-# Patrick McLean  (2019-11-07)
-# Collides with sys-libc/glibc[crypt]
-# (NOTE: Likely needs to be moved to musl + uclibc profiles, not dropped 
entirely)
-sys-libs/libxcrypt split-usr system
+# Andreas K. Hüttel  (2021-07-14)
+# Upstream plans to drop libcrypt.so.1/crypt.h from glibc
+# distribution and rely on external providers like libxcrypt.
+# Here we are following that path too.
+>=sys-libs/glibc-2.33-r2 crypt
+ (2019-10-05)
 # net-libs/openslp is being removed.

diff --git a/profiles/features/musl/package.use.force 
b/profiles/features/musl/package.use.force
index c26a7ba83f2..da728fcc47a 100644
--- a/profiles/features/musl/package.use.force
+++ b/profiles/features/musl/package.use.force
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation.
 # Distributed under the terms of the GNU General Public License v2
 
+# Andreas K. Hüttel  (2021-07-14)
+# Do not force system install for libxcrypt here
+>=sys-libs/libxcrypt-4.4.23-r1 -system -compat
+
 # Force system-libevent use flag on mozilla packages, since the building of
 # bundled libevent cannot accomodate a system without sysctl.h
 # See bug 574830 for more info.

diff --git a/profiles/features/musl/package.use.mask 
b/profiles/features/musl/package.use.mask
index afdd59ca5f5..58cd6477116 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
+# Andreas K. Hüttel 
+# Restore mask here that is gone elsewhere
+sys-libs/libxcrypt split-usr system
+
 # James Le Cuirot  (2020-05-16)
 # execinfo.h is required for debug.
 dev-games/cegui debug

diff --git a/profiles/features/uclibc/package.use.force 
b/profiles/features/uclibc/package.use.force
new file mode 100644
index 000..82ca48bfea6
--- /dev/null
+++ b/profiles/features/uclibc/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 2021 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+# Andreas K. Hüttel  (2021-07-14)
+# Do not force system install for libxcrypt here
+>=sys-libs/libxcrypt-4.4.23-r1 -system -compat

diff --git a/profiles/features/uclibc/package.use.mask 
b/profiles/features/uclibc/package.use.mask
index 1c6069c30db..b3f8a9ebe24 100644
--- a/profiles/features/uclibc/package.use.mask
+++ b/profiles/features/uclibc/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Andreas K. Hüttel 
+# Restore mask here that is gone elsewhere
+sys-libs/libxcrypt split-usr system
+
 # Anthony G. Basile 
 # sanitize is broken on at least all hardened uclibc
 sys-devel/gcc sanitize



[gentoo-commits] repo/gentoo:master commit in: profiles/features/uclibc/, profiles/features/musl/, profiles/

2021-07-14 Thread Andreas K. Hüttel
commit: 6f79a445a9d0cfeec8ff47d591b3f76cbe2e8b86
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Jul 14 18:48:11 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Jul 14 20:45:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f79a445

package.mask: unmask virtual/libcrypt-2, except on musl/uclibc

Bug: https://bugs.gentoo.org/699422
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/features/musl/package.mask   | 4 
 profiles/features/uclibc/package.mask | 4 
 profiles/package.mask | 5 -
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/profiles/features/musl/package.mask 
b/profiles/features/musl/package.mask
index 2cdc63f8b85..d8d887a8fe5 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Andreas K. Hüttel  (2021-07-14)
+# Mask the libxcrypt-based virtual
+~virtual/libcrypt-2
+
 # David Seifert  (2021-02-08)
 # nvidia-drivers only works against glibc.
 x11-drivers/nvidia-drivers

diff --git a/profiles/features/uclibc/package.mask 
b/profiles/features/uclibc/package.mask
index fe51d352f2f..ba157ac6b0c 100644
--- a/profiles/features/uclibc/package.mask
+++ b/profiles/features/uclibc/package.mask
@@ -5,6 +5,10 @@ sys-libs/musl
 sys-libs/glibc
 sys-libs/pam
 
+# Andreas K. Hüttel  (2021-07-14)
+# Mask the libxcrypt-based virtual
+~virtual/libcrypt-2
+
 # Ionen Wolkens  (2021-07-09)
 # Mask in favor of opentmpfiles until usable with uclibc-ng (bug #801106)
 sys-apps/systemd-tmpfiles

diff --git a/profiles/package.mask b/profiles/package.mask
index 2152c9b4a18..e19794fcc05 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -633,11 +633,6 @@ kde-apps/kdebase-meta:5
 # Mask for testing revdeps.
 >=dev-games/mygui-3.4.0
 
-# Patrick McLean  (2020-02-07)
-# Mask until sys-libs/libxcrypt[system] is unmasked
-# (NOTE: Likely needs to be moved to musl + uclibc profiles, not dropped 
entirely)
-~virtual/libcrypt-2
-
 # Lars Wendler  (2019-11-14)
 # Breaks archives containing relative paths
 # when being called with --no-absolute-filenames