Update to 3.2.
Signed-off-by: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
parent
f04e384fd8
commit
5ad939a12b
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ bind-dyndb-ldap-0.1.0b.tar.bz2
|
|||||||
/bind-dyndb-ldap-2.6.tar.bz2
|
/bind-dyndb-ldap-2.6.tar.bz2
|
||||||
/bind-dyndb-ldap-3.0.tar.bz2
|
/bind-dyndb-ldap-3.0.tar.bz2
|
||||||
/bind-dyndb-ldap-3.1.tar.bz2
|
/bind-dyndb-ldap-3.1.tar.bz2
|
||||||
|
/bind-dyndb-ldap-3.2.tar.bz2
|
||||||
|
50
bind-dyndb-ldap-tbabej-0001-Build-fixes-for-Fedora-19.patch
Normal file
50
bind-dyndb-ldap-tbabej-0001-Build-fixes-for-Fedora-19.patch
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
|
@ -5,8 +5,8 @@
|
|||||||
%define VERSION %{version}
|
%define VERSION %{version}
|
||||||
|
|
||||||
Name: bind-dyndb-ldap
|
Name: bind-dyndb-ldap
|
||||||
Version: 3.1
|
Version: 3.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: LDAP back-end plug-in for BIND
|
Summary: LDAP back-end plug-in for BIND
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -22,6 +22,8 @@ BuildRequires: automake, autoconf, libtool
|
|||||||
|
|
||||||
Requires: bind >= 32:9.6.1-0.3.b1
|
Requires: bind >= 32:9.6.1-0.3.b1
|
||||||
|
|
||||||
|
Patch01: bind-dyndb-ldap-tbabej-0001-Build-fixes-for-Fedora-19.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides an LDAP back-end plug-in for BIND. It features
|
This package provides an LDAP back-end plug-in for BIND. It features
|
||||||
support for dynamic updates and internal caching, to lift the load
|
support for dynamic updates and internal caching, to lift the load
|
||||||
@ -30,11 +32,12 @@ off of your LDAP server.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{VERSION}
|
%setup -q -n %{name}-%{VERSION}
|
||||||
|
%patch01 -p1 -b .f19-gcc-const
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
|
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --disable-werror
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -58,6 +61,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 14 2013 Petr Spacek <pspacek redhat com> 3.2-1
|
||||||
|
- update to 3.2
|
||||||
|
|
||||||
* Tue Apr 16 2013 Adam Tkac <atkac redhat com> 3.1-2
|
* Tue Apr 16 2013 Adam Tkac <atkac redhat com> 3.1-2
|
||||||
- rebuild against new bind
|
- rebuild against new bind
|
||||||
- build with --disable-werror
|
- build with --disable-werror
|
||||||
|
Loading…
Reference in New Issue
Block a user