notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
softhsm2 Software implementation of a Hardware Security Module (HSM)
2.7.0 security on this many watch lists=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 2.7.0Version of this port present on the latest quarterly branch.
Maintainer: jaap@NLnetLabs.nl search for ports maintained by this maintainer
Port Added: 2026-02-25 13:27:06
Last Update: 2026-02-25 13:25:15
Commit Hash: b010241
License: BSD2CLAUSE
WWW:
https://www.softhsm.org/
Description:
SoftHSM is an implementation of a cryptographic store accessible through a PKCS #11 interface. You can use it to explore PKCS #11 without having a Hardware Security Module. It is being developed as a part of the OpenDNSSEC project. SoftHSM Version 2 is using openssl for its cryptographic operations.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (26 items)
Collapse this list.
  1. /usr/local/share/licenses/softhsm2-2.7.0/catalog.mk
  2. /usr/local/share/licenses/softhsm2-2.7.0/LICENSE
  3. /usr/local/share/licenses/softhsm2-2.7.0/BSD2CLAUSE
  4. bin/softhsm2-dump-file
  5. bin/softhsm2-dump-db
  6. bin/softhsm2-keyconv
  7. bin/softhsm2-migrate
  8. bin/softhsm2-util
  9. @sample etc/softhsm2.conf.sample
  10. lib/softhsm/libsofthsm2.a
  11. lib/softhsm/libsofthsm2.so
  12. share/man/man1/softhsm2-dump-file.1.gz
  13. share/man/man1/softhsm2-dump-db.1.gz
  14. share/man/man1/softhsm2-keyconv.1.gz
  15. share/man/man1/softhsm2-migrate.1.gz
  16. share/man/man1/softhsm2-util.1.gz
  17. share/man/man5/softhsm2.conf.5.gz
  18. share/p11-kit/modules/softhsm2.module
  19. @dir share/p11-kit/modules
  20. @dir share/p11-kit
  21. @dir /var/lib/softhsm/tokens
  22. @dir /var/lib/softhsm
  23. @dir /var/lib
  24. @owner
  25. @group
  26. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • softhsm2>0:security/softhsm2
To install the port:
cd /usr/ports/security/softhsm2/ && make install clean
To add the package, run one of these commands:
  • pkg install security/softhsm2
  • pkg install softhsm2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: softhsm2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1768921725 SHA256 (softhsm-SoftHSMv2-2.7.0_GH0.tar.gz) = be14a5820ec457eac5154462ffae51ba5d8a643f6760514d4b4b83a77be91573 SIZE (softhsm-SoftHSMv2-2.7.0_GH0.tar.gz) = 564143

Packages (timestamps in pop-ups are UTC):
softhsm2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.6.1_42.6.1_42.6.1_22.6.1_32.6.1_4n/an/an/a
FreeBSD:13:quarterly2.6.1_42.6.1_4-2.6.1_32.6.1_4n/an/an/a
FreeBSD:14:latest2.6.1_42.6.1_42.6.1_22.6.1_32.6.1_42.6.1_2-2.6.1_2
FreeBSD:14:quarterly2.6.1_42.6.1_4-2.6.1_32.6.1_42.6.1_22.6.1_22.6.1_2
FreeBSD:15:latest2.6.1_42.6.1_4n/a2.6.1_3n/an/a2.6.1_22.6.1_2
FreeBSD:15:quarterly2.6.1_42.6.1_4n/a-n/an/a--
FreeBSD:16:latest2.6.1_42.6.1_4n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p11-kit : security/p11-kit
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. autoconf>=2.72_1 : devel/autoconf
  4. automake>=1.18.1 : devel/automake
  5. libtoolize : devel/libtool
Runtime dependencies:
  1. p11-kit : security/p11-kit
Library dependencies:
  1. libsqlite3.so : databases/sqlite3
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for softhsm2-2.7.0: MIGRATE=on: Build the migration tool SQLITE=on: Build with object store backend DB support (SQLITE3) ===> Use 'make config' to modify these settings
Options name:
security_softhsm2
USES:
autoreconf compiler:c++11-lang libtool pkgconfig ssl sqlite
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/softhsm/SoftHSMv2/tar.gz/2.7.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.7.0
25 Feb 2026 13:25:15
commit hash: b0102417fa6a069dd1cf0c9b463f8995ed99025bcommit hash: b0102417fa6a069dd1cf0c9b463f8995ed99025bcommit hash: b0102417fa6a069dd1cf0c9b463f8995ed99025bcommit hash: b0102417fa6a069dd1cf0c9b463f8995ed99025b files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
security/softhsm2: Updae 2.6.1 => 2.7.0

Changelog:
https://github.com/softhsm/SoftHSMv2/releases/tag/2.7.0

- Upstream changed site.
- Cleanup the port.

PR:		292670
Approved by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
MFH:		2026Q1
Co-authored-by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>

(cherry picked from commit 89238746ace5e99f89b2bc57b3c2fc27e3f35bd3)

Number of commits found: 1