forked from pool/libkcapi
Accepting request 506724 from home:jengelh:branches:security
- Compact descriptions a bit - Remove libkcapi provide/requires - Use %_libdir throughout and avoid /lib OBS-URL: https://build.opensuse.org/request/show/506724 OBS-URL: https://build.opensuse.org/package/show/security/libkcapi?expand=0&rev=6
This commit is contained in:
parent
4f7f0bc3a5
commit
09cf786891
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 28 08:03:30 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Compact descriptions a bit
|
||||||
|
- Remove libkcapi provide/requires
|
||||||
|
- Use %_libdir throughout and avoid /lib
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 22 14:03:43 UTC 2016 - abergmann@suse.com
|
Thu Dec 22 14:03:43 UTC 2016 - abergmann@suse.com
|
||||||
|
|
||||||
|
@ -25,16 +25,32 @@ Group: Productivity/Security
|
|||||||
Url: http://www.chronox.de/libkcapi.html
|
Url: http://www.chronox.de/libkcapi.html
|
||||||
#Source: https://github.com/smuellerDD/libkcapi/archive/v0.13.0.zip
|
#Source: https://github.com/smuellerDD/libkcapi/archive/v0.13.0.zip
|
||||||
Source: libkcapi-0.13.0.tar.bz2
|
Source: libkcapi-0.13.0.tar.bz2
|
||||||
# this ensures this kernel is booted actually... as the kernel crypto api is used during.
|
# this ensures this kernel is booted actually... as the kernel crypto api is used during testing.
|
||||||
BuildRequires: kernel-default
|
BuildRequires: kernel-default
|
||||||
BuildRequires: docbook-utils xmlto
|
BuildRequires: docbook-utils xmlto
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%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.
|
libkcapi allows user-space to access the Linux kernel crypto API.
|
||||||
|
|
||||||
libkcapi uses this Netlink interface and exports easy to use APIs so that a
|
%package devel
|
||||||
developer does not need to consider the low-level Netlink interface handling.
|
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
|
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
|
sent to the kernel for processing. Results from the kernel crypto API are
|
||||||
@ -43,31 +59,13 @@ returned to the consumer via the library API.
|
|||||||
The kernel interface and therefore this library can be used by unprivileged
|
The kernel interface and therefore this library can be used by unprivileged
|
||||||
processes.
|
processes.
|
||||||
|
|
||||||
The focus during the development of this library is put on speed. This library
|
This library does not perform any memcpy for processing the cryptographic data!
|
||||||
does not perform any memcpy for processing the cryptographic data! The library
|
The library uses scatter / gather lists to eliminate the need for moving data
|
||||||
uses scatter / gather lists to eliminate the need for moving data around in
|
around in memory.
|
||||||
memory.
|
|
||||||
|
|
||||||
%package -n libkcapi0
|
|
||||||
Summary: Linux Kernel Crypto API User Space Interface Library
|
|
||||||
Group: System/Libraries
|
|
||||||
Provides: %{name} = %{version}-%{release}
|
|
||||||
Obsoletes: %{name} < %{version}-%{release}
|
|
||||||
|
|
||||||
%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: libkcapi = %{version}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
libkcapi allows user-space to access the Linux kernel crypto API.
|
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Linux Kernel Crypto API User Space Tools
|
Summary: Linux Kernel Crypto API User Space Tools
|
||||||
Group: System/Libraries
|
Group: Development/Tools/Other
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
libkcapi user space tools to access certain hash algorithms.
|
libkcapi user space tools to access certain hash algorithms.
|
||||||
@ -84,7 +82,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
cd lib
|
cd lib
|
||||||
make install maninstall DESTDIR=%{buildroot} %{?_smp_mflags}
|
make install maninstall DESTDIR=%{buildroot} LIBDIR="%{_libdir}" %{?_smp_mflags}
|
||||||
cd ../apps
|
cd ../apps
|
||||||
make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/
|
make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/
|
||||||
|
|
||||||
@ -95,8 +93,8 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/
|
|||||||
%files -n libkcapi0
|
%files -n libkcapi0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES COPYING
|
%doc CHANGES COPYING
|
||||||
/%{_lib}/libkcapi.so.0.13.*
|
%{_libdir}/libkcapi.so.0.13.*
|
||||||
/%{_lib}/libkcapi.so.0
|
%{_libdir}/libkcapi.so.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -105,8 +103,8 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/
|
|||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /%{_libdir}/libkcapi
|
%dir %{_libdir}/libkcapi
|
||||||
/%{_libdir}/libkcapi/*
|
%{_libdir}/libkcapi/*
|
||||||
/%{_libdir}/libkcapi/.*hmac
|
%{_libdir}/libkcapi/.*hmac
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user