Skip to content
Snippets Groups Projects
Commit 4c1b99e0 authored by Sertonix's avatar Sertonix Committed by Natanael Copa
Browse files

main/libkcapi: fix symlink target containing DESTDIR

Ref https://github.com/smuellerDD/libkcapi/pull/189
parent 6bba4efe
No related branches found
No related tags found
1 merge request!73194main/libkcapi: fix symlink target containing DESTDIR
Pipeline #264039 skipped
# Maintainer:
pkgname=libkcapi
pkgver=1.5.0
pkgrel=0
pkgrel=1
pkgdesc="Linux Kernel Crypto API User Space Interface Library"
url="https://www.chronox.de/libkcapi/index.html"
arch="all"
......@@ -74,5 +74,5 @@ tools() {
sha512sums="
510d0606cdc9479a77ed07bd3ac59b07c3996402a85cee012e6836d0a31cb06f5b7f715cdb76f3745784aab3154595caec4537b4c774236a139ebfe6e1a8be9b libkcapi-1.5.0.tar.gz
b8a7daa4cf076f5e6ae72eeb34139d04a80350e69935053b5e1ca22d57849f2b2488ab1161c17d396646d7c6775c1512301f5ce164a68ca0992f22f4e585a27b busybox-ln.patch
eb8c14107c1636dc3dcc0db2dc20c2f69ea3fd058c1b3af041926dcf9ce89b0c43219b753aaa8b5aabd8047b75ebee09a1196ac77acc5f6e097309a5a865a87d busybox-ln.patch
"
Patch-source: https://github.com/smuellerDD/libkcapi/commit/805d2dd0bec9ddb9d714afd4e181cee88c13adb0
Ref: https://github.com/smuellerDD/libkcapi/pull/189
--- a/Makefile.am
+++ b/Makefile.am
@@ -168,7 +168,7 @@ CHECK_DIR_BIN = $(if $(CHECK_DIR),$(CHECK_DIR)/hmaccalc,$(bindir))
......@@ -6,7 +7,7 @@ Patch-source: https://github.com/smuellerDD/libkcapi/commit/805d2dd0bec9ddb9d714
install-exec-hook:
$(MKDIR_P) -p $(DESTDIR)/$(pkglibexecdir)
- $(foreach link, $(hasher_links), $(LN) -srf $(DESTDIR)/$(bindir)/kcapi-hasher $(DESTDIR)/$(pkglibexecdir)/$(link);)
+ $(foreach link, $(hasher_links), $(LN) -sf $(DESTDIR)/$(bindir)/kcapi-hasher $(DESTDIR)/$(pkglibexecdir)/$(link);)
+ $(foreach link, $(hasher_links), $(LN) -sf $(bindir)/kcapi-hasher $(DESTDIR)/$(pkglibexecdir)/$(link);)
if HAVE_OPENSSL
$(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN)
cd $(DESTDIR)$(bindir) && $(CHECKSUM_CMD) kcapi-hasher > $(DESTDIR)$(CHECK_DIR_BIN)/$(CHECK_PREFIX)kcapi-hasher.$(CHECK_SUFFIX)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment