diff --git a/bind.spec b/bind.spec index 861ec3e94a5bed5a24098b2601d3b01d4bab6493..1e4a6285f83e291a7353c5968508892b8eef75f1 100644 --- a/bind.spec +++ b/bind.spec @@ -30,7 +30,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.16.23 -Release: 3 +Release: 4 Epoch: 32 Url: https://www.isc.org/downloads/bind/ # @@ -85,6 +85,7 @@ Requires: shadow-utils Requires: glibc-common Requires: grep Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: systemd # This wild require should satisfy %%selinux_set_boolean macro only # in case it needs to be used Requires: policycoreutils-python-utils libselinux-utils @@ -93,7 +94,6 @@ Recommends: bind-utils bind-dnssec-utils BuildRequires: gcc, make BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel BuildRequires: libidn2-devel, libxml2-devel -#BuildRequires: systemd-rpm-macros BuildRequires: selinux-policy # needed for %%{__python3} macro BuildRequires: python3-devel @@ -605,7 +605,6 @@ touch ${RPM_BUILD_ROOT}/%{chroot_prefix}%{_sysconfdir}/named.conf pushd build %make_install popd -rpm -E %{_unitdir} # Remove unwanted files rm -f ${RPM_BUILD_ROOT}/etc/bind.keys @@ -1092,6 +1091,12 @@ fi; %endif %changelog +* Mon Jan 17 2022 jiangheng - 9.16.23-4 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:remove not enabled option in named.conf + * Fri Jan 14 2022 jiangheng - 9.16.23-3 - Type:bugfix - CVE:NA diff --git a/named.conf b/named.conf index c673ed43dce15a8ac19e63c2d135f0296b6ce40c..d62d3890cedc5b72cdcd0f6a9f981b8902a28ba8 100644 --- a/named.conf +++ b/named.conf @@ -33,7 +33,6 @@ options { dnssec-validation yes; managed-keys-directory "/var/named/dynamic"; - geoip-directory "/usr/share/GeoIP"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key";