36 |
Summary: A DNS (Domain Name System) server |
Summary: A DNS (Domain Name System) server |
37 |
Name: bind |
Name: bind |
38 |
Version: 9.8.0 |
Version: 9.8.0 |
39 |
Release: %mkrel 6%dotpatch |
Release: %mkrel 7%dotpatch |
40 |
License: ISC |
License: ISC |
41 |
Group: System/Servers |
Group: System/Servers |
42 |
URL: http://www.isc.org/products/BIND/ |
URL: http://www.isc.org/products/BIND/ |
120 |
BuildRequires: krb5-devel |
BuildRequires: krb5-devel |
121 |
%endif |
%endif |
122 |
BuildRequires: libxml2-devel |
BuildRequires: libxml2-devel |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
123 |
|
|
124 |
%description |
%description |
125 |
BIND (Berkeley Internet Name Domain) is an implementation of the DNS |
BIND (Berkeley Internet Name Domain) is an implementation of the DNS |
249 |
cp %{SOURCE111} caching-nameserver/rndc.key |
cp %{SOURCE111} caching-nameserver/rndc.key |
250 |
cp %{SOURCE112} caching-nameserver/trusted_networks_acl.conf |
cp %{SOURCE112} caching-nameserver/trusted_networks_acl.conf |
251 |
|
|
|
# strip away annoying ^M |
|
|
find . -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//' |
|
|
find . -type f|xargs file|grep 'text'|cut -d: -f1|xargs perl -p -i -e 's/\r//' |
|
|
|
|
252 |
%build |
%build |
253 |
%serverbuild |
%serverbuild |
254 |
|
|
255 |
export CPPFLAGS="$CPPFLAGS -DDIG_SIGCHASE" |
export CPPFLAGS="$CPPFLAGS -DDIG_SIGCHASE" |
256 |
export STD_CDEFINES="$CPPFLAGS" |
export STD_CDEFINES="$CPPFLAGS" |
257 |
|
|
258 |
export WANT_AUTOCONF_2_5=1 |
libtoolize --copy --force |
259 |
libtoolize --copy --force; aclocal -I m4 --force; autoheader --force; autoconf --force |
aclocal -I m4 --force |
260 |
|
autoheader --force |
261 |
|
autoconf --force |
262 |
|
|
263 |
# (oe) make queryperf from the contrib _before_ bind..., makes it |
# (oe) make queryperf from the contrib _before_ bind..., makes it |
264 |
# easier to determine if it builds or not, it saves time... |
# easier to determine if it builds or not, it saves time... |
265 |
pushd contrib/queryperf |
pushd contrib/queryperf |
|
export WANT_AUTOCONF_2_5=1 |
|
266 |
rm -f configure |
rm -f configure |
267 |
autoconf |
autoconf |
268 |
%configure2_5x |
%configure2_5x |
270 |
popd |
popd |
271 |
|
|
272 |
pushd contrib/query-loc-* |
pushd contrib/query-loc-* |
|
export WANT_AUTOCONF_2_5=1 |
|
273 |
perl -pi -e "s|-lnsl|-lnsl -lresolv|g" configure* |
perl -pi -e "s|-lnsl|-lnsl -lresolv|g" configure* |
274 |
rm -f configure |
rm -f configure |
275 |
autoconf |
autoconf |
523 |
%postun |
%postun |
524 |
%_postun_userdel named |
%_postun_userdel named |
525 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
526 |
%files |
%files |
|
%defattr(-,root,root) |
|
527 |
%doc CHANGES README FAQ COPYRIGHT README.urpmi |
%doc CHANGES README FAQ COPYRIGHT README.urpmi |
528 |
%if %{sdb_ldap} |
%if %{sdb_ldap} |
529 |
%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap |
%doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap |
603 |
%config(noreplace) /var/lib/named/var/named/named.ca |
%config(noreplace) /var/lib/named/var/named/named.ca |
604 |
|
|
605 |
%files devel |
%files devel |
|
%defattr(-,root,root) |
|
606 |
%doc CHANGES README |
%doc CHANGES README |
607 |
%multiarch %{multiarch_bindir}/isc-config.sh |
%multiarch %{multiarch_bindir}/isc-config.sh |
608 |
%{_bindir}/isc-config.sh |
%{_bindir}/isc-config.sh |
612 |
%{_mandir}/man3/lwres*.3* |
%{_mandir}/man3/lwres*.3* |
613 |
|
|
614 |
%files utils |
%files utils |
|
%defattr(-,root,root) |
|
615 |
%doc README COPYRIGHT *.query-loc *.queryperf |
%doc README COPYRIGHT *.query-loc *.queryperf |
616 |
%{_bindir}/dig |
%{_bindir}/dig |
617 |
%{_bindir}/host |
%{_bindir}/host |
634 |
%{_mandir}/man5/resolv.5* |
%{_mandir}/man5/resolv.5* |
635 |
|
|
636 |
%files doc |
%files doc |
|
%defattr(-,root,root) |
|
637 |
%doc doc/draft doc/html doc/rfc doc/misc/ |
%doc doc/draft doc/html doc/rfc doc/misc/ |
638 |
%doc doc/dhcp-dynamic-dns-examples doc/chroot doc/trustix |
%doc doc/dhcp-dynamic-dns-examples doc/chroot doc/trustix |
639 |
|
|