Summary(uk.UTF-8): BIND - cервер системи доменних імен (DNS)
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
-%define sver 9.4.1
-%define plevel P1
-Version: %{sver}.%{plevel}
+Version: 9.4.2
Release: 1
-Epoch: 6
+Epoch: 7
License: BSD-like
Group: Networking/Daemons
-Source0: ftp://ftp.isc.org/isc/bind9/%{sver}-%{plevel}/%{name}-%{sver}-%{plevel}.tar.gz
-# Source0-md5: 44e0514e6105ddaa235394045d9aeb0c
+Source0: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 57953d7264139b9506b9d66174125179
Source1: %{name}-conf.tar.gz
-# Source1-md5: 8ee77729f806fcd548fe0cceb34b4a06
+# Source1-md5: 14d2c6befe25e68c713a1deb552668cc
Source2: named.init
Source3: named.sysconfig
Source4: named.logrotate
# Source6-md5: 49fe799c6eca54ae227b22d57ebc1145
Source7: %{name}-hip.tar.gz
# Source7-md5: 62a8a67f51ff8db9fe815205416a1f62
+Source8: ftp://rs.internic.net/domain/named.root
+# Source8-md5: 8c212c0260d708f15f75d3adc71f0149
Patch0: %{name}-time.patch
Patch1: %{name}-autoconf.patch
Patch2: %{name}-includedir-libbind.patch
Patch4: %{name}-pmake.patch
Patch5: %{name}-sdb-ldap.patch
Patch6: %{name}-noinet6.patch
-Patch7: %{name}-getifaddrs.patch
-Patch8: %{name}-dighost_asccheck.patch
-Patch9: %{name}-chroot-numcpus.patch
+Patch7: %{name}-chroot-numcpus.patch
URL: http://www.isc.org/products/BIND/bind9.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: idnkit-devel
%{?with_hip:BuildRequires: libxml2-devel}
BuildRequires: libtool
-%{?with_ldap:BuildRequires: openldap-devel}
+%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
%{?with_sql:BuildRequires: mysql-devel}
%{?with_sql:BuildRequires: postgresql-devel}
-BuildRequires: unixODBC-devel
+%{?with_sql:BuildRequires: unixODBC-devel}
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires(postun): /usr/sbin/groupdel
Schemat BIND dla openldap.
%prep
-%setup -q -a1 %{?with_hip:-a7} -n %{name}-%{sver}-%{plevel}
+%setup -q -a1 %{?with_hip:-a7}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%{?with_ldap:%patch5 -p1}
%patch6 -p1
%patch7 -p1
-%patch8 -p1
-%patch9 -p1
%{?with_hip:mv bind-hip/hip_55.[ch] lib/dns/rdata/generic}
+install %{SOURCE8} conf-pld/root.hint
+
%build
%{__libtoolize}
%{__aclocal}