public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Holger Dengler <dengler@linux.ibm.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libzpc] rawhide: Upgrade to new upstream version 2.0.0
Date: Thu, 11 Jun 2026 11:27:44 GMT [thread overview]
Message-ID: <178117726426.1.14548309675563327324.rpms-libzpc-8e47575a8a96@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libzpc
Branch : rawhide
Commit : 8e47575a8a96dd97949e66a048a9246e464064b5
Author : Holger Dengler <dengler@linux.ibm.com>
Date : 2026-06-11T13:14:06+02:00
Stats : +46/-32 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/libzpc/c/8e47575a8a96dd97949e66a048a9246e464064b5?branch=rawhide
Log:
Upgrade to new upstream version 2.0.0
- New OpenSSL provider API
- Drop shared library API
- Split package (multi-arch)
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
---
diff --git a/.gitignore b/.gitignore
index 79af312..8d2804b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/libzpc-1.4.0.tar.gz
/libzpc-1.4.1.tar.gz
/libzpc-1.5.0.tar.gz
+/libzpc-2.0.0.tar.gz
diff --git a/libzpc.spec b/libzpc.spec
index 169df27..8f78786 100644
--- a/libzpc.spec
+++ b/libzpc.spec
@@ -1,5 +1,5 @@
Name: libzpc
-Version: 1.5.0
+Version: 2.0.0
Release: %autorelease
Summary: Open Source library for the IBM Z Protected-key crypto feature
@@ -7,56 +7,61 @@ License: MIT
Url: https://github.com/opencryptoki/libzpc
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-ExclusiveArch: s390x
+Requires: openssl >= 3.0.7
+
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: g++
BuildRequires: make
+BuildRequires: clang-tools-extra
+BuildRequires: pandoc
BuildRequires: json-c-devel
+BuildRequires: openssl-devel >= 3.0.7
-#Additional prerequisites for building the test program: libjson-c devel
-#Additional prereqs for building the html and latex doc: doxygen >= 1.8.17, latex, bibtex
-
-# Be explicit about the soversion in order to avoid unintentional changes.
-%global soversion 1
%description
-The IBM Z Protected-key Crypto library libzpc is an open-source library
-targeting the 64-bit Linux on IBM Z (s390x) platform. It provides interfaces
-for cryptographic primitives. The underlying implementations make use of
-z/Architecture's extensive performance-boosting hardware support and its
+The IBM Z Protected-key Crypto library %{name} is an open-source project
+targeting the 64-bit Linux on IBM Z (s390x) platform. It provides access
+to z/Architecture's extensive performance-boosting hardware support and its
protected-key feature which ensures that key material is never present in
main memory at any time.
-%package devel
-Summary: Development files for %{name}
+
+%ifarch s390x
+%package provider
+Summary: OpenSSL provider module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
-%description devel
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{name}.
+%description provider
+The %{name}-provider package contains a provider module for OpenSSL v3.0 (and
+later), interfacing to the protected key feature of z/Architecture.
+%endif
+
+
+%package tools
+Summary: Key management tool for %{name} keys
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tools
+The %{name}-tools package contains a key management tool for key origins.
+As the protected keys itself are volatile, the tooling can be used to manage
+persistent protected key origins, from which protected keys can be (re-)derived.
%prep
%autosetup %{name}-%{version}
+%global modulesdir %(pkg-config --variable=modulesdir libcrypto)
-# The following options can be passed to cmake:
-# -DCMAKE_INSTALL_PREFIX=<path> :
-# Change the install prefix from `/usr/local/` to `<path>`.
-# -DCMAKE_BUILD_TYPE=<type> : Choose predefined build options.
-# The choices for `<type>` are `Debug`, `Release`, `RelWithDebInfo`,
-# and `MinSizeRel`.
-# -DBUILD_SHARED_LIBS=ON : Build a shared object (instead of an archive).
-# -DBUILD_TEST=ON : Build the test program.
-# -DBUILD_DOC=ON : Build the html and latex doc.
%build
%cmake
%cmake_build
-
%install
%cmake_install
-
+%ifarch s390x
+install -m644 %_vpath_builddir/hbkzpcprovider.conf \
+ -D -t $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/openssl.d/
+%endif
%check
%ctest
@@ -65,13 +70,20 @@ developing applications that use %{name}.
%files
%doc README.md CHANGES.md
%license LICENSE
-%{_libdir}/%{name}.so.%{soversion}*
+%ifarch s390x
+%files provider
+%license LICENSE
+%{modulesdir}/zpcprovider.so
+%{_mandir}/man5/hbkzpcprovider.conf.5*
+%{_mandir}/man7/hbkzpcprovider.7*
+%config(noreplace) %{_sysconfdir}/pki/tls/openssl.d/hbkzpcprovider.conf
+%endif
-%files devel
-%{_includedir}/zpc/
-%{_libdir}/pkgconfig/%{name}.pc
-%{_libdir}/%{name}.so
+%files tools
+%license LICENSE
+%{_bindir}/zpckey
+%{_mandir}/man1/zpckey.1*
%changelog
diff --git a/sources b/sources
index 1e7c9f5..a074c13 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (libzpc-1.5.0.tar.gz) = 8102f94119a0119eda2d1a0600f5ae2e41cd39d10eb6d9ba4aade4eac0d6bcf3b788f3632863f53198904ad304595136ed1f5b58858259dbc72b96cb39cb887d
+SHA512 (libzpc-2.0.0.tar.gz) = 7505953d59a86ce43d521dc76f0e071bf81e5ee9a5272994d62cde6d729618fb831f56ece4dd67b3e71da01bd08d3f622c9b58ea437e4c3983ff3790401c4fdb
reply other threads:[~2026-06-11 11:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178117726426.1.14548309675563327324.rpms-libzpc-8e47575a8a96@fedoraproject.org \
--to=dengler@linux.ibm.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox