pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dnsdist: remove, used for updating net/dnsdist
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Dec 5 00:19:10 2025 +0100
Changeset: 00120e57f9dbd291e2823ab0b609c8af3f659080
Modified Files:
Makefile
Removed Files:
dnsdist/COMMIT_MSG
dnsdist/DESCR
dnsdist/Makefile
dnsdist/PLIST
dnsdist/distinfo
dnsdist/files/dnsdist.sh
dnsdist/files/smf/manifest.xml
dnsdist/patches/patch-configure
dnsdist/patches/patch-protobuf
Log Message:
dnsdist: remove, used for updating net/dnsdist
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=00120e57f9dbd291e2823ab0b609c8af3f659080
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
dnsdist/COMMIT_MSG | 62 ---------------------------------
dnsdist/DESCR | 4 ---
dnsdist/Makefile | 76 -----------------------------------------
dnsdist/PLIST | 4 ---
dnsdist/distinfo | 8 -----
dnsdist/files/dnsdist.sh | 24 -------------
dnsdist/files/smf/manifest.xml | 28 ---------------
dnsdist/patches/patch-configure | 15 --------
dnsdist/patches/patch-protobuf | 13 -------
10 files changed, 235 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 96d0d8001f..1010d020c4 100644
--- a/Makefile
+++ b/Makefile
@@ -764,7 +764,6 @@ SUBDIR+= dmenu-git
SUBDIR+= dmt-ux
SUBDIR+= dnrd
SUBDIR+= dns2tcp
-SUBDIR+= dnsdist
SUBDIR+= dnswalk
SUBDIR+= docbook-xsl-ko
SUBDIR+= docbook-xsl-ns
diff --git a/dnsdist/COMMIT_MSG b/dnsdist/COMMIT_MSG
deleted file mode 100644
index 491b129a4f..0000000000
--- a/dnsdist/COMMIT_MSG
+++ /dev/null
@@ -1,62 +0,0 @@
-2.0.2
-Released: 2nd of December 2025
-New Features
-Add a selector to match the incoming protocol�
-
-References: #14060, pull request 16328
-
-Improvements
-Include a Date: response header for rejected HTTP1 requests
-References: pull request 16430
-Make inserting to the in-memory rings a bit faster
-References: pull request 16315
-Change bogusV4/bogusV6 addresses to static constants to avoid parse in every call (delichik)
-References: pull request 16524
-Better performance when using recvmmsg
-References: pull request 16560
-Expose TimedIPSet to YAML-originated Lua contexts
-References: #16428, pull request 16562
-Update the Rust library version when generating a tarball
-References: #16137, pull request 16310
-Allow selecting a specific version of Lua with meson
-References: #16249, pull request 16316
-Make the round-robin LB policy internal counter atomic
-References: pull request 16320
-luawrapper: don't segfault on failure in traceback handler
-References: #15173, pull request 16345
-Refactor the FFI 'alternate name'interface
-References: pull request 16346
-Prevent copies of dnsheader_aligned objects
-References: pull request 16508
-Raise the maximum number of descriptors to 1M
-References: pull request 16559
-Alter the qname BPF filter to make it const
-References: pull request 16561
-
-Bug Fixes
-Fix a memory leak with OCSP and OpenSSL 3.6.0
-References: pull request 16431
-Fix setting meta keys on response, pass them from question to response
-References: pull request 16325
-Properly handle invalid regular expressions
-References: #16371, pull request 16439
-Fix a crash when a selector or policy cannot be found
-References: #16462, pull request 16507
-Fix query rules bypass after tagging from a dynblock
-References: pull request 16309
-ComboAddress: Fix 'unspecified address' test when the port is set
-References: #16248, pull request 16317
-Set up the dns header for timeout response rules
-References: #16221, pull request 16318
-Fix handling of large XSK frames (ednaq)
-References: #16242, pull request 16319
-Properly handle exceptions when processing timeout rules
-References: #16221, pull request 16322
-Initialize hash perturbation later, and only if needed
-References: #16139, pull request 16326
-Fix reentry issue in TCP downstream I/O on macOS/BSD (Karel Bilek)
-References: #16072, pull request 16327
-Store Lua's debug.traceback function before user can hide it from us
-References: #15173, pull request 16435
-
-
diff --git a/dnsdist/DESCR b/dnsdist/DESCR
deleted file mode 100644
index 8b6e998da8..0000000000
--- a/dnsdist/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its
-goal in life is to route traffic to the best server, delivering top
-performance to legitimate users while shunting or blocking abusive
-traffic.
diff --git a/dnsdist/Makefile b/dnsdist/Makefile
deleted file mode 100644
index 3a750ee86b..0000000000
--- a/dnsdist/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# $NetBSD: Makefile,v 1.42 2025/11/01 16:15:59 wiz Exp $
-
-DISTNAME= dnsdist-2.0.2
-PKGREVISION= 0
-CATEGORIES= net
-MASTER_SITES= https://downloads.powerdns.com/releases/
-EXTRACT_SUFX= .tar.xz
-
-MAINTAINER= drixter%e-utp.net@localhost
-HOMEPAGE= https://dnsdist.org/
-COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer
-LICENSE= gnu-gpl-v2
-
-TOOL_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-
-USE_LANGUAGES= c c++
-USE_CXX_FEATURES= c++11
-USE_TOOLS+= gmake pkg-config
-GNU_CONFIGURE= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= DNSDIST_USER DNSDIST_GROUP
-DNSDIST_USER?= dnsdist
-DNSDIST_GROUP?= dnsdist
-PKG_GROUPS+= ${DNSDIST_GROUP}
-PKG_USERS+= ${DNSDIST_USER}:${DNSDIST_GROUP}
-PKG_GECOS.${DNSDIST_USER}= dnsdist daemon user
-
-CHECK_WRKREF_SKIP+= bin/dnsdist
-
-FILES_SUBST+= DNSDIST_USER=${DNSDIST_USER}
-FILES_SUBST+= DNSDIST_GROUP=${DNSDIST_GROUP}
-
-CONFIGURE_ARGS+= --enable-dns-over-tls
-CONFIGURE_ARGS+= --enable-dnscrypt
-CONFIGURE_ARGS+= --enable-dnstap
-CONFIGURE_ARGS+= --with-libsodium
-CONFIGURE_ARGS+= --with-libssl
-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_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-headers}
-
-.include "../../mk/readline.buildlink3.mk"
-
-.if ${READLINE_TYPE} == "editline"
-CONFIGURE_ARGS+= --with-libedit
-CONFIGURE_ENV+= LIBEDIT_CFLAGS="-I${BUILDLINK_PREFIX.editlinereadline}/include"
-CONFIGURE_ENV+= LIBEDIT_LIBS="-L${BUILDLINK_PREFIX.editlinereadline}/lib ${BUILDLINK_LDADD.editlinereadline}"
-.else
-CONFIGURE_ARGS+= --without-libedit
-.endif
-
-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}
-
-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"
-.include "../../net/fstrm/buildlink3.mk"
-.include "../../security/libsodium/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../www/nghttp2/buildlink3.mk"
-.include "../../lang/python/pyversion.mk"
-.include "../../mk/atomic64.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/dnsdist/PLIST b/dnsdist/PLIST
deleted file mode 100644
index f84e457785..0000000000
--- a/dnsdist/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2025/08/12 07:22:24 wiz Exp $
-bin/dnsdist
-man/man1/dnsdist.1
-share/examples/dnsdist/dnsdist.conf-dist
diff --git a/dnsdist/distinfo b/dnsdist/distinfo
deleted file mode 100644
index fb57397a14..0000000000
--- a/dnsdist/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.22 2025/10/31 15:54:55 jperkin Exp $
-
-BLAKE2s (dnsdist-2.0.2.tar.xz) = f7a18e3afe863255aaaf040ca6c8f573365ea415f4483062c5c6d71d0211b4c1
-SHA512 (dnsdist-2.0.2.tar.xz) = 7f53d13bb90b7b70da364341e50473b88be0bc9619e3263e352bed75aa57edbc018824439749956281a2c7a5d32c653e7378fe9d3cbc296042fa8120eee75fae
-Size (dnsdist-2.0.2.tar.xz) = 2284864 bytes
-SHA1 (patch-configure) = d9ec9f3416862f471a3029168681b9512ced68b9
-SHA1 (patch-protobuf) = fdcf6de86f307420c151bb18c15027dbc69e40ea
-
diff --git a/dnsdist/files/dnsdist.sh b/dnsdist/files/dnsdist.sh
deleted file mode 100644
index c4b5d56543..0000000000
--- a/dnsdist/files/dnsdist.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: dnsdist.sh,v 1.2 2022/10/24 11:08:15 jperkin Exp $
-#
-# PROVIDE: dnsdist
-# REQUIRE: DAEMON network
-# KEYWORD: shutdown
-
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
-fi
-
-name="dnsdist"
-rcvar=$name
-command="@PREFIX@/bin/dnsdist"
-dnsdist_flags="${dnsdist_flags:- -u @DNSDIST_USER@ -g @DNSDIST_GROUP@ -C @PKG_SYSCONFDIR@/dnsdist.conf}"
-
-if [ -f /etc/rc.subr ]; then
- load_rc_config $name
- run_rc_command "$1"
-else
- echo -n "${name}"
- ${command} ${dnsdist_flags}
-fi
diff --git a/dnsdist/files/smf/manifest.xml b/dnsdist/files/smf/manifest.xml
deleted file mode 100644
index 739af89727..0000000000
--- a/dnsdist/files/smf/manifest.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
-<service_bundle type="manifest" name="export">
- <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
- <create_default_instance enabled="false" />
- <single_instance />
- <dependency name="network" grouping="require_all" restart_on="error" type="service">
- <service_fmri value="svc:/milestone/network:default" />
- </dependency>
- <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
- <service_fmri value="svc:/system/filesystem/local" />
- </dependency>
- <exec_method type="method" name="start" exec="@PREFIX@/bin/dnsdist --supervised -u @DNSDIST_USER@ -g @DNSDIST_GROUP@ -C %{config_file} &" timeout_seconds="60" />
- <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
- <property_group name="startd" type="framework">
- <propval name="duration" type="astring" value="contract" />
- <propval name="ignore_error" type="astring" value="core,signal" />
- </property_group>
- <property_group name="application" type="application">
- <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/dnsdist.conf" />
- </property_group>
- <template>
- <common_name>
- <loctext xml:lang="C">dnsdist daemon</loctext>
- </common_name>
- </template>
- </service>
-</service_bundle>
diff --git a/dnsdist/patches/patch-configure b/dnsdist/patches/patch-configure
deleted file mode 100644
index 7d38911532..0000000000
--- a/dnsdist/patches/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.5 2025/10/31 15:54:55 jperkin Exp $
-
-Fix --without-libedit, required when using readline.
-
---- configure.orig 2025-10-31 15:48:25.770875216 +0000
-+++ configure
-@@ -18916,7 +18916,7 @@ printf %s "checking whether to link in l
- # Check whether --with-libedit was given.
- if test ${with_libedit+y}
- then :
-- withval=$with_libedit; with_libedit=$enableval
-+ withval=$with_libedit; with_libedit=$withval
- else case e in #(
- e) with_libedit=yes
- ;;
diff --git a/dnsdist/patches/patch-protobuf b/dnsdist/patches/patch-protobuf
deleted file mode 100644
index 1c79f7a39e..0000000000
--- a/dnsdist/patches/patch-protobuf
+++ /dev/null
@@ -1,13 +0,0 @@
-
-Fix: https://github.com/PowerDNS/pdns/pull/16584
-
---- dnsdist-protobuf.cc
-+++ dnsdist-protobuf.cc
-@@ -25,6 +25,7 @@
- #include "base64.hh"
- #include "dnsdist.hh"
- #include "dnsdist-protobuf.hh"
-+#include "dolog.hh"
- #include "protozero.hh"
-
- DNSDistProtoBufMessage::DNSDistProtoBufMessage(const DNSQuestion& dnsquestion) :
Home |
Main Index |
Thread Index |
Old Index