mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user