From 565c3b28dc4b226b38123dafa9c4847a9343663d Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 21 Nov 2007 12:00:28 +0000 Subject: [PATCH] - use system port selector instead ISC's (#391931) --- bind-9.5-random_ports.patch | 19 +++++++++++++++++++ bind.spec | 7 ++++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 bind-9.5-random_ports.patch diff --git a/bind-9.5-random_ports.patch b/bind-9.5-random_ports.patch new file mode 100644 index 0000000..bb83a55 --- /dev/null +++ b/bind-9.5-random_ports.patch @@ -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; diff --git a/bind.spec b/bind.spec index a9008cd..e6d2e54 100644 --- a/bind.spec +++ b/bind.spec @@ -21,7 +21,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.5.0 -Release: 18.%{RELEASEVER}%{?dist} +Release: 18.2.%{RELEASEVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ 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 Patch72: bind-9.5-dlz-64bit.patch Patch80: bind-9.5-edns.patch +Patch83: bind-9.5-random_ports.patch # SDB patches 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 %patch73 -p1 -b .libidn %patch80 -p1 -b .edns +%patch83 -p1 -b .ports :; @@ -665,6 +667,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/bind-chroot-admin %changelog +* Wed Nov 21 2007 Adam Tkac 32:9.5.0-18.2.a7 +- use system port selector instead ISC's (#391931) + * Mon Nov 19 2007 Adam Tkac 32:9.5.0-18.a7 - removed statement from initscript which passes -D to named