[Bug 273370] irc/anope: MySQL database support not working with databases/mariadb106-client

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Oct 2024 18:24:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273370

Rafael Grether <devnull@apt322.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #254237|0                           |1
        is obsolete|                            |
 Attachment #254290|                            |maintainer-approval+
              Flags|                            |

--- Comment #8 from Rafael Grether <devnull@apt322.org> ---
Created attachment 254290
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254290&action=edit
254237: Patch for anope with mysql module

Vladimir Druzenko

First of all, thanks for the tip!! (about MYSQL_CMAKE_ON)

I thought about removing MYSQL as default, because upstream said that it is
rare people to use mysql, only on large networks, most servers use flatfile or
sqlite3.
So I thought (suckless philosophy) it wouldn't make much sense to include
mysql-cli as a default dependency since only 5% use mysql with anope.
But it is far from my intention to break any package. If this risk exists, I
prefer to keep the default as is, so thanks for advice.
After this commit, I will test and release new anope-devel 2.1.x port (Bug
#278819), and for this new port I will remove mysql as the default option.

About tests, yesterday and today I tested build and runtime with MariaDB
(10.5m, 10.6m, 10.11m and 11.4m default version) and also MySQL (8.0, 8.4 and
9.0 default version)

All mysql/mariadb versions was successfully build with anope in a poudriere
jail, and in runtime each version was able to connect to mysql/main, loading
databases and write to database (I used nickserv and chanserv commands to test
read/write to database).

I attached the final patch.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.