Update to 5.0.

Signed-off-by: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Petr Spacek 2014-06-24 19:00:32 +02:00
parent 56f139aeab
commit f07815367f
4 changed files with 7 additions and 53 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ bind-dyndb-ldap-0.1.0b.tar.bz2
/bind-dyndb-ldap-3.5.tar.bz2
/bind-dyndb-ldap-4.1.tar.bz2
/bind-dyndb-ldap-4.3.tar.bz2
/bind-dyndb-ldap-5.0.tar.bz2

View File

@ -1,50 +0,0 @@
From 4374791563602f026b870b0c37979506f02683ae Mon Sep 17 00:00:00 2001
From: Tomas Babej <tbabej@redhat.com>
Date: Mon, 6 May 2013 07:23:08 -0400
Subject: [PATCH] Build fixes for Fedora 19
This patch contains various (gcc-related) fixes to make build
on F19 possible.
---
src/acl.c | 4 ++--
src/ldap_helper.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/acl.c b/src/acl.c
index 754cd53dc3d31b99d0954836feafbd46747c48c2..2d4f54db89c73b7e9387f21bbd94eedc364c152b 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -179,7 +179,7 @@ parse(cfg_parser_t *parser, const char *string, cfg_type_t **type,
RUNTIME_CHECK(isc_once_do(&once, init_cfgtypes) == ISC_R_SUCCESS);
string_len = strlen(string);
- isc_buffer_init(&buffer, string, string_len);
+ isc_buffer_init(&buffer, (char *)string, string_len);
isc_buffer_add(&buffer, string_len);
result = cfg_parse_buffer(parser, &buffer, *type, &ret);
@@ -296,7 +296,7 @@ get_fixed_name(const cfg_obj_t *obj, const char *name, dns_fixedname_t *fname)
str = cfg_obj_asstring(obj);
len = strlen(str);
- isc_buffer_init(&buf, str, len);
+ isc_buffer_init(&buf, (char *)str, len);
/*
* Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=728925
diff --git a/src/ldap_helper.c b/src/ldap_helper.c
index 037629f3e50fdba2c17c1a180736ed3b64169aae..eda17fa8fed63e43d702c7ad9984b176e0b27065 100644
--- a/src/ldap_helper.c
+++ b/src/ldap_helper.c
@@ -2037,7 +2037,7 @@ parse_rdata(isc_mem_t *mctx, ldap_qresult_t *qresult,
text.base = rdata_text;
text.length = strlen(text.base);
- isc_buffer_init(&lex_buffer, text.base, text.length);
+ isc_buffer_init(&lex_buffer, (char *)text.base, text.length);
isc_buffer_add(&lex_buffer, text.length);
isc_buffer_setactive(&lex_buffer, text.length);
--
1.8.1.4

View File

@ -1,8 +1,8 @@
%define VERSION %{version}
Name: bind-dyndb-ldap
Version: 4.3
Release: 2%{?dist}
Version: 5.0
Release: 1%{?dist}
Summary: LDAP back-end plug-in for BIND
Group: System Environment/Libraries
@ -79,6 +79,9 @@ rm -rf %{buildroot}
%changelog
* Tue Jun 24 2014 Petr Spacek <pspacek redhat com> 5.0-1
- update to 5.0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
04038392b59a4381173eac198e9a73b8 bind-dyndb-ldap-4.3.tar.bz2
d6a3340c00f055130a949fe53c99ccc6 bind-dyndb-ldap-5.0.tar.bz2