Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2024 18:24:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273370] irc/anope: MySQL database support not working with databases/mariadb106-client
Message-ID:  <bug-273370-7788-YeIWTY0AMK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273370-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273370-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273370

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=3D254290&action=
=3Dedit
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 a=
nd
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 t=
est
read/write to database).

I attached the final patch.

Thanks

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273370-7788-YeIWTY0AMK>