public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/softhsm] rawhide: SoftHSMv2 2.7.0 release and OpenSSL v4 compatibility
@ 2026-06-24 20:19 Alexander Bokovoy
  0 siblings, 0 replies; only message in thread
From: Alexander Bokovoy @ 2026-06-24 20:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/softhsm
            Branch : rawhide
            Commit : 43fc8cffa939b240b2ad558fdf8862187649ae74
            Author : Alexander Bokovoy <abokovoy@redhat.com>
            Date   : 2026-06-24T23:19:28+03:00
            Stats  : +16/-12 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/softhsm/c/43fc8cffa939b240b2ad558fdf8862187649ae74?branch=rawhide

            Log:
            SoftHSMv2 2.7.0 release and OpenSSL v4 compatibility

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index 6139c50..05a19b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@
 /softhsm-2.6.1.tar.gz
 /softhsm-2.6.1.tar.gz.sig
 /SoftHSMv2-2.7.0-rc1.tar.gz
+/SoftHSMv2-2.7.0.tar.gz

diff --git a/softhsm.spec b/softhsm.spec
index 3402c75..76d8cd2 100644
--- a/softhsm.spec
+++ b/softhsm.spec
@@ -1,11 +1,11 @@
-%global prever rc1
+#global prever rc1
 #global prerelease yes
 %global origname SoftHSMv2
 
 Summary: Software version of a PKCS#11 Hardware Security Module
 Name: softhsm
 Version: 2.7.0
-Release: %{?prever:0.}1%{?prever:.%{prever}}%{?dist}.4
+Release: 1%{?dist}
 License: BSD-2-clause
 # Upstream moved to a separate namespace from OpenDNSSEC
 Url: http://www.softhsm.org/
@@ -19,6 +19,10 @@ Patch0: memory-leaks-and-openssl-4.patch
 # as discussed at https://github.com/softhsm/SoftHSMv2/issues/729
 # with a minor update to reset objects_deleted after reset-on-fork
 Patch1: prevent-global-deleted-objects-access.patch
+# Skip tests for crypto algorithms not supported by the OpenSSL build
+# (SHA-1 signing, DSA, single DES), fix fork test child process termination,
+# and enable command-line test suite selection in p11test
+Patch2: softhsm-skip-unsupported-crypto-tests.patch
 
 BuildRequires: make
 BuildRequires: openssl-devel >= 1.0.1k-6, sqlite-devel >= 3.4.2, cppunit-devel
@@ -42,9 +46,7 @@ with other cryptographic products because of the PKCS#11 interface.
 %package devel
 Summary: Development package of softhsm that includes the header files
 Requires: %{name} = %{version}-%{release}, openssl-devel, sqlite-devel
-%if 0%{?prever:1} || 0%{?prerelease:1}
 BuildRequires: autoconf, libtool, automake
-%endif
 
 %description devel
 The devel package contains the libsofthsm include files
@@ -53,14 +55,9 @@ The devel package contains the libsofthsm include files
 %setup -q -n %{origname}-%{version}%{?prever:-%prever}
 %autopatch -p1
 
-%if 0%{?prever:1} || 0%{?prerelease:1}
-   # pre-release or post-release snapshots fixup
-   sed -i 's:^full_libdir=":#full_libdir=":g' configure.ac
+# Our patches modify configure.ac, so we need to regenerate
+sed -i 's:^full_libdir=":#full_libdir=":g' configure.ac
 autoreconf -fiv
-%else
-   # remove softhsm/ subdir auto-added to --libdir
-   sed -i 's:full_libdir/softhsm:full_libdir:g' configure
-%endif
 
 %build
 # This package fails its testsuite with LTO enabled and needs further
@@ -136,6 +133,12 @@ if [ -f /var/softhsm/slot0.db ]; then
 fi
 
 %changelog
+* Wed Jun 24 2026 Alexander Bokovoy <abokovoy@redhat.com> - 2.7.0-1
+- Update to upstream release 2.7.0
+- Skip SHA-1 signing, DSA, and single DES tests when not supported
+- Fix fork tests to properly terminate child processes
+- Enable command-line test suite selection in p11test
+
 * Mon Jun 15 2026 Pavol Žáčik <pzacik@redhat.com> - 2.7.0-0.1.rc1.4
 - Bring back the patch that prevents access to global C++ variables
   once they are destroyed (with a minor adjustment).

diff --git a/sources b/sources
index 87f86ce..91f2053 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (SoftHSMv2-2.7.0-rc1.tar.gz) = 4c0d5cc2e45f14d224eb5d93eb4cc920fa61dd8f5aac87648c3dea4249e63e11837cccab549810c1954f2037bca5b9355c68c133685a9a172966642e46f5c5e4
+SHA512 (SoftHSMv2-2.7.0.tar.gz) = 8f24d513cbc4bebe9e244dc1231409cd42ee38de3e1ad72f98e74231a5efdeb0bd9b08197ba7885318bc3d44ebd4c7afb36ca2e236875031147fba118278f277

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 20:19 [rpms/softhsm] rawhide: SoftHSMv2 2.7.0 release and OpenSSL v4 compatibility Alexander Bokovoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox