pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/dnsdist
Module Name: pkgsrc
Committed By: wiz
Date: Thu Apr 10 20:50:09 UTC 2025
Modified Files:
pkgsrc/net/dnsdist: Makefile PLIST distinfo
pkgsrc/net/dnsdist/patches: patch-configure
Removed Files:
pkgsrc/net/dnsdist/patches: patch-Makefile.in patch-dnsdist-console.cc
patch-dnsdist.cc patch-ext_json11_json11.cpp patch-iputils.hh
patch-qtype.hh patch-uuid-utils.cc
Log Message:
net/dnsdist Update to 1.9.8
>From Marcin Gondek via wip.
1.9.8
Released: 17th of December 2024
Improvements
Add the ability to load a given TLS tickets key
References: pull request 14877
Custom metrics: better error messages, small doc improvements
References: pull request 14978
Add elapsed time to dq object (@phonedph1)
References: pull request 14887
Bug Fixes
Fix ECS zero-scope caching with incoming DoH queries
References: #14959, pull request 14977
setTicketsKeyAddedHook: pass a std::string to the hook to avoid luawrapper to truncate content at potential null chars
References: pull request 14878
Allow resetting setWeightedBalancingFactor() to zero�
References: pull request 14929
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/net/dnsdist/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/dnsdist/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/dnsdist/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/dnsdist/patches/patch-Makefile.in \
pkgsrc/net/dnsdist/patches/patch-ext_json11_json11.cpp \
pkgsrc/net/dnsdist/patches/patch-uuid-utils.cc
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/dnsdist/patches/patch-configure
cvs rdiff -u -r1.6 -r0 pkgsrc/net/dnsdist/patches/patch-dnsdist-console.cc
cvs rdiff -u -r1.7 -r0 pkgsrc/net/dnsdist/patches/patch-dnsdist.cc
cvs rdiff -u -r1.3 -r0 pkgsrc/net/dnsdist/patches/patch-iputils.hh \
pkgsrc/net/dnsdist/patches/patch-qtype.hh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/dnsdist/Makefile
diff -u pkgsrc/net/dnsdist/Makefile:1.29 pkgsrc/net/dnsdist/Makefile:1.30
--- pkgsrc/net/dnsdist/Makefile:1.29 Sun Feb 9 14:44:07 2025
+++ pkgsrc/net/dnsdist/Makefile Thu Apr 10 20:50:08 2025
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.29 2025/02/09 14:44:07 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2025/04/10 20:50:08 wiz Exp $
-DISTNAME= dnsdist-1.8.0
-PKGREVISION= 8
+DISTNAME= dnsdist-1.9.8
CATEGORIES= net
MASTER_SITES= https://downloads.powerdns.com/releases/
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= drixter%e-utp.net@localhost
HOMEPAGE= https://dnsdist.org/
COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer
LICENSE= gnu-gpl-v2
-USE_LANGUAGES= c c++11
-USE_TOOLS+= gmake pkg-config
-GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES= c++11
+USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
@@ -26,8 +26,6 @@ PKG_GECOS.${DNSDIST_USER}= dnsdist daemo
FILES_SUBST+= DNSDIST_USER=${DNSDIST_USER}
FILES_SUBST+= DNSDIST_GROUP=${DNSDIST_GROUP}
-CONF_FILES+= share/examples/dnsdist/dnsdist.conf \
- ${PKG_SYSCONFDIR}/dnsdist.conf
CONFIGURE_ARGS+= --enable-dns-over-tls
CONFIGURE_ARGS+= --enable-dnscrypt
@@ -38,16 +36,21 @@ CONFIGURE_ARGS+= --with-lua
CONFIGURE_ARGS+= --with-nghttp2
CONFIGURE_ARGS+= --with-re2
CONFIGURE_ARGS+= --without-net-snmp
+CONFIGURE_ARGS+= --enable-dns-over-https
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+= LIBEDIT_CFLAGS="-I${BUILDLINK_PREFIX.editlinereadline}/include"
CONFIGURE_ENV+= LIBEDIT_LIBS="-L${BUILDLINK_PREFIX.editlinereadline}/lib ${BUILDLINK_LDADD.editlinereadline}"
-RCD_SCRIPTS+= dnsdist
+EGDIR= ${PREFIX}/share/examples/dnsdist
+CONF_FILES= ${EGDIR}/dnsdist.conf-dist ${PKG_SYSCONFDIR}/dnsdist.conf
+INSTALLATION_DIRS+= ${EGDIR}
+INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
-post-install:
- cd ${DESTDIR}${PREFIX} && \
- ${MV} share/examples/dnsdist/dnsdist.conf-dist share/examples/dnsdist/dnsdist.conf || ${TRUE}
+RCD_SCRIPTS+= dnsdist
+.include "../../databases/lmdb/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/re2/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
Index: pkgsrc/net/dnsdist/PLIST
diff -u pkgsrc/net/dnsdist/PLIST:1.1 pkgsrc/net/dnsdist/PLIST:1.2
--- pkgsrc/net/dnsdist/PLIST:1.1 Fri Mar 31 20:49:51 2017
+++ pkgsrc/net/dnsdist/PLIST Thu Apr 10 20:50:08 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/31 20:49:51 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/04/10 20:50:08 wiz Exp $
bin/dnsdist
man/man1/dnsdist.1
-share/examples/dnsdist/dnsdist.conf
+share/examples/dnsdist/dnsdist.conf-dist
Index: pkgsrc/net/dnsdist/distinfo
diff -u pkgsrc/net/dnsdist/distinfo:1.15 pkgsrc/net/dnsdist/distinfo:1.16
--- pkgsrc/net/dnsdist/distinfo:1.15 Fri Oct 4 04:09:29 2024
+++ pkgsrc/net/dnsdist/distinfo Thu Apr 10 20:50:08 2025
@@ -1,13 +1,6 @@
-$NetBSD: distinfo,v 1.15 2024/10/04 04:09:29 ryoon Exp $
+$NetBSD: distinfo,v 1.16 2025/04/10 20:50:08 wiz Exp $
-BLAKE2s (dnsdist-1.8.0.tar.bz2) = df588b2f19ab27b71e7e7132385bc6b12e8f48bd51e22d493753926d3557a592
-SHA512 (dnsdist-1.8.0.tar.bz2) = 426db3e83729bd2f8a8c8b1c02d719c6618acc0aec09d1f2670c159d441c1cad2fdc85c5ffe919e76d1b1e8e24198bf29133802cb857dfacde2dfed2532001f1
-Size (dnsdist-1.8.0.tar.bz2) = 1480500 bytes
-SHA1 (patch-Makefile.in) = 5b2927e63898ac38d3c7ea8c3eb28ecef2f969e4
-SHA1 (patch-configure) = b5921f1589ad9137405e29d117460c4e4c932908
-SHA1 (patch-dnsdist-console.cc) = 09b76a844d79aef33c898bf3b833f4dce642b1a5
-SHA1 (patch-dnsdist.cc) = c6007886a4cc5e97ac6ec1e54f983ebe3a96cf4b
-SHA1 (patch-ext_json11_json11.cpp) = 9fb12578d80103b8b92e984a483cbda98fd83db8
-SHA1 (patch-iputils.hh) = 09207cd894162d634cd832f12209e38a0c253624
-SHA1 (patch-qtype.hh) = 66c6c06fc6c6e770b049508b1f60a274a378ff89
-SHA1 (patch-uuid-utils.cc) = 242518202a26dd399c0409929e821f324e9c1305
+BLAKE2s (dnsdist-1.9.8.tar.bz2) = 87cee0a2e8aa6771d618d7fb490451200ed57e2a561d511a0484646aaf2c25b2
+SHA512 (dnsdist-1.9.8.tar.bz2) = b89bc1ba62a2cf009a305a71eaa2553810d6d5f25f71098cb34acd86bfe5632e5f9f4b5ce057ea93665f1f5dd65e6a3d67fa364e8cecf0b648559c73061baddd
+Size (dnsdist-1.9.8.tar.bz2) = 1593902 bytes
+SHA1 (patch-configure) = 68f5c1ebc1d5d5653220a4c99a61d314d9af8029
Index: pkgsrc/net/dnsdist/patches/patch-configure
diff -u pkgsrc/net/dnsdist/patches/patch-configure:1.1 pkgsrc/net/dnsdist/patches/patch-configure:1.2
--- pkgsrc/net/dnsdist/patches/patch-configure:1.1 Tue Aug 22 20:32:22 2023
+++ pkgsrc/net/dnsdist/patches/patch-configure Thu Apr 10 20:50:09 2025
@@ -1,65 +1,66 @@
-$NetBSD: patch-configure,v 1.1 2023/08/22 20:32:22 adam Exp $
+$NetBSD: patch-configure,v 1.2 2025/04/10 20:50:09 wiz Exp $
-Portability fixes.
+Fix unportable test(1) operator.
---- configure.orig 2023-08-21 07:08:41.000000000 +0000
+--- configure.orig 2024-12-17 09:14:59.000000000 +0000
+++ configure
-@@ -23832,11 +23832,11 @@ fi
- if test "x$enable_fortify_source" != "xno"; then :
+@@ -25928,12 +25928,12 @@ fi
+ then :
-- if test "x$enable_fortify_source" == "xauto"; then :
-+ if test "x$enable_fortify_source" = "xauto"; then :
+- if test "x$enable_fortify_source" == "xauto"
++ if test "x$enable_fortify_source" = "xauto"
+ then :
enable_fortify_source=3
fi
-- if test "x$enable_fortify_source" == "x3"; then :
-+ if test "x$enable_fortify_source" = "x3"; then :
+- if test "x$enable_fortify_source" == "x3"
++ if test "x$enable_fortify_source" = "x3"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=3" >&5
- $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=3... " >&6; }
-@@ -23881,7 +23881,7 @@ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=3" >&5
+@@ -25982,7 +25982,7 @@ fi
fi
-- if test "x$enable_fortify_source" == "x2"; then :
-+ if test "x$enable_fortify_source" = "x2"; then :
+- if test "x$enable_fortify_source" == "x2"
++ if test "x$enable_fortify_source" = "x2"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=2" >&5
- $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... " >&6; }
-@@ -23926,7 +23926,7 @@ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=2" >&5
+@@ -26031,7 +26031,7 @@ fi
fi
-- if test "x$enable_fortify_source" == "x1"; then :
-+ if test "x$enable_fortify_source" = "x1"; then :
+- if test "x$enable_fortify_source" == "x1"
++ if test "x$enable_fortify_source" = "x1"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=1" >&5
- $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=1... " >&6; }
-@@ -24586,7 +24586,7 @@ fi
- if test "x$enable_lto" != "xno"; then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=1" >&5
+@@ -26742,7 +26742,7 @@ fi
+ then :
-- if test "x$enable_lto" == "xthin"; then :
-+ if test "x$enable_lto" = "xthin"; then :
+- if test "x$enable_lto" == "xthin"
++ if test "x$enable_lto" = "xthin"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=thin" >&5
- $as_echo_n "checking whether C++ compiler handles -flto=thin... " >&6; }
-@@ -24632,7 +24632,7 @@ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=thin" >&5
+@@ -26792,7 +26792,7 @@ fi
fi
-- if test "x$enable_lto" == "xauto"; then :
-+ if test "x$enable_lto" = "xauto"; then :
+- if test "x$enable_lto" == "xauto"
++ if test "x$enable_lto" = "xauto"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=auto" >&5
- $as_echo_n "checking whether C++ compiler handles -flto=auto... " >&6; }
-@@ -24678,7 +24678,7 @@ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=auto" >&5
+@@ -26842,7 +26842,7 @@ fi
fi
-- if test "x$enable_lto" == "xyes"; then :
-+ if test "x$enable_lto" = "xyes"; then :
+- if test "x$enable_lto" == "xyes"
++ if test "x$enable_lto" = "xyes"
+ then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto" >&5
- $as_echo_n "checking whether C++ compiler handles -flto... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto" >&5
Home |
Main Index |
Thread Index |
Old Index