Commit 5701674e authored by Michał Kępień's avatar Michał Kępień
Browse files

Add a patch for GitLab issue #2779

parent 3ac10a05
SOURCE_URL = https://ftp.isc.org/isc/bind9/9.17.14/bind-9.17.14.tar.xz
PACKAGE_REVISION = 1
PACKAGE_REVISION = 2
SOURCE_URL = https://ftp.isc.org/isc/bind9/9.16.17/bind-9.16.17.tar.xz
PACKAGE_REVISION = 1
PACKAGE_REVISION = 2
From 08eeebb6a7ef45ac796a0df47a92350473a4e0b8 Mon Sep 17 00:00:00 2001
From: Mark Andrews <marka@isc.org>
Date: Fri, 18 Jun 2021 11:29:45 +1000
Subject: [PATCH] Add w and W to maptoupper and maptolower tables
---
lib/dns/rbtdb.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c
index 11bd4712d94..06ac91d7935 100644
--- a/lib/dns/rbtdb.c
+++ b/lib/dns/rbtdb.c
@@ -9874,7 +9874,8 @@ static const unsigned char maptolower[256] = {
['F'] = 'f', ['G'] = 'g', ['H'] = 'h', ['I'] = 'i', ['J'] = 'j',
['K'] = 'k', ['L'] = 'l', ['M'] = 'm', ['N'] = 'n', ['O'] = 'o',
['P'] = 'p', ['Q'] = 'q', ['R'] = 'r', ['S'] = 's', ['T'] = 't',
- ['U'] = 'u', ['V'] = 'v', ['X'] = 'x', ['Y'] = 'y', ['Z'] = 'z',
+ ['U'] = 'u', ['V'] = 'v', ['W'] = 'w', ['X'] = 'x', ['Y'] = 'y',
+ ['Z'] = 'z',
};
static const unsigned char maptoupper[256] = {
@@ -9882,7 +9883,8 @@ static const unsigned char maptoupper[256] = {
['f'] = 'F', ['g'] = 'G', ['h'] = 'H', ['i'] = 'I', ['j'] = 'J',
['k'] = 'K', ['l'] = 'L', ['m'] = 'M', ['n'] = 'N', ['o'] = 'O',
['p'] = 'P', ['q'] = 'Q', ['r'] = 'R', ['s'] = 'S', ['t'] = 'T',
- ['u'] = 'U', ['v'] = 'V', ['x'] = 'X', ['y'] = 'Y', ['z'] = 'Z',
+ ['u'] = 'U', ['v'] = 'V', ['w'] = 'W', ['x'] = 'X', ['y'] = 'Y',
+ ['z'] = 'Z',
};
static void
--
2.32.0
......@@ -103,6 +103,8 @@ Source1: named.service.in
Source2: named.sysconfig
Source3: named.conf.in
Patch: 5194.patch
%description
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
(Domain Name System) protocol. BIND includes a DNS server (named),
......@@ -154,6 +156,9 @@ servers.
%prep
%setup -q -n bind-%{UPSTREAM_VERSION}
%if %{MINOR_VERSION} >= 16
%patch -p1
%endif
%build
%{?scl:scl enable %scl -- <<\EOF}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment