Bug 296565 - security/pkcs11-tools: update to 3.0.0
Summary: security/pkcs11-tools: update to 3.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yusuf Yaman
URL: https://github.com/Mastercard/pkcs11-...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-06 21:19 UTC by Eric Devolder
Modified: 2026-07-07 09:05 UTC (History)
2 users (show)

See Also:


Attachments
pkcs11-tools-2.6.0-to-3.0.0.patch (6.04 KB, patch)
2026-07-06 21:19 UTC, Eric Devolder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Devolder 2026-07-06 21:19:19 UTC
Created attachment 272553 [details]
pkcs11-tools-2.6.0-to-3.0.0.patch

patch to upgrade from 2.6.0 to 3.0.0

Note that the Makefile has been arranged to restrict openssl versions that can be used. Also, bash dependency is no longer needed and has been dropped.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-07-07 09:03:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60f4322555f47d87a3a69493ad48cf08040db7e0

commit 60f4322555f47d87a3a69493ad48cf08040db7e0
Author:     Eric Devolder <eric.devolder@gmail.com>
AuthorDate: 2026-07-07 08:43:31 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-07-07 09:02:40 +0000

    security/pkcs11-tools: Update 2.6.0 => 3.0.0

    Port changes:
    - Pet portclippy.
    - Remove dependency on shells/bash.
    - Remove DOCS from OPTIONS_DEFAULT since it's enabled by default.
    - Add BASH and ZSH options for shell completions.
    - Update description in pkg-descr.

    Changelog:
    https://github.com/Mastercard/pkcs11-tools/blob/v3.0.0/CHANGELOG.md

    PR:             296565
    Approved by:    osa, vvd (Mentors, implicit)

 security/pkcs11-tools/Makefile  | 24 ++++++++++++------------
 security/pkcs11-tools/distinfo  | 14 +++++++-------
 security/pkcs11-tools/pkg-descr | 13 +++++++------
 security/pkcs11-tools/pkg-plist | 26 ++++++++++++++++++++++++++
 4 files changed, 52 insertions(+), 25 deletions(-)
Comment 2 Yusuf Yaman freebsd_committer freebsd_triage 2026-07-07 09:05:55 UTC
Hi,

Thank you for your submission.

I have slightly adjusted your patch:
- GH_PROJECT isn't needed since it's same as PORTNAME.
- COMPL option seperated into BASH and ZSH options.
- Removed DOCS from OPTIONS_DEFAULT since it's already enabled globally. Also removed DOCS_DESC since there is one already globally.
- Adjusted pkg-descr so it don't exceed 80 chars per line (portlint).

I have tested build in Poudriere on 14.4-RELEASE-amd64-main-7f21ff29a07d and it seems OK.

Committed, thanks.