Repository navigation
Update util-linux to 2.42.1 - #193
Merged
Merged
Conversation
twitchyliquid64
approved these changes
May 29, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
May 29, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update util-linux
2.41.2→2.42.1Source:
github:util-linux/util-linux:tagRelease: 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)
Vulnerabilities fixed (1)
This update clears 1 vulnerabilities affecting
2.41.2:2.41.4Changes
2.41.22.42.16062a1d89b571a61...82e9158eb12a9b0b...gs://minimal-staging-archives/util-linux-2.41.2.tar.xzgs://minimal-staging-archives/util-linux-2.42.1.tar.xzGPL-2.0GPL-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