Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
pkcs11-tools Tools for managing PKCS11 cryptographic tokens
3.1.0 security Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.1.0Version of this port present on the latest quarterly branch.
Maintainer: eric.devolder@gmail.com search for ports maintained by this maintainer
Port Added: 2021-04-19 00:24:06
Last Update: 2026-09-30 21:06:34
Commit Hash: 6307a54
License: APACHE20 THIRDPARTY
WWW:
https://github.com/Mastercard/pkcs11-tools
Description: #
pkcs11-tools is a toolkit containing a bunch of small utilities to perform key management tasks on cryptographic tokens implementing a PKCS#11 interface. It features a number of commands similar to the Unix CLI utilities, such as ls, mv, rm, od, and more. It also has specific commands to generate keys, generate CSRs, import certificates and other files, in a fashion compatible with many implementations, including both IBM and Oracle JVMs. It is also able to interface with software tokens, such as SoftHSM, NSS, and Kryoptic.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
Expand this list (35 items)
pkg-plist: as obtained via: make generate-plist #
Expand this list (100 items)
Collapse this list.
  1. /usr/local/share/licenses/pkcs11-tools-3.1.0/catalog.mk
  2. /usr/local/share/licenses/pkcs11-tools-3.1.0/LICENSE
  3. /usr/local/share/licenses/pkcs11-tools-3.1.0/APACHE20
  4. /usr/local/share/licenses/pkcs11-tools-3.1.0/THIRDPARTY
  5. bin/masqreq
  6. bin/p11cat
  7. bin/p11cp
  8. bin/p11importcert
  9. bin/p11importdata
  10. bin/p11importpubk
  11. bin/p11init
  12. bin/p11kcv
  13. bin/p11keycomp
  14. bin/p11keygen
  15. bin/p11ls
  16. bin/p11mkcert
  17. bin/p11more
  18. bin/p11mv
  19. bin/p11od
  20. bin/p11req
  21. bin/p11rewrap
  22. bin/p11rm
  23. bin/p11setattr
  24. bin/p11slotinfo
  25. bin/p11unwrap
  26. bin/p11wrap
  27. bin/with_aws
  28. bin/with_beid
  29. bin/with_kryoptic
  30. bin/with_luna
  31. bin/with_nfast
  32. bin/with_nss
  33. bin/with_pkcs11_common
  34. bin/with_softhsm
  35. bin/with_utimaco
  36. bin/with_yubico
  37. share/bash-completion/completions/p11-common
  38. share/bash-completion/completions/p11cat
  39. share/bash-completion/completions/p11cp
  40. share/bash-completion/completions/p11importcert
  41. share/bash-completion/completions/p11importdata
  42. share/bash-completion/completions/p11importpubk
  43. share/bash-completion/completions/p11init
  44. share/bash-completion/completions/p11kcv
  45. share/bash-completion/completions/p11keycomp
  46. share/bash-completion/completions/p11keygen
  47. share/bash-completion/completions/p11ls
  48. share/bash-completion/completions/p11mkcert
  49. share/bash-completion/completions/p11more
  50. share/bash-completion/completions/p11mv
  51. share/bash-completion/completions/p11od
  52. share/bash-completion/completions/p11req
  53. share/bash-completion/completions/p11rewrap
  54. share/bash-completion/completions/p11rm
  55. share/bash-completion/completions/p11setattr
  56. share/bash-completion/completions/p11slotinfo
  57. share/bash-completion/completions/p11unwrap
  58. share/bash-completion/completions/p11wrap
  59. share/doc/pkcs11-tools/INSTALL.md
  60. share/doc/pkcs11-tools/MANUAL.md
  61. share/doc/pkcs11-tools/README.md
  62. share/man/man1/masqreq.1.gz
  63. share/man/man1/p11cat.1.gz
  64. share/man/man1/p11cp.1.gz
  65. share/man/man1/p11importcert.1.gz
  66. share/man/man1/p11importdata.1.gz
  67. share/man/man1/p11importpubk.1.gz
  68. share/man/man1/p11init.1.gz
  69. share/man/man1/p11kcv.1.gz
  70. share/man/man1/p11keycomp.1.gz
  71. share/man/man1/p11keygen.1.gz
  72. share/man/man1/p11ls.1.gz
  73. share/man/man1/p11mkcert.1.gz
  74. share/man/man1/p11more.1.gz
  75. share/man/man1/p11mv.1.gz
  76. share/man/man1/p11od.1.gz
  77. share/man/man1/p11req.1.gz
  78. share/man/man1/p11rewrap.1.gz
  79. share/man/man1/p11rm.1.gz
  80. share/man/man1/p11setattr.1.gz
  81. share/man/man1/p11slotinfo.1.gz
  82. share/man/man1/p11unwrap.1.gz
  83. share/man/man1/p11wrap.1.gz
  84. share/man/man1/with_aws.1.gz
  85. share/man/man1/with_beid.1.gz
  86. share/man/man1/with_kryoptic.1.gz
  87. share/man/man1/with_luna.1.gz
  88. share/man/man1/with_nfast.1.gz
  89. share/man/man1/with_nss.1.gz
  90. share/man/man1/with_pkcs11_common.1.gz
  91. share/man/man1/with_softhsm.1.gz
  92. share/man/man1/with_utimaco.1.gz
  93. share/man/man1/with_yubico.1.gz
  94. share/man/man5/pkcs11-wrap.5.gz
  95. share/man/man5/pkcs11rc.5.gz
  96. share/man/man7/pkcs11-tools.7.gz
  97. share/zsh/site-functions/_p11tools
  98. @owner
  99. @group
  100. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • pkcs11-tools>0:security/pkcs11-tools
