Skip to content

feat: add build instructions for the Microsoft CAB archive library - #846

Merged
hivecommons-hive[bot] merged 2 commits into
projectbluefin:mainfrom
Karibhou:hive/502-libmspack
Oct 31, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
projectbluefin:mainfrom
Karibhou:hive/502-libmspack

Conversation

@Karibhou

Copy link
Copy Markdown
Contributor

Summary: This adds build instructions for a small library that opens Microsoft "CAB" archives, the compressed file format used by Windows installers and driver packages. Bluefin ships it today and Utah does not, so this closes one more gap between the two systems. The package download is checked byte-for-byte against the official release. Five other libraries in this group, and the tests on a running system, are still to do.

What I need from you: Review the recipe and the locked source download.


Refs #502 — partial recipe import; libijs, liblqr-1, libnet, libpaper and libpfm, plus hosted builds, publication and runtime acceptance for the batch, remain open. Consumer tracking: projectbluefin/utah#263.

Changes

  • Import the libmspack 0.11alpha source recipe from Fedora Rawhide commit c5b36307c3eeaae0bc8718d5e7f354502a5ab8cb with tools/import_rawhide.py. The recipe and its generated provenance record are unchanged.
  • Lock upstream release 0.11alpha at https://www.cabextract.org.uk/libmspack/libmspack-0.11alpha.tar.gz, with Fedora's lookaside cache as a fallback URL. The recipe's Source0 is http://, so, as with libev in feat: add instructions to build the event loop library #844, the HTTPS URL lives only in the lock.
  • Register libmspack in Packit and refresh the docs/architecture.md counts (676 → 677 recipes; 671 → 672 Rawhide).
  • Move libmspack from areas.long-tail to [resolved], fill the missing pr = 844 on the existing libev record, and regenerate reports/factory-build-backlog.json. The original audited name set is preserved.
  • Add a "Microsoft CAB library imports" section to docs/skills/factory-build-backlog.md. It covers the HTTPS lock with the recipe left verbatim, the %autosetup -S git binary patch (keep BuildRequires: git and make check), and what counts as runtime proof.

Source evidence

  • Upstream URL: https://www.cabextract.org.uk/libmspack/libmspack-0.11alpha.tar.gz
  • SHA-512 of the downloaded upstream archive: 40c487e5b4e2f63a6cada26d29db51f605e8c29525a1cb088566d02cf2b1cc9dba263f80e2101d7f8e9d69cf7684a15bcaf791fb4891ad013a56afc7256dfa62. This is identical to the dist-git sources pin.
  • Fallback: https://src.fedoraproject.org/repo/pkgs/rpms/libmspack/libmspack-0.11alpha.tar.gz/sha512/40c487e5…dfa62/libmspack-0.11alpha.tar.gz. It returns HTTP 200.
  • The recipe carries Fedora's CVE backport for CVE-2026-110602 (rhbz#2558186, upstream commit 4d86850) and runs the upstream make check.
  • Runtime Requires: none beyond glibc and the in-family -devel → main dependency.

Batch dispositions (#502)

Binary Disposition
libmspack Recipe imported here (source libmspack); hosted build, publication and runtime proof outstanding
libev Recipe imported in #844; pr field filled here; publication and runtime proof outstanding
libdeflate, libdhash, libell, libieee1284, libini_config, libmd, libnfsidmap, libntlm, libpasswdqc, libpskc Already in [resolved] with publication NEVRAs from earlier PRs; runtime transactions still to verify
libpath_utils Already in [resolved] (#597; folded into libini_config upstream)
libijs, liblqr-1, libnet, libpaper, libpfm Still pending in areas.long-tail

No waiver, exclusion or consumer policy decision is made here.

Validation

  • just check: passed. This covers factory-contract, validate (677 source RPMs: 672 Rawhide, 5 upstream), multimedia, workflow quoting, the runtime contract, factory-build-backlog (169 entries, 161 pending) and pytest (1408 passed, 2 skipped).
  • just test: 1408 passed, 2 skipped.
  • python3 tools/factory_build_backlog.py --check: passed.
  • git diff --check: clean.
  • Not claimed: no hosted Packit/mock build, published NEVRA, OCI digest or Hummingbird-plus-factory install has been run for libmspack yet. Pull-request CI validates configuration only. These acceptance gates stay open on parity(long-tail): resolve factory outputs libdeflate through libpskc #502.

— hive: backend=claude model=claude-opus-5-5

🤖 Generated with Claude Code

https://claude.ai/code/session_01HRH6knj1F9YXwfpwSp4xCr

Karibhou and others added 2 commits October 31, 2026 13:59
Import the libmspack 0.11alpha source recipe from Fedora Rawhide commit
c5b36307c3eeaae0bc8718d5e7f354502a5ab8cb (recipe kept verbatim) and lock
the upstream release over https://www.cabextract.org.uk/, whose bytes
match the dist-git SHA-512, with Fedora's lookaside as fallback.

Register it in Packit, refresh the architecture counts, move libmspack
from areas.long-tail to [resolved], fill pr = 844 on the libev record,
regenerate the backlog report and document the import in the
factory-build-backlog skill.

Refs projectbluefin#502

Hive-Run: projectbluefin#502
Hive-Plan: long-tail library import
Hive-Spec: factory-build-backlog#closing-a-backlog-gap
Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HRH6knj1F9YXwfpwSp4xCr
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>
Refs projectbluefin#502

Hive-Run: projectbluefin#502
Hive-Plan: long-tail library import
Hive-Spec: factory-build-backlog#closing-a-backlog-gap
Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HRH6knj1F9YXwfpwSp4xCr
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit 44613ca into projectbluefin:main Oct 31, 2026
21 checks passed
@hivecommons-hive

Copy link
Copy Markdown
Contributor
Evidence bundle `#846322d2b8` sha256:49a2a40968a41ed63a1aae121d5abd6dbff3bdfe6f0540ccd47fa50145135b01 — download from the dashboard or `hivectl review evidence #846`.

hivecommons-hive Bot added a commit that referenced this pull request Nov 6, 2026
* feat: add VMware guest tools and CAB extraction recipes

Import the open-vm-tools source family and its required libmspack library. Lock upstream release archives, register both recipes and reconcile the three audit names. Keep hosted build, publication and guest runtime acceptance outstanding on #488.

Assisted-by: openai-codex/gpt-6.1-sol via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hive-Run: #488
Hive-Plan: VMware guest integration source-family import
Hive-Spec: issue-488#implementation-3
Signed-off-by: mendezr <mendezr@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>

* docs(factory-build-backlog): record the VMware guest-tools build-root providers

Re-homing #812 onto main: libmspack is already a published factory recipe
(#846), so the skill no longer tells an importer to bring it in. Answer the
open review question on #812: Hummingbird provides xmlsec1-openssl-devel,
libtirpc-devel and procps-ng-devel (procps-devel), Fedora 44 provides rpcgen,
and the factory provides gtkmm4.0-devel, so no provider recipe is needed.

Assisted-by: Claude Opus via omp
Signed-off-by: James Reilly <jreilly1821@gmail.com>

---------

Signed-off-by: mendezr <mendezr@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
Co-authored-by: mendezr <mendezr@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@Karibhou
Karibhou deleted the hive/502-libmspack branch November 15, 2026 11:08
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.

1 participant