summaryrefslogtreecommitdiff
path: root/pkg/nsd/config.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-03-20 16:10:00 -0700
committerMichael Forney <mforney@mforney.org>2020-03-20 16:10:00 -0700
commitfa73eed05e35d6fb4f07cb98e2f95efbeafb807d (patch)
tree694de4d6d09cb35bd316d369d298e08d9fc358b9 /pkg/nsd/config.h
parente4e6b8fbbfb4451c85622664fcbebed9e4ae7243 (diff)
nsd: Update to 4.3.0
Diffstat (limited to 'pkg/nsd/config.h')
-rw-r--r--pkg/nsd/config.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/pkg/nsd/config.h b/pkg/nsd/config.h
index e34359e5..f1a98612 100644
--- a/pkg/nsd/config.h
+++ b/pkg/nsd/config.h
@@ -22,6 +22,9 @@
#define HAVE_CHOWN 1
#define HAVE_CHROOT 1
#define HAVE_CLOCK_GETTIME 1
+/* #undef HAVE_CPUID_T */
+/* #undef HAVE_CPUSET_T */
+#define HAVE_CPU_SET_T 1
/* #undef HAVE_CRYPTO_MEMCMP */
#define HAVE_CTIME_R_PROTO 1
/* #undef HAVE_DECL_SSL_CTX_SET_ECDH_AUTO */
@@ -48,6 +51,7 @@
#define HAVE_GETHOSTNAME 1
#define HAVE_GETNAMEINFO 1
#define HAVE_GETPWNAM 1
+#define HAVE_GETRANDOM 1
#define HAVE_GLOB 1
#define HAVE_GLOB_H 1
#define HAVE_GRP_H 1
@@ -85,7 +89,9 @@
#define HAVE_PWRITE 1
#define HAVE_REALLOCARRAY 1
/* #undef HAVE_RECVMMSG */
+#define HAVE_SCHED_H 1
/* #undef HAVE_SENDMMSG */
+/* #undef HAVE_SETPROCTITLE */
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_SETRESUID 1
@@ -120,8 +126,10 @@
#define HAVE_STRUCT_TIMESPEC 1
/* #undef HAVE_SYSLOG_H */
/* #undef HAVE_SYS_BITYPES_H */
+/* #undef HAVE_SYS_CPUSET_H */
/* #undef HAVE_SYS_MMAN_H */
#define HAVE_SYS_PARAM_H 1
+#define HAVE_SYS_RANDOM_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
@@ -155,10 +163,10 @@
/* #undef NSEC3 */
#define PACKAGE_BUGREPORT "nsd-bugs@nlnetlabs.nl"
#define PACKAGE_NAME "NSD"
-#define PACKAGE_STRING "NSD 4.2.4"
+#define PACKAGE_STRING "NSD 4.3.0"
#define PACKAGE_TARNAME "nsd"
#define PACKAGE_URL ""
-#define PACKAGE_VERSION "4.2.4"
+#define PACKAGE_VERSION "4.3.0"
/* #undef PACKED_STRUCTS */
#define PIDFILE "/run/nsd.pid"
/* #undef RATELIMIT */
@@ -369,6 +377,16 @@ char *strptime(const char *s, const char *format, struct tm *tm);
char *nsd_strptime(const char *s, const char *format, struct tm *tm);
#define strptime(a,b,c) nsd_strptime((a),(b),(c))
#endif
+#if (HAVE_CPU_SET_T || HAVE_CPUSET_T)
+#include "compat/cpuset.h"
+#endif
+#ifndef HAVE_SETPROCTITLE
+#ifdef __linux__
+#define HAVE_SETPROCTITLE 1
+#include <stdarg.h>
+void setproctitle(char *fmt, ...);
+#endif
+#endif
#ifdef MEMCMP_IS_BROKEN
#include "compat/memcmp.h"
#define memcmp memcmp_nsd