[packages/bind] Rel 2; silence one debug message

arekm arekm at pld-linux.org
Tue Dec 20 11:10:07 CET 2022


commit 00c7f98921074ee94a47bc536c52e2362e21e897
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Dec 20 11:09:42 2022 +0100

    Rel 2; silence one debug message

 bind.spec   |  4 +++-
 debug.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/bind.spec b/bind.spec
index 561785e..a02e1b5 100644
--- 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
index 0000000..393cf78
--- /dev/null
+++ b/debug.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bind.git/commitdiff/00c7f98921074ee94a47bc536c52e2362e21e897



More information about the pld-cvs-commit mailing list