To install the port: #
cd /usr/ports/security/pkcs11-tools/ && make install clean
To add the package, run one of these commands:
  • pkg install security/pkcs11-tools
  • pkg install pkcs11-tools
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pkcs11-tools
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1787961524 SHA256 (pkcs11-tools-3.1.0.tar.gz) = ef6d07b5527214cf8dcbed4f017569146f74dd6eb6aa9d5e7297418299b7947d SIZE (pkcs11-tools-3.1.0.tar.gz) = 1536862

Expand this list (4 items)

Collapse this list.

SHA256 (coreutils-gnulib-34e1754363_GH0.tar.gz) = e4ac476d423efa078758afd860d652b597866f6d5ef85419200f2361e0d4612b SIZE (coreutils-gnulib-34e1754363_GH0.tar.gz) = 7423982 SHA256 (oasis-tcs-pkcs11-858bfc8_GH0.tar.gz) = 43147465c211b13aa8a63e8ef5d44bd33665064b104d33dc96aa0b93e6c0bf7c SIZE (oasis-tcs-pkcs11-858bfc8_GH0.tar.gz) = 29758

Collapse this list.


Packages (timestamps in pop-ups are UTC): #
pkcs11-tools
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.03.1.02.5.02.6.03.1.0
FreeBSD:14:quarterly3.1.03.1.0-2.6.03.1.0
FreeBSD:15:latest3.1.03.1.0n/a2.6.0n/a
FreeBSD:15:quarterly3.1.03.1.0n/a-n/a
FreeBSD:16:latest3.1.03.1.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. autoconf-archive>0 : devel/autoconf-archive
  2. flex : textproc/flex
  3. bison : devel/bison
  4. gmake>=4.4.1 : devel/gmake
  5. libtool : devel/libtool
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. autoconf>=2.73 : devel/autoconf
  8. automake>=1.18.1 : devel/automake
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for pkcs11-tools-3.1.0: BASH=on: Install programmable completions for Bash DOCS=on: Build and/or install documentation MANPAGES=on: Build and/or install manual pages ZSH=on: Install programmable completions for zsh ===> Use 'make config' to modify these settings
Options name: #
security_pkcs11-tools
USES: #
autoreconf:build bison compiler:c11 gmake libtool:build pkgconfig ssl
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://github.com/Mastercard/pkcs11-tools/releases/download/v3.1.0/
Collapse this list.

