irc/anope: Fix MySQL database support with MariaDB

PR:	273370
MFH:	2024Q4
This commit is contained in:
Rafael Grether 2024-10-17 05:55:33 +03:00 committed by Vladimir Druzenko
parent 346002f7e2
commit cc7b3f0d0b
3 changed files with 9 additions and 23 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= anope
DISTVERSION= 2.0.16
PORTREVISION= 1
CATEGORIES= irc
MAINTAINER= devnull@apt322.org
@ -31,6 +32,7 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
LDAP_USES= ldap
MYSQL_USES= mysql
MYSQL_CMAKE_ON= -DEXTRA_LIBS:STRING="${LOCALBASE}/lib/mysql/"
NLS_USES= gettext

View file

@ -1,10 +0,0 @@
Detection of "libmysqlclient" library is broken, so remove this check
--- modules/extra/m_mysql.cpp.orig 2015-04-23 14:25:58 UTC
+++ modules/extra/m_mysql.cpp
@@ -1,6 +1,3 @@
-/* RequiredLibraries: mysqlclient */
-/* RequiredWindowsLibraries: libmysql */
-
#include "module.h"
#include "modules/sql.h"
#define NO_CLIENT_LONG_LONG

View file

@ -4,19 +4,13 @@ administrators to manage their network with powerful tools.
Anope currently works with:
- Bahamut 1.4.27 or later (including 1.8)
- Charybdis 1.0 or later
- DreamForge 4.6.7
- Hybrid 7 or later
- InspIRCd 1.0 or later (including 3.x)
- Plexus 2.0 or later (including 3.0)
- PTlink 6.15 or later
- RageIRCd 2.0 beta-6 or later
- Ratbox 2.0.6 or later
- ShadowIRCd 4.0 beta 7 or later
- Solid IRCd 3.4.6 or later
- UltimateIRCd 2.8.2 or later (including 3.0)
- UnrealIRCd 3.1.1 or later (including 6.x)
- ViagraIRCd 1.3 or later
- Charybdis 3.4 or later
- ircd-hybrid 8.2.23 or later
- InspIRCd 1.2 or later
- ngIRCd 19.2 or later
- Plexus 3 or later
- Ratbox 3 or later
- UnrealIRCd 3.2 or later
Anope could also work with some of the daemons derived by the ones listed
above, but there's no support for them if they work or don't work.