]> git.pld-linux.org Git - packages/bind.git/commitdiff
Rel 2; silence one debug message auto/th/bind-9.18.9-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 20 Dec 2022 10:09:42 +0000 (11:09 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 20 Dec 2022 10:09:42 +0000 (11:09 +0100)
bind.spec
debug.patch [new file with mode: 0644]

index 561785e95a9eff5f7bcd4defd264db57a0ffcfec..a02e1b5e672956600479481f02a502cb3c6790fc 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -44,7 +44,7 @@ Summary(uk.UTF-8):    BIND - cервер системи доменних імен (
 Summary(zh_CN.UTF-8):  Internet 域名服务器
 Name:          bind
 Version:       %{ver}%{pverdot}
-Release:       1
+Release:       2
 Epoch:         7
 License:       MPL 2.0
 Group:         Networking/Daemons
@@ -65,6 +65,7 @@ Source10:     %{name}-named.conf
 Source11:      %{name}.tmpfiles
 Source12:      named.service
 
+Patch2:         debug.patch
 Patch3:                jemalloc.patch
 Patch4:                %{name}-ac-libs.patch
 Patch5:                %{name}-edns-client-subnet.patch
@@ -383,6 +384,7 @@ BIND.
 %prep
 %setup -q %{?with_hip:-a6} -n %{name}-%{ver}%{pverdir}
 
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %{?with_hip:%{__mv} bind-hip/hip_55.[ch] lib/dns/rdata/generic}
diff --git a/debug.patch b/debug.patch
new file mode 100644 (file)
index 0000000..393cf78
--- /dev/null
@@ -0,0 +1,11 @@
+--- bind-9.18.9/lib/dns/zone.c~        2022-11-07 23:17:42.000000000 +0100
++++ bind-9.18.9/lib/dns/zone.c 2022-12-20 11:06:25.886493925 +0100
+@@ -5801,7 +5801,7 @@ dns_zone_detach(dns_zone_t **zonep) {
+                * Stop things being restarted after we cancel them below.
+                */
+               DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_EXITING);
+-              dns_zone_log(zone, ISC_LOG_INFO, "final reference detached");
++              dns_zone_log(zone, ISC_LOG_DEBUG(1), "final reference detached");
+               if (zone->task != NULL) {
+                       /*
+                        * This zone has a task; it can clean
This page took 3.821256 seconds and 4 git commands to generate.