knot: upgrade to 2.5.3

Update the default config file to reflect the server changes.
Remove no longer applicable patch.

Signed-off-by: Daniel Salzman <daniel.salzman@nic.cz>
This commit is contained in:
Daniel Salzman
2017-08-01 11:45:39 +02:00
parent f326cc65e3
commit 4e79fa8059
3 changed files with 16 additions and 21 deletions
+12 -1
View File
@@ -1,5 +1,5 @@
diff --git a/samples/knot.sample.conf.in b/samples/knot.sample.conf.in
index e07c8a7..ecc13ad 100644
index e07c8a7..8e057b0 100644
--- a/samples/knot.sample.conf.in
+++ b/samples/knot.sample.conf.in
@@ -9,7 +9,7 @@ server:
@@ -11,3 +11,14 @@ index e07c8a7..ecc13ad 100644
log:
# Log info and more serious events to syslog.
@@ -33,7 +33,9 @@ acl:
# action: notify
template:
-# - id: default
+ - id: default
+ max-journal-db-size: 20M
+ max-timer-db-size: 5M
# storage: "@storage_dir@"
zone:
-15
View File
@@ -1,15 +0,0 @@
diff --git a/src/contrib/files.c b/src/contrib/files.c
index 8aee482..12f36ca 100644
--- a/src/contrib/files.c
+++ b/src/contrib/files.c
@@ -24,6 +24,10 @@
#include <sys/stat.h>
#include <unistd.h>
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW 0
+#endif
+
static bool special_name(const char *name)
{
return strcmp(name, ".") == 0 || strcmp(name, "..") == 0;