geaaru at gmail.com
Wed Oct 17 20:09:13 CEST 2018
i'm ebuild maintainer of Freeradius package in Gentoo and i'm trying to
handle correctly changes related with api changes between mariadb and
mysql client libraries.
Current mysql freeradius driver use standard mysql C functions so I
think that there aren't needed changes about behaviour about this but
I have some questions:
Currently Gentoo permits to install both mysql client libraries for
Mariadb and Mysql with a different path for Mariadb
(/usr/include/mariadb/mysql.h) instead of standard classic
(/usr/include/mysql/mysql.h) and in the same manner with a different
naming on client libraries.
For this, what could be a better solution for support both library from
Freeradius devs side ?
a) add a new driver rlm_sql_mariadb with different include
instruction and a different linking library ?
b) customize rlm_sql_mysql driver for support both... fwis it's
seems that configure try to check for libmysqlclient library also with
and with Mariadb linking it's for libmariadb.
Thanks in advance for any feedback.
More information about the Freeradius-Devel