aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-14 22:29:22 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-14 22:29:22 -0400
commitb23ceb76a8a7039bb1b04dc620a861cadb7ac799 (patch)
treef764da0cab8b600f8289c7641e7264b4e964b205
parent2bf1490a51ae182ed8c27fcc6b7c75f0ce09199c (diff)
downloadsbo-maintainer-tools-b23ceb76a8a7039bb1b04dc620a861cadb7ac799.tar.gz
sbopkglint: no bad glibc error for packages that bundle their own glibc in /opt.
-rw-r--r--NEWS8
-rw-r--r--sbopkglint.d/20-arch.t.sh7
2 files changed, 13 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cef817f..dd650f3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,17 @@
The real ChangeLog is the git log. This is just a summary of the
user-visible changes between releases.
-New in 0.9.x:
+New in 0.9.9:
=============
sbolint:
- Having multiple *.SlackBuild files is now an error.
+- doinst.sh must not use chmod.
+- doinst.sh must not refer to $PKG (it won't be set when it runs).
+
+sbopkglint:
+- Package which bundle their own glibc in /opt no longer trigger
+ a bad glibc version error (example: signal-desktop).
New in 0.9.8:
=============
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh
index b2a877c..8997709 100644
--- a/sbopkglint.d/20-arch.t.sh
+++ b/sbopkglint.d/20-arch.t.sh
@@ -55,7 +55,12 @@ glibc_check() {
#echo "===> ver: $ver highver: $highver"
if [ "$highver" != "$GLIBC_VER" ]; then
- echo "$1" >> .badglibc.$$
+ # one last check: we're now allowing packages to bundle their
+ # own glibc, in /opt/$PRGNAM. don't complain about these.
+ case "$( patchelf --print-interpreter "$1" )" in
+ /opt/*) ;;
+ *) echo "$1" >> .badglibc.$$ ;;
+ esac
fi
}