%endif
%define ver 9.12.2
-%if 0
+%if 1
%define pverdot .P1
%define pverdir -P1
%else
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
Version: %{ver}%{pverdot}
-Release: 2
+Release: 1
Epoch: 7
License: MPL 2.0
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}/%{name}-%{ver}%{pverdir}.tar.gz
-# Source0-md5: 37c0e31138976cfddd48fe6e2fa3e329
+# Source0-md5: cadf03eb10a6bfcbca6c0873e4f6ea89
Source1: named.init
Source2: named.sysconfig
Source3: named.logrotate
# Source5-md5: 49fe799c6eca54ae227b22d57ebc1145
Source6: %{name}-hip.tar.gz
# Source6-md5: 62a8a67f51ff8db9fe815205416a1f62
-Source7: ftp://rs.internic.net/domain/root.zone
-# Source7-md5: b443462901a0d16778019f12608d3234
+Source7: https://www.internic.net/domain/named.root
+# Source7-md5: d090610a892c2e476d93042dc70dc393
Source8: %{name}-127.0.0.zone
Source9: %{name}-localhost.zone
Source10: %{name}-named.conf
BuildRequires: flex
%{?with_geoip:BuildRequires: GeoIP-devel}
%{?with_kerberos5:BuildRequires: heimdal-devel}
-BuildRequires: idnkit-devel
BuildRequires: json-c-devel
+BuildRequires: libidn2-devel
%{?with_seccomp:BuildRequires: libseccomp-devel}
BuildRequires: libtool
%{?with_hip:BuildRequires: libxml2-devel}
%{!?with_static_libs:--disable-static} \
--enable-threads \
%{?with_kerberos5:--with-gssapi} \
- --with-idn \
+ --with-libidn2 \
--with-libtool \
%{?with_ssl:--with-openssl} \
%{?with_sql:--with-dlz-postgres} \