pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dnsdist Update net/dnsdist to 1.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30493b3ebf01
branches:  trunk
changeset: 367044:30493b3ebf01
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Aug 22 17:00:35 2017 +0000

description:
Update net/dnsdist to 1.2.0.

- fix for CVE-2016-7069 and CVE-2017-7557.
- applying rules on cache hits
- addition of runtime changeable rules that matches IP address for a
  certain time: TimedIPSetRule
- SNMP support, exporting statistics and sending traps
- preventing the packet cache from ageing responses when deployed in
  front of authoritative servers
- TTL alteration capabilities
- consistent hash results over multiple deployments
- exporting CNAME records over protobuf
- tuning the size of the ringbuffers used to keep track of recent
  queries and responses
- various DNSCrypt-related fixes and improvements, including automatic
  key rotation

Full changelog:

  https://dnsdist.org/changelog.html

diffstat:

 net/dnsdist/Makefile                         |   4 +-
 net/dnsdist/distinfo                         |  14 +++++-----
 net/dnsdist/patches/patch-dnsdist-console.cc |   8 +++---
 net/dnsdist/patches/patch-iputils.hh         |  33 +---------------------------
 4 files changed, 14 insertions(+), 45 deletions(-)

diffs (99 lines):

diff -r 02c828968692 -r 30493b3ebf01 net/dnsdist/Makefile
--- a/net/dnsdist/Makefile      Tue Aug 22 14:15:32 2017 +0000
+++ b/net/dnsdist/Makefile      Tue Aug 22 17:00:35 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/03/31 20:49:51 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2017/08/22 17:00:35 fhajny Exp $
 
-DISTNAME=      dnsdist-1.1.0
+DISTNAME=      dnsdist-1.2.0
 CATEGORIES=    net
 MASTER_SITES=  https://downloads.powerdns.com/releases/
 EXTRACT_SUFX=  .tar.bz2
diff -r 02c828968692 -r 30493b3ebf01 net/dnsdist/distinfo
--- a/net/dnsdist/distinfo      Tue Aug 22 14:15:32 2017 +0000
+++ b/net/dnsdist/distinfo      Tue Aug 22 17:00:35 2017 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.2 2017/05/22 23:41:22 joerg Exp $
+$NetBSD: distinfo,v 1.3 2017/08/22 17:00:35 fhajny Exp $
 
-SHA1 (dnsdist-1.1.0.tar.bz2) = 9b6372fc5f606ee83dac465e1dc9c824242f5905
-RMD160 (dnsdist-1.1.0.tar.bz2) = 7724641b2be1c3611dd0b2c685cf6e8b7a365e67
-SHA512 (dnsdist-1.1.0.tar.bz2) = 91da716997c2440e153944f510a39dd86c9cf8ba8093a7f51a9a5d58ab0a1c230bd99ec57fe8ff0721279c8c4429ad576fe797c1fbe4cde2b9fb8f0405025320
-Size (dnsdist-1.1.0.tar.bz2) = 874837 bytes
+SHA1 (dnsdist-1.2.0.tar.bz2) = c1af8fbf8a4c5a5bbb1c5154974cf640ffa26acb
+RMD160 (dnsdist-1.2.0.tar.bz2) = b3c23decdf58cc2931a85f5631dc9184f3ff3a6c
+SHA512 (dnsdist-1.2.0.tar.bz2) = 93f8c5f18462d3291c973a690f6ac2b3c5791d9947bee83d9250b503b7526de365bdcb530f3b082e51ae168a9129e77d5558af7cc3b9d2e98a585af53783c237
+Size (dnsdist-1.2.0.tar.bz2) = 876104 bytes
 SHA1 (patch-dns.hh) = 13834e3d9f48b3095ce4912540c7d0d275c3a3a3
