Skip to content

Update util-linux to 2.42.1 - #193

Merged
bryan-minimal merged 1 commit into
mainfrom
update-util-linux-2.42.1
May 29, 2026
Merged

bryan-minimal merged 1 commit into
mainfrom
update-util-linux-2.42.1

Conversation

@gominimal-pkgmgr-mgr

Copy link
Copy Markdown
Contributor

Update util-linux 2.41.2 → 2.42.1

Source: github:util-linux/util-linux:tag
Release: https://github.com/util-linux/util-linux/releases/tag/v2.42.1
Changelog: util-linux/util-linux@v2.41.2...v2.42.1
Released: 5 days ago (2026-05-18)

Pkgscan: clean — diff against the prior version surfaced no newly-introduced suspicious patterns.

Vulnerabilities fixed (1)

This update clears 1 vulnerabilities affecting 2.41.2:

CVE / GHSA Severity Fixed in
CVE-2026-27456 MEDIUM 2.41.4

Changes

Old New
Version 2.41.2 2.42.1
SHA256 6062a1d89b571a61... 82e9158eb12a9b0b...
Size 9.6 MB 10.6 MB
Source gs://minimal-staging-archives/util-linux-2.41.2.tar.xz gs://minimal-staging-archives/util-linux-2.42.1.tar.xz
  • License: GPL-2.0 ⚠️ GitHub says GPL-2.0, tarball says (BSD-2-Clause AND BSD-3-Clause-Tso AND BSD-4-Clause-UC AND EUPL-1.2 AND GPL-2.0-only AND GPL-3.0-only AND ISC AND LGPL-2.1-only AND MIT)

Created by pkgmgr

@twitchyliquid64
twitchyliquid64 added this pull request to the merge queue May 29, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 29, 2026
@bryan-minimal
bryan-minimal added this pull request to the merge queue May 29, 2026
Merged via the queue into main with commit 5b088b5 May 29, 2026
3 checks passed
@bryan-minimal
bryan-minimal deleted the update-util-linux-2.42.1 branch May 29, 2026 16:32
cvince pushed a commit to capysc/pkgs that referenced this pull request Jun 13, 2026
…8 corrected; infra#193 follow-up) (gominimal#236)

* build.ncl: declare license_spdx for 229 packages (license enrichment, infra#193 follow-up)

Adds the resolved SPDX license to the 229 build.ncl that detect a license
but did not declare one. Sourced from the DB resolved
pkgs_commit_history.license (the GitHub-wins resolution from the gominimal#193
backfill) so disagreements are already settled the safe way; no
re-detection needed. A declared license_spdx is authoritative (trumps
detection), making the license explicit + source-of-truth in build.ncl.

The 66 truly-undetectable packages (sqlite/postgres/X11/prebuilts) stay
the manual queue. Validated: minimal dump --packages parses all 368.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* enrich-license: 53 manual-queue declarations + 13 compound corrections

Deep dive on the license_spdx coverage gap, two threads:

1. Manual queue — the "undetectable" packages askalono + the GitHub license
   API miss (custom LICENSE text, prebuilt binaries with no scannable source,
   or no upstream metadata). Declared canonical SPDX for 53 via per-package
   upstream-LICENSE verification: sqlite=blessing, postgres=PostgreSQL,
   redis=AGPL-3.0/SSPL (v8 era), terraform=BUSL-1.1, jdk=GPL-2.0 WITH
   Classpath-exception, pcre2=BSD-3 WITH PCRE2-exception, etc. bc corrected to
   BSD-2-Clause (the pinned 7.x is Gavin Howard's bc, not GNU bc). graphviz held
   at EPL-1.0 (the EPL-2.0 relicense postdates the pinned 14.1.1).
   3 stay undeclared with cause: android-sdk + claude-code (proprietary, no SPDX
   id), zsh (custom permissive license, no SPDX id). 7 internal/meta packages
   (base, toolchain, ...) and mono (rides with PR gominimal#233) excluded by design.

2. Compound-expression audit — the whole-tarball askalono scan over-matches,
   folding license text from vendored deps / test fixtures / data files /
   per-file headers into AND-joined expressions. Verified all 13 compounds
   against the real upstream LICENSE files:
   - false positives dropped: py-packaging (Pixar — matched packaging's OWN
     _spdx.py id lookup table, not a grant), tcl (SMLNJ), dbus (BSD-3-Clause-HP
     + FSFULLRWD — 0 hits across the source tree), libffi (GPL from build files)
   - AND->OR for choose-one duals: cairo, gmp, nettle, less, zstd
   - restored dropped options: gmp + nettle LGPL
   - precise exceptions: socat (openvpn-openssl-exception), autoconf
     (Autoconf-exception-generic-3.0)
   - dbus kept as (AFL-2.1 OR GPL-2.0-or-later) AND GPL-2.0-or-later: the
     package ships GPL-only dbus-* tools alongside the dual-licensed core.

Coverage 96.5% (327/339 packages). All 368 parse (minimal dump --packages).
Every declared id re-validated against the canonical SPDX list (729 licenses
+ 85 exceptions).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* enrich-license: correct 27 false-positive + deprecated SPDX ids (CR + cross-source audit)

Final-pass corrections after auditing the auto-detected declarations against
five independent sources: the SPDX canonical list, the SPDX isDeprecatedLicenseId
flag, per-package upstream LICENSE files, the GitHub license API, and Repology
distro consensus.

Single-license false positives (rare-id spot check — askalono matched a
secondary/vendored license and missed the primary):
- liburcu  Boehm-GC          -> LGPL-2.1-or-later AND LGPL-2.1-only AND MIT AND Boehm-GC
- perl     GPL-1.0-only      -> Artistic-1.0-Perl OR GPL-1.0-or-later
- stack    LGPL-3.0-only     -> BSD-3-Clause  (the LGPL/GPL-v3 text was a LICENSE appendix)

Deprecated SPDX id forms -> modern -only/-or-later, decided per the upstream
"or later" clause (CodeRabbit flagged ~12; the isDeprecatedLicenseId check found
all 22):
- fio GPL-2.0-only, libseccomp LGPL-2.1-only, grafana/gurk AGPL-3.0-only,
  bzip3 LGPL-3.0-only  (the explicit -only cases, verified against upstream)
- check/eudev/fribidi/libusb/libvips LGPL-2.1-or-later, patchelf/shellcheck/weathr/
  emacs-config-dev1 GPL-3.0-or-later, pciutils/picocom GPL-2.0-or-later,
  teamtype AGPL-3.0-or-later
- linux_headers/virtio-linux GPL-2.0-only WITH Linux-syscall-note (kernel is v2-only)
- compounds: libcap-ng (GPL-2.0-or-later AND LGPL-2.1-or-later), util-linux
  (GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause), libxcrypt
  (LGPL-2.1-or-later AND BSD-3-Clause AND BSD-2-Clause AND 0BSD)
- CR items: autoconf -> GPL-3.0-or-later WITH Autoconf-exception-3.0 (the
  autoconf-specific exception, not the generic one), libpng -> libpng-2.0

All 368 parse (minimal dump --packages). Every declared id re-validated:
canonical SPDX, zero deprecated. Repology cross-check: 235 license-family
matches, 9 disagreements all resolved (X11-variant naming, or Repology
project name-collisions where our value is confirmed correct via the GitHub
API: jdk=OpenJDK/Temurin vs Oracle, mpc=GNU MPC vs music-player client,
ut=ksdme/ut vs boost-ext/ut).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants