See the more sensible use case filed in bug 212517 but for the purpose of this report it can be reproduced thus: # pkg install softhsm2 p11-kit > /dev/null && p11-kit list-modules | grep -ic softhsm 0 That is, when softhsm2 is installed, it does not install a p11-kit .module file for itself (or even direct the user to do so), and thus applications don't *find* and use it. Ideally this stuff should Just Work™.
cf. https://github.com/opendnssec/SoftHSMv2/issues/230
I'm following the discussion on the issue and will incorporate when it comes available
Is this still a problem or is it fixed?
It is fixed in the upstream but never hit the port. I will have a revised port out ASAP.
Created attachment 189509 [details] patch to fix problem Installs the p11 module and bumps the revision
Quick test p11-kit list-modules | grep -ic softhsm 6 seens solved, thanks
Committed, thanks!
A commit references this bug: Author: pi Date: Mon Jan 8 13:32:53 UTC 2018 New revision: 458409 URL: https://svnweb.freebsd.org/changeset/ports/458409 Log: 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 Changes: head/security/softhsm2/Makefile head/security/softhsm2/pkg-plist