Accepting request 929077 from security

- libzpc-sles15p4-mark-stack-nonexec.patch: note the asssembler as
  non execstack
- libzpc-rpmlintrc removed
- Cleaned up the wording in the description. Updated the
  summaries to actually reflect the contents of the packages.
- Changed the %setup macro to use $autosetup instead.
- Added a BuildRequires for texlive-bibtex-bin

OBS-URL: https://build.opensuse.org/request/show/929077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzpc?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-11-04 15:09:56 +00:00 committed by Git OBS Bridge
commit 197f49b5b0
4 changed files with 36 additions and 15 deletions

View File

@ -1,2 +0,0 @@
addFilter("libzpc1.* executable-stack /usr/lib64/libzpc.so")

View File

@ -0,0 +1,7 @@
--- libzpc-1.0.0/src/misc_asm.S.xx 2021-11-02 15:41:24.603185606 +0100
+++ libzpc-1.0.0/src/misc_asm.S 2021-11-02 15:41:33.667185600 +0100
@@ -58,3 +58,4 @@
.cfi_endproc
.size memcmp_consttime, .-memcmp_consttime
.size memcmp_consttime,.-memcmp_consttime
+.section .note.GNU-stack,"",@progbits

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Nov 2 14:42:14 UTC 2021 - Marcus Meissner <meissner@suse.com>
- libzpc-sles15p4-mark-stack-nonexec.patch: note the asssembler as
non execstack
- libzpc-rpmlintrc removed
-------------------------------------------------------------------
Mon Nov 1 15:46:47 UTC 2021 - Mark Post <mpost@suse.com>
- Cleaned up the wording in the description. Updated the
summaries to actually reflect the contents of the packages.
- Changed the %setup macro to use $autosetup instead.
- Added a BuildRequires for texlive-bibtex-bin
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 19 21:49:30 UTC 2021 - Mark Post <mpost@suse.com> Tue Oct 19 21:49:30 UTC 2021 - Mark Post <mpost@suse.com>

View File

@ -24,24 +24,24 @@ License: Apache-2.0
Group: Productivity/Security Group: Productivity/Security
URL: https://github.com/opencryptoki/libzpc URL: https://github.com/opencryptoki/libzpc
Source: libzpc-1.0.0.tar.gz Source: libzpc-1.0.0.tar.gz
Source1: %{name}-rpmlintrc Patch0: libzpc-sles15p4-mark-stack-nonexec.patch
BuildRequires: cmake >= 3.10 BuildRequires: cmake >= 3.10
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libjson-c-devel BuildRequires: libjson-c-devel
BuildRequires: texlive-bibtex-bin
ExclusiveArch: s390x ExclusiveArch: s390x
%description %description
The IBM Z Protected-key Crypto library libzpc is an open-source The IBM Z Protected-key Crypto library libzpc is a library targeting
library targeting the 64-bit Linux on IBM Z (s390x) platform. It the 64-bit Linux on IBM Z (s390x) platform. It provides interfaces for
provides interfaces for cryptographic primitives. The underlying cryptographic primitives. The underlying implementations make use of
implementations make use of z/Architecture's extensive z/Architecture's performance-boosting hardware support and its
performance-boosting hardware support and its protected-key feature protected-key feature which ensures that key material is never present
which ensures that key material is never present in main memory at any in main memory at any time.
time.
%package -n libzpc1 %package -n libzpc1
Summary: Library Summary: IBM Z Protected-key Crypto library
Group: System/Libraries Group: System/Libraries
%description -n libzpc1 %description -n libzpc1
@ -49,15 +49,16 @@ This package contains the shared library to work with the
IBM protected-key cryptography hardware IBM protected-key cryptography hardware
%package devel %package devel
Summary: Deep Learning Library development files Summary: Header files for the IBM Z Protected-key Crypto library
Requires: libzpc0 = %{version}-%{release} Group: Productivity/Security
Requires: libzpc1 = %{version}-%{release}
%description devel %description devel
This package provides the sole include file and symbolic link to the This package provides the header files and symbolic link to the
shared library for the libzpc RPM. shared library for the libzpc RPM.
%prep %prep
%setup -q %autosetup -p1
%build %build
mkdir build && cd build mkdir build && cd build