Files
bpfire/lfs/dnsdist
Adolf Belka dcd828666a dnsdist: Update to version 1.9.6
- Update from version 1.9.4 to 1.9.6
- Tested building on riscv64 and it built without issues and rootfile is sam as for
   x86_64 & aarch64. So supported architectures has been removed and dnsdist is available
   on all three architectures.
- Update of rootfile not required
- Changelog
    1.9.6
	New Features
	    Add support for a callback when a new tickets key is added
	     References: pull request 14449
	Improvements
	    Make the logging functions available to all Lua environments
	     References: pull request 14438
	    Handle Quiche >= 0.22.0
	     References: pull request 14450
	    Don’t include openssl/engine.h if it’s not going to be used (Sander Hoentjen)
	     References: pull request 14452
	Bug Fixes
	    Dedup Prometheus help and type lines for custom metrics with labels¶
	     References: #14395, pull request 14439
	    Fix a race in the XSK/AF_XDP backend handling code
	     References: pull request 14436
	    dns.cc: use pdns::views::UnsignedCharView
	     References: pull request 14437
    1.9.5
	New Features
	    Add a Lua FFI function to set proxy protocol values
	     References: pull request 14338
	    Add Lua FFI bindings to generate SVC responses
	     References: pull request 14339
	Bug Fixes
	    Use the correct source IP for outgoing QUIC datagrams
	     References: pull request 14166
	    Reply to HTTP/2 PING frames immediately
	     References: pull request 14163
	    Log the correct amount of bytes sent for DoH w/ nghttp2
	     References: pull request 14332
	    Prevent a race when calling registerWebHandler at runtime
	     References: pull request 14170
	    Enforce a maximum number of HTTP request fields and a maximum HTTP request line size
	     References: pull request 14333
	    Fix a race condition with custom Lua web handlers
	     References: pull request 14342
	    Syslog should be enabled by default
	     References: pull request 14331
	    Fix a warning when compiling the unit tests without XSK¶
	     References: pull request 14334
	    autoconf: allow prerelease systemd versions (Chris Hofstaedtler)
	     References: pull request 14335
	    Edit the systemd unit file, CAP_BPF is no longer enough
	     References: #14279, pull request 14336
	    Fix ‘Error creating TCP worker’ error message
	     References: pull request 14337

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-26 14:14:37 +00:00

107 lines
3.7 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = A highly DNS-, DoS- and abuse-aware loadbalancer
VER = 1.9.6
THISAPP = dnsdist-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = dnsdist
PAK_VER = 24
DEPS =
SERVICES = dnsdist
MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 3072 )))
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = adb56707bb768ceae974cd9b725d2bf1f4beaa6e3edc6ede22a7d93920214614f10c82d71dbb773741f56dff04e0f0aa26dc0a0e2d5d405bee89d8ada1130303
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-openssl \
--disable-gnutls \
--enable-dns-over-tls \
--with-lua \
--without-net-snmp
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
#install initscripts
$(call INSTALL_INITSCRIPTS,$(SERVICES))
install -v -m 644 $(DIR_SRC)/config/backup/includes/dnsdist \
/var/ipfire/backup/addons/includes/dnsdist
@rm -rf $(DIR_APP)
@$(POSTBUILD)