From 6d679436435e03dc1d445efe148f61f9d9b57acd Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 12 Apr 2018 14:06:28 -0300 Subject: [PATCH] libkcapi: update to 1.1.0. Closes #13411. Signed-off-by: Enno Boland --- srcpkgs/libkcapi/patches/makefile.patch | 23 ++++++++++------------- srcpkgs/libkcapi/template | 18 ++++++------------ 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/srcpkgs/libkcapi/patches/makefile.patch b/srcpkgs/libkcapi/patches/makefile.patch index 267fa7cb419..4dda0698d8a 100644 --- a/srcpkgs/libkcapi/patches/makefile.patch +++ b/srcpkgs/libkcapi/patches/makefile.patch @@ -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 - diff --git a/srcpkgs/libkcapi/template b/srcpkgs/libkcapi/template index 75a7e208e8f..2fcd585b7c3 100644 --- a/srcpkgs/libkcapi/template +++ b/srcpkgs/libkcapi/template @@ -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 " 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