Report information
The Basics
Id:
45558
Status:
resolved
Priority:
Medium/Medium
Queue:

BugTracker
Version Fixed:
(no value)
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Server
Area:
feature

Attachments
0001-Use-mysql_config-for-MySQL-library-parameters-if-fou.patch 0002-Use-MySQL-parameters-also-for-DLZ-modules.patch

Dates
Created:Fri, 14 Jul 2017 09:59:11 -0400
Updated:Fri, 06 Oct 2017 22:16:37 -0400
Closed:Fri, 06 Oct 2017 22:16:37 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

To: bind9-bugs@isc.org
Subject: [PATCH] Mysql library flags
Date: Fri, 14 Jul 2017 15:58:57 +0200
From: "Petr Menšík" <pemensik@redhat.com>
Hello, there is upcoming change in Fedora MariaDB support. It should drop mandatory support for libmysqlclient library. It is recommended to manage includes and flags for MariaDB by mysql_config tool. It provides required parameters used for linking client applications and include paths. Including all dependent libraries that are linked against it. However SDB support in Bind is not prepared for different library name. Recent versions of MariaDB can provide only libmariadb.so library. Mysql community version as well as MariaDB provide mysql_config. My first patch uses it if found on system, falling back to the previous detection if not available. Second patch uses such configured parameters also for DLZ modules. I have updated only MySQL, but I think similar approach would be useful also for other backends. I think configured Makefiles would be useful for all modules. CFLAGS are ignored in modules and LDFLAGS are not even used. But I understand they are not actively mantained. Can it be included in new versions? I think it only improves compatibility, not only for us. -- Petr Menšík Software Engineer Red Hat, http://www.redhat.com/ email: pemensik@redhat.com PGP: 65C6C973

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Thank you Petr. 4763. [contrib] Improve compatibility when building MySQL DLZ module by using mysql_config if available. [RT #45558] 9.12.0, 9.11.3 (not backported further because there were changes to the mysql stuff between 9.10 and 9.11.)