Commit 6ac6652f authored by Pedro Filipe's avatar Pedro Filipe
Browse files

add makefile.patch

parent 98774acd
Pipeline #85669 failed with stages
in 2 minutes and 19 seconds
......@@ -10,6 +10,7 @@ license="GPL-2.0-only"
makedepends="autoconf automake m4 make pkgconfig libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/smuellerDD/libkcapi/archive/refs/tags/v1.3.0.tar.gz
makefile.patch
kcapi-kernel-if.c.patch"
build() {
......@@ -38,4 +39,5 @@ package() {
sha512sums="7a418bb139e681f56bc53818fbd3f34fe835e920c4499ccab5762a9a3da0ac5e5d3d83394ba0374198fa8703b229583ef326565b563878c48c2484e5edab22be libkcapi-1.3.0.tar.gz
891b94c035e406bf59cd842899246516b56ae30b1a5c93295f73fe52e8075715d0f41cf36823972a15b514166d840f01d64c095c1f92602681efd5a949ba9c13 makefile.patch
c7fa579ebdfb369963a5a20b4ac8aa2646b56e2f2b355c8ab0e2ba9b41cc70e256d809042f995e4f3e427302faa29f558c07d6ca95b3e25711f34330534a9b0f kcapi-kernel-if.c.patch"
--- libkcapi-1.1.1/Makefile.am 2018-07-11 01:22:56.943190820 +0200
+++ libkcapi-1.1.1/Makefile.am.patch 2018-07-11 01:25:57.253183003 +0200
@@ -153,19 +153,8 @@
install-exec-hook:
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(hasher_links), $(LN) -f kcapi-hasher $(link);)))
+ ($(foreach link, $(hasher_links), $(LN) -f kcapi-hasher $(link)-kcapi;)))
-rm -f $(DESTDIR)$(bindir)/kcapi-hasher
-if HAVE_OPENSSL
- $(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN_FC)
- $(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN_HC)
- (cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(hasher_links_fc), \
- $(CHECKSUM_CMD_FC) $(link) > $(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);):))
- ($(foreach lib, $(wildcard $(DESTDIR)$(libdir)/libkcapi.so*), \
- $(CHECKSUM_CMD_FC) $(lib) > $(DESTDIR)$(CHECK_DIR_LIB)/$(CHECK_PREFIX)$(notdir $(lib)).$(CHECK_SUFFIX);):)
-endif
endif
if ENABLE_KCAPI_RNGAPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment