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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
softhsm2 Software implementation of a Hardware Security Module (HSM)
2.6.1_3 security on this many watch lists=1 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.6.1_2Version of this port present on the latest quarterly branch.
Maintainer: jaap@NLnetLabs.nl search for ports maintained by this maintainer
Port Added: 2015-02-09 03:20:26
Last Update: 2024-02-25 13:23:26
Commit Hash: c29176c
People watching this port, also watch:: rancid3
License: BSD2CLAUSE
WWW:
https://www.opendnssec.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

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (27 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/softhsm2-2.6.1_3/catalog.mk
  3. /usr/local/share/licenses/softhsm2-2.6.1_3/LICENSE
  4. /usr/local/share/licenses/softhsm2-2.6.1_3/BSD2CLAUSE
  5. bin/softhsm2-dump-file
  6. bin/softhsm2-dump-db
  7. bin/softhsm2-keyconv
  8. bin/softhsm2-migrate
  9. bin/softhsm2-util
  10. @sample etc/softhsm2.conf.sample
  11. lib/softhsm/libsofthsm2.a
  12. lib/softhsm/libsofthsm2.so
  13. share/man/man1/softhsm2-dump-file.1.gz
  14. share/man/man1/softhsm2-dump-db.1.gz
  15. share/man/man1/softhsm2-keyconv.1.gz
  16. share/man/man1/softhsm2-migrate.1.gz
  17. share/man/man1/softhsm2-util.1.gz
  18. share/man/man5/softhsm2.conf.5.gz
  19. @dir /var/lib/softhsm/tokens
  20. @dir /var/lib/softhsm
  21. @dir /var/lib
  22. @dir share/p11-kit/modules
  23. @dir share
  24. share/p11-kit/modules/softhsm2.module
  25. @owner
  26. @group
  27. @mode
Collapse this list.
Dependency lines:
  • softhsm2>0:security/softhsm2
Conflicts:
CONFLICTS:
  • softhsm-1.*
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
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 = 1588231625 SHA256 (softhsm-2.6.1.tar.gz) = 61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2 SIZE (softhsm-2.6.1.tar.gz) = 1066766

Packages (timestamps in pop-ups are UTC):
softhsm2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.6.1_32.6.1_32.6.1_22.6.1_32.6.1_3---
FreeBSD:13:quarterly2.6.1_22.6.1_2-2.6.1_22.6.1_22.6.1_22.6.1_22.6.1_2
FreeBSD:14:latest2.6.1_32.6.1_32.6.1_22.6.1_32.6.1_32.6.1_2-2.6.1_2
FreeBSD:14:quarterly2.6.1_22.6.1_2-2.6.1_22.6.1_22.6.1_22.6.1_22.6.1_2
FreeBSD:15:latest2.6.1_32.6.1_3n/a2.6.1_2n/a2.6.1_22.6.1_22.6.1_2
FreeBSD:15:quarterly--n/a-n/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
Runtime dependencies:
  1. p11-kit : security/p11-kit
Library dependencies:
  1. libcppunit.so : devel/cppunit
  2. libsqlite3.so : databases/sqlite3
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for softhsm2-2.6.1_3: MIGRATE=on: Build the migration tool SQLITE=on: Build with object store backend DB support (SQLITE3) ====> Options available for the single CRYP: you have to select exactly one of them CRYP_OPEN=on: Build with OpenSSL crypto library CRYP_BOTAN=off: Build with Botan crypto library ===> Use 'make config' to modify these settings
Options name:
security_softhsm2
USES:
compiler:c++11-lang libtool ssl pkgconfig sqlite
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://dist.opendnssec.org/source/
  2. http://dist.opendnssec.org/source/testing/
Collapse this list.

Number of commits found: 35

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.6.1_3
25 Feb 2024 13:23:26
commit hash: c29176c2b30bcc0510931d88f6d2a35e67f6fac1commit hash: c29176c2b30bcc0510931d88f6d2a35e67f6fac1commit hash: c29176c2b30bcc0510931d88f6d2a35e67f6fac1commit hash: c29176c2b30bcc0510931d88f6d2a35e67f6fac1 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
security/softhsm2: Moved man to share/man

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.6.1_2
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.6.1_2
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.6.1_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.6.1_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.6.1_2
30 Aug 2020 03:10:24
Revision:546967Original commit files touched by this commit
novel search for other commits by this committer
Chase security/p11-kit update

After switch to meson libp11-kit.so no longer has symbols
in the LIBP11_KIT_1.0 namespace. As a workaround, bump
PORTREVISION of consumers to get those rebuilt.

See more details in the comments of the linked PR.

PR:		248819
Reported by:	John Hein
2.6.1_1
19 Aug 2020 05:53:29
Revision:545273Original commit files touched by this commit
fernape search for other commits by this committer
security/botan2: update to 2.15.0

ChangeLog: https://botan.randombit.net/news.html#version-2-15-0-2020-07-07

Bumping dependent ports due to library abi version bump.

PR:	248343
Submitted by:	tremere@cainites.net (maintainer)
2.6.1
14 May 2020 15:13:11
Revision:535243Original commit files touched by this commit
pkubaj search for other commits by this committer
security/softhsm2: fix build on GCC architectures

Use C++11 compiler:
SoftHSM.cpp:856: error: ISO C++ forbids declaration of 'it' with no type
2.6.1
01 May 2020 08:48:44
Revision:533528Original commit files touched by this commit
tagattie search for other commits by this committer
Update to 2.6.1

PR:		245008
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Approved by:	ehaupt (mentor)
Changelog:	https://www.opendnssec.org/2020/04/softhsm-2-6-0/
		https://www.opendnssec.org/2020/04/1602/
2.5.0_2
01 Jan 2020 17:30:19
Revision:521749Original commit files touched by this commit
brnrd search for other commits by this committer
Chase rename of security/openssl111

 - Categories n-z

MFH:		2020Q1
2.5.0_2
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
2.5.0_2
02 Jul 2019 20:45:36
Revision:505706Original commit files touched by this commit
zeising search for other commits by this committer
security/softhsm2: Fix build with non-base openSSL

PR:		233777
Submitted by:	Sergey Akhmatov
Approved by:	Jaap Akkerhuis (maintainer)
2.5.0_1
13 Apr 2019 09:31:18
Revision:498798Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Whitespace fixes
- Update WWW

Approved by:	portmgr blanket
2.5.0_1
10 Nov 2018 10:09:49
Revision:484599Original commit files touched by this commit
mat search for other commits by this committer
security/openssl-devel was removed, but there is a security/openssl111 now.
2.5.0_1
01 Nov 2018 15:01:59
Revision:483671Original commit files touched by this commit
swills search for other commits by this committer
security/softhsm2: Update to release 2.5.0

PR:		232886
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2.4.0_1
27 Jul 2018 12:36:54
Revision:475432Original commit files touched by this commit
pi search for other commits by this committer
security/softhsm2: add MIGRATE option to build the migration tool, as default

PR:		227004
Requested by:	Roman <kabalax@gmail.com>
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2.4.0
28 Feb 2018 15:05:56
Revision:463213Original commit files touched by this commit
swills search for other commits by this committer
security/softhsm2: Update to release 2.4.0

PR:		226258
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2.3.0_2
08 Jan 2018 13:32:53
Revision:458409Original commit files touched by this commit
pi search for other commits by this committer
security/softhsm2: fix install of p11-kit .module file

- See also
  https://github.com/opendnssec/SoftHSMv2/issues/230

PR:		212518
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Reported by:	dwmw2@infradead.org
Tested by:	w.schwarzenfeld@utanet.at
2.3.0_1
18 Aug 2017 16:09:59
Revision:448254Original commit files touched by this commit
swills search for other commits by this committer
security/softhsm2: fix storage directory

PR:		221212
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Reported by:	dewayne@heuristicsystems.com.au
2.3.0
17 Jul 2017 15:31:05
Revision:446079Original commit files touched by this commit
dbaio search for other commits by this committer
security/softhsm2: Combine if statements
2.3.0
17 Jul 2017 15:18:36
Revision:446078Original commit files touched by this commit
dbaio search for other commits by this committer
security/softhsm2: Update to 2.3.0, Fix build with SQLITE3 storage backend

Disable support for GOST if openssl-devel is used

Add option SQLITE (optional) to fix build with SQLITE3 storage backend [1]

While here:
  Add LICENSE_FILE
  Add USES= ssl (Q/A warning)

PR:		220744
PR:		218701 [1]
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Submitted by:	sergey@akhmatov.ru [1]
Approved by:	garga (mentor)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11607
2.2.0_1
15 Mar 2017 14:45:55
Revision:436248Original commit files touched by this commit
mat search for other commits by this committer
Remove all _USE=openssl occurrences.

Sponsored by:	Absolight
2.2.0_1
05 Feb 2017 21:20:24
Revision:433456Original commit files touched by this commit
tijl search for other commits by this committer
- Remove inclusion of bsd.default-versions.mk from ftp/curl/Makefile so
  bsd.default-versions.mk can rely on ARCH being defined.
- In bsd.port.mk move inclusion of bsd.default-versions.mk from the
  pre-makefile section to the options section so the variables can be used
  earlier.  Also put the bit of code sitting between the options section and
  the pre-makefile section into the options section.
- Remove last few cases where ports set WITH_OPENSSL_PORT.  This variable is
  handled in bsd.default-versions.mk and some ports were setting it after
  including bsd.port.options.mk.  After FreeBSD 9 EoL all but a few ports,
  and then only when setting non-default options, work without setting that
  variable.

PR:		215996
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2.2.0
09 Dec 2016 15:37:44
Revision:428218Original commit files touched by this commit
robak search for other commits by this committer
security/softhsm2: update 2.1.0 -> 2.2.0

PR:		215116
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2.1.0
13 Sep 2016 14:24:45
Revision:422012Original commit files touched by this commit
marino search for other commits by this committer
LibreSSL checks: Check for libressl-devel option too

Approved by:	SSL blanket
2.1.0
16 Jun 2016 13:23:13
Revision:416966Original commit files touched by this commit
mat search for other commits by this committer
Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.

WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2.1.0
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
2.1.0
17 Mar 2016 16:20:16
Revision:411289Original commit files touched by this commit
mat search for other commits by this committer
Update to 2.1.0. [1]

While there, use options helpers.

PR:		208089 [1]
Submitted by:	maintainer
Sponsored by:	Absolight
2.0.0
10 Jan 2016 16:31:34
Revision:405719Original commit files touched by this commit
bapt search for other commits by this committer
Convert ports from s* t* and net* categories to USES=sqlite and USES=firebird
2.0.0
27 Jul 2015 10:12:46
Revision:392970Original commit files touched by this commit
erwin search for other commits by this committer
Version 2.0.0 of SoftHSM has been released. More updates and bug fixes can be
found in the alpha and beta release notes.

SoftHSM 2.0.0 - 2015-07-17

- SOFTHSM-121: Test cases for C_DecryptUpdate/C_DecryptFinal.
- Support C_DecryptUpdate/C_DecryptFinal for symmetric algorithms.
  (Patch from Thomas Calderon)\

Bugfixes:

- SOFTHSM-120: Segfault after renaming variables.

PR:		201900
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2.0.0.b3
12 May 2015 08:57:23
Revision:386128Original commit files touched by this commit
mat search for other commits by this committer
Simplify by using DISTVERSION.

Sponsored by:	Absolight
2.0.0.b3
12 May 2015 07:55:44
Revision:386127Original commit files touched by this commit
erwin search for other commits by this committer
Update to 2.0.0b3

SOFTHSM-113: Support for Botan 1.11.15
SOFTHSM-119: softhsm2-util: Support ECDSA key import
SUPPORT-139: Support deriving generic secrets, DES, DES2, DES3, and AES.
Using DH, ECDH or symmetric encryption.

Various Bug Fxes, see <https://www.opendnssec.org/2015/04/18/softhsm-2-0-0b3/>
for details.

LibreSSL support, see also
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199008> for details.

PR:		200056
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2.0.0.b1
20 Apr 2015 19:06:30
Revision:384380Original commit files touched by this commit
tijl search for other commits by this committer
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
  when CONFIGURE_ARGS already sets it.  (GNU configure scripts set it to
  PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
  they aren't affected by this change (for now at least).  This commit is
  meant to ensure that new ports don't make the same mistake.

- games/acm: the configure script in this port is very old; instead of
  patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
  changed the behaviour of the configure script; adjust the port to this.

PR:		199506
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2.0.0.b1
09 Feb 2015 03:20:11
Revision:378708Original commit files touched by this commit
erwin search for other commits by this committer
Add beta version of softhsm2, Software implementation of a
Hardware Security Module (HSM)

PR:		196096
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>

Number of commits found: 35