New commits:
commit 882138ebb32cbebbc96584d4881d98377bca5e79
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
crypt/libxcrypt: added UP_TRIGGERS to address glibc libcrypt.so removal
diff --git a/crypto/libxcrypt/HISTORY b/crypto/libxcrypt/HISTORY
index f4621c8..86fbf8c 100644
--- a/crypto/libxcrypt/HISTORY
+++ b/crypto/libxcrypt/HISTORY
@@ -1,3 +1,6 @@
+2023-11-03 Pavel Vinogradov <public AT sorcemage.org>
+ * UP_TRIGGERS: added to address glibc libcrypt.so removal
+
2023-09-02 Justin Boffemmyer <flux AT sourcemage.org>
* CONFIGURE: fix OBSOLETE_APIS and HASHES variables
diff --git a/crypto/libxcrypt/UP_TRIGGERS b/crypto/libxcrypt/UP_TRIGGERS
new file mode 100755
index 0000000..8080c01
--- /dev/null
+++ b/crypto/libxcrypt/UP_TRIGGERS
@@ -0,0 +1,19 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+check_libcrypt () {
+ if readelf -d "$1" 2> /dev/null | grep -q "NEEDED.*libcrypt\.so\.1";
then
+ local each="$(gaze install {} | head -q -n 1)" &&
+ up_trigger $each cast_self
+ fi
+}
+if spell_ok glibc; then
+ local GLIBC_VERSION="$(installed_version glibc)" &&
+ if ! is_version_less "${GLIBC_VERSION}" "2.38"; then
+
+ if ! spell_ok $SPELL; then
+ while IFS= read -d '' filename; do
+ check_libcrypt "${filename}" </dev/null
+ done < <(find /lib /iib64 /usr/lib -name *.so* -print0)
+ fi
+ fi
+fi
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (882138ebb32cbebbc96584d4881d98377bca5e79),
Pavel Vinogradov, 11/03/2023