Fix wrong default GeoIP directory (#1768258)
This commit is contained in:
parent
be8074fddc
commit
dff9083e8c
28
bind-9.11-rh1768258.patch
Normal file
28
bind-9.11-rh1768258.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 3466dfd7d44940821f195a36fceb0f1100f77c4e Mon Sep 17 00:00:00 2001
|
||||
From: Mark Andrews <marka@isc.org>
|
||||
Date: Tue, 5 Nov 2019 12:56:18 +1100
|
||||
Subject: [PATCH] The default geoip-directory should be
|
||||
<MAXMINDDB_PREFIX>/share/GeoIP
|
||||
|
||||
(cherry picked from commit fcd765a59db9b9a2b187448a90f3dbe6aa72fb84)
|
||||
(cherry picked from commit 7e79ebeebada6bcca81e8368eef72efbaae3c8c7)
|
||||
---
|
||||
bin/named/config.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/named/config.c b/bin/named/config.c
|
||||
index 833c1dc9d3..63da4b03f6 100644
|
||||
--- a/bin/named/config.c
|
||||
+++ b/bin/named/config.c
|
||||
@@ -72,7 +72,7 @@ options {\n\
|
||||
" files unlimited;\n"
|
||||
#endif
|
||||
#if defined(HAVE_GEOIP2) && !defined(WIN32)
|
||||
-" geoip-directory \"" MAXMINDDB_PREFIX "/share/GeoIP2\";\n"
|
||||
+" geoip-directory \"" MAXMINDDB_PREFIX "/share/GeoIP\";\n"
|
||||
#elif defined(HAVE_GEOIP2)
|
||||
" geoip-directory \".\";\n"
|
||||
#endif
|
||||
--
|
||||
2.20.1
|
||||
|
@ -61,7 +61,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
||||
Name: bind
|
||||
License: MPLv2.0
|
||||
Version: 9.11.12
|
||||
Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Release: 3%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Epoch: 32
|
||||
Url: https://www.isc.org/downloads/bind/
|
||||
#
|
||||
@ -157,6 +157,7 @@ Patch173:bind-9.11-rh1732883.patch
|
||||
# Make sure jsonccp-devel does not interfere
|
||||
Patch174:bind-9.11-json-c.patch
|
||||
Patch175:bind-9.11-fips-disable.patch
|
||||
Patch176: bind-9.11-rh1768258.patch
|
||||
|
||||
# SDB patches
|
||||
Patch11: bind-9.3.2b2-sdbsrc.patch
|
||||
@ -548,6 +549,7 @@ are used for building ISC DHCP.
|
||||
%patch173 -p1 -b .rh1732883
|
||||
%patch174 -p1 -b .json-c
|
||||
%patch175 -p1 -b .rh1709553
|
||||
%patch176 -p1 -b .rh1768258
|
||||
|
||||
mkdir lib/dns/tests/testdata/dstrandom
|
||||
cp -a %{SOURCE50} lib/dns/tests/testdata/dstrandom/random.data
|
||||
@ -1563,6 +1565,9 @@ fi;
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 06 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.12-3
|
||||
- Fix wrong default GeoIP directory (#1768258)
|
||||
|
||||
* Mon Nov 04 2019 Petr Menšík <pemensik@redhat.com> - 32:9.11.12-2
|
||||
- Move data files outside config archive
|
||||
- Specify geoip data directory in config file (#1768258)
|
||||
|
Loading…
Reference in New Issue
Block a user