summaryrefslogtreecommitdiff
path: root/sys-fs/cachefilesd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-10 22:36:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-10 22:36:46 +0100
commit783da4542a9c3e0e1ec703644212707cde610679 (patch)
tree3e0cf56ac37ddf9d5fdc6ff0ced9135b1c7fc5e0 /sys-fs/cachefilesd/files
parentd0041c590ed45bbfeae458ea926e36bc64e41dd7 (diff)
gentoo auto-resync : 10:09:2023 - 22:36:45
Diffstat (limited to 'sys-fs/cachefilesd/files')
-rw-r--r--sys-fs/cachefilesd/files/README.gentoo7
-rw-r--r--sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch8
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-fs/cachefilesd/files/README.gentoo b/sys-fs/cachefilesd/files/README.gentoo
new file mode 100644
index 000000000000..a21b8cb8facf
--- /dev/null
+++ b/sys-fs/cachefilesd/files/README.gentoo
@@ -0,0 +1,7 @@
+Before CacheFiles can be used, a directory for local storage
+must be created. The default configuration of /etc/cachefilesd.conf
+uses /var/cache/fscache. The filesystem mounted there must support
+extended attributes (mount -o user_xattr).
+
+Once that is taken care of, start the daemon, add -o ...,fsc
+to the mount options of your network mounts, and let it fly!
diff --git a/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch b/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch
index 276eff35a1c0..b4bda450505f 100644
--- a/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch
+++ b/sys-fs/cachefilesd/files/cachefilesd-0.10.9-makefile.patch
@@ -1,5 +1,5 @@
---- cachefilesd-0.10.9/Makefile.old 2016-07-18 11:12:38.467106807 +0800
-+++ cachefilesd-0.10.9/Makefile 2016-07-18 11:13:59.937770347 +0800
+--- cachefilesd-0.10.9/Makefile
++++ cachefilesd-0.10.9/Makefile
@@ -1,4 +1,3 @@
-CFLAGS := -g -O2 -Wall -Wsign-compare
INSTALL := install
@@ -8,12 +8,12 @@
@@ -40,7 +39,10 @@
###############################################################################
all: cachefilesd
-
+
-cachefilesd: cachefilesd.c Makefile
+cachefilesd.o: cachefilesd.c
+ $(CC) $(CFLAGS) -c $<
+
+cachefilesd: cachefilesd.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
-
+
###############################################################################