- use system port selector instead ISC's (#391931)
This commit is contained in:
parent
072956c6a2
commit
565c3b28dc
19
bind-9.5-random_ports.patch
Normal file
19
bind-9.5-random_ports.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -up bind-9.5.0a7/lib/dns/resolver.c.ports bind-9.5.0a7/lib/dns/resolver.c
|
||||||
|
--- bind-9.5.0a7/lib/dns/resolver.c.ports 2007-11-20 15:33:38.000000000 +0100
|
||||||
|
+++ bind-9.5.0a7/lib/dns/resolver.c 2007-11-20 15:34:27.000000000 +0100
|
||||||
|
@@ -7382,7 +7382,6 @@ disppooltimer_update(isc_task_t *task, i
|
||||||
|
|
||||||
|
attrs_base = 0;
|
||||||
|
attrs_base |= DNS_DISPATCHATTR_UDP;
|
||||||
|
- attrs_base |= DNS_DISPATCHATTR_RANDOMPORT;
|
||||||
|
|
||||||
|
attrmask = 0;
|
||||||
|
attrmask |= DNS_DISPATCHATTR_UDP;
|
||||||
|
@@ -7480,7 +7479,6 @@ dns_resolver_createdispatchpool(dns_reso
|
||||||
|
|
||||||
|
attrs_base = 0;
|
||||||
|
attrs_base |= DNS_DISPATCHATTR_UDP;
|
||||||
|
- attrs_base |= DNS_DISPATCHATTR_RANDOMPORT;
|
||||||
|
|
||||||
|
attrmask = 0;
|
||||||
|
attrmask |= DNS_DISPATCHATTR_UDP;
|
@ -21,7 +21,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
|||||||
Name: bind
|
Name: bind
|
||||||
License: ISC
|
License: ISC
|
||||||
Version: 9.5.0
|
Version: 9.5.0
|
||||||
Release: 18.%{RELEASEVER}%{?dist}
|
Release: 18.2.%{RELEASEVER}%{?dist}
|
||||||
Epoch: 32
|
Epoch: 32
|
||||||
Url: http://www.isc.org/products/BIND/
|
Url: http://www.isc.org/products/BIND/
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -63,6 +63,7 @@ Patch69: bind-9.5.0-generate-xml.patch
|
|||||||
Patch71: bind-9.5-overflow.patch
|
Patch71: bind-9.5-overflow.patch
|
||||||
Patch72: bind-9.5-dlz-64bit.patch
|
Patch72: bind-9.5-dlz-64bit.patch
|
||||||
Patch80: bind-9.5-edns.patch
|
Patch80: bind-9.5-edns.patch
|
||||||
|
Patch83: bind-9.5-random_ports.patch
|
||||||
|
|
||||||
# SDB patches
|
# SDB patches
|
||||||
Patch11: bind-9.3.2b2-sdbsrc.patch
|
Patch11: bind-9.3.2b2-sdbsrc.patch
|
||||||
@ -256,6 +257,7 @@ cp -fp contrib/dbus/{dbus_mgr.h,dbus_service.h} bin/named/include/named
|
|||||||
%endif
|
%endif
|
||||||
%patch73 -p1 -b .libidn
|
%patch73 -p1 -b .libidn
|
||||||
%patch80 -p1 -b .edns
|
%patch80 -p1 -b .edns
|
||||||
|
%patch83 -p1 -b .ports
|
||||||
:;
|
:;
|
||||||
|
|
||||||
|
|
||||||
@ -665,6 +667,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_sbindir}/bind-chroot-admin
|
%{_sbindir}/bind-chroot-admin
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 21 2007 Adam Tkac <atkac redhat com> 32:9.5.0-18.2.a7
|
||||||
|
- use system port selector instead ISC's (#391931)
|
||||||
|
|
||||||
* Mon Nov 19 2007 Adam Tkac <atkac redhat com> 32:9.5.0-18.a7
|
* Mon Nov 19 2007 Adam Tkac <atkac redhat com> 32:9.5.0-18.a7
|
||||||
- removed statement from initscript which passes -D to named
|
- removed statement from initscript which passes -D to named
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user