libkcapi: update to 1.1.1.

This commit is contained in:
maxice8 2018-06-17 23:40:39 -03:00
parent 1fc21533fb
commit 0f60bc6947
2 changed files with 16 additions and 9 deletions

View File

@ -1,15 +1,22 @@
--- Makefile.am --- Makefile.am
+++ Makefile.am +++ Makefile.am
@@ -145,10 +145,10 @@ kcapi_hasher_links = sha1sum sha224sum sha256sum sha384sum sha512sum \ @@ -153,16 +153,16 @@ CHECK_DIR_BIN_HC = $(if $(CHECK_DIR),$(CHECK_DIR)/hmaccalc,$(bindir))
install-exec-hook: install-exec-hook:
(cd $(DESTDIR)$(bindir) && \ (cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link);))) - ($(foreach link, $(hasher_links), $(LN) -f kcapi-hasher $(link);)))
+ ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link)-kcapi;))) + ($(foreach link, $(hasher_links), $(LN) -f kcapi-hasher $(link)-kcapi;)))
-rm -f $(DESTDIR)$(bindir)/kcapi-hasher
if HAVE_OPENSSL if HAVE_OPENSSL
$(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN_FC)
$(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN_HC)
(cd $(DESTDIR)$(bindir) && \ (cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link) > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);))) ($(foreach link, $(hasher_links_fc), \
+ ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link)-kcapi > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);))) - $(CHECKSUM_CMD_FC) $(link) > $(DESTDIR)$(CHECK_DIR_BIN_FC)/$(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);) \
+ $(CHECKSUM_CMD_FC) $(link)-kcapi > $(DESTDIR)$(CHECK_DIR_BIN_FC)/$(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);) \
$(foreach link, $(hasher_links_hc), \
- $(CHECKSUM_CMD_HC) $(link) > $(DESTDIR)$(CHECK_DIR_BIN_HC)/$(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);):))
+ $(CHECKSUM_CMD_HC) $(link)-kcapi > $(DESTDIR)$(CHECK_DIR_BIN_HC)/$(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);):))
($(foreach lib, $(wildcard $(DESTDIR)$(libdir)/libkcapi.so*), \
$(CHECKSUM_CMD_FC) $(lib) > $(DESTDIR)$(CHECK_DIR_LIB)/$(CHECK_PREFIX)$(notdir $(lib)).$(CHECK_SUFFIX);):)
endif endif
endif

View File

@ -1,6 +1,6 @@
# Template file for 'libkcapi' # Template file for 'libkcapi'
pkgname=libkcapi pkgname=libkcapi
version=1.1.0 version=1.1.1
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args=" --enable-kcapi-speed --enable-kcapi-hasher configure_args=" --enable-kcapi-speed --enable-kcapi-hasher
@ -12,7 +12,7 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later, BSD-3-Clause" license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://github.com/smuellerDD/libkcapi" homepage="https://github.com/smuellerDD/libkcapi"
distfiles="https://github.com/smuellerDD/libkcapi/archive/v${version}.tar.gz" distfiles="https://github.com/smuellerDD/libkcapi/archive/v${version}.tar.gz"
checksum=fa43554ab8bac1be18a4f8e25def79658bf315e5f00ca66faf4718c4ac637f13 checksum=91d94ccba520db98765d32ec7df44b94d86005e833451b9aed2f0c6d3b647ac1
pre_configure() { pre_configure() {
autoreconf -i autoreconf -i