aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsmasq-devel
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2022-11-27 12:50:16 +0000
committerMatthias Andree <mandree@FreeBSD.org>2022-11-27 12:50:16 +0000
commiteb7af30e8bca73f79e083a27a632c75fbfc40a0e (patch)
treebfc39eb8865252ce01b7d6b756544ab245f56979 /dns/dnsmasq-devel
parentebc69658015a78ff41ddd58d1f6b541773e1d039 (diff)
downloadports-eb7af30e8bca73f79e083a27a632c75fbfc40a0e.tar.gz
ports-eb7af30e8bca73f79e083a27a632c75fbfc40a0e.zip
dns/dnsmasq-devel: update to rc5
CHANGELOG diff vs. rc3: Optimise reading large numbers of --server options. When re-reading upstream servers from /etc/resolv.conf or other sources that can change dnsmasq tries to avoid memory fragmentation by re-using existing records that are being re-read unchanged. This involves seaching all the server records for each new one installed. During startup this search is pointless, and can cause long start times with thousands of --server options because the work needed is O(n^2). Handle this case more intelligently. Thanks to Ye Zhou for spotting the problem and an initial patch. If we detect that a DNS reply from upstream is malformed don't return it to the requestor; send a SEVFAIL rcode instead.
Diffstat (limited to 'dns/dnsmasq-devel')
-rw-r--r--dns/dnsmasq-devel/Makefile3
-rw-r--r--dns/dnsmasq-devel/distinfo6
2 files changed, 4 insertions, 5 deletions
diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile
index eb2e09f33ffc..ea0f60277a1d 100644
--- a/dns/dnsmasq-devel/Makefile
+++ b/dns/dnsmasq-devel/Makefile
@@ -1,8 +1,7 @@
PORTNAME= dnsmasq
-DISTVERSION= 2.88rc3 # remember to bump PORTEPOCH when going from test to rc!
+DISTVERSION= 2.88rc5 # remember to bump PORTEPOCH when going from test to rc!
# Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
PORTREVISION= 0
-# attn - PORTEPOCH is different between -devel and dnsmasq ports!
PORTEPOCH= 5
CATEGORIES= dns
MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/release-candidates/ \
diff --git a/dns/dnsmasq-devel/distinfo b/dns/dnsmasq-devel/distinfo
index c7167253e575..4e389cdf3e93 100644
--- a/dns/dnsmasq-devel/distinfo
+++ b/dns/dnsmasq-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668717623
-SHA256 (dnsmasq-2.88rc3.tar.xz) = fe8fad05cf48888aaae8cc934bef9c9290c5b11e1225d08eecdc7dd7571003ac
-SIZE (dnsmasq-2.88rc3.tar.xz) = 580628
+TIMESTAMP = 1669552421
+SHA256 (dnsmasq-2.88rc5.tar.xz) = bb76f5bd8bdf505d88f293f5565b164770288ae929279f77de755afea356d2cf
+SIZE (dnsmasq-2.88rc5.tar.xz) = 581468