Hello community,

here is the log from the commit of package libkcapi for openSUSE:Factory 
checked in at 2017-07-06 00:01:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkcapi (Old)
 and      /work/SRC/openSUSE:Factory/.libkcapi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkcapi"

Thu Jul  6 00:01:46 2017 rev:1 rq:507396 version:0.13.0

Changes:
--------
New Changes file:

--- /dev/null   2017-06-30 09:57:03.955002226 +0200
+++ /work/SRC/openSUSE:Factory/.libkcapi.new/libkcapi.changes   2017-07-06 
00:01:50.087525002 +0200
@@ -0,0 +1,21 @@
+-------------------------------------------------------------------
+Thu Jun 29 08:13:54 UTC 2017 - meiss...@suse.com
+
+- libkcapi-use-external-fipshmac.patch: use external fipshmac,
+  our chroots / vm builds do not necessarily have the right kernel.
+
+-------------------------------------------------------------------
+Wed Jun 28 08:03:30 UTC 2017 - jeng...@inai.de
+
+- Compact descriptions a bit
+- Remove libkcapi provide/requires
+- Use %_libdir throughout and avoid /lib
+
+-------------------------------------------------------------------
+Thu Dec 22 14:03:43 UTC 2016 - abergm...@suse.com
+
+- Initial release 0.13.0.
+
+  A library and tools to access the kernel crypto api.
+
+  FATE#323554 bsc#1045948

New:
----
  libkcapi-0.13.0.tar.bz2
  libkcapi-use-external-fipshmac.patch
  libkcapi.changes
  libkcapi.spec

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

Other differences:
------------------
++++++ libkcapi.spec ++++++
#
# spec file for package libkcapi
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           libkcapi
Version:        0.13.0
Release:        0
Summary:        Linux Kernel Crypto API User Space Interface Library
License:        GPL-2.0
Group:          Productivity/Security
Url:            http://www.chronox.de/libkcapi.html
#Source:                
https://github.com/smuellerDD/libkcapi/archive/v0.13.0.zip
Source:         libkcapi-0.13.0.tar.bz2
Patch0:         libkcapi-use-external-fipshmac.patch
BuildRequires:  docbook-utils xmlto
BuildRequires:  fipscheck
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
libkcapi exports APIs so that developers need not consider the low-level
Netlink interface handling that is used for accesing the Linux kernel crypto
API.

%package -n libkcapi0
Summary:        Linux Kernel Crypto API User Space Interface Library
Group:          System/Libraries

%description -n libkcapi0
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:       libkcapi0 = %{version}

%description devel
libkcapi exports APIs so that developers need not consider the low-level
Netlink interface handling that is used for accesing the Linux kernel crypto
API.

The library does not implement any cipher algorithms. All consumer requests are
sent to the kernel for processing. Results from the kernel crypto API are
returned to the consumer via the library API.

The kernel interface and therefore this library can be used by unprivileged
processes.

This library does not perform any memcpy for processing the cryptographic data!
The library uses scatter / gather lists to eliminate the need for moving data
around in memory.

%package tools
Summary:        Linux Kernel Crypto API User Space Tools
Group:          Development/Tools/Other

%description tools
libkcapi user space tools to access certain hash algorithms.

%prep
%setup -q
%patch0 -p1

%build
cd lib
make %{?_smp_mflags}
make man
cd ../apps
make %{?_smp_mflags}

%install
cd lib
make install maninstall DESTDIR=%{buildroot} LIBDIR="%{_libdir}" %{?_smp_mflags}
cd ../apps
make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/

# Add generation of HMAC checksums of the final fipshmac fipscheck stripped 
binaries
%define __spec_install_post \
        %{?__debug_package:%{__debug_install_post}} \
        %{__arch_install_post} \
        %{__os_install_post} \
        /usr/bin/fipshmac $RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipscheck \
        /usr/bin/fipshmac $RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipshmac \
        %{nil}

%post -n libkcapi0 -p /sbin/ldconfig

%postun -n libkcapi0 -p /sbin/ldconfig

%files -n libkcapi0
%defattr(-,root,root)
%doc CHANGES COPYING
%{_libdir}/libkcapi.so.0.13.*
%{_libdir}/libkcapi.so.0

%files devel
%defattr(-,root,root)
%{_includedir}/kcapi.h
%{_mandir}/man3/*

%files tools
%defattr(-,root,root)
%dir %{_libdir}/libkcapi
%{_libdir}/libkcapi/*
%{_libdir}/libkcapi/.*hmac

%changelog
++++++ libkcapi-use-external-fipshmac.patch ++++++
Index: libkcapi-0.13.0/apps/Makefile
===================================================================
--- libkcapi-0.13.0.orig/apps/Makefile
+++ libkcapi-0.13.0/apps/Makefile
@@ -65,27 +65,26 @@ install:
        install -d ${DESTDIR}$(BINDIR)/
        install -m 0755 $(NAME) -D -t ${DESTDIR}$(BINDIR)/
        install -m 0755 sha1sum -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/sha1sum
+       fipshmac ${DESTDIR}$(BINDIR)/sha1sum
        install -m 0755 sha224sum -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/sha224sum
+       fipshmac ${DESTDIR}$(BINDIR)/sha224sum
        install -m 0755 sha256sum -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/sha256sum
+       fipshmac ${DESTDIR}$(BINDIR)/sha256sum
        install -m 0755 sha384sum -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/sha384sum
+       fipshmac ${DESTDIR}$(BINDIR)/sha384sum
        install -m 0755 sha512sum -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/sha512sum
+       fipshmac ${DESTDIR}$(BINDIR)/sha512sum
        install -m 0755 fipscheck -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/fipscheck
+       fipshmac ${DESTDIR}$(BINDIR)/fipscheck
        install -m 0755 fipshmac -D -t ${DESTDIR}$(BINDIR)/
-       ./fipshmac ${DESTDIR}$(BINDIR)/fipshmac
+       fipshmac ${DESTDIR}$(BINDIR)/fipshmac
        install -m 0755 sha1hmac -D -t ${DESTDIR}$(BINDIR)/
-       ./sha512hmac sha1hmac > ${DESTDIR}$(BINDIR)/.sha1hmac.hmac
+       fipshmac ${DESTDIR}$(BINDIR)/sha1hmac
        install -m 0755 sha224hmac -D -t ${DESTDIR}$(BINDIR)/
-       ./sha512hmac sha224hmac > ${DESTDIR}$(BINDIR)/.sha224hmac.hmac
+       fipshmac ${DESTDIR}$(BINDIR)/sha224hmac
        install -m 0755 sha256hmac -D -t ${DESTDIR}$(BINDIR)/
-       ./sha512hmac sha256hmac > ${DESTDIR}$(BINDIR)/.sha256hmac.hmac
+       fipshmac ${DESTDIR}$(BINDIR)/sha256hmac
        install -m 0755 sha384hmac -D -t ${DESTDIR}$(BINDIR)/
-       ./sha512hmac sha384hmac > ${DESTDIR}$(BINDIR)/.sha384hmac.hmac
+       fipshmac ${DESTDIR}$(BINDIR)/sha384hmac
        install -m 0755 sha512hmac -D -t ${DESTDIR}$(BINDIR)/
-       ./sha512hmac sha512hmac > ${DESTDIR}$(BINDIR)/.sha512hmac.hmac
-
+       fipshmac ${DESTDIR}$(BINDIR)/sha512hmac

Reply via email to