summaryrefslogtreecommitdiffstats
path: root/package/keyutils/0001-fix-install-rule.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-07-24 20:48:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-25 21:54:06 +0200
commit9a52f40e584faf3bb8b655d88774ef07f36674e9 (patch)
treeab086274b2e8905fb8f8834f064a2c3ce27b4e81 /package/keyutils/0001-fix-install-rule.patch
parent7c37d2631987d7b05dc040aee6406f893fa9d30e (diff)
downloadbuildroot-9a52f40e584faf3bb8b655d88774ef07f36674e9.tar.gz
buildroot-9a52f40e584faf3bb8b655d88774ef07f36674e9.zip
package/keyutils: bump version to 1.5.10
Upstream does not provide hashes anymore, replace with self-computed sha256 hash. Removed patches applied upstream, renumbered remaining patches: 0001-allow-building-of-the-shared-library-to-be-suppressed.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=a4deb71ddc05e951c8be8d46615beed9d408a5c8 0004-Makefile-for-buildroot.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=d83b9b827c6c4bc2377dfa073cf5c837b87465e8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/keyutils/0001-fix-install-rule.patch')
-rw-r--r--package/keyutils/0001-fix-install-rule.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/keyutils/0001-fix-install-rule.patch b/package/keyutils/0001-fix-install-rule.patch
new file mode 100644
index 0000000000..3670d28e66
--- /dev/null
+++ b/package/keyutils/0001-fix-install-rule.patch
@@ -0,0 +1,20 @@
+Makefile: fix install rule
+
+Do not link the .so with an absolute path, otherwise it may point to
+the host library.
+
+Based on the former patch by Yann E. MORIN.
+
+Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
+
+--- keyutils-1.5.9/Makefile.orig 2014-09-22 16:13:41.593562765 +0100
++++ keyutils-1.5.9/Makefile 2014-09-22 16:14:05.377963952 +0100
+@@ -168,7 +168,7 @@ ifeq ($(NO_SOLIB),0)
+ $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
+ $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
+ mkdir -p $(DESTDIR)$(USRLIBDIR)
+- $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
++ $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
+ endif
+ $(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
+ $(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key
OpenPOWER on IntegriCloud