Number of commits found: 20 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.0
30 Sep 2026 21:06:34
commit hash: 6307a54ab6d6136f88cf100c6d5aeeb62a80d7f1commit hash: 6307a54ab6d6136f88cf100c6d5aeeb62a80d7f1commit hash: 6307a54ab6d6136f88cf100c6d5aeeb62a80d7f1commit hash: 6307a54ab6d6136f88cf100c6d5aeeb62a80d7f1 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: update for expired security/openssl34
3.1.0
07 Sep 2026 19:00:48
commit hash: 799b961c8c1cfb598a9db7d9143b4ea88142de91commit hash: 799b961c8c1cfb598a9db7d9143b4ea88142de91commit hash: 799b961c8c1cfb598a9db7d9143b4ea88142de91commit hash: 799b961c8c1cfb598a9db7d9143b4ea88142de91 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update 3.0.0 => 3.1.0

Port Changes:
- Use distribution tarball rather than pure source code
  for prebuilt manpages instead of depending on Pandoc.

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

PR:		297826
Approved by:	osa, vvd (Mentors, implicit)
Co-authored-by:	Yusuf Yaman <nxjoseph@FreeBSD.org>
3.0.0
07 Jul 2026 09:02:40
commit hash: 60f4322555f47d87a3a69493ad48cf08040db7e0commit hash: 60f4322555f47d87a3a69493ad48cf08040db7e0commit hash: 60f4322555f47d87a3a69493ad48cf08040db7e0commit hash: 60f4322555f47d87a3a69493ad48cf08040db7e0 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Eric Devolder
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)
2.6.0
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2.6.0
15 Oct 2023 11:14:59
commit hash: c55803584171e1029f57c0f4ae248c6220e7ecd5commit hash: c55803584171e1029f57c0f4ae248c6220e7ecd5commit hash: c55803584171e1029f57c0f4ae248c6220e7ecd5commit hash: c55803584171e1029f57c0f4ae248c6220e7ecd5 files touched by this commit
Bernard Spil (brnrd) search for other commits by this committer
security/openssl: Update BROKEN_SSL ports referring to openssl30
2.6.0
31 Jul 2023 18:47:40
commit hash: 63de22df7120d3d9c8afe1d4264c5a2a42e9c679commit hash: 63de22df7120d3d9c8afe1d4264c5a2a42e9c679commit hash: 63de22df7120d3d9c8afe1d4264c5a2a42e9c679commit hash: 63de22df7120d3d9c8afe1d4264c5a2a42e9c679 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update to 2.6.0

ChangeLog: https://github.com/Mastercard/pkcs11-tools/blob/v2.6.0/CHANGELOG.md

PR:		272848
2.5.1
25 May 2023 09:41:33
commit hash: 9f37b23710d736f75dea8bc27d0f302b109ca00bcommit hash: 9f37b23710d736f75dea8bc27d0f302b109ca00bcommit hash: 9f37b23710d736f75dea8bc27d0f302b109ca00bcommit hash: 9f37b23710d736f75dea8bc27d0f302b109ca00b files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: update to 2.5.1

Changelog: https://github.com/Mastercard/pkcs11-tools/blob/v2.5.1/CHANGELOG.md

PR:		271617
2.5.0
03 May 2023 16:19:58
commit hash: f0951423ccaf3a9a5f53211bafad3e8c1269e00dcommit hash: f0951423ccaf3a9a5f53211bafad3e8c1269e00dcommit hash: f0951423ccaf3a9a5f53211bafad3e8c1269e00dcommit hash: f0951423ccaf3a9a5f53211bafad3e8c1269e00d files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
security/pkcs11-tools: Mark BROKEN_SSL

- Fails to build with OpenSSL 3.0.0 and later with error: undefined
  symbol: EVP_PKEY_*

Approved by:	portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.5.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.5.0
09 Oct 2021 03:18:36
commit hash: c4e05fc73c157dd7ab54126189b92f509da87b34commit hash: c4e05fc73c157dd7ab54126189b92f509da87b34commit hash: c4e05fc73c157dd7ab54126189b92f509da87b34commit hash: c4e05fc73c157dd7ab54126189b92f509da87b34 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: update to 2.5.0

 - Use USES=autoreconf:build instead of BUILD_DEPENDS autoconf and
   automake.
 - Remove ".include <bsd.port.options.mk>" from Makefile
 - Reorder some variables and put it in correct blocks

ChangeLog:
https://github.com/Mastercard/pkcs11-tools/blob/v2.5.0/CHANGELOG.md

PR:		258979
2.4.2
30 Sep 2021 21:23:30
commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2.4.2
27 Sep 2021 08:18:06
commit hash: 6f26ec6d9201c214687855f0a236fed273709909commit hash: 6f26ec6d9201c214687855f0a236fed273709909commit hash: 6f26ec6d9201c214687855f0a236fed273709909commit hash: 6f26ec6d9201c214687855f0a236fed273709909 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update to 2.4.2

Changelog: https://github.com/Mastercard/pkcs11-tools/blob/v2.4.2/CHANGELOG.md

PR:		258708
2.4.1
09 Aug 2021 07:40:59
commit hash: a14f7c8a10aa4d916698d35ef802441eecd64554commit hash: a14f7c8a10aa4d916698d35ef802441eecd64554commit hash: a14f7c8a10aa4d916698d35ef802441eecd64554commit hash: a14f7c8a10aa4d916698d35ef802441eecd64554 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update to 2.4.1

Changelog: https://github.com/Mastercard/pkcs11-tools/blob/v2.4.1/CHANGELOG.md

PR:		257697
2.4.0
25 Jul 2021 02:21:50
commit hash: b72fdc8176698011c8e07155526fb11548a3a010commit hash: b72fdc8176698011c8e07155526fb11548a3a010commit hash: b72fdc8176698011c8e07155526fb11548a3a010commit hash: b72fdc8176698011c8e07155526fb11548a3a010 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update to 2.4.0

Changelog:	https://github.com/Mastercard/pkcs11-tools/blob/v2.4.0/CHANGELOG.md

PR:		257348
Approved by:	lwhsu (mentor, implicit)
2.3.1
09 Jul 2021 14:43:44
commit hash: b35a59ce21196b6fb3a3b969d884920f22bf9505commit hash: b35a59ce21196b6fb3a3b969d884920f22bf9505commit hash: b35a59ce21196b6fb3a3b969d884920f22bf9505commit hash: b35a59ce21196b6fb3a3b969d884920f22bf9505 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Eric Devolder
security/pkcs11-tools: Update to 2.3.1

 * reformat Makefile with portfmt

ChangeLog: https://github.com/Mastercard/pkcs11-tools/blob/v2.3.1/CHANGELOG.md

PR:		256990
2.3.0
21 Apr 2021 10:57:20
commit hash: 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57commit hash: 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57commit hash: 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57commit hash: 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57 files touched by this commit
Tobias Kortkamp (tobik) search for other commits by this committer
security/pkcs11-tools: Properly set BROKEN on 11.x with OpenSSL 1.0.x

Another case of wishful thinking.  In reality the framework does
not support a BROKEN_SSL_11 at the moment.

Reported by:	portscan
2.3.0
20 Apr 2021 18:31:36
commit hash: 97b9d2f58f38dc0be07175b8de4ebb616d4ddacdcommit hash: 97b9d2f58f38dc0be07175b8de4ebb616d4ddacdcommit hash: 97b9d2f58f38dc0be07175b8de4ebb616d4ddacdcommit hash: 97b9d2f58f38dc0be07175b8de4ebb616d4ddacd files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
security/pkcs11-tools: Broken on 11 with base OpenSSL due to version being too
old

Also add comment about the workaround for missing symbols in
/usr/lib/libcrypto.so.

Reported by:	fallout
2.3.0
20 Apr 2021 09:57:01
commit hash: 2765d6e9a744b864c2c9334a1497dbd75af08ac0commit hash: 2765d6e9a744b864c2c9334a1497dbd75af08ac0commit hash: 2765d6e9a744b864c2c9334a1497dbd75af08ac0commit hash: 2765d6e9a744b864c2c9334a1497dbd75af08ac0 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
security/pkcs11-tools: Broken with libressl

Reported by:	eric.devolder@gmail.com (maintainer)
2.3.0
19 Apr 2021 00:23:37
commit hash: a6d0c2f4e2167b4da1607f0b018a0e3985b7e729commit hash: a6d0c2f4e2167b4da1607f0b018a0e3985b7e729commit hash: a6d0c2f4e2167b4da1607f0b018a0e3985b7e729commit hash: a6d0c2f4e2167b4da1607f0b018a0e3985b7e729 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
New port: security/pkcs11-tools: Tools for managing PKCS11 cryptographic tokens

PR:		255058
Submitted by:	Eric Devolder <eric.devolder@gmail.com>

Number of commits found: 20