Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkcapi for openSUSE:Factory 
checked in at 2025-04-07 17:35:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkcapi (Old)
 and      /work/SRC/openSUSE:Factory/.libkcapi.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkcapi"

Mon Apr  7 17:35:05 2025 rev:10 rq:1267100 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkcapi/libkcapi.changes        2023-03-07 
16:49:19.433265510 +0100
+++ /work/SRC/openSUSE:Factory/.libkcapi.new.1907/libkcapi.changes      
2025-04-07 17:35:12.885304112 +0200
@@ -1,0 +2,26 @@
+Fri Apr  4 09:41:07 UTC 2025 - Marcus Meissner <meiss...@suse.com>
+
+- fixed sumprefix to be "." as before, also stores sums in the binary
+  directoris. changed back packaging to be same as before.
+
+-------------------------------------------------------------------
+Sun Mar 16 21:59:36 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- update to 1.5.0:
+  * kcapi-hasher is a new multi-call binary with a single hmac
+  * move all sha* applications to the libexec directory to allow
+    them to coexist with other packages sha* applications - the
+    caller is expected to make a symlink to them
+  * add sha3sum
+  * add kcapi_md_sha3_* wrapper APIs
+  * kcapi-enc: allow larger keysizes
+  * kcapi-enc: PBKDF limits key size to 32 bytes
+  * kcapi-enc: Add option --key-len to kcapi-enc to specify the
+    length of key
+  * library: set default log level to NONE
+  * performance improvements
+- HMACs are now all sha512hmac, and in (libdir)/hmaccalc
+- code is dual-licended GPL-2.0-only / BSD-3-Clause
+- package license texts
+
+-------------------------------------------------------------------

Old:
----
  libkcapi-1.4.0.tar.xz
  libkcapi-1.4.0.tar.xz.asc

New:
----
  libkcapi-1.5.0.tar.xz
  libkcapi-1.5.0.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkcapi.spec ++++++
--- /var/tmp/diff_new_pack.N169II/_old  2025-04-07 17:35:13.365324190 +0200
+++ /var/tmp/diff_new_pack.N169II/_new  2025-04-07 17:35:13.365324190 +0200
@@ -1,7 +1,8 @@
 #
 # spec file for package libkcapi
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +17,16 @@
 #
 
 
+%define sover 1
 Name:           libkcapi
-Version:        1.4.0
+Version:        1.5.0
 Release:        0
 Summary:        Linux Kernel Crypto API User Space Interface Library
-License:        GPL-2.0-only
+License:        BSD-3-Clause OR GPL-2.0-only
 Group:          Productivity/Security
-URL:            https://www.chronox.de/libkcapi.html
-Source:         https://www.chronox.de/libkcapi/libkcapi-%{version}.tar.xz
-Source1:        https://www.chronox.de/libkcapi/libkcapi-%{version}.tar.xz.asc
+URL:            https://www.chronox.de/libkcapi/
+Source:         
https://www.chronox.de/libkcapi/releases/%{version}/%{name}-%{version}.tar.xz
+Source1:        
https://www.chronox.de/libkcapi/releases/%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        libkcapi.keyring
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -37,17 +39,17 @@
 Netlink interface handling that is used for accesing the Linux kernel crypto
 API.
 
-%package -n libkcapi1
+%package -n libkcapi%{sover}
 Summary:        Linux Kernel Crypto API User Space Interface Library
 Group:          System/Libraries
 
-%description -n libkcapi1
+%description -n libkcapi%{sover}
 libkcapi allows user-space to access the Linux kernel crypto API.
 
 %package devel
 Summary:        Linux Kernel Crypto API User Space Interface Library
 Group:          Development/Languages/C and C++
-Requires:       libkcapi1 = %{version}
+Requires:       libkcapi%{sover} = %{version}
 
 %description devel
 libkcapi exports APIs so that developers need not consider the low-level
@@ -76,7 +78,7 @@
 %autosetup -p1
 
 %build
-autoreconf -i
+autoreconf -fiv
 %configure                     \
   --disable-static             \
   --enable-kcapi-test          \
@@ -84,79 +86,48 @@
   --enable-kcapi-hasher                \
   --enable-kcapi-rngapp                \
   --enable-kcapi-encapp                \
-  --enable-kcapi-dgstapp
-
-make %{?_smp_mflags}
+  --enable-kcapi-dgstapp       \
+  %{nil}
+%make_build
 
 %install
