[Bug 292670] security/softhsm2: Update to release 2.7.0 available

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 Feb 2026 00:44:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292670

--- Comment #13 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Jaap Akkerhuis from comment #12)
You removed build migration tool and sqlite "objectstore-backend-db" - why?

My suggestion for Makefile:
@@ -1,39 +1,34 @@
 PORTNAME=      softhsm
-PORTVERSION=   2.6.1
-PORTREVISION=  4
+DISTVERSION=   2.7.0
 CATEGORIES=    security
-MASTER_SITES=  http://dist.opendnssec.org/source/ \
-               http://dist.opendnssec.org/source/testing/
 PKGNAMESUFFIX= 2

 MAINTAINER=    jaap@NLnetLabs.nl
 COMMENT=       Software implementation of a Hardware Security Module (HSM)
-WWW=           https://www.opendnssec.org/
+WWW=           https://www.softhsm.org/

 LICENSE=       BSD2CLAUSE
 LICENSE_FILE=  ${WRKSRC}/LICENSE

-MY_DEPENDS+=           p11-kit:security/p11-kit
-BUILD_DEPENDS+=                ${MY_DEPENDS}
-RUN_DEPENDS+=          ${MY_DEPENDS}
+MY_DEPENDS=    p11-kit:security/p11-kit
+BUILD_DEPENDS= ${MY_DEPENDS}
+RUN_DEPENDS=   ${MY_DEPENDS}

-USES=          compiler:c++11-lang libtool pkgconfig ssl
+USES=          autoreconf compiler:c++11-lang libtool pkgconfig ssl
+USE_GITHUB=    yes
+GH_PROJECT=    SoftHSMv2

 GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-
-CONFIGURE_ARGS+=       --with-crypto-backend=openssl \
-                       --with-openssl=${OPENSSLBASE} \
-                       --disable-gost
+CONFIGURE_ARGS=        --disable-gost \
+               --with-crypto-backend=openssl \
+               --with-openssl=${OPENSSLBASE}

 INSTALL_TARGET=        install-strip

-CONFLICTS=     softhsm-1.*
-
 SUB_FILES=     pkg-message

 OPTIONS_DEFINE=                SQLITE MIGRATE
-OPTIONS_DEFAULT=       CRYP_OPEN SQLITE MIGRATE
+OPTIONS_DEFAULT=       SQLITE MIGRATE

 OPTIONS_SUB=           yes
 MIGRATE_DESC=          Build the migration tool

pkg-plist (sort):
@@ -12,9 +12,9 @@ share/man/man1/softhsm2-keyconv.1.gz
 %%MIGRATE%%share/man/man1/softhsm2-migrate.1.gz
 share/man/man1/softhsm2-util.1.gz
 share/man/man5/softhsm2.conf.5.gz
+share/p11-kit/modules/softhsm2.module
+@dir share/p11-kit/modules
+@dir share/p11-kit
 @dir /var/lib/softhsm/tokens
 @dir /var/lib/softhsm
 @dir /var/lib
-@dir share/p11-kit/modules
-@dir share
-share/p11-kit/modules/softhsm2.module

-- 
You are receiving this mail because:
You are the assignee for the bug.