Commit 96cfb796 authored by Michał Kępień's avatar Michał Kępień
Browse files

Add patches for GitLab issue #2872

parent 6bc4384c
SOURCE_URL = https://ftp.isc.org/isc/bind9/9.17.17/bind-9.17.17.tar.xz
PACKAGE_REVISION = 1
PACKAGE_REVISION = 2
SOURCE_URL = https://ftp.isc.org/isc/bind9/9.16.20/bind-9.16.20.tar.xz
PACKAGE_REVISION = 1
PACKAGE_REVISION = 2
--- a/lib/dns/mapapi
+++ b/lib/dns/mapapi
@@ -13,4 +13,4 @@
# Whenever releasing a new major release of BIND9, set this value
# back to 1.0 when releasing the first alpha. Map files are *never*
# compatible across major releases.
-MAPAPI=2.0
+MAPAPI=3.0
--- a/configure
+++ b/configure
@@ -2629,7 +2629,7 @@
# back to 1.0 when releasing the first alpha. Map files are *never*
# compatible across major releases.
-$as_echo "#define MAPAPI \"2.0\"" >>confdefs.h
+$as_echo "#define MAPAPI \"3.0\"" >>confdefs.h
bind_CONFIGARGS="${ac_configure_args:-default}"
......@@ -103,6 +103,9 @@ Source1: named.service.in
Source2: named.sysconfig
Source3: named.conf.in
Patch0: 2872-bind-9.17.patch
Patch1: 2872-bind-9.16.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 +157,12 @@ servers.
%prep
%setup -q -n bind-%{UPSTREAM_VERSION}
%if %{MINOR_VERSION} == 17
%patch0 -p1
%endif
%if %{MINOR_VERSION} == 16
%patch1 -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