summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-08-23 11:11:25 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-08-23 11:11:25 +0000
commitc2ec1465ff20d8a59ef4bd898498fc6685443073 (patch)
tree2b6cdcfa22353630de60ede7c09b6d0b4df67efb
parentde5c2d01207da3defd67152270d305a10031400c (diff)
downloadbind-c2ec1465ff20d8a59ef4bd898498fc6685443073.tar.gz
bind-c2ec1465ff20d8a59ef4bd898498fc6685443073.tar.xz
bind-c2ec1465ff20d8a59ef4bd898498fc6685443073.zip
- start using --disable-isc-spnego configure optionbind-9_5_0-11_a6_fc8
- remove bind-9.5-spnego-memory_management.patch (source isn't compiled)
-rw-r--r--bind-9.5-gssapictx-free.patch41
-rw-r--r--bind.spec10
2 files changed, 7 insertions, 44 deletions
diff --git a/bind-9.5-gssapictx-free.patch b/bind-9.5-gssapictx-free.patch
deleted file mode 100644
index 35f1b40..0000000
--- a/bind-9.5-gssapictx-free.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Written-by: Adam Tkac <atkac redhat com>
-diff -up bind-9.5.0a6/lib/dns/spnego.h.free bind-9.5.0a6/lib/dns/spnego.h
---- bind-9.5.0a6/lib/dns/spnego.h.free 2007-06-20 01:47:16.000000000 +0200
-+++ bind-9.5.0a6/lib/dns/spnego.h 2007-08-22 14:32:13.000000000 +0200
-@@ -67,5 +67,9 @@ OM_uint32 gss_accept_sec_context_spnego(
- OM_uint32 *,
- gss_cred_id_t *);
-
-+/*
-+ * We have to export this because we need to free memory allocated by spnego_malloc
-+ */
-+void spnego_free(void *ptr, const char *file, int line);
-
- #endif
-diff -up bind-9.5.0a6/lib/dns/gssapictx.c.free bind-9.5.0a6/lib/dns/gssapictx.c
---- bind-9.5.0a6/lib/dns/gssapictx.c.free 2007-06-20 01:47:16.000000000 +0200
-+++ bind-9.5.0a6/lib/dns/gssapictx.c 2007-08-22 14:44:46.000000000 +0200
-@@ -510,7 +510,11 @@ dst_gssapi_initctx(dns_name_t *name, isc
- RETERR(isc_buffer_copyregion(outtoken, &r));
-
- (void)gss_release_name(&minor, &gname);
-+#ifdef USE_ISC_SPNEGO
-+ spnego_free (gouttoken.value, __FILE__, __LINE__);
-+#else
- (void)gss_release_buffer(&minor, &gouttoken);
-+#endif
-
- if (gret == GSS_S_COMPLETE)
- result = ISC_R_SUCCESS;
-diff -up bind-9.5.0a6/lib/dns/spnego.c.free bind-9.5.0a6/lib/dns/spnego.c
---- bind-9.5.0a6/lib/dns/spnego.c.free 2007-06-20 01:47:16.000000000 +0200
-+++ bind-9.5.0a6/lib/dns/spnego.c 2007-08-22 14:32:13.000000000 +0200
-@@ -201,7 +201,7 @@ spnego_malloc(size_t size, const char *f
- return (p);
- }
-
--static void
-+void
- spnego_free(void *ptr, const char *file, int line)
- {
- char *p = ptr;
diff --git a/bind.spec b/bind.spec
index 545d239..a7dff96 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: 10.2.%{RELEASEVER}%{?dist}
+Release: 11.%{RELEASEVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -65,7 +65,6 @@ Patch69: bind-9.5.0-generate-xml.patch
Patch71: bind-9.5-overflow.patch
Patch72: bind-9.5-dlz-64bit.patch
Patch75: bind-9.5-update.patch
-Patch76: bind-9.5-gssapictx-free.patch
# SDB patches
Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -247,7 +246,6 @@ cp -fp contrib/dbus/{dbus_mgr.h,dbus_service.h} bin/named/include/named
%endif
%patch73 -p1 -b .libidn
%patch75 -p1 -b .update
-%patch76 -p1 -b .free
:;
@@ -291,6 +289,7 @@ export LDFLAGS=-lefence
%endif
%if %{GSSTSIG}
--with-gssapi=yes \
+ --disable-isc-spnego \
%endif
;
if [ -s openssl_config.h ]; then cat openssl_config.h >> config.h ; fi;
@@ -643,6 +642,11 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/bind-chroot-admin
%changelog
+* Thu Aug 23 2007 Adam Tkac <atkac redhat com> 32:9.5.0-11.a6
+- start using --disable-isc-spnego configure option
+ - remove bind-9.5-spnego-memory_management.patch (source isn't
+ compiled)
+
* Wed Aug 22 2007 Adam Tkac <atkac redhat com> 32:9.5.0-10.2.a6
- added new initscript option KEYTAB_FILE which specified where
is located kerberos .keytab file for named service