pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fce198596aec
branches:  trunk
changeset: 399091:fce198596aec
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Aug 02 14:32:18 2019 +0000

description:
dnsdist: Update to 1.3.3.

New Features:
  Add consistent hash builtin policy
  Add EDNSOptionRule
  Add DSTPortRule (phonedph1)
  Make getOutstanding usable from both lua and console (phonedph1)
  Added :excludeRange and :includeRange methods to DynBPFFilter class
   (Reinier Schoof)
  Add Prometheus stats support (Pavel Odintsov, Kai S)
  Name threads in the programs
  Support the NXDomain action with dynamic blocks
  Add security polling
  Add a PoolAvailableRule to easily add backup pools (Robin Geuze)

Improvements:
  Get rid of some allocs/copies in DNS parsing
  Set a correct EDNS OPT RR for self-generated answers
  Fix a sign-comparison warning in isEDNSOptionInOPT()
  Add warning rates to DynBlockRulesGroup rules
  Add support for exporting a server id in protobuf
  dnsdist did not set TCP_NODELAY, causing needless latency
  Add a setting to control the number of stored sessions
  Wrap GnuTLS and OpenSSL pointers in smart pointers
  Add a ?creationOrder? field to rules
  Fix return-type detection with boost 1.69?s tribool
  Fix format string issue on 32bits ARM
  Wrap TCP connection objects in smart pointers
  Add the setConsoleOutputMaxMsgSize function
  Add the ability to update webserver credentials

Bug Fixes:
  Display dynblocks? default action, None, as the global one
  Fix compilation when SO_REUSEPORT is not defined
  Release memory on DNS over TLS handshake failure
  Handle trailing data correctly when adding OPT or ECS info

diffstat:

 net/dnsdist/Makefile                 |  11 ++++++++---
 net/dnsdist/distinfo                 |  11 +++++------
 net/dnsdist/patches/patch-dnsdist.cc |  15 ---------------
 3 files changed, 13 insertions(+), 24 deletions(-)

diffs (77 lines):

diff -r f00db0a4ac13 -r fce198596aec net/dnsdist/Makefile
--- a/net/dnsdist/Makefile      Fri Aug 02 14:04:31 2019 +0000
+++ b/net/dnsdist/Makefile      Fri Aug 02 14:32:18 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.9 2018/12/15 21:12:22 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2019/08/02 14:32:18 jperkin Exp $
 
-DISTNAME=      dnsdist-1.3.2
+DISTNAME=      dnsdist-1.3.3
 CATEGORIES=    net
 MASTER_SITES=  https://downloads.powerdns.com/releases/
 EXTRACT_SUFX=  .tar.bz2
 
-MAINTAINER=    fhajny%NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://dnsdist.org/
 COMMENT=       Highly DNS-, DoS- and abuse-aware loadbalancer
 LICENSE=       gnu-gpl-v2
@@ -28,8 +28,11 @@
 CONF_FILES+=   share/examples/dnsdist/dnsdist.conf \
                ${PKG_SYSCONFDIR}/dnsdist.conf
 
+CONFIGURE_ARGS+=       --enable-dns-over-tls
 CONFIGURE_ARGS+=       --enable-dnscrypt
+CONFIGURE_ARGS+=       --enable-fstrm
 CONFIGURE_ARGS+=       --enable-libsodium
+CONFIGURE_ARGS+=       --enable-libssl
 CONFIGURE_ARGS+=       --enable-re2
 CONFIGURE_ARGS+=       --with-protobuf
 CONFIGURE_ARGS+=       --without-net-snmp
@@ -48,5 +51,7 @@
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../devel/re2/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
+.include "../../net/fstrm/buildlink3.mk"
 .include "../../security/libsodium/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f00db0a4ac13 -r fce198596aec net/dnsdist/distinfo
--- a/net/dnsdist/distinfo      Fri Aug 02 14:04:31 2019 +0000
+++ b/net/dnsdist/distinfo      Fri Aug 02 14:32:18 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.6 2018/08/08 15:39:55 fhajny Exp $
+$NetBSD: distinfo,v 1.7 2019/08/02 14:32:18 jperkin Exp $
 
-SHA1 (dnsdist-1.3.2.tar.bz2) = 6934250d90bb5de4a723cad3572ad2225be9211e
-RMD160 (dnsdist-1.3.2.tar.bz2) = 4b19dc9a1e6ba008a10be136385d1a297dbb1f87
-SHA512 (dnsdist-1.3.2.tar.bz2) = af7c360d6a5255bc9588622747b8939d30669e2d7d749275b30a9be8cf306a92768327057a93bfa901c44ac8a7572c9bb801a7f6ceca6d736f3e9c71f80f5726
-Size (dnsdist-1.3.2.tar.bz2) = 918200 bytes
+SHA1 (dnsdist-1.3.3.tar.bz2) = 18f667b8e7f7918723c5d6721160c3aed8ebd0a1
+RMD160 (dnsdist-1.3.3.tar.bz2) = c543146e87a148cfffbf0112a07504e9572a05cb
+SHA512 (dnsdist-1.3.3.tar.bz2) = c0e3435eafc1f7bcdf41346cecf7b089cc142716f94058f9ec262d0c6ad16467e0b8bed5abc648829c597120c94f998602849ded574e75bfc1a1fb70c1b719ad
+Size (dnsdist-1.3.3.tar.bz2) = 971253 bytes
 SHA1 (patch-devpollmplexer.cc) = f942ab6fc962496ac8d8e02c95fc4e0bf41d2f06
-SHA1 (patch-dnsdist.cc) = f79f73f6932bf88d25787d26c96da6556343b1ed
 SHA1 (patch-ext_json11_json11.cpp) = 9fb12578d80103b8b92e984a483cbda98fd83db8
 SHA1 (patch-iputils.hh) = 09207cd894162d634cd832f12209e38a0c253624
 SHA1 (patch-portsmplexer.cc) = 9f1b0dc40d0baaa0bf7297d0c4c783abffb16c33
diff -r f00db0a4ac13 -r fce198596aec net/dnsdist/patches/patch-dnsdist.cc
--- a/net/dnsdist/patches/patch-dnsdist.cc      Fri Aug 02 14:04:31 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-dnsdist.cc,v 1.3 2018/08/08 15:39:55 fhajny Exp $
-
-Bring arg in sync with the code.
-
---- dnsdist.cc.orig    2018-07-10 12:43:20.000000000 +0000
-+++ dnsdist.cc
-@@ -2523,7 +2523,7 @@ try
- #ifdef SO_REUSEPORT
-       SSetsockopt(cs->tcpFD, SOL_SOCKET, SO_REUSEPORT, 1);
- #else
--      warnlog("SO_REUSEPORT has been configured on local address '%s' but is not supported", cs.local.toStringWithPort());
-+      warnlog("SO_REUSEPORT has been configured on local address '%s' but is not supported", cs->local.toStringWithPort());
- #endif
-     }
-     if(cs->local.sin4.sin_family == AF_INET6) {



Home | Main Index | Thread Index | Old Index