pkgsrc-WIP-changes archive

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

dnsdist: remove, used for updating pkgsrc/net/dnsdist



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Apr 10 22:50:24 2025 +0200
Changeset:	f02a3073483e841c7816c3cf831405dd1ccfc9e8

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

Log Message:
dnsdist: remove, used for updating pkgsrc/net/dnsdist

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f02a3073483e841c7816c3cf831405dd1ccfc9e8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  3 +-
 dnsdist/COMMIT_MSG              | 18 -----------
 dnsdist/DESCR                   |  4 ---
 dnsdist/Makefile                | 64 ---------------------------------------
 dnsdist/PLIST                   |  4 ---
 dnsdist/distinfo                |  6 ----
 dnsdist/files/dnsdist.sh        | 24 ---------------
 dnsdist/files/smf/manifest.xml  | 28 -----------------
 dnsdist/patches/patch-configure | 66 -----------------------------------------
 9 files changed, 2 insertions(+), 215 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 1722f844da..06de03af9c 100644
--- a/Makefile
+++ b/Makefile
@@ -742,7 +742,6 @@ SUBDIR+=	dmenu-git
 SUBDIR+=	dmt-ux
 SUBDIR+=	dnrd
 SUBDIR+=	dns2tcp
-SUBDIR+=	dnsdist
 SUBDIR+=	dnswalk
 SUBDIR+=	docbook-xsl-ko
 SUBDIR+=	docbook-xsl-ns
@@ -5231,6 +5230,8 @@ SUBDIR+=	rust183
 SUBDIR+=	rust183-bin
 SUBDIR+=	rust184
 SUBDIR+=	rust184-bin
+SUBDIR+=	rust186
+SUBDIR+=	rust186-bin
 SUBDIR+=	s-nail
 SUBDIR+=	s2tc
 SUBDIR+=	s3cmd
diff --git a/dnsdist/COMMIT_MSG b/dnsdist/COMMIT_MSG
deleted file mode 100644
index 70b5a0a500..0000000000
--- a/dnsdist/COMMIT_MSG
+++ /dev/null
@@ -1,18 +0,0 @@
-net/dnsdist Update to 1.9.8
-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
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 b832cb4027..0000000000
--- a/dnsdist/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# $NetBSD: Makefile,v 1.28 2024/11/14 22:21:04 wiz Exp $
-
-DISTNAME=	dnsdist-1.9.8
-PKGREVISION=	2
-CATEGORIES=	net
-MASTER_SITES=	https://downloads.powerdns.com/releases/
-EXTRACT_SUFX=	.tar.bz2
-
-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++
-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
-
-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_ENV+=		LIBEDIT_CFLAGS="-I${BUILDLINK_PREFIX.editlinereadline}/include"
-CONFIGURE_ENV+=		LIBEDIT_LIBS="-L${BUILDLINK_PREFIX.editlinereadline}/lib ${BUILDLINK_LDADD.editlinereadline}"
-
-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 "../../mk/atomic64.mk"
-.include "../../mk/readline.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/dnsdist/PLIST b/dnsdist/PLIST
deleted file mode 100644
index d9170d83bc..0000000000
--- a/dnsdist/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD$
-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 238befe289..0000000000
--- a/dnsdist/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.15 2024/10/04 04:09:29 ryoon Exp $
-
-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
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} &amp;" 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 c919544388..0000000000
--- a/dnsdist/patches/patch-configure
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD$
-
-Fix unportable test(1) operator.
-
---- configure.orig	2024-12-17 09:14:59.000000000 +0000
-+++ configure
-@@ -25928,12 +25928,12 @@ fi
- 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"
-+        if test "x$enable_fortify_source" = "x3"
- then :
- 
-       { 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"
-+        if test "x$enable_fortify_source" = "x2"
- then :
- 
-       { 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"
-+    if test "x$enable_fortify_source" = "x1"
- 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"
-+        if test "x$enable_lto" = "xthin"
- then :
- 
-       { 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"
-+        if test "x$enable_lto" = "xauto"
- then :
- 
-       { 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"
-+    if test "x$enable_lto" = "xyes"
- then :
- 
-       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto" >&5


Home | Main Index | Thread Index | Old Index