summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-09-24 12:05:29 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-09-24 12:05:29 +0000
commitfa28231ea63abff1ec99203dd8fb78110c4e29e3 (patch)
tree0e8c3b1a2e4a7ee8ebd2d72643854fa63f320b88
parent19fe83500b7cd32d3a95b1d12fa62e324b70c170 (diff)
downloadbind-fa28231ea63abff1ec99203dd8fb78110c4e29e3.tar.gz
bind-fa28231ea63abff1ec99203dd8fb78110c4e29e3.tar.xz
bind-fa28231ea63abff1ec99203dd8fb78110c4e29e3.zip
- removed bind-9.3.3-edns.patch patch (see #275091 for reasons)bind-9_5_0-13_a6_fc8
-rw-r--r--bind-9.3.3-edns.patch87
-rw-r--r--bind.spec7
2 files changed, 4 insertions, 90 deletions
diff --git a/bind-9.3.3-edns.patch b/bind-9.3.3-edns.patch
deleted file mode 100644
index 0a22b84..0000000
--- a/bind-9.3.3-edns.patch
+++ /dev/null
@@ -1,87 +0,0 @@
---- bind-9.4.0/lib/dns/view.c.edns 2006-03-10 00:38:21.000000000 +0100
-+++ bind-9.4.0/lib/dns/view.c 2007-03-06 14:55:44.000000000 +0100
-@@ -160,6 +160,7 @@
- view->additionalfromcache = ISC_TRUE;
- view->additionalfromauth = ISC_TRUE;
- view->enablednssec = ISC_TRUE;
-+ view->enableedns = ISC_TRUE;
- view->enablevalidation = ISC_TRUE;
- view->acceptexpired = ISC_FALSE;
- view->minimalresponses = ISC_FALSE;
---- bind-9.4.0/lib/dns/include/dns/view.h.edns 2006-03-10 00:38:21.000000000 +0100
-+++ bind-9.4.0/lib/dns/include/dns/view.h 2007-03-06 14:56:19.000000000 +0100
-@@ -112,6 +112,7 @@
- isc_boolean_t additionalfromauth;
- isc_boolean_t minimalresponses;
- isc_boolean_t enablednssec;
-+ isc_boolean_t enableedns;
- isc_boolean_t enablevalidation;
- isc_boolean_t acceptexpired;
- dns_transfer_format_t transfer_format;
---- bind-9.4.0/lib/isccfg/namedconf.c.edns 2006-05-03 03:46:40.000000000 +0200
-+++ bind-9.4.0/lib/isccfg/namedconf.c 2007-03-06 14:43:48.000000000 +0100
-@@ -767,6 +767,7 @@
- { "root-delegation-only", &cfg_type_optional_exclude, 0 },
- { "disable-algorithms", &cfg_type_disablealgorithm,
- CFG_CLAUSEFLAG_MULTI },
-+ { "edns-enable", &cfg_type_boolean, 0 },
- { "dnssec-enable", &cfg_type_boolean, 0 },
- { "dnssec-validation", &cfg_type_boolean, 0 },
- { "dnssec-lookaside", &cfg_type_lookaside, CFG_CLAUSEFLAG_MULTI },
---- bind-9.4.0/doc/misc/options.edns 2006-05-03 04:26:59.000000000 +0200
-+++ bind-9.4.0/doc/misc/options 2007-03-06 14:43:48.000000000 +0100
-@@ -85,6 +85,7 @@
- max-udp-size <integer>;
- root-delegation-only [ exclude { <quoted_string>; ... } ];
- disable-algorithms <string> { <string>; ... };
-+ edns-enable <boolean>;
- dnssec-enable <boolean>;
- dnssec-validation <boolean>;
- dnssec-lookaside <string> trust-anchor <string>;
-@@ -313,6 +314,7 @@
- max-udp-size <integer>;
- root-delegation-only [ exclude { <quoted_string>; ... } ];
- disable-algorithms <string> { <string>; ... };
-+ edns-enable <boolean>;
- dnssec-enable <boolean>;
- dnssec-validation <boolean>;
- dnssec-lookaside <string> trust-anchor <string>;
---- bind-9.4.0/bin/named/config.c.edns 2006-05-03 03:46:40.000000000 +0200
-+++ bind-9.4.0/bin/named/config.c 2007-03-06 15:02:07.000000000 +0100
-@@ -135,6 +135,7 @@
- acache-enable no;\n\
- acache-cleaning-interval 60;\n\
- max-acache-size 0;\n\
-+ edns-enable yes;\n\
- dnssec-enable yes;\n\
- dnssec-validation no; /* Make yes for 9.5. */ \n\
- dnssec-accept-expired no;\n\
---- bind-9.4.0/bin/named/server.c.edns 2007-03-06 14:43:48.000000000 +0100
-+++ bind-9.4.0/bin/named/server.c 2007-03-06 15:01:24.000000000 +0100
-@@ -1492,6 +1492,11 @@
- dns_resolver_setclientsperquery(view->resolver,
- cfg_obj_asuint32(obj),
- max_clients_per_query);
-+
-+ obj = NULL;
-+ (void)ns_config_get(maps, "edns-enable", &obj);
-+ if(obj != NULL)
-+ view->enableedns = cfg_obj_asboolean(obj);
-
- obj = NULL;
- result = ns_config_get(maps, "dnssec-enable", &obj);
---- bind-9.4.0/bin/named/query.c.edns 2007-01-08 03:41:59.000000000 +0100
-+++ bind-9.4.0/bin/named/query.c 2007-03-06 14:43:48.000000000 +0100
-@@ -4578,6 +4578,12 @@
- if (client->view->enablednssec)
- message->flags |= DNS_MESSAGEFLAG_AD;
-
-+ /*
-+ * Disable edns if an user require it.
-+ */
-+ if (!client->view->enableedns)
-+ client->query.fetchoptions |= DNS_FETCHOPT_NOEDNS0;
-+
- qclient = NULL;
- ns_client_attach(client, &qclient);
- query_find(qclient, NULL, qtype);
diff --git a/bind.spec b/bind.spec
index 6df6734..f15b005 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: 12.4.%{RELEASEVER}%{?dist}
+Release: 13.%{RELEASEVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -58,7 +58,6 @@ Patch10: bind-9.3.2b1-PIE.patch
Patch13: bind-9.3.1rc1-fix_libbind_includedir.patch
Patch16: bind-9.3.2-redhat_doc.patch
Patch32: bind-9.3.2-prctl_set_dumpable.patch
-Patch52: bind-9.3.3-edns.patch
Patch63: bind-9.4.0-dnssec-directory.patch
Patch69: bind-9.5.0-generate-xml.patch
Patch71: bind-9.5-overflow.patch
@@ -233,7 +232,6 @@ cp -fp contrib/dbus/{dbus_mgr.c,dbus_service.c} bin/named
cp -fp contrib/dbus/{dbus_mgr.h,dbus_service.h} bin/named/include/named
%endif
%patch32 -p1 -b .prctl_set_dumpable
-%patch52 -p1 -b .edns
%if %{SDB}
%patch62 -p1 -b .sdb-sqlite-bld
%endif
@@ -645,6 +643,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/bind-chroot-admin
%changelog
+* Mon Sep 24 2007 Adam Tkac <atkac redhat com> 32:9.5.0-13.a6
+- removed bind-9.3.3-edns.patch patch (see #275091 for reasons)
+
* Thu Sep 20 2007 Adam Tkac <atkac redhat com> 32:9.5.0-12.4.a6
- build with O2
- removed "autotools" patch