Hello Radek,

On 3/4/21 10:04, Radosław Korzeniewski wrote:
> Hello Eric,
> 
> czw., 4 mar 2021 o 09:25 Eric Bollengier <e...@baculasystems.com>
> napisał(a):
> 
>> On Debian at least, users have the choice between two readline
>> implementations, libedit and libreadline. They are supposed to be
>> compatible (this is mostly a license issue with libreadline if I
>> remember correctly).
>>
> 
> In my very humble opinion Bacula Community does not support editline but
> supports readline.
> This is the same exact situation as we have with mysql and mariadb. Both
> tools are compatible and could replace each other but to some extent.
> Differences are subtle but prohibits a straightforward installation and
> updates (#basedonexpirience).
> 
> and the Debian is using readline only for Bacula:

Debian folks had a long "battle" because readline was GPL and not
compatible with non-pure-GPL software, something like that. I don't know
what was the final result of this, but it's nice to be able to use a BSD
version of the readline, they are compatible.

Also, I now remember that on some system, they had multiple versions of
readline (something like readline4, readline5 and readline6) at the same
time. My guess is that all these versions were in different directories,
probably include/readline5/, include/readline6, etc...

I was developing on Debian mostly at that time, and it can be a pretty
good explanation why the current system is like this. If tomorrow
readline8 is not compatible with readline7, the same situation may
happen again.

> So, if we want to support Bacula with editline as the replacement for
> readline then we should extend our detection code and add a proper
> compilation option.
> This is my humble opinion.

The actual system supports editline, but without a specific detection
code in the configure process.

> If you are sure that the editline library is a drop-in replacement to
> readline then it is trivial to add this library detection and start to
> support it officially.

If users are using it and report an error or a patch, I think we would
accept them, readline is part of the system, so, we have the right to
link against it even if it's GPL.

Best Regards,
Eric


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to