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.4 |
%define major_version 9.9.5 |
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 |
223 |
%patch94 -p1 -b .rh461409 |
%patch94 -p1 -b .rh461409 |
224 |
mkdir m4 |
mkdir m4 |
225 |
%patch99 -p0 -b .libtool2 |
%patch99 -p0 -b .libtool2 |
|
|
|
226 |
%patch102 -p1 -b .rh452060 |
%patch102 -p1 -b .rh452060 |
227 |
%patch106 -p0 -b .rh490837 |
%patch106 -p1 -b .rh490837 |
228 |
%patch107 -p1 -b .dist-pkcs11 |
%patch107 -p1 -b .dist-pkcs11 |
229 |
%patch109 -p1 -b .rh478718 |
%patch109 -p1 -b .rh478718 |
230 |
%patch110 -p1 -b .rh570851 |
%patch110 -p1 -b .rh570851 |
232 |
%patch112 -p1 -b .rh645544 |
%patch112 -p1 -b .rh645544 |
233 |
%patch119 -p1 -b .rh693982 |
%patch119 -p1 -b .rh693982 |
234 |
%patch123 -p1 -b .rh735103 |
%patch123 -p1 -b .rh735103 |
235 |
pushd bin/dig |
%patch124 -p1 -b .nslookup-norec |
|
%patch124 -p0 -b .nslookup-norec |
|
|
popd |
|
236 |
%patch125 -p1 -b .buildfix |
%patch125 -p1 -b .buildfix |
237 |
%patch127 -p1 -b .forward |
%patch127 -p1 -b .forward |
238 |
%patch130 -p1 -b .libdb4 |
%patch130 -p1 -b .libdb4 |
270 |
%patch134 -p1 -b .rh669163 |
%patch134 -p1 -b .rh669163 |
271 |
%patch135 -p1 -b .libidn4 |
%patch135 -p1 -b .libidn4 |
272 |
|
|
273 |
%patch206 -p0 -b .varrun.droplet |
%patch206 -p1 -b .varrun.droplet |
274 |
%patch208 -p0 -b .prctl_set_dumpable.droplet |
%patch208 -p1 -b .prctl_set_dumpable.droplet |
275 |
|
|
276 |
%if %{geoip} |
%if %{geoip} |
277 |
%patch300 -p1 -b .geoip |
%patch300 -p1 -b .geoip |
331 |
--with-randomdev=/dev/urandom \ |
--with-randomdev=/dev/urandom \ |
332 |
--with-libxml2=yes \ |
--with-libxml2=yes \ |
333 |
--enable-newstats \ |
--enable-newstats \ |
334 |
|
--enable-rrl \ |
335 |
%if %{sdb} |
%if %{sdb} |
336 |
--with-dlz-ldap=yes \ |
--with-dlz-ldap=yes \ |
337 |
--with-dlz-postgres=yes \ |
--with-dlz-postgres=yes \ |
446 |
rm -f %{buildroot}%{_docdir}/%{name}/misc/Makefile* |
rm -f %{buildroot}%{_docdir}/%{name}/misc/Makefile* |
447 |
|
|
448 |
%multiarch_binaries %{buildroot}%{_bindir}/isc-config.sh |
%multiarch_binaries %{buildroot}%{_bindir}/isc-config.sh |
449 |
|
%multiarch_binaries %{buildroot}%{_bindir}/bind9-config |
450 |
|
|
451 |
cat > README.mga <<EOF |
cat > README.mga <<EOF |
452 |
Mageia BIND SDB support: |
Mageia BIND SDB support: |
526 |
%{_sbindir}/arpaname |
%{_sbindir}/arpaname |
527 |
%{_sbindir}/ddns-confgen |
%{_sbindir}/ddns-confgen |
528 |
%{_sbindir}/dns-keygen |
%{_sbindir}/dns-keygen |
529 |
|
%{_sbindir}/dnssec-checkds |
530 |
%{_sbindir}/dnssec-coverage |
%{_sbindir}/dnssec-coverage |
531 |
%{_sbindir}/dnssec-dsfromkey |
%{_sbindir}/dnssec-dsfromkey |
532 |
|
%{_sbindir}/dnssec-importkey |
533 |
%{_sbindir}/dnssec-keyfromlabel |
%{_sbindir}/dnssec-keyfromlabel |
534 |
%{_sbindir}/dnssec-keygen |
%{_sbindir}/dnssec-keygen |
535 |
%{_sbindir}/dnssec-revoke |
%{_sbindir}/dnssec-revoke |
536 |
%{_sbindir}/dnssec-settime |
%{_sbindir}/dnssec-settime |
537 |
%{_sbindir}/dnssec-signzone |
%{_sbindir}/dnssec-signzone |
|
%{_sbindir}/dnssec-checkds |
|
538 |
%{_sbindir}/dnssec-verify |
%{_sbindir}/dnssec-verify |
539 |
%{_sbindir}/genrandom |
%{_sbindir}/genrandom |
540 |
%{_sbindir}/isc-hmac-fixup |
%{_sbindir}/isc-hmac-fixup |
615 |
%files devel |
%files devel |
616 |
%doc CHANGES README |
%doc CHANGES README |
617 |
%multiarch %{multiarch_bindir}/isc-config.sh |
%multiarch %{multiarch_bindir}/isc-config.sh |
618 |
|
%multiarch %{multiarch_bindir}/bind9-config |
619 |
%{_bindir}/isc-config.sh |
%{_bindir}/isc-config.sh |
620 |
|
%{_bindir}/bind9-config |
621 |
%{_includedir}/* |
%{_includedir}/* |
622 |
%{_libdir}/*.a |
%{_libdir}/*.a |
623 |
|
%{_mandir}/man1/bind9-config.1* |
624 |
%{_mandir}/man1/isc-config.sh.1* |
%{_mandir}/man1/isc-config.sh.1* |
625 |
%{_mandir}/man3/lwres*.3* |
%{_mandir}/man3/lwres*.3* |
626 |
|
|