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.2 |
13 |
%define patch_version P1 |
%define patch_version P2 |
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 6 |
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 |
95 |
# other patches |
# other patches |
96 |
Patch206: bind-9.2.0rc3-varrun.patch |
Patch206: bind-9.2.0rc3-varrun.patch |
97 |
Patch208: bind-9.3.2-prctl_set_dumpable.patch |
Patch208: bind-9.3.2-prctl_set_dumpable.patch |
98 |
|
Patch209: bind-9.9.2-P2-CVE-2012-5689.patch |
99 |
|
|
100 |
# (oe) rediffed patch originates from http://www.caraytech.com/geodns/ |
# (oe) rediffed patch originates from http://www.caraytech.com/geodns/ |
101 |
Patch300: bind-9.4.0-geoip.diff |
Patch300: bind-9.4.0-geoip.diff |
102 |
Requires: bind-utils >= %{version}-%{release} |
Requires: bind-utils >= %{version}-%{release} |
270 |
|
|
271 |
%patch206 -p0 -b .varrun.droplet |
%patch206 -p0 -b .varrun.droplet |
272 |
%patch208 -p0 -b .prctl_set_dumpable.droplet |
%patch208 -p0 -b .prctl_set_dumpable.droplet |
273 |
|
%patch209 -p1 -b .CVE-2012-5689 |
274 |
|
|
275 |
%if %{geoip} |
%if %{geoip} |
276 |
%patch300 -p1 -b .geoip |
%patch300 -p1 -b .geoip |