summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 15:18:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 15:18:15 +0000
commit7359d48003e2a87f99f49fa9766a51ba116f872a (patch)
treedb6a1de36d340ff21a9911aa52d62905b8310b1c
parentRefreshing python-libraries-removed-from-make.patch. (diff)
downloadnetdata-7359d48003e2a87f99f49fa9766a51ba116f872a.tar.xz
netdata-7359d48003e2a87f99f49fa9766a51ba116f872a.zip
Refreshing remove-file-serve-restrictions-for-symlinks.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch18
1 files changed, 6 insertions, 12 deletions
diff --git a/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch b/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
index 449524b6..b0b7d743 100644
--- a/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
+++ b/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
@@ -1,16 +1,10 @@
-From: Lennart Weller <lhw@ring0.de>
-Date: Wed, 14 Nov 2018 14:24:17 +0100
-Subject: remove file serve restrictions for symlinks
+Author: Lennart Weller <lhw@ring0.de>
+Description: remove file serve restrictions for symlinks
----
- web/server/web_client.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/web/server/web_client.c b/web/server/web_client.c
-index 282cfcd..eed6b59 100644
---- a/web/server/web_client.c
-+++ b/web/server/web_client.c
-@@ -372,7 +372,7 @@ int mysendfile(struct web_client *w, char *filename) {
+diff -Naurp netdata.orig/web/server/web_client.c netdata/web/server/web_client.c
+--- netdata.orig/web/server/web_client.c
++++ netdata/web/server/web_client.c
+@@ -372,7 +372,7 @@ int mysendfile(struct web_client *w, cha
int done = 0;
while(!done) {
// check if the file exists