9 |
%{?_with_gssapi: %{expand: %%global gssapi 1}} |
%{?_with_gssapi: %{expand: %%global gssapi 1}} |
10 |
%{?_without_gssapi: %{expand: %%global gssapi 0}} |
%{?_without_gssapi: %{expand: %%global gssapi 0}} |
11 |
|
|
12 |
%define major_version 9.9.2 |
%define major_version 9.9.3 |
13 |
%define patch_version P2 |
%define patch_version |
14 |
%define dashpatch %{?patch_version:-%patch_version}%nil |
%define dashpatch %{?patch_version:-%patch_version}%nil |
15 |
%define dotpatch %{?patch_version:.%patch_version}%nil |
%define dotpatch %{?patch_version:.%patch_version}%nil |
16 |
%define chroot_prefix /var/lib/named |
%define chroot_prefix /var/lib/named |
17 |
|
|
18 |
Name: bind |
Name: bind |
19 |
Version: %{major_version}%{dotpatch} |
Version: %{major_version}%{dotpatch} |
20 |
Release: %mkrel 2 |
Release: %mkrel 1 |
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 |
59 |
Patch10: bind-9.5-PIE.patch |
Patch10: bind-9.5-PIE.patch |
60 |
Patch72: bind-9.5-dlz-64bit.patch |
Patch72: bind-9.5-dlz-64bit.patch |
61 |
Patch87: bind-9.5-parallel-build.patch |
Patch87: bind-9.5-parallel-build.patch |
62 |
Patch99: bind-96-libtool2.patch |
Patch99: bind-9.9.3-libtool2.diff |
63 |
Patch101: bind-96-old-api.patch |
Patch101: bind-96-old-api.patch |
64 |
Patch102: bind-95-rh452060.patch |
Patch102: bind-95-rh452060.patch |
65 |
Patch106: bind93-rh490837.patch |
Patch106: bind93-rh490837.patch |
73 |
Patch124: nslookup-norec.patch |
Patch124: nslookup-norec.patch |
74 |
Patch125: bind99-buildfix.patch |
Patch125: bind99-buildfix.patch |
75 |
Patch127: bind99-forward.patch |
Patch127: bind99-forward.patch |
76 |
Patch130: bind-9.9.2-dlz-libdb4.patch |
Patch130: bind-9.9.3-dlz-libdb4.diff |
77 |
Patch131: bind-9.9.1-P2-multlib-conflict.patch |
Patch131: bind-9.9.1-P2-multlib-conflict.patch |
78 |
Patch132: bind99-stat.patch |
Patch132: bind99-stat.patch |
79 |
|
Patch133: bind99-rh640538.patch |
80 |
|
Patch134: bind97-rh669163.patch |
81 |
|
Patch135: bind99-libidn4.patch |
82 |
|
Patch136: rl-9.9.3rc2.patch |
83 |
|
Patch137: bind99-rrl.patch |
84 |
|
|
85 |
# SDB patches |
# SDB patches |
86 |
Patch11: bind-9.3.2b2-sdbsrc.patch |
Patch11: bind-9.9.3-sdbsrc.diff |
87 |
Patch12: bind-9.5-sdb.patch |
Patch12: bind-9.5-sdb.patch |
88 |
Patch62: bind-9.5-sdb-sqlite-bld.patch |
Patch62: bind-9.5-sdb-sqlite-bld.patch |
89 |
|
|
100 |
# other patches |
# other patches |
101 |
Patch206: bind-9.2.0rc3-varrun.patch |
Patch206: bind-9.2.0rc3-varrun.patch |
102 |
Patch208: bind-9.3.2-prctl_set_dumpable.patch |
Patch208: bind-9.3.2-prctl_set_dumpable.patch |
|
Patch209: bind-9.9.2-P2-CVE-2012-5689.patch |
|
103 |
|
|
104 |
# (oe) rediffed patch originates from http://www.caraytech.com/geodns/ |
# (oe) rediffed patch originates from http://www.caraytech.com/geodns/ |
105 |
Patch300: bind-9.4.0-geoip.diff |
Patch300: bind-9.4.0-geoip.diff |
224 |
%patch87 -p1 -b .parallel |
%patch87 -p1 -b .parallel |
225 |
%patch94 -p1 -b .rh461409 |
%patch94 -p1 -b .rh461409 |
226 |
mkdir m4 |
mkdir m4 |
227 |
%patch99 -p1 -b .libtool2 |
%patch99 -p0 -b .libtool2 |
228 |
|
|
229 |
%patch102 -p1 -b .rh452060 |
%patch102 -p1 -b .rh452060 |
230 |
%patch106 -p0 -b .rh490837 |
%patch106 -p0 -b .rh490837 |
242 |
%patch127 -p1 -b .forward |
%patch127 -p1 -b .forward |
243 |
%patch130 -p1 -b .libdb4 |
%patch130 -p1 -b .libdb4 |
244 |
%patch131 -p1 -b .multlib-conflict |
%patch131 -p1 -b .multlib-conflict |
245 |
|
%patch136 -p1 -b .rl |
246 |
|
%patch137 -p1 -b .rrl |
247 |
|
|
248 |
%if %{sdb} |
%if %{sdb} |
249 |
%patch101 -p1 -b .old-api |
%patch101 -p1 -b .old-api |
273 |
%patch62 -p1 -b .sdb-sqlite-bld |
%patch62 -p1 -b .sdb-sqlite-bld |
274 |
%endif |
%endif |
275 |
%patch132 -p1 -b .stat |
%patch132 -p1 -b .stat |
276 |
|
%patch133 -p1 -b .rh640538 |
277 |
|
%patch134 -p1 -b .rh669163 |
278 |
|
%patch135 -p1 -b .libidn4 |
279 |
|
|
280 |
%patch206 -p0 -b .varrun.droplet |
%patch206 -p0 -b .varrun.droplet |
281 |
%patch208 -p0 -b .prctl_set_dumpable.droplet |
%patch208 -p0 -b .prctl_set_dumpable.droplet |
|
%patch209 -p1 -b .CVE-2012-5689 |
|
282 |
|
|
283 |
%if %{geoip} |
%if %{geoip} |
284 |
%patch300 -p1 -b .geoip |
%patch300 -p1 -b .geoip |
337 |
%endif |
%endif |
338 |
--with-randomdev=/dev/urandom \ |
--with-randomdev=/dev/urandom \ |
339 |
--with-libxml2=yes \ |
--with-libxml2=yes \ |
340 |
|
--enable-newstats \ |
341 |
%if %{sdb} |
%if %{sdb} |
342 |
--with-dlz-ldap=yes \ |
--with-dlz-ldap=yes \ |
343 |
--with-dlz-postgres=yes \ |
--with-dlz-postgres=yes \ |
531 |
%{_sbindir}/arpaname |
%{_sbindir}/arpaname |
532 |
%{_sbindir}/ddns-confgen |
%{_sbindir}/ddns-confgen |
533 |
%{_sbindir}/dns-keygen |
%{_sbindir}/dns-keygen |
534 |
|
%{_sbindir}/dnssec-coverage |
535 |
%{_sbindir}/dnssec-dsfromkey |
%{_sbindir}/dnssec-dsfromkey |
536 |
%{_sbindir}/dnssec-keyfromlabel |
%{_sbindir}/dnssec-keyfromlabel |
537 |
%{_sbindir}/dnssec-keygen |
%{_sbindir}/dnssec-keygen |