-SHA1 (patch-dnsdist-console.cc) = 51fee0e89b648e0f9c2e6c0d9a6859ef2991a1b7
+SHA1 (patch-dnsdist-console.cc) = ee5f40a2257128eb7fcc2b581ec9aa997c1b7358
 SHA1 (patch-dnsdist.cc) = 2b2bf569c134019dd8a5d4f3df104fdd16a47a31
 SHA1 (patch-ext_json11_json11.cpp) = 9fb12578d80103b8b92e984a483cbda98fd83db8
-SHA1 (patch-iputils.hh) = 666fe81cc651b2c7e85164b8246283e301bcce1a
+SHA1 (patch-iputils.hh) = 78ffc93b3062d18a02a9ea67e4c6d58d8df7bdbb
 SHA1 (patch-qtype.hh) = 4551be1e303a31d34030c363849398923f5ff987
diff -r 02c828968692 -r 30493b3ebf01 net/dnsdist/patches/patch-dnsdist-console.cc
--- a/net/dnsdist/patches/patch-dnsdist-console.cc      Tue Aug 22 14:15:32 2017 +0000
+++ b/net/dnsdist/patches/patch-dnsdist-console.cc      Tue Aug 22 17:00:35 2017 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-dnsdist-console.cc,v 1.1 2017/03/31 20:49:51 fhajny Exp $
+$NetBSD: patch-dnsdist-console.cc,v 1.2 2017/08/22 17:00:35 fhajny Exp $
 
 Add NetBSD support.
 
---- dnsdist-console.cc.orig    2016-12-29 12:45:46.000000000 +0000
+--- dnsdist-console.cc.orig    2017-08-21 12:52:09.000000000 +0000
 +++ dnsdist-console.cc
-@@ -22,7 +22,7 @@
- #include "dnsdist.hh"
+@@ -23,7 +23,7 @@
  #include "sodcrypto.hh"
+ #include "pwd.h"
  
 -#if defined (__OpenBSD__)
 +#if defined (__OpenBSD__) || defined (__NetBSD__)
diff -r 02c828968692 -r 30493b3ebf01 net/dnsdist/patches/patch-iputils.hh
--- a/net/dnsdist/patches/patch-iputils.hh      Tue Aug 22 14:15:32 2017 +0000
+++ b/net/dnsdist/patches/patch-iputils.hh      Tue Aug 22 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-iputils.hh,v 1.1 2017/03/31 20:49:51 fhajny Exp $
+$NetBSD: patch-iputils.hh,v 1.2 2017/08/22 17:00:35 fhajny Exp $
 
 - Do not use IP_PKTINFO on NetBSD, the structure is not as expected.
 - Backport fix for SunOS segfault problem, see:
@@ -17,34 +17,3 @@
  #ifdef __APPLE__
  #include <libkern/OSByteOrder.h>
  
-@@ -59,23 +63,22 @@
- #define le64toh(x) OSSwapLittleToHostInt64(x)
- #endif
- 
--// for illumos
--#ifdef BE_64
-+#ifdef __sun
- 
- #define htobe16(x) BE_16(x)
- #define htole16(x) LE_16(x)
--#define be16toh(x) BE_IN16(x)
--#define le16toh(x) LE_IN16(x)
-+#define be16toh(x) BE_IN16(&(x))
-+#define le16toh(x) LE_IN16(&(x))
- 
- #define htobe32(x) BE_32(x)
- #define htole32(x) LE_32(x)
--#define be32toh(x) BE_IN32(x)
--#define le32toh(x) LE_IN32(x)
-+#define be32toh(x) BE_IN32(&(x))
-+#define le32toh(x) LE_IN32(&(x))
- 
- #define htobe64(x) BE_64(x)
- #define htole64(x) LE_64(x)
--#define be64toh(x) BE_IN64(x)
--#define le64toh(x) LE_IN64(x)
-+#define be64toh(x) BE_IN64(&(x))
-+#define le64toh(x) LE_IN64(&(x))
- 
- #endif
- 



Home | Main Index | Thread Index | Old Index