Compare commits
No commits in common. "c10s" and "c8-beta" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1 @@
|
|||||||
/libzpc-1.0.1.tar.gz
|
SOURCES/libzpc-1.2.0.tar.gz
|
||||||
/libzpc-1.1.0.tar.gz
|
|
||||||
/libzpc-1.1.1.tar.gz
|
|
||||||
/libzpc-1.2.0.tar.gz
|
|
||||||
/libzpc-1.4.0.tar.gz
|
|
||||||
|
1
.libzpc.metadata
Normal file
1
.libzpc.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
5acf42a9922f3d7115183b77372d271ef4196e23 SOURCES/libzpc-1.2.0.tar.gz
|
90
SPECS/libzpc.spec
Normal file
90
SPECS/libzpc.spec
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
Name: libzpc
|
||||||
|
Version: 1.2.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Open Source library for the IBM Z Protected-key crypto feature
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
Url: https://github.com/opencryptoki/libzpc
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
ExclusiveArch: s390x
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: cpp
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: json-c-devel
|
||||||
|
|
||||||
|
#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
|
||||||
|
protected-key feature which ensures that key material is never present in
|
||||||
|
main memory at any time.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup %{name}-%{version}
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%ctest
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md CHANGES.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/%{name}.so.%{soversion}*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/zpc/
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
%{_libdir}/%{name}.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jan 12 2024 Jakub Čajka <jcajka@redhat.com> - 1.2.0-1
|
||||||
|
- Update to 1.2.0
|
||||||
|
- Resolves: RHEL-11418
|
||||||
|
* Wed Nov 15 2023 Jakub Čajka <jcajka@redhat.com> - 1.1.1-1
|
||||||
|
- Update to 1.1.1
|
||||||
|
- Resolves: RHEL-11418
|
||||||
|
* Mon May 15 2023 Jakub Čajka <jcajka@redhat.com> - 1.1.0-1
|
||||||
|
- Update to version 1.1.0
|
||||||
|
- Support for ECC
|
||||||
|
- Resolves: RHBZ#2174732, RHBZ#2110916
|
||||||
|
* Mon Nov 21 2022 Jakub Čajka <jcajka@redhat.com> - 1.0.1-1
|
||||||
|
- Initial package import
|
||||||
|
- Resolves: RHBZ#1924121, RHBZ#2131664
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-10
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.beaker-tier1.functional}
|
|
128
libzpc.spec
128
libzpc.spec
@ -1,128 +0,0 @@
|
|||||||
Name: libzpc
|
|
||||||
Version: 1.4.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Open Source library for the IBM Z Protected-key crypto feature
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
Url: https://github.com/opencryptoki/libzpc
|
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
ExclusiveArch: s390x
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: g++
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: json-c-devel
|
|
||||||
|
|
||||||
#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
|
|
||||||
protected-key feature which ensures that key material is never present in
|
|
||||||
main memory at any time.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for %{name}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
The %{name}-devel package contains libraries and header files for
|
|
||||||
developing applications that use %{name}.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup %{name}-%{version}
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
|
||||||
%ctest
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc README.md CHANGES.md
|
|
||||||
%license LICENSE
|
|
||||||
%{_libdir}/%{name}.so.%{soversion}*
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%{_includedir}/zpc/
|
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
|
||||||
%{_libdir}/%{name}.so
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Jul 07 2025 Jakub Čajka <jcajka@redhat.com> - 1.4.0-1
|
|
||||||
- Update to 1.4.0
|
|
||||||
- Resolves: RHEL-73375, RHEL-72685
|
|
||||||
|
|
||||||
* Thu Nov 14 2024 Jakub Čajka <jcajka@redhat.com> - 1.2.0-8
|
|
||||||
- Release bump
|
|
||||||
- Related: RHEL-64018
|
|
||||||
|
|
||||||
* Tue Nov 12 2024 Jakub Čajka <jcajka@redhat.com> - 1.2.0-7
|
|
||||||
- Release bump
|
|
||||||
- Related: RHEL-64018
|
|
||||||
|
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-6
|
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-5
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 12 2024 Joerg Schmidbauer <jschmidb@de.ibm.com> - 1.2.0
|
|
||||||
- Support for get/set intermediate iv for CBC and XTS
|
|
||||||
- Support for internal iv for GCM
|
|
||||||
- Exploit KBLOB2PROTK3 ioctl for clear AES and EC keys
|
|
||||||
- Fix AES EP11 version 6 key support for generate and import_clear
|
|
||||||
|
|
||||||
* Wed Sep 20 2023 Joerg Schmidbauer <jschmidb@de.ibm.com> - 1.1.1
|
|
||||||
- Exploit PKEY_KBLOB2PROTK2 for AES EP11 version 6 keys
|
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 02 2023 Joerg Schmidbauer <jschmidb@de.ibm.com> - 1.1.0
|
|
||||||
- Support for ECC keys and ECDSA signatures.
|
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 22 2022 Joerg Schmidbauer <jschmidb@de.ibm.com> - 1.0.1
|
|
||||||
- Updated spec file for rpm build and changed location
|
|
||||||
of pkgconfig file to libdir.
|
|
||||||
|
|
||||||
* Mon Feb 21 2022 Joerg Schmidbauer <jschmidb@de.ibm.com> - 1.0.0
|
|
||||||
- Initial version based on libzpc provided by Patrick Steuer,
|
|
||||||
<steuer@linux.vnet.ibm.com>
|
|
||||||
|
|
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (libzpc-1.4.0.tar.gz) = 51bdaf6f398868caddff1da572ee03fc9c725eac45610781314a71ebae873ccb70aed7fe32b30c7839726860567be617dc8f92a41ad0900506e87fb02cb48af4
|
|
@ -1,8 +0,0 @@
|
|||||||
summary: Basic smoke test
|
|
||||||
discover:
|
|
||||||
- name: internal
|
|
||||||
how: fmf
|
|
||||||
ref: master
|
|
||||||
url: git://pkgs.devel.redhat.com/tests/libzpc
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
Loading…
Reference in New Issue
Block a user