17 |
|
|
18 |
Name: bind |
Name: bind |
19 |
Version: %{major_version}%{dotpatch} |
Version: %{major_version}%{dotpatch} |
20 |
Release: %mkrel 1 |
Release: %mkrel 2 |
21 |
Summary: A DNS (Domain Name System) server |
Summary: A DNS (Domain Name System) server |
22 |
License: ISC |
License: ISC |
23 |
Group: System/Servers |
Group: System/Servers |
30 |
Source6: bind-named.sysconfig |
Source6: bind-named.sysconfig |
31 |
Source7: bind-keygen.c |
Source7: bind-keygen.c |
32 |
Source8: named.NetworkManager |
Source8: named.NetworkManager |
33 |
|
Source9: setup-named-chroot.sh |
34 |
Source12: README.sdb_pgsql |
Source12: README.sdb_pgsql |
35 |
Source11: ftp://ftp.internic.net/domain/named.cache |
Source11: ftp://ftp.internic.net/domain/named.cache |
36 |
# caching-nameserver files (S100-S112) |
# caching-nameserver files (S100-S112) |
56 |
Source35: bind.tmpfiles.d |
Source35: bind.tmpfiles.d |
57 |
Source36: bind-9.3.1rc1-sdb_tools-Makefile.in |
Source36: bind-9.3.1rc1-sdb_tools-Makefile.in |
58 |
Source37: named.service |
Source37: named.service |
|
Source38: named-chroot.service |
|
59 |
Source39: named-sdb.service |
Source39: named-sdb.service |
|
Source40: named-sdb-chroot.service |
|
60 |
|
|
61 |
# fedora patches |
# fedora patches |
62 |
Patch71: bind-9.5-overflow.patch |
Patch71: bind-9.5-overflow.patch |
245 |
%patch300 -p1 -b .geoip |
%patch300 -p1 -b .geoip |
246 |
%endif |
%endif |
247 |
|
|
|
sed -e "s#@BUILD_ARCH@#%{_target_cpu}#" %{SOURCE4} >named.init |
|
|
cp %{SOURCE6} named.sysconfig |
|
248 |
cp %{SOURCE7} keygen.c |
cp %{SOURCE7} keygen.c |
249 |
cp %{SOURCE11} named.cache |
cp %{SOURCE11} named.cache |
250 |
|
|
364 |
install -d -m 755 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d |
install -d -m 755 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d |
365 |
install -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/13-named |
install -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/13-named |
366 |
|
|
367 |
|
install -m 755 %{SOURCE9} %{buildroot}%{_sbindir}/setup-named-chroot.sh |
368 |
|
|
369 |
# systemd files |
# systemd files |
370 |
install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d |
install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d |
371 |
install -m 644 %{SOURCE35} %{buildroot}%{_sysconfdir}/tmpfiles.d/named.conf |
install -m 644 %{SOURCE35} %{buildroot}%{_sysconfdir}/tmpfiles.d/named.conf |
372 |
|
|
373 |
install -d -m 755 %{buildroot}%{_unitdir} |
install -d -m 755 %{buildroot}%{_unitdir} |
374 |
install -m 644 %{SOURCE37} %{buildroot}%{_unitdir} |
install -m 644 %{SOURCE37} %{buildroot}%{_unitdir} |
|
install -m 644 %{SOURCE38} %{buildroot}%{_unitdir} |
|
375 |
install -m 644 %{SOURCE39} %{buildroot}%{_unitdir} |
install -m 644 %{SOURCE39} %{buildroot}%{_unitdir} |
|
install -m 644 %{SOURCE40} %{buildroot}%{_unitdir} |
|
376 |
|
|
377 |
%if %{sdb} |
%if %{sdb} |
378 |
install -m 644 %{SOURCE12} contrib/sdb/pgsql/ |
install -m 644 %{SOURCE12} contrib/sdb/pgsql/ |
476 |
%{_sysconfdir}/NetworkManager/dispatcher.d/13-named |
%{_sysconfdir}/NetworkManager/dispatcher.d/13-named |
477 |
%{_initrddir}/named |
%{_initrddir}/named |
478 |
%{_unitdir}/named.service |
%{_unitdir}/named.service |
479 |
%{_unitdir}/named-chroot.service |
%{_sbindir}/setup-named-chroot.sh |
|
%{_unitdir}/named-sdb-chroot.service |
|
480 |
%{_sbindir}/arpaname |
%{_sbindir}/arpaname |
481 |
%{_sbindir}/ddns-confgen |
%{_sbindir}/ddns-confgen |
482 |
%{_sbindir}/dns-keygen |
%{_sbindir}/dns-keygen |