summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-12-15 18:40:57 -0800
committerMichael Forney <mforney@mforney.org>2017-12-15 18:41:24 -0800
commit86481dbf443cc327e6c69b030b6acb036ae814b9 (patch)
tree1fcaad909932680e6ea394a691cbcf6e0fa4c065 /pkg
parentf6569858bca71cadce066dafa486256e7cfe45cb (diff)
nsd: Update to 4.1.19
Diffstat (limited to 'pkg')
-rw-r--r--pkg/nsd/.gitignore2
-rw-r--r--pkg/nsd/config.h10
-rw-r--r--pkg/nsd/patch/0001-Fix-writev-compile-warning-on-FreeBSD.patch54
-rw-r--r--pkg/nsd/patch/0001-Remove-quotes-from-dbfile-in-man-pages.patch (renamed from pkg/nsd/patch/0004-Remove-quotes-from-dbfile-in-man-pages.patch)4
-rw-r--r--pkg/nsd/patch/0002-Fix-1567-Change-crit-to-err-log-level-for-gettimeofd.patch39
-rw-r--r--pkg/nsd/patch/0003-Fix-1567-Add-defines-for-compile-without-syslog.patch54
-rw-r--r--pkg/nsd/rev2
-rw-r--r--pkg/nsd/sha2562
-rw-r--r--pkg/nsd/url2
9 files changed, 14 insertions, 155 deletions
diff --git a/pkg/nsd/.gitignore b/pkg/nsd/.gitignore
index 6f616d11..9c145030 100644
--- a/pkg/nsd/.gitignore
+++ b/pkg/nsd/.gitignore
@@ -1,2 +1,2 @@
-/nsd-4.1.17.tar.gz
+/nsd-4.1.19.tar.gz
/src
diff --git a/pkg/nsd/config.h b/pkg/nsd/config.h
index 9a207821..b4f64b47 100644
--- a/pkg/nsd/config.h
+++ b/pkg/nsd/config.h
@@ -139,10 +139,11 @@
/* #undef NSEC3 */
#define PACKAGE_BUGREPORT "nsd-bugs@nlnetlabs.nl"
#define PACKAGE_NAME "NSD"
-#define PACKAGE_STRING "NSD 4.1.17"
+#define PACKAGE_STRING "NSD 4.1.19"
#define PACKAGE_TARNAME "nsd"
#define PACKAGE_URL ""
-#define PACKAGE_VERSION "4.1.17"
+#define PACKAGE_VERSION "4.1.19"
+/* #undef PACKED_STRUCTS */
#define PIDFILE "/run/nsd.pid"
/* #undef RATELIMIT */
/* #undef RATELIMIT_DEFAULT_OFF */
@@ -366,3 +367,8 @@ int memcmp(const void *x, const void *y, size_t n);
#endif /* !__timespec_defined */
#endif /* !HAVE_STRUCT_TIMESPEC */
#endif /* !CONFIG_DEFINES */
+#ifdef PACKED_STRUCTS
+#define ATTR_PACKED __attribute__((packed))
+#else
+#define ATTR_PACKED
+#endif
diff --git a/pkg/nsd/patch/0001-Fix-writev-compile-warning-on-FreeBSD.patch b/pkg/nsd/patch/0001-Fix-writev-compile-warning-on-FreeBSD.patch
deleted file mode 100644
index 8b573bce..00000000
--- a/pkg/nsd/patch/0001-Fix-writev-compile-warning-on-FreeBSD.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 5e22412c42c546a1e3c5e44adb93ac5e4088419a Mon Sep 17 00:00:00 2001
-From: wouter <wouter@a26ef69c-88ff-0310-839f-98b793d9c207>
-Date: Tue, 29 Aug 2017 12:42:20 +0000
-Subject: [PATCH] - Fix writev compile warning on FreeBSD.
-
-git-svn-id: https://www.nlnetlabs.nl/svn/nsd/trunk@4773 a26ef69c-88ff-0310-839f-98b793d9c207
----
- doc/ChangeLog | 3 +++
- doc/RELNOTES | 6 ++++++
- xfrd-tcp.c | 1 +
- 3 files changed, 10 insertions(+)
-
-diff --git a/doc/ChangeLog b/doc/ChangeLog
-index ff6d1347..6e52fff4 100644
---- a/doc/ChangeLog
-+++ b/doc/ChangeLog
-@@ -1,3 +1,6 @@
-+29 August 2016: Wouter
-+ - Fix writev compile warning on FreeBSD.
-+
- 29 June 2016: Wouter
- - make depend.
-
-diff --git a/doc/RELNOTES b/doc/RELNOTES
-index 752c468c..c72ed6f8 100644
---- a/doc/RELNOTES
-+++ b/doc/RELNOTES
-@@ -1,5 +1,11 @@
- NSD RELEASE NOTES
-
-+4.1.18 (upcoming)
-+================
-+BUG FIXES:
-+ - Fix writev compile warning on FreeBSD.
-+
-+
- 4.1.17
- ================
- FEATURES:
-diff --git a/xfrd-tcp.c b/xfrd-tcp.c
-index 27156894..167cf1c7 100644
---- a/xfrd-tcp.c
-+++ b/xfrd-tcp.c
-@@ -13,6 +13,7 @@
- #include <fcntl.h>
- #include <unistd.h>
- #include <stdlib.h>
-+#include <sys/uio.h>
- #include "nsd.h"
- #include "xfrd-tcp.h"
- #include "buffer.h"
---
-2.14.2
-
diff --git a/pkg/nsd/patch/0004-Remove-quotes-from-dbfile-in-man-pages.patch b/pkg/nsd/patch/0001-Remove-quotes-from-dbfile-in-man-pages.patch
index bd7095c0..a5d3ab2b 100644
--- a/pkg/nsd/patch/0004-Remove-quotes-from-dbfile-in-man-pages.patch
+++ b/pkg/nsd/patch/0001-Remove-quotes-from-dbfile-in-man-pages.patch
@@ -1,4 +1,4 @@
-From 82f72d52236a5642f95b52fb1ed10b16b756eb82 Mon Sep 17 00:00:00 2001
+From 34b5c8009dc61b80a4c270bf630deae45bb156fe Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 14 Oct 2017 01:00:22 -0700
Subject: [PATCH] Remove quotes from @dbfile@ in man pages
@@ -53,5 +53,5 @@ index b9ac956b..4f7c9867 100644
.B NSD
database
--
-2.14.2
+2.15.1
diff --git a/pkg/nsd/patch/0002-Fix-1567-Change-crit-to-err-log-level-for-gettimeofd.patch b/pkg/nsd/patch/0002-Fix-1567-Change-crit-to-err-log-level-for-gettimeofd.patch
deleted file mode 100644
index 30862dfd..00000000
--- a/pkg/nsd/patch/0002-Fix-1567-Change-crit-to-err-log-level-for-gettimeofd.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 685eeb1ab71422ce4151dbd803674b33115a1fb3 Mon Sep 17 00:00:00 2001
-From: wouter <wouter@a26ef69c-88ff-0310-839f-98b793d9c207>
-Date: Wed, 11 Oct 2017 06:44:50 +0000
-Subject: [PATCH] - Fix #1567: Change crit to err log level for gettimeofday
- failure.
-
-git-svn-id: https://www.nlnetlabs.nl/svn/nsd/trunk@4786 a26ef69c-88ff-0310-839f-98b793d9c207
----
- doc/ChangeLog | 3 +++
- netio.c | 2 +-
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/doc/ChangeLog b/doc/ChangeLog
-index 6e52fff4..f58c71ac 100644
---- a/doc/ChangeLog
-+++ b/doc/ChangeLog
-@@ -1,3 +1,6 @@
-+11 October 2016: Wouter
-+ - Fix #1567: Change crit to err log level for gettimeofday failure.
-+
- 29 August 2016: Wouter
- - Fix writev compile warning on FreeBSD.
-
-diff --git a/netio.c b/netio.c
-index 6c4b395b..58fd2e18 100644
---- a/netio.c
-+++ b/netio.c
-@@ -94,7 +94,7 @@ netio_current_time(netio_type *netio)
- if (!netio->have_current_time) {
- struct timeval current_timeval;
- if (gettimeofday(&current_timeval, NULL) == -1) {
-- log_msg(LOG_CRIT, "gettimeofday: %s, aborting.", strerror(errno));
-+ log_msg(LOG_ERR, "gettimeofday: %s, aborting.", strerror(errno));
- abort();
- }
- timeval_to_timespec(&netio->cached_current_time, &current_timeval);
---
-2.14.2
-
diff --git a/pkg/nsd/patch/0003-Fix-1567-Add-defines-for-compile-without-syslog.patch b/pkg/nsd/patch/0003-Fix-1567-Add-defines-for-compile-without-syslog.patch
deleted file mode 100644
index 6600b9b5..00000000
--- a/pkg/nsd/patch/0003-Fix-1567-Add-defines-for-compile-without-syslog.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 3bd8d49884860c41341565d19541b165265b0d75 Mon Sep 17 00:00:00 2001
-From: wouter <wouter@a26ef69c-88ff-0310-839f-98b793d9c207>
-Date: Wed, 11 Oct 2017 06:47:42 +0000
-Subject: [PATCH] - Fix #1567: Add defines for compile without syslog.
-
-git-svn-id: https://www.nlnetlabs.nl/svn/nsd/trunk@4787 a26ef69c-88ff-0310-839f-98b793d9c207
----
- doc/ChangeLog | 1 +
- doc/RELNOTES | 2 ++
- util.h | 4 ++++
- 3 files changed, 7 insertions(+)
-
-diff --git a/doc/ChangeLog b/doc/ChangeLog
-index f58c71ac..5d6585a9 100644
---- a/doc/ChangeLog
-+++ b/doc/ChangeLog
-@@ -1,5 +1,6 @@
- 11 October 2016: Wouter
- - Fix #1567: Change crit to err log level for gettimeofday failure.
-+ Add defines for compile without syslog.
-
- 29 August 2016: Wouter
- - Fix writev compile warning on FreeBSD.
-diff --git a/doc/RELNOTES b/doc/RELNOTES
-index c72ed6f8..4f052745 100644
---- a/doc/RELNOTES
-+++ b/doc/RELNOTES
-@@ -4,6 +4,8 @@ NSD RELEASE NOTES
- ================
- BUG FIXES:
- - Fix writev compile warning on FreeBSD.
-+ - Fix #1567: Change crit to err log level for gettimeofday failure.
-+ Add defines for compile without syslog.
-
-
- 4.1.17
-diff --git a/util.h b/util.h
-index b59b7b69..5f00911d 100644
---- a/util.h
-+++ b/util.h
-@@ -25,6 +25,10 @@ struct region;
- # define LOG_WARNING 4
- # define LOG_NOTICE 5
- # define LOG_INFO 6
-+
-+/* Unused, but passed to log_open. */
-+# define LOG_PID 0x01
-+# define LOG_DAEMON (3<<3)
- #endif
-
- #define ALIGN_UP(n, alignment) \
---
-2.14.2
-
diff --git a/pkg/nsd/rev b/pkg/nsd/rev
index d00491fd..0cfbf088 100644
--- a/pkg/nsd/rev
+++ b/pkg/nsd/rev
@@ -1 +1 @@
-1
+2
diff --git a/pkg/nsd/sha256 b/pkg/nsd/sha256
index cb137e92..63581c55 100644
--- a/pkg/nsd/sha256
+++ b/pkg/nsd/sha256
@@ -1 +1 @@
-107fa506d18ed6fd0a922d1b96774afd9270ec38ec6b17cd7c46fb9433a03a6c nsd-4.1.17.tar.gz
+b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5 nsd-4.1.19.tar.gz
diff --git a/pkg/nsd/url b/pkg/nsd/url
index 5ecb3001..4bfe1d89 100644
--- a/pkg/nsd/url
+++ b/pkg/nsd/url
@@ -1 +1 @@
-url = "https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.17.tar.gz"
+url = "https://www.nlnetlabs.nl/downloads/nsd/nsd-4.1.19.tar.gz"