aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashcache-grsec/depmod.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-11 14:09:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-30 08:30:24 +0000
commitbec874e1cd94a5d0c9b0774499e2f5bbcd0250c1 (patch)
treeaf44c3d82c93b88560aa82fc0f6ac79dfe73f94d /main/flashcache-grsec/depmod.patch
parentcdbeb449d01875c26f923b2485c7f5e3598bf237 (diff)
downloadaports-bec874e1cd94a5d0c9b0774499e2f5bbcd0250c1.tar.bz2
aports-bec874e1cd94a5d0c9b0774499e2f5bbcd0250c1.tar.xz
main/flashcache-grsec: move back from unmaintained and upgrade to 3.1.2
this supports 3.14 kernel
Diffstat (limited to 'main/flashcache-grsec/depmod.patch')
-rw-r--r--main/flashcache-grsec/depmod.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/flashcache-grsec/depmod.patch b/main/flashcache-grsec/depmod.patch
new file mode 100644
index 0000000000..15c0615057
--- /dev/null
+++ b/main/flashcache-grsec/depmod.patch
@@ -0,0 +1,20 @@
+--- ./src/Makefile.orig 2013-08-15 11:20:54.575932175 +0000
++++ ./src/Makefile 2013-08-15 11:21:37.813472296 +0000
+@@ -24,6 +24,8 @@
+ KERNEL_TREE := $(RHEL5_TREE)
+ endif
+
++DEPMOD ?= depmod
++
+ obj-m += flashcache.o
+ flashcache-objs := flashcache_conf.o flashcache_main.o flashcache_subr.o flashcache_ioctl.o flashcache_procfs.o
+
+@@ -42,7 +44,7 @@
+ modules_install: modules
+ install -o root -g root -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
+ install -o root -g root -m 0755 flashcache.ko $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
+- depmod -a $(KERNEL_SOURCE_VERSION)
++ $(DEPMOD) -a $(KERNEL_SOURCE_VERSION)
+
+ .PHONY: utils_install
+ utils_install: utils