-make install DESTDIR=%{buildroot} LIBDIR="%{_libdir}" 
BINDIR=/%{_libexecdir}/libkcapi/ %{?_smp_mflags}
-rm %{buildroot}/%_libdir/libkcapi.la
-
-mkdir -p %{buildroot}/%{_libexecdir}/libkcapi/
-mv %{buildroot}/usr/bin/* %{buildroot}/%{_libexecdir}/libkcapi/
-mv %{buildroot}/usr/bin/.??* %{buildroot}/%{_libexecdir}/libkcapi/
-
-# Add generation of HMAC checksums of the final fipshmac fipscheck stripped 
binaries
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
+# do not ship hmac files unless we (re)generated them
+find %{buildroot} -type f -name "*.hmac" -delete -print
+# Add generation of HMAC checksums of the libary and kcapi-hasher binary
 %define __spec_install_post \
        %{?__debug_package:%{__debug_install_post}} \
        %{__arch_install_post} \
-       %{__os_install_post} \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/fipscheck   |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.fipscheck.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/fipshmac   |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.fipshmac.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha1sum   |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha1sum.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha256sum |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha256sum.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha384sum |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha384sum.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha512sum |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha512sum.hmac \
-       openssl sha512 -hmac FIPS-FTW-RHT2009 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha1hmac   |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha1hmac.hmac \
-       openssl sha512 -hmac FIPS-FTW-RHT2009 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha256hmac |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha256hmac.hmac \
-       openssl sha512 -hmac FIPS-FTW-RHT2009 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha384hmac |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha384hmac.hmac \
-       openssl sha512 -hmac FIPS-FTW-RHT2009 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/sha512hmac |sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%{_libexecdir}/libkcapi/.sha512hmac.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%_libdir/libkcapi.so|sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%_libdir/.libkcapi.so.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%_libdir/libkcapi.so.1|sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%_libdir/.libkcapi.so.1.hmac \
-       openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP 
$RPM_BUILD_ROOT/%_libdir/libkcapi.so.%version|sed -e 's/.* //;' > 
$RPM_BUILD_ROOT/%_libdir/.libkcapi.so.%version.hmac \
+       %__os_install_post \
+       openssl sha512 -hmac FIPS-FTW-RHT2009 
%{buildroot}/%{_bindir}/kcapi-hasher |sed -e 's/.* //;' > 
%{buildroot}/%{_bindir}/.kcapi-hasher.hmac \
+       openssl sha512 -hmac FIPS-FTW-RHT2009 
%{buildroot}/%{_libdir}/libkcapi.so.%{version}|sed -e 's/.* //;' > 
%{buildroot}/%{_libdir}/.libkcapi.so.%{version}.hmac \
+       openssl sha512 -hmac FIPS-FTW-RHT2009 
%{buildroot}/%{_libdir}/libkcapi.so.%{sover}|sed -e 's/.* //;' > 
%{buildroot}/%{_libdir}/.libkcapi.so.%{sover}.hmac \
+       openssl sha512 -hmac FIPS-FTW-RHT2009 
%{buildroot}/%{_libdir}/libkcapi.so|sed -e 's/.* //;' > 
%{buildroot}/%{_libdir}/.libkcapi.so.hmac \
        %{nil}
 
-%post -n libkcapi1 -p /sbin/ldconfig
-
-%postun -n libkcapi1 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libkcapi%{sover}
 
-%files -n libkcapi1
-%license COPYING
+%files -n libkcapi%{sover}
+%license COPYING COPYING.bsd COPYING.gplv2
 %doc CHANGES.md
-%{_libdir}/libkcapi.so.1.*
-%{_libdir}/libkcapi.so.1
-%{_libdir}/.libkcapi.so.1*
+%{_libdir}/libkcapi.so.%{sover}
+%{_libdir}/libkcapi.so.%{sover}.*
+%{_libdir}/.libkcapi.so.%{sover}.hmac
+%{_libdir}/.libkcapi.so.%{version}.hmac
 
 %files devel
+%license COPYING COPYING.bsd COPYING.gplv2
 %{_includedir}/kcapi.h
-%{_mandir}/man3/*
+%{_mandir}/man3/*3%{?ext_man}
 %{_libdir}/libkcapi.so
 %{_libdir}/.libkcapi.so.hmac
 %{_libdir}/pkgconfig/libkcapi.pc
 
 %files tools
-%dir %{_libexecdir}/libkcapi
-%{_libexecdir}/libkcapi/*sum*
-%{_libexecdir}/libkcapi/*hmac*
-%{_libexecdir}/libkcapi/.*.hmac
-%{_libexecdir}/libkcapi/kcapi
-%{_libexecdir}/libkcapi/kcapi-convenience
-%{_libexecdir}/libkcapi/compile-test.sh
-%{_libexecdir}/libkcapi/hasher-test.sh
-%{_libexecdir}/libkcapi/kcapi-convenience.sh
-%{_libexecdir}/libkcapi/kcapi-dgst-test.sh
-%{_libexecdir}/libkcapi/kcapi-enc-test-large
-%{_libexecdir}/libkcapi/kcapi-enc-test-large.sh
-%{_libexecdir}/libkcapi/kcapi-enc-test.sh
-%{_libexecdir}/libkcapi/kcapi-fuzz-test.sh
-%{_libexecdir}/libkcapi/fipscheck
-%{_libexecdir}/libkcapi/kcapi-dgst
-%{_libexecdir}/libkcapi/kcapi-enc
-%{_libexecdir}/libkcapi/kcapi-rng
-%{_libexecdir}/libkcapi/kcapi-speed
-%{_libexecdir}/libkcapi/libtest.sh
-%{_libexecdir}/libkcapi/test-invocation.sh
-%{_libexecdir}/libkcapi/test.sh
-%{_libexecdir}/libkcapi/virttest.sh
-%{_mandir}/man1/kcapi*
+%license COPYING COPYING.bsd COPYING.gplv2
+%{_bindir}/*
+%{_libexecdir}/libkcapi
+%{_bindir}/.kcapi-hasher.hmac
+%{_mandir}/man1/*1%{?ext_man}
 

++++++ libkcapi-1.4.0.tar.xz -> libkcapi-1.5.0.tar.xz ++++++
++++ 2403 lines of diff (skipped)

Reply via email to