Hello community, here is the log from the commit of package libica for openSUSE:Factory checked in at 2018-11-18 23:32:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libica (Old) and /work/SRC/openSUSE:Factory/.libica.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libica" Sun Nov 18 23:32:07 2018 rev:12 rq:649819 version:3.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libica/libica.changes 2018-10-23 20:41:50.428440362 +0200 +++ /work/SRC/openSUSE:Factory/.libica.new/libica.changes 2018-11-18 23:32:13.901478400 +0100 @@ -1,0 +2,26 @@ +Wed Nov 14 18:01:37 UTC 2018 - mp...@suse.com + +- Upgraded to version 3.3.3 (Fate#325690) + * v3.3.3 + [PATCH] Various bug fixes + * v3.3.2 + [PATCH] Skip ECC tests if required HW is not available + [PATCH] Update spec file + * v3.3.1 + [PATCH] Fix configure.ac to honour CFLAGS + * v3.3.0 + [FEATURE] Add CEX supported elliptic-curve crypto interfaces + [FEATURE] Add SIMD supported multiple-precision arithmetic interfaces + [FEATURE] Add interface to enable/disable SW fallbacks + [FEATURE] Add 'make check' target, test-suite rework + * v3.2.1 + [FEATURE] Use z14 PRNO-TRNG to seed SHA512-DRBG. + [PATCH] Various bug fixes. +- Dropped obsolete patch increment-icastats-counter-for-aes-gcm.patch +- Removed COPYING from %files, since it is no longer in the tarball. +- Added Add-non-executable-gnu-stack-markings-in-the-assembl.patch + (bsc#1103493). +- Made multiple changes to the spec file based on the output of + spec-cleaner + +------------------------------------------------------------------- Old: ---- increment-icastats-counter-for-aes-gcm.patch libica-3.2.0.tar.gz New: ---- Add-non-executable-gnu-stack-markings-in-the-assembl.patch libica-3.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libica.spec ++++++ --- /var/tmp/diff_new_pack.bkYYCy/_old 2018-11-18 23:32:14.721477413 +0100 +++ /var/tmp/diff_new_pack.bkYYCy/_new 2018-11-18 23:32:14.721477413 +0100 @@ -18,20 +18,16 @@ #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: libica -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: openssl-devel +Version: 3.3.3 +Release: 0 Summary: Library interface for the IBM Cryptographic Accelerator device driver License: CPL-1.0 Group: Hardware/Other -Version: 3.2.0 -Release: 0 +Url: https://github.com/opencryptoki/libica Source: libica-%{version}.tar.gz Source1: libica-SuSE.tar.bz2 # The icaioctl.h file came from https://sourceforge.net/p/opencryptoki/icadd/ci/master/tree/ @@ -40,11 +36,14 @@ Source5: sysconfig.z90crypt Source6: baselibs.conf Source7: %{name}-rpmlintrc -Patch1: increment-icastats-counter-for-aes-gcm.patch - -Url: https://github.com/opencryptoki/libica -BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %fillup_prereq %insserv_prereq +Patch1: Add-non-executable-gnu-stack-markings-in-the-assembl.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: openssl-devel +PreReq: %fillup_prereq +PreReq: %insserv_prereq ExclusiveArch: s390 s390x %description @@ -78,12 +77,12 @@ %package devel Summary: Development files for the ICA device driver interface library Group: Development/Libraries/C and C++ +Requires: libica3 = %{version} +Requires: libopenssl-devel Obsoletes: libica-2_1_0-devel < %{version}-%{release} Provides: libica-2_1_0-devel = %{version}-%{release} Obsoletes: libica-2_3_0-devel < %{version}-%{release} Provides: libica-2_3_0-devel = %{version}-%{release} -Requires: libica3 = %{version} -Requires: libopenssl-devel %description devel This package contains the interface library routines used by IBM @@ -107,35 +106,37 @@ the libica library. %prep -%setup -a 1 +%setup -q -a 1 %patch1 -p1 %build mkdir -p include/linux/ -cp %{S:3} include/linux/ +cp %{SOURCE3} include/linux/ autoreconf --force --install -%configure CPPFLAGS="-Iinclude -fPIC" CFLAGS="%optflags -fPIC" \ +%configure CPPFLAGS="-Iinclude -fPIC" CFLAGS="%{optflags} -fPIC" \ --enable-fips make clean make %{?_smp_mflags} %install -mkdir -p $RPM_BUILD_ROOT/usr/include -make DESTDIR=$RPM_BUILD_ROOT install -cp -p include/ica_api.h $RPM_BUILD_ROOT/usr/include -cp -a SuSE/* $RPM_BUILD_ROOT -install -D %{S:5} $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.z90crypt -cp -a $RPM_SOURCE_DIR/README.SUSE . -rm -f $RPM_BUILD_ROOT/%{_libdir}/libica.la +mkdir -p %{buildroot}%{_includedir} +%make_install +cp -p include/ica_api.h %{buildroot}%{_includedir} +cp -a SuSE/* %{buildroot} +install -D %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.z90crypt +cp -a %{_sourcedir}/README.SUSE . +rm -f %{buildroot}%{_libdir}/libica.la +rm -f %{buildroot}%{_datadir}/doc/libica/* +rmdir %{buildroot}%{_datadir}/doc/libica -%post +%post tools %{fillup_and_insserv -n boot.z90crypt} -%preun +%preun tools %stop_on_removal boot.z90crypt -%postun +%postun tools %restart_on_update boot.z90crypt %{insserv_cleanup} @@ -148,20 +149,21 @@ %files tools %defattr(-, root, root) -%doc README.SUSE COPYING LICENSE +%license LICENSE +%doc README.SUSE %{_initddir}/boot.z90crypt %{_sbindir}/rcz90crypt %attr(0644,root,root) %{_fillupdir}/sysconfig.z90crypt %{_bindir}/icainfo %{_bindir}/icastats -%{_mandir}/man1/icainfo.1.gz -%{_mandir}/man1/icastats.1.gz +%{_mandir}/man1/icainfo.1%{?ext_man} +%{_mandir}/man1/icastats.1%{?ext_man} # Must be in here, otherwise openssl-ibmca does not find it via DSO_load() bsc#952871 %{_libdir}/libica.so %files devel %defattr(-, root, root) -%attr(0644,root,root) /usr/include/ica_api.h +%attr(0644,root,root) %{_includedir}/ica_api.h %files devel-static %defattr(-, root, root) ++++++ Add-non-executable-gnu-stack-markings-in-the-assembl.patch ++++++ >From 524659f8e042aed45015e1aca930a3cfe5ffa628 Mon Sep 17 00:00:00 2001 From: Patrick Steuer <patrick.ste...@de.ibm.com> Date: Tue, 12 Jun 2018 14:36:45 +0200 Subject: [PATCH 303/303] Add non-executable gnu stack markings in the assembly. Signed-off-by: Patrick Steuer <patrick.ste...@de.ibm.com> --- src/mp.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mp.pl b/src/mp.pl index 3c73736..e249f61 100755 --- a/src/mp.pl +++ b/src/mp.pl @@ -505,4 +505,8 @@ LONG (0x100e0f00,0x01020304,0x10050607,0x18191a1b); LONG (0x10000102,0x03040506,0x10071819,0x1a1b1c1d); LONG (0x00000000,0x00000018,0x00191a1b,0x1c1d1e1f); +VERBATIM("#if defined(__linux__) && defined(__ELF__)\n"); +SECTION (".note.GNU-stack,\"\",%progbits"); +VERBATIM("#endif\n"); + PERLASM_END(); -- 2.13.7 ++++++ libica-3.2.0.tar.gz -> libica-3.3.3.tar.gz ++++++ ++++ 55853 lines of diff (skipped)