[Midnightbsd-cvs] [MidnightBSD/mports] 5d9b2c: security/libgcrypt: update to 1.12.3 (#799)

Lucas Holt noreply at github.com
Mon Aug 31 13:33:14 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 5d9b2c1b624ef0e4b3dd6f8ccd0c7959f46aa6b1
      https://github.com/MidnightBSD/mports/commit/5d9b2c1b624ef0e4b3dd6f8ccd0c7959f46aa6b1
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M security/libgcrypt/Makefile
    M security/libgcrypt/distinfo
    M security/libgcrypt/pkg-plist

  Log Message:
  -----------
  security/libgcrypt: update to 1.12.3 (#799)

Update Libgcrypt to upstream 1.12.3, which includes validation,
bounds-checking, and cryptographic correctness fixes.

On amd64, disable the new AVX-512 assembly path because the supported
MidnightBSD toolchain assembler rejects its SM4 instructions; portable
and lower-tier optimized implementations remain enabled.

The former 2019 Magus test suppression is removed: the port-managed
check target now passes all 41 upstream tests (two intentionally
skipped).

Validation:

- bmake makesum
- bmake patch, configure, build, fake, package
- bmake clean test: 41 passed, 2 intentionally skipped
- portlint -C: 0 fatal errors (3 pre-existing warnings)

## Summary by Sourcery

Update the Libgcrypt port to 1.12.3 while preserving amd64 toolchain
compatibility and re-enabling upstream validation.

Bug Fixes:
- Update Libgcrypt to upstream version 1.12.3, incorporating upstream
validation, bounds-checking, and cryptographic correctness fixes.

Enhancements:
- Enable the upstream test suite for the port, with 41 tests passing and
two intentional skips.
- Disable the AVX-512 implementation on amd64 to maintain compatibility
with the supported assembler while retaining portable and lower-tier
optimized implementations.

Tests:
- Restore port-managed Libgcrypt test execution and remove the former
test suppression.

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list