libkcapi: update to 1.1.0.

Closes #13411.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-04-12 14:06:28 -03:00 committed by Enno Boland
parent 4b49bcf993
commit 6d67943643
2 changed files with 16 additions and 25 deletions

View file

@ -1,18 +1,15 @@
Source: Arch Linux
Upstream: No, distro specific
Reason: avoids conflicts with coreutils binaries like md5sum
--- Makefile.am 2018-01-12 22:41:55.000000000 +0100
+++ Makefile.am 2018-01-25 15:34:35.649902674 +0100
@@ -131,8 +131,8 @@
--- Makefile.am
+++ Makefile.am
@@ -145,10 +145,10 @@ kcapi_hasher_links = sha1sum sha224sum sha256sum sha384sum sha512sum \
install-exec-hook:
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), ln -f kcapi-hasher $(link);)) && \
- ($(foreach link, $(kcapi_hasher_links), openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link) > .$(link).hmac;)))
+ ($(foreach link, $(kcapi_hasher_links), ln -f kcapi-hasher $(link)-kcapi;)) && \
+ ($(foreach link, $(kcapi_hasher_links), openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link)-kcapi > .$(link)-kcapi.hmac;)))
- ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link);)))
+ ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link)-kcapi;)))
if HAVE_OPENSSL
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link) > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);)))
+ ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link)-kcapi > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);)))
endif
endif
if ENABLE_KCAPI_RNGAPP

View file

@ -1,24 +1,18 @@
# Template file for 'libkcapi'
pkgname=libkcapi
version=1.0.3
version=1.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config autoconf automake libtool"
configure_args=" --enable-kcapi-speed --enable-kcapi-hasher
--enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp
--enable-lib-asym --enable-lib-kpp"
hostmakedepends="automake libtool pkg-config"
short_desc="Kernel Crypto API User Space Interface Library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://github.com/smuellerDD/libkcapi"
distfiles="https://github.com/smuellerDD/libkcapi/archive/v${version}.tar.gz"
checksum=b9e61df09870084b910a9623284596857583918c0a39f0e37906f462b535ba78
configure_args="
--enable-kcapi-speed \
--enable-kcapi-hasher \
--enable-kcapi-rngapp \
--enable-kcapi-encapp \
--enable-kcapi-dgstapp \
--enable-lib-asym \
--enable-lib-kpp
"
checksum=fa43554ab8bac1be18a4f8e25def79658bf315e5f00ca66faf4718c4ac637f13
pre_configure() {
autoreconf -i