diff --git a/Mk/Uses/mysql.mk b/Mk/Uses/mysql.mk index 9cd094dcfc03..866906ff5d1e 100644 --- a/Mk/Uses/mysql.mk +++ b/Mk/Uses/mysql.mk @@ -1,156 +1,158 @@ # Provide support for MySQL # Feature: mysql # Usage: USES=mysql or USES=mysql:args # Valid ARGS: , client, server # # version If no version is given (by the maintainer via the port), try to # find the currently installed version. Fall back to default if # necessary (MySQL-8.0 = 80, look at bsd.default-versions.mk for # possible values). # client Depends on the libmysqlclient library (default) # server Depend on the server at run/build time. If none of these is # set, depends on the client. # # IGNORE_WITH_MYSQL # This variable can be defined if the ports does not support one # or more versions of MySQL. # WITH_MYSQL_VER # User defined variable to set MySQL version. # MYSQL_VER # Detected MySQL version. # # DBD_MYSQL # Set compatible p5-DBD-mysql version # # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_MYSQL_MK) _INCLUDE_USES_MYSQL_MK= yes . if !empty(mysql_ARGS) .undef _WANT_MYSQL_VER .undef _WANT_MYSQL_SERVER _MYSQL_ARGS= ${mysql_ARGS:S/,/ /g} . if ${_MYSQL_ARGS:Mserver} _WANT_MYSQL_SERVER= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nserver} . endif . if ${_MYSQL_ARGS:Mclient} _WANT_MYSQL_CLIENT= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nclient} . endif # Port requested a version . if !empty(_MYSQL_ARGS) _WANT_MYSQL_VER= ${_MYSQL_ARGS} . if (${_WANT_MYSQL_VER:C/[0-9]*//} == "m") _WANT_MYSQL_FLAVOUR= mariadb . else _WANT_MYSQL_FLAVOUR= mysql . endif . endif . endif # !empty(mysql_ARGS) . if defined(DEFAULT_MYSQL_VER) WARNING+= "DEFAULT_MYSQL_VER is defined, consider using DEFAULT_VERSIONS=mysql=${DEFAULT_MYSQL_VER} instead" . endif DEFAULT_MYSQL_VER?= ${MYSQL_DEFAULT:S/.//} # MySQL client version currently supported. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. MYSQL80_LIBVER= 21 MYSQL81_LIBVER= 22 MYSQL84_LIBVER= 24 -. for v in 5 6 11 -MYSQL10${v}m_LIBVER= 3 +. for v in 105 106 1011 114 +MYSQL${v}m_LIBVER= 3 . endfor # Setting/finding MySQL version we want. -. if exists(${LOCALBASE}/bin/mysql) +. if exists(${LOCALBASE}/bin/mariadb) +_MARIADB!= ${LOCALBASE}/bin/mariadb --version | ${GREP} MariaDB | wc -l +. elif exists(${LOCALBASE}/bin/mysql) _MYSQL!= ${LOCALBASE}/bin/mysql_config --version | ${SED} -e 's/\([0-9]\{1,2\}\)\.\([0-9]*\).*/\1\2/' _MARIADB!= ${LOCALBASE}/bin/mysql --version | ${GREP} MariaDB | wc -l . if ${_MARIADB} == 1 _MYSQL_VER= ${_MYSQL}m _MYSQL_FLAVOUR= mariadb . else _MYSQL_VER= ${_MYSQL} _MYSQL_FLAVOUR= mysql . endif . endif . if defined(_WANT_MYSQL_VER) . if defined(WITH_MYSQL_VER) && (${WITH_MYSQL_VER:C/[0-9]*//} == "m") WITH_MYSQL_FLAVOUR= mariadb . else WITH_MYSQL_FLAVOUR= mysql . endif . if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER} != ${_WANT_MYSQL_VER} IGNORE= cannot install: the port wants ${_WANT_MYSQL_FLAVOUR}${_WANT_MYSQL_VER:C/[m]//}-client and you try to install ${WITH_MYSQL_FLAVOUR}${WITH_MYSQL_VER:C/[m]//}-client . endif MYSQL_VER= ${_WANT_MYSQL_VER} . elif defined(WITH_MYSQL_VER) MYSQL_VER= ${WITH_MYSQL_VER} . else . if defined(_MYSQL_VER) MYSQL_VER= ${_MYSQL_VER} . else MYSQL_VER= ${DEFAULT_MYSQL_VER} . endif . endif # _WANT_MYSQL_VER . if ${MYSQL_VER:C/[0-9]*//} == "m" MYSQL_FLAVOUR= mariadb . else MYSQL_FLAVOUR= mysql . endif . if defined(_MYSQL_VER) . if ${_MYSQL_VER} != ${MYSQL_VER} IGNORE= cannot install: MySQL versions mismatch: ${_MYSQL_FLAVOUR}${_MYSQL_VER:C/[m]//}-client is installed and wanted version is ${MYSQL_FLAVOUR}${MYSQL_VER:C/[m]//}-client . endif . endif _MYSQL_SHLIB= libmysqlclient . if (${MYSQL_VER:C/[0-9]*//} == "m") _MYSQL_SERVER_FLAVOUR= mariadb _MYSQL_CLIENT_FLAVOUR= mariadb . if ${MYSQL_VER:C/m//} >= 105 _MYSQL_SHLIB= libmariadb . endif . else _MYSQL_SERVER_FLAVOUR= mysql _MYSQL_CLIENT_FLAVOUR= mysql . endif _MYSQL_CLIENT= databases/${_MYSQL_CLIENT_FLAVOUR}${MYSQL_VER:C/[m]//}-client _MYSQL_SERVER= databases/${_MYSQL_SERVER_FLAVOUR}${MYSQL_VER:C/[m]//}-server # And now we are checking if we can use it . if defined(MYSQL${MYSQL_VER}_LIBVER) . if defined(IGNORE_WITH_MYSQL) . for VER in ${IGNORE_WITH_MYSQL} . if (${MYSQL_VER} == "${VER}") IGNORE= cannot install: does not work with MySQL version ${MYSQL_VER} (MySQL ${IGNORE_WITH_MYSQL} not supported) . endif . endfor . endif # IGNORE_WITH_MYSQL . if defined(_WANT_MYSQL_SERVER) RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${_MYSQL_SERVER} . endif . if defined(_WANT_MYSQL_CLIENT) || !defined(_WANT_MYSQL_SERVER) LIB_DEPENDS+= ${_MYSQL_SHLIB}.so.${MYSQL${MYSQL_VER}_LIBVER}:${_MYSQL_CLIENT} . endif . else IGNORE= cannot install: unknown MySQL version: ${MYSQL_VER} . endif # Check for correct libs . if ${MYSQL_FLAVOUR} == mariadb DBD_MYSQL= p5-DBD-mysql4>=0:databases/p5-DBD-mysql4 . else DBD_MYSQL= p5-DBD-mysql>=0:databases/p5-DBD-mysql . endif .endif diff --git a/databases/Makefile b/databases/Makefile index 678230f4b67c..6d79a1525eaf 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1,1086 +1,1088 @@ COMMENT = Databases and related software SUBDIR += R-cran-DBI SUBDIR += R-cran-RMySQL SUBDIR += R-cran-RPostgreSQL SUBDIR += R-cran-RSQLite SUBDIR += R-cran-cachem SUBDIR += R-cran-dbplyr SUBDIR += R-cran-dtplyr SUBDIR += R-cran-fastmap SUBDIR += R-cran-sqldf SUBDIR += WWWdb SUBDIR += adminer SUBDIR += adminerevo SUBDIR += adodb5 SUBDIR += akonadi SUBDIR += apache-commons-dbutils SUBDIR += arrow SUBDIR += arrow-glib SUBDIR += autobackupmysql SUBDIR += automysqlbackup SUBDIR += bbdb SUBDIR += beansdb SUBDIR += buzhug SUBDIR += c3p0 SUBDIR += cassandra-cpp-driver SUBDIR += cassandra3 SUBDIR += cassandra4 SUBDIR += casstcl SUBDIR += cayley SUBDIR += cdb SUBDIR += cego SUBDIR += cegobridge SUBDIR += clickhouse SUBDIR += closql SUBDIR += closql-devel SUBDIR += cockroach SUBDIR += couchdb3 SUBDIR += courier-authlib-mysql SUBDIR += courier-authlib-pgsql SUBDIR += courier-authlib-sqlite SUBDIR += courier-authlib-userdb SUBDIR += courier-authlib-usergdbm SUBDIR += cppdb SUBDIR += credis SUBDIR += cutelyst-asql SUBDIR += dalmp SUBDIR += datasette SUBDIR += db SUBDIR += db18 SUBDIR += db5 SUBDIR += dbf SUBDIR += dbh SUBDIR += dbixx SUBDIR += dbow SUBDIR += dbtool SUBDIR += dbview SUBDIR += diesel SUBDIR += duckdb SUBDIR += ejdb SUBDIR += emacs-sqlite3-api SUBDIR += emacsql SUBDIR += emacsql-devel SUBDIR += erlfdb SUBDIR += evolution-data-server SUBDIR += fastdb SUBDIR += firebird30-client SUBDIR += firebird30-server SUBDIR += firebird40-client SUBDIR += firebird40-server SUBDIR += fortytwo-bdb SUBDIR += foundationdb71-client SUBDIR += foundationdb71-server SUBDIR += foundationdb73-client SUBDIR += foundationdb73-server SUBDIR += frece SUBDIR += freetds SUBDIR += freetds-devel SUBDIR += frontbase-jdbc SUBDIR += futuresql SUBDIR += galera26 SUBDIR += gdbm SUBDIR += geoserver-mysql-plugin SUBDIR += gigabase SUBDIR += gmdb2 SUBDIR += gnats4 SUBDIR += gnatsweb4 SUBDIR += go-carbon SUBDIR += go-pgweb SUBDIR += gobang SUBDIR += gom SUBDIR += goose SUBDIR += gqlplus SUBDIR += grass7 SUBDIR += grass8 SUBDIR += greptimedb SUBDIR += hashtypes SUBDIR += hiredis SUBDIR += hsqldb SUBDIR += immudb SUBDIR += imposm3 SUBDIR += influxdb SUBDIR += influxdb2-cli SUBDIR += innotop SUBDIR += iowow SUBDIR += ip4r SUBDIR += ipa_sdb SUBDIR += iplike SUBDIR += jdb SUBDIR += jdbc-oracle11g SUBDIR += jetbrains-datagrip SUBDIR += jlog SUBDIR += jrobin SUBDIR += jrrd SUBDIR += kbibtex SUBDIR += kdb SUBDIR += kexi SUBDIR += keydb SUBDIR += kyotocabinet SUBDIR += kyototycoon SUBDIR += ldb15 SUBDIR += ldb20 SUBDIR += ldb21 SUBDIR += ldb22 SUBDIR += ldb25 SUBDIR += leo_center SUBDIR += leofs SUBDIR += leveldb SUBDIR += libcouchbase SUBDIR += libdbi SUBDIR += libdbi-drivers SUBDIR += libdrizzle SUBDIR += libdrizzle-redux SUBDIR += libgda5 SUBDIR += libgda5-jdbc SUBDIR += libgda5-ldap SUBDIR += libgda5-mysql SUBDIR += libgda5-postgresql SUBDIR += libgda5-ui SUBDIR += libgdamm5 SUBDIR += libhsclient SUBDIR += libiodbc SUBDIR += libmemcache SUBDIR += libmemcached SUBDIR += libmongo-client SUBDIR += libmongocrypt SUBDIR += libmswstr SUBDIR += libnvpair SUBDIR += libodbc++ SUBDIR += libpbl SUBDIR += libpg_query SUBDIR += libpqtypes SUBDIR += libsdb SUBDIR += libzdb SUBDIR += linux-c7-sqlite3 SUBDIR += linux-c7-unixODBC SUBDIR += linux-oracle-instantclient-basic SUBDIR += linux-oracle-instantclient-sdk SUBDIR += linux-rl9-libtracker-sparql SUBDIR += linux-rl9-sqlite3 SUBDIR += liquibase SUBDIR += litestream SUBDIR += lmdb SUBDIR += lua-lsqlite3 SUBDIR += lua-pgsql SUBDIR += lua-resty-redis SUBDIR += lua-xapian SUBDIR += luadbi SUBDIR += luasql-firebird SUBDIR += luasql-mysql SUBDIR += luasql-odbc SUBDIR += luasql-postgres SUBDIR += luasql-sqlite3 SUBDIR += mantis SUBDIR += mariadb-connector-c SUBDIR += mariadb-connector-odbc SUBDIR += mariadb1011-client SUBDIR += mariadb1011-server SUBDIR += mariadb105-client SUBDIR += mariadb105-server SUBDIR += mariadb106-client SUBDIR += mariadb106-server + SUBDIR += mariadb114-client + SUBDIR += mariadb114-server SUBDIR += mdbtools SUBDIR += mdbx SUBDIR += mdcached SUBDIR += memcached SUBDIR += metabase SUBDIR += mongodb-tools SUBDIR += mongodb44 SUBDIR += mongodb50 SUBDIR += mongodb60 SUBDIR += mongodb70 SUBDIR += movine SUBDIR += mroonga SUBDIR += mtop SUBDIR += mydumper SUBDIR += mysql++ SUBDIR += mysql-connector-c++ SUBDIR += mysql-connector-j SUBDIR += mysql-connector-java51 SUBDIR += mysql-connector-odbc-80 SUBDIR += mysql2pgsql SUBDIR += mysql80-client SUBDIR += mysql80-server SUBDIR += mysql81-client SUBDIR += mysql81-server SUBDIR += mysql84-client SUBDIR += mysql84-server SUBDIR += mysqlbackup SUBDIR += mysqldump-secure SUBDIR += mysqlreport SUBDIR += mysqlsla SUBDIR += mysqltcl SUBDIR += mysqltuner SUBDIR += mytop SUBDIR += nagios-check_mongodb SUBDIR += nagios-check_postgres_replication SUBDIR += nagios-check_redis SUBDIR += namazu2 SUBDIR += nanodbc SUBDIR += neo4j SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql SUBDIR += ocaml-sqlite3 SUBDIR += octosql SUBDIR += odbc-cpp-wrapper SUBDIR += ods2sql SUBDIR += opendbviewer SUBDIR += opendbx SUBDIR += ora2pg SUBDIR += oracle8-client SUBDIR += p5-Amazon-SimpleDB SUBDIR += p5-Amon2-DBI SUBDIR += p5-AnyEvent-BDB SUBDIR += p5-AnyEvent-CouchDB SUBDIR += p5-AnyEvent-DBD-Pg SUBDIR += p5-AnyEvent-Memcached SUBDIR += p5-AnyEvent-Redis SUBDIR += p5-App-Sqitch SUBDIR += p5-AsciiDB-TagFile SUBDIR += p5-BDB SUBDIR += p5-BSON SUBDIR += p5-BSON-XS SUBDIR += p5-BerkeleyDB SUBDIR += p5-Bucardo SUBDIR += p5-CDB_File SUBDIR += p5-CDB_File-Generator SUBDIR += p5-CGI-Session-Driver-memcached SUBDIR += p5-CHI-Driver-Memcached SUBDIR += p5-CHI-Driver-Redis SUBDIR += p5-CHI-Driver-TokyoTyrant SUBDIR += p5-Cache-BDB SUBDIR += p5-Cache-Memcached SUBDIR += p5-Cache-Memcached-Fast SUBDIR += p5-Cache-Memcached-Managed SUBDIR += p5-Cache-Memcached-XS SUBDIR += p5-Cache-Memcached-libmemcached SUBDIR += p5-Class-DBI SUBDIR += p5-Class-DBI-AbstractSearch SUBDIR += p5-Class-DBI-AsForm SUBDIR += p5-Class-DBI-AutoLoader SUBDIR += p5-Class-DBI-BaseDSN SUBDIR += p5-Class-DBI-DATA-Schema SUBDIR += p5-Class-DBI-DDL SUBDIR += p5-Class-DBI-FromCGI SUBDIR += p5-Class-DBI-LazyInflate SUBDIR += p5-Class-DBI-Loader SUBDIR += p5-Class-DBI-Loader-Relationship SUBDIR += p5-Class-DBI-Oracle SUBDIR += p5-Class-DBI-Pager SUBDIR += p5-Class-DBI-Pg SUBDIR += p5-Class-DBI-Plugin SUBDIR += p5-Class-DBI-Plugin-AbstractCount SUBDIR += p5-Class-DBI-Plugin-DeepAbstractSearch SUBDIR += p5-Class-DBI-Plugin-Iterator SUBDIR += p5-Class-DBI-Plugin-Pager SUBDIR += p5-Class-DBI-Plugin-RetrieveAll SUBDIR += p5-Class-DBI-Plugin-Senna SUBDIR += p5-Class-DBI-Plugin-Type SUBDIR += p5-Class-DBI-Replication SUBDIR += p5-Class-DBI-SAK SUBDIR += p5-Class-DBI-SQLite SUBDIR += p5-Class-DBI-Sweet SUBDIR += p5-Class-DBI-ToSax SUBDIR += p5-Class-DBI-Untaint SUBDIR += p5-Class-DBI-mysql SUBDIR += p5-Class-Inflate SUBDIR += p5-CouchDB-View SUBDIR += p5-DBD-AnyData SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-Excel SUBDIR += p5-DBD-Google SUBDIR += p5-DBD-InterBase SUBDIR += p5-DBD-LDAP SUBDIR += p5-DBD-MariaDB SUBDIR += p5-DBD-Mock SUBDIR += p5-DBD-Multi SUBDIR += p5-DBD-ODBC SUBDIR += p5-DBD-Oracle SUBDIR += p5-DBD-Pg SUBDIR += p5-DBD-PgLite SUBDIR += p5-DBD-PgPP SUBDIR += p5-DBD-SQLite SUBDIR += p5-DBD-SQLite2 SUBDIR += p5-DBD-Sybase SUBDIR += p5-DBD-XBase SUBDIR += p5-DBD-cego SUBDIR += p5-DBD-mysql SUBDIR += p5-DBD-mysql4 SUBDIR += p5-DBI SUBDIR += p5-DBI-Shell SUBDIR += p5-DBICx-Deploy SUBDIR += p5-DBICx-MapMaker SUBDIR += p5-DBICx-Sugar SUBDIR += p5-DBICx-TestDatabase SUBDIR += p5-DBICx-TxnInsert SUBDIR += p5-DBIWrapper SUBDIR += p5-DBIx-Abstract SUBDIR += p5-DBIx-Admin-CreateTable SUBDIR += p5-DBIx-Admin-DSNManager SUBDIR += p5-DBIx-Admin-TableInfo SUBDIR += p5-DBIx-AnyDBD SUBDIR += p5-DBIx-Browse SUBDIR += p5-DBIx-Class SUBDIR += p5-DBIx-Class-AsFdat SUBDIR += p5-DBIx-Class-AuditLog SUBDIR += p5-DBIx-Class-BitField SUBDIR += p5-DBIx-Class-Candy SUBDIR += p5-DBIx-Class-Cursor-Cached SUBDIR += p5-DBIx-Class-CustomPrefetch SUBDIR += p5-DBIx-Class-DateTime-Epoch SUBDIR += p5-DBIx-Class-DeploymentHandler SUBDIR += p5-DBIx-Class-DigestColumns SUBDIR += p5-DBIx-Class-DynamicDefault SUBDIR += p5-DBIx-Class-DynamicSubclass SUBDIR += p5-DBIx-Class-EncodeColumns SUBDIR += p5-DBIx-Class-EncodedColumn SUBDIR += p5-DBIx-Class-Fixtures SUBDIR += p5-DBIx-Class-FrozenColumns SUBDIR += p5-DBIx-Class-Helpers SUBDIR += p5-DBIx-Class-InflateColumn-Authen-Passphrase SUBDIR += p5-DBIx-Class-InflateColumn-FS SUBDIR += p5-DBIx-Class-InflateColumn-IP SUBDIR += p5-DBIx-Class-InflateColumn-Serializer SUBDIR += p5-DBIx-Class-IntrospectableM2M SUBDIR += p5-DBIx-Class-Loader SUBDIR += p5-DBIx-Class-Migration SUBDIR += p5-DBIx-Class-MooseColumns SUBDIR += p5-DBIx-Class-PassphraseColumn SUBDIR += p5-DBIx-Class-QueryLog SUBDIR += p5-DBIx-Class-QueryProfiler SUBDIR += p5-DBIx-Class-ResultSet-HashRef SUBDIR += p5-DBIx-Class-ResultSet-RecursiveUpdate SUBDIR += p5-DBIx-Class-Schema-Config SUBDIR += p5-DBIx-Class-Schema-Loader SUBDIR += p5-DBIx-Class-Schema-PopulateMore SUBDIR += p5-DBIx-Class-Storage-TxnEndHook SUBDIR += p5-DBIx-Class-TimeStamp SUBDIR += p5-DBIx-Class-Tree SUBDIR += p5-DBIx-Class-Tree-NestedSet SUBDIR += p5-DBIx-Class-UUIDColumns SUBDIR += p5-DBIx-Class-VirtualColumns SUBDIR += p5-DBIx-Class-WebForm SUBDIR += p5-DBIx-Connector SUBDIR += p5-DBIx-ContextualFetch SUBDIR += p5-DBIx-Custom SUBDIR += p5-DBIx-DBHResolver SUBDIR += p5-DBIx-DBSchema SUBDIR += p5-DBIx-DataSource SUBDIR += p5-DBIx-DisconnectAll SUBDIR += p5-DBIx-Dump SUBDIR += p5-DBIx-HA SUBDIR += p5-DBIx-Handler SUBDIR += p5-DBIx-Inspector SUBDIR += p5-DBIx-Introspector SUBDIR += p5-DBIx-Lite SUBDIR += p5-DBIx-Log4perl SUBDIR += p5-DBIx-MySQLSequence SUBDIR += p5-DBIx-NoSQL SUBDIR += p5-DBIx-Password SUBDIR += p5-DBIx-Perlish SUBDIR += p5-DBIx-QueryLog SUBDIR += p5-DBIx-QuickDB SUBDIR += p5-DBIx-Recordset SUBDIR += p5-DBIx-RetryOverDisconnects SUBDIR += p5-DBIx-SQLEngine SUBDIR += p5-DBIx-SQLite-Simple SUBDIR += p5-DBIx-Safe SUBDIR += p5-DBIx-SearchBuilder SUBDIR += p5-DBIx-Sequence SUBDIR += p5-DBIx-Simple SUBDIR += p5-DBIx-Skinny SUBDIR += p5-DBIx-Skinny-InflateColumn-DateTime SUBDIR += p5-DBIx-Skinny-Mixin-DBHResolver SUBDIR += p5-DBIx-Skinny-Pager SUBDIR += p5-DBIx-Skinny-Schema-Loader SUBDIR += p5-DBIx-Sunny SUBDIR += p5-DBIx-TableHash SUBDIR += p5-DBIx-Tracer SUBDIR += p5-DBIx-TransactionManager SUBDIR += p5-DBIx-Tree SUBDIR += p5-DBIx-VersionedDDL SUBDIR += p5-DBIx-Wrapper SUBDIR += p5-DBIx-XHTML_Table SUBDIR += p5-DBIx-XML_RDB SUBDIR += p5-DBM-Deep SUBDIR += p5-DR-Tarantool SUBDIR += p5-DWH_File SUBDIR += p5-Dancer-Plugin-DBIC SUBDIR += p5-Dancer-Plugin-Database SUBDIR += p5-Dancer-Plugin-Database-Core SUBDIR += p5-Dancer-Plugin-Redis SUBDIR += p5-Dancer-Session-Memcached SUBDIR += p5-Dancer2-Plugin-DBIC SUBDIR += p5-Dancer2-Plugin-Database SUBDIR += p5-Dancer2-Session-DBIC SUBDIR += p5-Data-Page SUBDIR += p5-Data-Pageset SUBDIR += p5-Exception-Class-DBI SUBDIR += p5-File-Locate SUBDIR += p5-GDBM SUBDIR += p5-Genezzo SUBDIR += p5-GitDDL SUBDIR += p5-GitDDL-Migrator SUBDIR += p5-GraphViz-DBI SUBDIR += p5-HTML-FormHandler-Model-DBIC SUBDIR += p5-Ima-DBI SUBDIR += p5-Interchange6-Schema SUBDIR += p5-Iterator-DBI SUBDIR += p5-Jifty-DBI SUBDIR += p5-KyotoCabinet SUBDIR += p5-LMDB_File SUBDIR += p5-MLDBM SUBDIR += p5-MLDBM-Sync SUBDIR += p5-MR-Tarantool SUBDIR += p5-Mango SUBDIR += p5-Memcached-libmemcached SUBDIR += p5-Metadata SUBDIR += p5-Mojo-Pg SUBDIR += p5-MongoDB SUBDIR += p5-Mongoose SUBDIR += p5-MySQL-Diff SUBDIR += p5-Net-Async-CassandraCQL SUBDIR += p5-ORLite SUBDIR += p5-ORLite-Migrate SUBDIR += p5-Oryx SUBDIR += p5-POE-Component-DBIAgent SUBDIR += p5-POE-Component-EasyDBI SUBDIR += p5-POE-Component-LaDBI SUBDIR += p5-POE-Component-RRDTool SUBDIR += p5-Pg SUBDIR += p5-PostgreSQL-PLPerl-Call SUBDIR += p5-PostgreSQL-PLPerl-Trace SUBDIR += p5-Prophet SUBDIR += p5-Protocol-CassandraCQL SUBDIR += p5-RRD-Simple SUBDIR += p5-Redis SUBDIR += p5-Redis-Fast SUBDIR += p5-Redis-JobQueue SUBDIR += p5-Redis-RateLimit SUBDIR += p5-Redis-hiredis SUBDIR += p5-RedisDB SUBDIR += p5-RedisDB-Parser SUBDIR += p5-Relations SUBDIR += p5-Relations-Query SUBDIR += p5-ResourcePool-Resource-DBI SUBDIR += p5-Rose-DB SUBDIR += p5-Rose-DB-Object SUBDIR += p5-Rose-DBx-Object-MoreHelpers SUBDIR += p5-Rose-DBx-Object-Renderer SUBDIR += p5-SQL-Abstract SUBDIR += p5-SQL-Abstract-Classic SUBDIR += p5-SQL-Abstract-Limit SUBDIR += p5-SQL-Abstract-More SUBDIR += p5-SQL-Abstract-Pg SUBDIR += p5-SQL-Abstract-Plugin-InsertMulti SUBDIR += p5-SQL-Interp SUBDIR += p5-SQL-Maker SUBDIR += p5-SQL-NamedPlaceholder SUBDIR += p5-SQL-ReservedWords SUBDIR += p5-SQL-Statement SUBDIR += p5-SQL-Translator SUBDIR += p5-SQLite-Work SUBDIR += p5-Scope-Container-DBI SUBDIR += p5-Search-InvertedIndex SUBDIR += p5-Search-Namazu SUBDIR += p5-Search-Xapian SUBDIR += p5-Store-CouchDB SUBDIR += p5-T2 SUBDIR += p5-Tangram SUBDIR += p5-Template-DBI SUBDIR += p5-Teng SUBDIR += p5-Test-Cukes SUBDIR += p5-Test-Database SUBDIR += p5-Test-DatabaseRow SUBDIR += p5-Test-Fixture-DBI SUBDIR += p5-Test-mysqld SUBDIR += p5-Test-postgresql SUBDIR += p5-Text-Query-SQL SUBDIR += p5-Text-xSV SUBDIR += p5-Tie-DBI SUBDIR += p5-Tie-LevelDB SUBDIR += p5-Time-Piece-MySQL SUBDIR += p5-TokyoCabinet SUBDIR += p5-Xapian SUBDIR += p5-mysql-genocide SUBDIR += p5-tokyotyrant SUBDIR += pear-DB SUBDIR += pear-DBA SUBDIR += pear-DBA_Relational SUBDIR += pear-DB_DataObject SUBDIR += pear-DB_DataObject_FormBuilder SUBDIR += pear-DB_Pager SUBDIR += pear-DB_QueryTool SUBDIR += pear-DB_Sqlite_Tools SUBDIR += pear-DB_Table SUBDIR += pear-DB_ldap SUBDIR += pear-DB_ldap2 SUBDIR += pear-DoctrineCommon SUBDIR += pear-DoctrineDBAL SUBDIR += pear-Horde_Db SUBDIR += pear-Horde_HashTable SUBDIR += pear-Horde_Imsp SUBDIR += pear-Horde_Memcache SUBDIR += pear-Horde_Mongo SUBDIR += pear-MDB SUBDIR += pear-MDB2 SUBDIR += pear-MDB2_Driver_mysqli SUBDIR += pear-MDB2_Driver_pgsql SUBDIR += pear-MDB2_Schema SUBDIR += pear-MDB_QueryTool SUBDIR += pear-Structures_DataGrid_DataSource_Array SUBDIR += pear-Structures_DataGrid_DataSource_CSV SUBDIR += pear-Structures_DataGrid_DataSource_DB SUBDIR += pear-Structures_DataGrid_DataSource_PDO SUBDIR += pear-XML_Query2XML SUBDIR += pecl-couchbase SUBDIR += pecl-leveldb SUBDIR += pecl-memcache SUBDIR += pecl-memcached SUBDIR += pecl-mongodb SUBDIR += pecl-redis SUBDIR += pecl-rrd SUBDIR += percona-orchestrator SUBDIR += percona-toolkit SUBDIR += pg-gvm SUBDIR += pg.el SUBDIR += pgFormatter SUBDIR += pg_activity SUBDIR += pg_citus SUBDIR += pg_dirtyread SUBDIR += pg_ed25519 SUBDIR += pg_filedump SUBDIR += pg_hashids SUBDIR += pg_partman SUBDIR += pg_qualstats SUBDIR += pg_repack SUBDIR += pg_similarity SUBDIR += pg_stat_kcache SUBDIR += pg_tileserv SUBDIR += pgaccess SUBDIR += pgadmin3 SUBDIR += pgagroal SUBDIR += pgbackrest SUBDIR += pgbadger SUBDIR += pgbarman SUBDIR += pgbouncer SUBDIR += pgdbf SUBDIR += pgfouine SUBDIR += pgloader3 SUBDIR += pglogical SUBDIR += pgmetrics SUBDIR += pgmodeler SUBDIR += pgpool-II-41 SUBDIR += pgpool-II-42 SUBDIR += pgpool-II-43 SUBDIR += pgpool-II-44 SUBDIR += pgpool-II-45 SUBDIR += pgreplay SUBDIR += pgroonga SUBDIR += pgrouting SUBDIR += pgsanity SUBDIR += pgtcl SUBDIR += pgtop SUBDIR += pguri SUBDIR += pgvector SUBDIR += php-tarantool SUBDIR += php-xapian SUBDIR += php81-dba SUBDIR += php81-mysqli SUBDIR += php81-odbc SUBDIR += php81-pdo SUBDIR += php81-pdo_dblib SUBDIR += php81-pdo_firebird SUBDIR += php81-pdo_mysql SUBDIR += php81-pdo_odbc SUBDIR += php81-pdo_pgsql SUBDIR += php81-pdo_sqlite SUBDIR += php81-pgsql SUBDIR += php81-sqlite3 SUBDIR += php82-dba SUBDIR += php82-mysqli SUBDIR += php82-odbc SUBDIR += php82-pdo SUBDIR += php82-pdo_dblib SUBDIR += php82-pdo_firebird SUBDIR += php82-pdo_mysql SUBDIR += php82-pdo_odbc SUBDIR += php82-pdo_pgsql SUBDIR += php82-pdo_sqlite SUBDIR += php82-pgsql SUBDIR += php82-sqlite3 SUBDIR += php83-dba SUBDIR += php83-mysqli SUBDIR += php83-odbc SUBDIR += php83-pdo SUBDIR += php83-pdo_dblib SUBDIR += php83-pdo_firebird SUBDIR += php83-pdo_mysql SUBDIR += php83-pdo_odbc SUBDIR += php83-pdo_pgsql SUBDIR += php83-pdo_sqlite SUBDIR += php83-pgsql SUBDIR += php83-sqlite3 SUBDIR += phpliteadmin SUBDIR += phpminiadmin SUBDIR += phpmyadmin SUBDIR += phpmyadmin5 SUBDIR += phppgadmin SUBDIR += pldebugger SUBDIR += plpgsql_check SUBDIR += pointcloud SUBDIR += postgis-jdbc SUBDIR += postgis31 SUBDIR += postgis32 SUBDIR += postgis33 SUBDIR += postgis34 SUBDIR += postgresql-cstore_fdw SUBDIR += postgresql-idn SUBDIR += postgresql-jdbc SUBDIR += postgresql-libpgeasy SUBDIR += postgresql-libpqxx SUBDIR += postgresql-mysql_fdw SUBDIR += postgresql-odbc SUBDIR += postgresql-ogr_fdw SUBDIR += postgresql-orafce SUBDIR += postgresql-pgaudit SUBDIR += postgresql-plproxy SUBDIR += postgresql-plv8js SUBDIR += postgresql-prefix SUBDIR += postgresql-promscale SUBDIR += postgresql-relay SUBDIR += postgresql-repmgr SUBDIR += postgresql-rum SUBDIR += postgresql-semver SUBDIR += postgresql-tds_fdw SUBDIR += postgresql-wal2json SUBDIR += postgresql-zhparser SUBDIR += postgresql12-client SUBDIR += postgresql12-contrib SUBDIR += postgresql12-docs SUBDIR += postgresql12-pgtcl SUBDIR += postgresql12-plperl SUBDIR += postgresql12-plpython SUBDIR += postgresql12-pltcl SUBDIR += postgresql12-server SUBDIR += postgresql13-client SUBDIR += postgresql13-contrib SUBDIR += postgresql13-docs SUBDIR += postgresql13-pgtcl SUBDIR += postgresql13-plperl SUBDIR += postgresql13-plpython SUBDIR += postgresql13-pltcl SUBDIR += postgresql13-server SUBDIR += postgresql14-client SUBDIR += postgresql14-contrib SUBDIR += postgresql14-docs SUBDIR += postgresql14-pgtcl SUBDIR += postgresql14-plperl SUBDIR += postgresql14-plpython SUBDIR += postgresql14-pltcl SUBDIR += postgresql14-server SUBDIR += postgresql15-client SUBDIR += postgresql15-contrib SUBDIR += postgresql15-docs SUBDIR += postgresql15-pgtcl SUBDIR += postgresql15-plperl SUBDIR += postgresql15-plpython SUBDIR += postgresql15-pltcl SUBDIR += postgresql15-server SUBDIR += postgresql16-client SUBDIR += postgresql16-contrib SUBDIR += postgresql16-docs SUBDIR += postgresql16-pgtcl SUBDIR += postgresql16-plperl SUBDIR += postgresql16-plpython SUBDIR += postgresql16-pltcl SUBDIR += postgresql16-server SUBDIR += powa-archivist SUBDIR += powa-web SUBDIR += powerarchitect SUBDIR += proftpd-mod_sql_mysql SUBDIR += proftpd-mod_sql_odbc SUBDIR += proftpd-mod_sql_postgres SUBDIR += proftpd-mod_sql_sqlite SUBDIR += proftpd-mod_sql_tds SUBDIR += prometheus-postgres-exporter SUBDIR += prometheus-postgresql-adapter SUBDIR += proxysql SUBDIR += pspg SUBDIR += puppetdb-terminus7 SUBDIR += puppetdb-terminus8 SUBDIR += puppetdb7 SUBDIR += puppetdb8 SUBDIR += puredb SUBDIR += pxlib SUBDIR += pxtools SUBDIR += py-Elixir SUBDIR += py-PyGreSQL SUBDIR += py-Pyrseas SUBDIR += py-aesqlapius SUBDIR += py-agate-sql SUBDIR += py-aiomcache SUBDIR += py-aiomysql SUBDIR += py-aiopg SUBDIR += py-aioredis SUBDIR += py-aiosqlite SUBDIR += py-alembic SUBDIR += py-apache-arrow SUBDIR += py-apsw SUBDIR += py-asyncmy SUBDIR += py-asyncpg SUBDIR += py-berkeleydb SUBDIR += py-carbon SUBDIR += py-cassandra-driver SUBDIR += py-couchdb SUBDIR += py-databases SUBDIR += py-dbf SUBDIR += py-dbt-core SUBDIR += py-dbt-duckdb SUBDIR += py-dbt-semantic-interfaces SUBDIR += py-dbt-snowflake SUBDIR += py-dbutils SUBDIR += py-duckdb SUBDIR += py-fakeredis SUBDIR += py-fastapi-users-db-ormar SUBDIR += py-fastparquet SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy SUBDIR += py-flask-sqlalchemy30 SUBDIR += py-gdbm SUBDIR += py-geoalchemy2 SUBDIR += py-hiredis SUBDIR += py-influxdb SUBDIR += py-kyotocabinet SUBDIR += py-leveldb SUBDIR += py-litecli SUBDIR += py-lmdb SUBDIR += py-marshmallow-sqlalchemy SUBDIR += py-minidb SUBDIR += py-mongoengine SUBDIR += py-motor SUBDIR += py-mycli SUBDIR += py-mysql-connector-python SUBDIR += py-mysqlclient SUBDIR += py-ormar SUBDIR += py-partd SUBDIR += py-peewee SUBDIR += py-peewee_migrate SUBDIR += py-pg8000 SUBDIR += py-pgcli SUBDIR += py-pgdbconn SUBDIR += py-pglast SUBDIR += py-pglite SUBDIR += py-pgmigrate SUBDIR += py-pgspecial SUBDIR += py-pgspecial1 SUBDIR += py-pgxnclient SUBDIR += py-pickledb SUBDIR += py-pickleshare SUBDIR += py-pony SUBDIR += py-postgresql SUBDIR += py-psycogreen SUBDIR += py-psycopg SUBDIR += py-psycopg-c SUBDIR += py-psycopg-pool SUBDIR += py-psycopg2 SUBDIR += py-psycopg2cffi SUBDIR += py-pum SUBDIR += py-pyarrow SUBDIR += py-pycql SUBDIR += py-pylibmc SUBDIR += py-pymemcache SUBDIR += py-pymongo SUBDIR += py-pymssql SUBDIR += py-pymysql SUBDIR += py-pyodbc SUBDIR += py-pypuppetdb SUBDIR += py-python-arango SUBDIR += py-python-binary-memcached SUBDIR += py-python-memcached SUBDIR += py-python-sql SUBDIR += py-python-swiftclient SUBDIR += py-queries SUBDIR += py-rb SUBDIR += py-redis SUBDIR += py-redis2 SUBDIR += py-redis3 SUBDIR += py-redis4 SUBDIR += py-rrdtool SUBDIR += py-schemachange SUBDIR += py-sispy SUBDIR += py-snowddl SUBDIR += py-snowflake-connector-python SUBDIR += py-south SUBDIR += py-sqlalchemy-json SUBDIR += py-sqlalchemy-migrate SUBDIR += py-sqlalchemy-utils SUBDIR += py-sqlalchemy10 SUBDIR += py-sqlalchemy13 SUBDIR += py-sqlalchemy14 SUBDIR += py-sqlalchemy20 SUBDIR += py-sqlcipher3 SUBDIR += py-sqlglot SUBDIR += py-sqlite-anyio SUBDIR += py-sqlite-fts4 SUBDIR += py-sqlite-migrate SUBDIR += py-sqlite-utils SUBDIR += py-sqlite3 SUBDIR += py-sqlobject SUBDIR += py-sqlparse SUBDIR += py-sqlrelay SUBDIR += py-tableschema SUBDIR += py-tarantool SUBDIR += py-tiledb SUBDIR += py-txredisapi SUBDIR += py-unqlite SUBDIR += py-varstack SUBDIR += py-whisper SUBDIR += py-xapian SUBDIR += py-zodbpickle SUBDIR += qdbm SUBDIR += qdbm-plus SUBDIR += qdrant SUBDIR += qof SUBDIR += qt5-sql SUBDIR += qt5-sqldrivers-mysql SUBDIR += qt5-sqldrivers-odbc SUBDIR += qt5-sqldrivers-pgsql SUBDIR += qt5-sqldrivers-sqlite2 SUBDIR += qt5-sqldrivers-sqlite3 SUBDIR += qt5-sqldrivers-tds SUBDIR += qt6-base_sqldriver SUBDIR += quake SUBDIR += recutils SUBDIR += redis SUBDIR += redis-devel SUBDIR += redis62 SUBDIR += redis70 SUBDIR += redis_exporter SUBDIR += redisdesktopmanager SUBDIR += redisjson SUBDIR += replibyte SUBDIR += retcl SUBDIR += rocksdb SUBDIR += rqlite SUBDIR += rrdman SUBDIR += rrdmerge SUBDIR += rrdtool SUBDIR += rrdtool12 SUBDIR += ruby-bdb SUBDIR += ruby-qdbm SUBDIR += ruby-tokyocabinet SUBDIR += ruby-xapian SUBDIR += rubygem-active_model_serializers SUBDIR += rubygem-active_model_serializers61 SUBDIR += rubygem-active_record_query_trace SUBDIR += rubygem-activemodel-serializers-xml SUBDIR += rubygem-activemodel4 SUBDIR += rubygem-activemodel5 SUBDIR += rubygem-activemodel50 SUBDIR += rubygem-activemodel52 SUBDIR += rubygem-activemodel60 SUBDIR += rubygem-activemodel61 SUBDIR += rubygem-activemodel70 SUBDIR += rubygem-activemodel71 SUBDIR += rubygem-activerecord-explain-analyze SUBDIR += rubygem-activerecord-import SUBDIR += rubygem-activerecord-jdbc-adapter SUBDIR += rubygem-activerecord-jdbcmysql-adapter SUBDIR += rubygem-activerecord-session_store SUBDIR += rubygem-activerecord-trilogy-adapter SUBDIR += rubygem-activerecord4 SUBDIR += rubygem-activerecord5 SUBDIR += rubygem-activerecord50 SUBDIR += rubygem-activerecord52 SUBDIR += rubygem-activerecord60 SUBDIR += rubygem-activerecord61 SUBDIR += rubygem-activerecord70 SUBDIR += rubygem-activerecord71 SUBDIR += rubygem-after_commit_queue SUBDIR += rubygem-amalgalite SUBDIR += rubygem-arel SUBDIR += rubygem-arel-helpers SUBDIR += rubygem-arel6 SUBDIR += rubygem-arel7 SUBDIR += rubygem-arel8 SUBDIR += rubygem-attr_json SUBDIR += rubygem-awesome_nested_set SUBDIR += rubygem-bdb1 SUBDIR += rubygem-bigrecord SUBDIR += rubygem-brpoplpush-redis_script SUBDIR += rubygem-couchrest SUBDIR += rubygem-dalli SUBDIR += rubygem-data_objects SUBDIR += rubygem-datamapper SUBDIR += rubygem-dbd-mysql SUBDIR += rubygem-dbd-pg SUBDIR += rubygem-dbd-sqlite3 SUBDIR += rubygem-dbf SUBDIR += rubygem-dbf4 SUBDIR += rubygem-dbi SUBDIR += rubygem-dbm SUBDIR += rubygem-discard-rails61 SUBDIR += rubygem-dm-aggregates SUBDIR += rubygem-dm-chunked_query SUBDIR += rubygem-dm-constraints SUBDIR += rubygem-dm-core SUBDIR += rubygem-dm-do-adapter SUBDIR += rubygem-dm-migrations SUBDIR += rubygem-dm-mysql-adapter SUBDIR += rubygem-dm-observer SUBDIR += rubygem-dm-pager SUBDIR += rubygem-dm-paperclip SUBDIR += rubygem-dm-postgres-adapter SUBDIR += rubygem-dm-serializer SUBDIR += rubygem-dm-timestamps SUBDIR += rubygem-dm-transactions SUBDIR += rubygem-dm-types SUBDIR += rubygem-dm-validations SUBDIR += rubygem-do_mysql SUBDIR += rubygem-do_postgres SUBDIR += rubygem-do_sqlite3 SUBDIR += rubygem-em-redis-unified SUBDIR += rubygem-fabrication SUBDIR += rubygem-familia SUBDIR += rubygem-flipper-active_record SUBDIR += rubygem-flipper-active_record-rails70 SUBDIR += rubygem-gdbm SUBDIR += rubygem-globalid SUBDIR += rubygem-globalid-rails5 SUBDIR += rubygem-globalid-rails50 SUBDIR += rubygem-globalid-rails52 SUBDIR += rubygem-globalid-rails60 SUBDIR += rubygem-globalid-rails61 SUBDIR += rubygem-globalid-rails70 SUBDIR += rubygem-globalid-rails71 SUBDIR += rubygem-google-cloud-datastore SUBDIR += rubygem-google-cloud-datastore-v1 SUBDIR += rubygem-google-cloud-firestore SUBDIR += rubygem-google-cloud-firestore-v1 SUBDIR += rubygem-her SUBDIR += rubygem-hiredis SUBDIR += rubygem-influxdb SUBDIR += rubygem-jdbc-mysql SUBDIR += rubygem-leo_manager_client SUBDIR += rubygem-marginalia SUBDIR += rubygem-mario-redis-lock SUBDIR += rubygem-memcache SUBDIR += rubygem-memcache-client SUBDIR += rubygem-microscope SUBDIR += rubygem-mysql SUBDIR += rubygem-mysql2 SUBDIR += rubygem-neighbor SUBDIR += rubygem-openid-redis-store SUBDIR += rubygem-paranoia SUBDIR += rubygem-pg SUBDIR += rubygem-pg_array_parser SUBDIR += rubygem-pg_query SUBDIR += rubygem-pghero SUBDIR += rubygem-pghero-rails5 SUBDIR += rubygem-pghero-rails50 SUBDIR += rubygem-pghero-rails61 SUBDIR += rubygem-pl-puppetdb-ruby SUBDIR += rubygem-postgres_ext SUBDIR += rubygem-puppetdb_cli SUBDIR += rubygem-rbase SUBDIR += rubygem-red-arrow SUBDIR += rubygem-red-arrow-dataset SUBDIR += rubygem-red-gandiva SUBDIR += rubygem-red-parquet SUBDIR += rubygem-redis SUBDIR += rubygem-redis-actionpack SUBDIR += rubygem-redis-actionpack-rails5 SUBDIR += rubygem-redis-actionpack-rails50 SUBDIR += rubygem-redis-actionpack-rails52 SUBDIR += rubygem-redis-actionpack-rails60 SUBDIR += rubygem-redis-actionpack-rails61 SUBDIR += rubygem-redis-actionpack-rails70 SUBDIR += rubygem-redis-client SUBDIR += rubygem-redis-cluster-client SUBDIR += rubygem-redis-clustering SUBDIR += rubygem-redis-namespace SUBDIR += rubygem-redis-namespace110 SUBDIR += rubygem-redis4 SUBDIR += rubygem-ruby-mysql SUBDIR += rubygem-scenic61 SUBDIR += rubygem-sdbm SUBDIR += rubygem-seed-fu SUBDIR += rubygem-sqlite3 SUBDIR += rubygem-sqlite3-ruby SUBDIR += rubygem-sqlite31 SUBDIR += rubygem-state_machines-activemodel SUBDIR += rubygem-state_machines-activerecord SUBDIR += rubygem-state_machines-activerecord08 SUBDIR += rubygem-tarantool SUBDIR += rubygem-trilogy SUBDIR += sequeler SUBDIR += sfcgal SUBDIR += sharedance SUBDIR += slony1v2 SUBDIR += soci SUBDIR += spatialite SUBDIR += spatialite-tools SUBDIR += spatialite_gui SUBDIR += speedtables SUBDIR += sql-workbench SUBDIR += sqlcached SUBDIR += sqlcipher SUBDIR += sqlclient SUBDIR += sqldeveloper SUBDIR += sqlite-ext-miscfuncs SUBDIR += sqlite-ext-pcre SUBDIR += sqlite-ext-regexp SUBDIR += sqlite-ext-spellfix SUBDIR += sqlite2 SUBDIR += sqlite3 SUBDIR += sqlitebrowser SUBDIR += sqliteconvert SUBDIR += sqlitecpp SUBDIR += sqlitemanager SUBDIR += sqliteodbc SUBDIR += sqlitestudio SUBDIR += sqlrelay SUBDIR += sqlx-cli SUBDIR += sqsh SUBDIR += squirrel-sql SUBDIR += surrealdb SUBDIR += symphytum SUBDIR += tarantool SUBDIR += tarantool-c SUBDIR += tarantool2 SUBDIR += tcl-Mysql SUBDIR += tcl-lmdb SUBDIR += tcl-sqlite3 SUBDIR += tdb SUBDIR += tdbc SUBDIR += tile38 SUBDIR += tiledb SUBDIR += timescaledb SUBDIR += timescaledb-backup SUBDIR += timescaledb-tune SUBDIR += tinycdb SUBDIR += tokyocabinet SUBDIR += tokyotyrant SUBDIR += trilogy SUBDIR += tuning-primer SUBDIR += twemproxy SUBDIR += unixODBC SUBDIR += usql SUBDIR += valkey SUBDIR += vfront SUBDIR += virtualpg SUBDIR += vsqlite SUBDIR += webdis SUBDIR += wfb2sql SUBDIR += xapian-bindings SUBDIR += xapian-core SUBDIR += xls2txt SUBDIR += xrootd SUBDIR += xtrabackup80 SUBDIR += xtrabackup81 SUBDIR += zodb .include diff --git a/databases/mariadb114-client/Makefile b/databases/mariadb114-client/Makefile new file mode 100644 index 000000000000..bbb0f016f24c --- /dev/null +++ b/databases/mariadb114-client/Makefile @@ -0,0 +1,10 @@ +PORTNAME= mariadb +PKGNAMESUFFIX= 114-client + +COMMENT= Multithreaded SQL database (client) + +MASTERDIR= ${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX:C/-client/-server/} + +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile" diff --git a/databases/mariadb114-client/pkg-plist b/databases/mariadb114-client/pkg-plist new file mode 100644 index 000000000000..7c863425749f --- /dev/null +++ b/databases/mariadb114-client/pkg-plist @@ -0,0 +1,263 @@ +bin/mariadb +bin/mariadb-access +bin/mariadb-admin +bin/mariadb-binlog +bin/mariadb-check +bin/mariadb-config +bin/mariadb-conv +bin/mariadb-convert-table-format +bin/mariadb-dump +bin/mariadb-dumpslow +bin/mariadb-find-rows +bin/mariadb-hotcopy +bin/mariadb-import +bin/mariadb-plugin +bin/mariadb-secure-installation +bin/mariadb-setpermission +bin/mariadb-show +bin/mariadb-slap +bin/mariadb-test +bin/mariadb-waitpid +bin/mariadb_config +bin/msql2mysql +bin/my_print_defaults +bin/mysql +bin/mysql_config +bin/mysql_convert_table_format +bin/mysql_find_rows +bin/mysql_plugin +bin/mysql_secure_installation +bin/mysql_setpermission +bin/mysql_waitpid +bin/mysqlaccess +bin/mysqladmin +bin/mysqlbinlog +bin/mysqlcheck +bin/mysqldump +bin/mysqldumpslow +bin/mysqlhotcopy +bin/mysqlimport +bin/mysqlshow +bin/mysqlslap +bin/mysqltest +bin/mytop +bin/replace +bin/resolve_stack_dump +%%ETCDIR%%/conf.d/client.cnf.sample +%%ETCDIR%%/my.cnf.sample +include/mysql/errmsg.h +include/mysql/ma_list.h +include/mysql/ma_pvio.h +include/mysql/ma_tls.h +include/mysql/mariadb/ma_io.h +include/mysql/mariadb_com.h +include/mysql/mariadb_ctype.h +include/mysql/mariadb_dyncol.h +include/mysql/mariadb_rpl.h +include/mysql/mariadb_stmt.h +include/mysql/mariadb_version.h +include/mysql/my_alloca.h +include/mysql/my_config.h +include/mysql/my_global.h +include/mysql/my_sys.h +include/mysql/mysql.h +include/mysql/mysql/client_plugin.h +include/mysql/mysql/plugin_auth.h +include/mysql/mysql_com.h +include/mysql/mysql_version.h +include/mysql/mysqld_error.h +%%NO_GSSAPI_NONE%%lib/mysql/plugin/auth_gssapi_client.so +lib/mysql/libmariadb.a +lib/mysql/libmariadb.so +lib/mysql/libmariadb.so.3 +lib/mysql/libmariadbclient.a +lib/mysql/libmysqlclient.a +lib/mysql/libmysqlclient.so +lib/mysql/libmysqlclient_r.a +lib/mysql/libmysqlclient_r.so +lib/mysql/libmysqlservices.a +lib/mysql/plugin/caching_sha2_password.so +lib/mysql/plugin/client_ed25519.so +lib/mysql/plugin/daemon_example.ini +lib/mysql/plugin/dialog.so +lib/mysql/plugin/mysql_clear_password.so +lib/mysql/plugin/sha256_password.so +lib/mysql/plugin/zstd.so +libdata/pkgconfig/libmariadb.pc +share/man/man1/mariadb-access.1.gz +share/man/man1/mariadb-admin.1.gz +share/man/man1/mariadb-binlog.1.gz +share/man/man1/mariadb-check.1.gz +share/man/man1/mariadb-client-test-embedded.1.gz +share/man/man1/mariadb-client-test.1.gz +share/man/man1/mariadb-convert-table-format.1.gz +share/man/man1/mariadb-dump.1.gz +share/man/man1/mariadb-dumpslow.1.gz +@comment share/man/man1/mariadb-embedded.1.gz +share/man/man1/mariadb-find-rows.1.gz +share/man/man1/mariadb-hotcopy.1.gz +share/man/man1/mariadb-import.1.gz +share/man/man1/mariadb-plugin.1.gz +share/man/man1/mariadb-secure-installation.1.gz +share/man/man1/mariadb-setpermission.1.gz +share/man/man1/mariadb-show.1.gz +share/man/man1/mariadb-slap.1.gz +share/man/man1/mariadb-test-embedded.1.gz +share/man/man1/mariadb-test.1.gz +share/man/man1/mariadb-tzinfo-to-sql.1.gz +share/man/man1/mariadb-waitpid.1.gz +share/man/man1/mariadb.1.gz +share/man/man1/mariadb_config.1.gz +share/man/man1/msql2mysql.1.gz +share/man/man1/my_print_defaults.1.gz +share/man/man1/my_safe_process.1.gz +share/man/man1/mysql-stress-test.pl.1.gz +share/man/man1/mysql-test-run.pl.1.gz +share/man/man1/mysql.1.gz +share/man/man1/mysql_client_test.1.gz +share/man/man1/mysql_client_test_embedded.1.gz +share/man/man1/mysql_config.1.gz +share/man/man1/mysql_convert_table_format.1.gz +share/man/man1/mysql_embedded.1.gz +share/man/man1/mysql_find_rows.1.gz +share/man/man1/mysql_plugin.1.gz +share/man/man1/mysql_secure_installation.1.gz +share/man/man1/mysql_setpermission.1.gz +@comment share/man/man1/mysql_tzinfo_to_sql.1.gz +share/man/man1/mysql_waitpid.1.gz +share/man/man1/mysqlaccess.1.gz +share/man/man1/mysqladmin.1.gz +share/man/man1/mysqlbinlog.1.gz +share/man/man1/mysqlcheck.1.gz +share/man/man1/mysqldump.1.gz +share/man/man1/mysqldumpslow.1.gz +share/man/man1/mysqlhotcopy.1.gz +share/man/man1/mysqlimport.1.gz +share/man/man1/mysqlshow.1.gz +share/man/man1/mysqlslap.1.gz +share/man/man1/mysqltest.1.gz +share/man/man1/mysqltest_embedded.1.gz +@comment share/man/man1/mytop.1.gz +share/man/man1/perror.1.gz +share/man/man1/replace.1.gz +share/man/man1/resolve_stack_dump.1.gz +share/man/man3/mariadb_cancel.3.gz +share/man/man3/mariadb_connection.3.gz +share/man/man3/mariadb_dyncol_check.3.gz +share/man/man3/mariadb_dyncol_column_cmp_named.3.gz +share/man/man3/mariadb_dyncol_column_count.3.gz +share/man/man3/mariadb_dyncol_create_many_named.3.gz +share/man/man3/mariadb_dyncol_create_many_num.3.gz +share/man/man3/mariadb_dyncol_exists_named.3.gz +share/man/man3/mariadb_dyncol_exists_num.3.gz +share/man/man3/mariadb_dyncol_free.3.gz +share/man/man3/mariadb_dyncol_list_named.3.gz +share/man/man3/mariadb_dyncol_list_num.3.gz +share/man/man3/mariadb_dyncol_unpack.3.gz +share/man/man3/mariadb_dyncol_update_many_named.3.gz +share/man/man3/mariadb_dyncol_update_many_num.3.gz +share/man/man3/mariadb_get_infov.3.gz +share/man/man3/mariadb_reconnect.3.gz +share/man/man3/mariadb_rpl_close.3.gz +share/man/man3/mariadb_rpl_fetch.3.gz +share/man/man3/mariadb_rpl_get_optionsv.3.gz +share/man/man3/mariadb_rpl_open.3.gz +share/man/man3/mariadb_rpl_optionsv.3.gz +share/man/man3/mariadb_stmt_execute_direct.3.gz +share/man/man3/mariadb_stmt_fetch_fields.3.gz +share/man/man3/mysql_affected_rows.3.gz +share/man/man3/mysql_autocommit.3.gz +share/man/man3/mysql_change_user.3.gz +share/man/man3/mysql_close.3.gz +share/man/man3/mysql_commit.3.gz +share/man/man3/mysql_data_seek.3.gz +share/man/man3/mysql_errno.3.gz +share/man/man3/mysql_error.3.gz +share/man/man3/mysql_fetch_field.3.gz +share/man/man3/mysql_fetch_field_direct.3.gz +share/man/man3/mysql_fetch_fields.3.gz +share/man/man3/mysql_fetch_lengths.3.gz +share/man/man3/mysql_fetch_row.3.gz +share/man/man3/mysql_field_count.3.gz +share/man/man3/mysql_field_seek.3.gz +share/man/man3/mysql_field_tell.3.gz +share/man/man3/mysql_free_result.3.gz +share/man/man3/mysql_get_character_set_info.3.gz +share/man/man3/mysql_get_client_info.3.gz +share/man/man3/mysql_get_client_version.3.gz +share/man/man3/mysql_get_host_info.3.gz +share/man/man3/mysql_get_proto_info.3.gz +share/man/man3/mysql_get_server_info.3.gz +share/man/man3/mysql_get_server_version.3.gz +share/man/man3/mysql_get_socket.3.gz +share/man/man3/mysql_get_ssl_cipher.3.gz +share/man/man3/mysql_hex_string.3.gz +share/man/man3/mysql_info.3.gz +share/man/man3/mysql_init.3.gz +share/man/man3/mysql_kill.3.gz +share/man/man3/mysql_more_results.3.gz +share/man/man3/mysql_next_result.3.gz +share/man/man3/mysql_num_fields.3.gz +share/man/man3/mysql_num_rows.3.gz +share/man/man3/mysql_options.3.gz +share/man/man3/mysql_options4.3.gz +share/man/man3/mysql_optionsv.3.gz +share/man/man3/mysql_ping.3.gz +share/man/man3/mysql_query.3.gz +share/man/man3/mysql_read_query_result.3.gz +share/man/man3/mysql_real_connect.3.gz +share/man/man3/mysql_real_escape_string.3.gz +share/man/man3/mysql_real_query.3.gz +share/man/man3/mysql_refresh.3.gz +share/man/man3/mysql_reset_connection.3.gz +share/man/man3/mysql_rollback.3.gz +share/man/man3/mysql_row_seek.3.gz +share/man/man3/mysql_row_tell.3.gz +share/man/man3/mysql_select_db.3.gz +share/man/man3/mysql_send_query.3.gz +share/man/man3/mysql_server_end.3.gz +share/man/man3/mysql_server_init.3.gz +share/man/man3/mysql_session_track_get_first.3.gz +share/man/man3/mysql_session_track_get_next.3.gz +share/man/man3/mysql_set_character_set.3.gz +share/man/man3/mysql_set_server_option.3.gz +share/man/man3/mysql_shutdown.3.gz +share/man/man3/mysql_sqlstate.3.gz +share/man/man3/mysql_ssl_set.3.gz +share/man/man3/mysql_stat.3.gz +share/man/man3/mysql_stmt_affected_rows.3.gz +share/man/man3/mysql_stmt_attr_get.3.gz +share/man/man3/mysql_stmt_attr_set.3.gz +share/man/man3/mysql_stmt_bind_param.3.gz +share/man/man3/mysql_stmt_bind_result.3.gz +share/man/man3/mysql_stmt_close.3.gz +share/man/man3/mysql_stmt_data_seek.3.gz +share/man/man3/mysql_stmt_errno.3.gz +share/man/man3/mysql_stmt_error.3.gz +share/man/man3/mysql_stmt_execute.3.gz +share/man/man3/mysql_stmt_fetch.3.gz +share/man/man3/mysql_stmt_fetch_column.3.gz +share/man/man3/mysql_stmt_field_count.3.gz +share/man/man3/mysql_stmt_free_result.3.gz +share/man/man3/mysql_stmt_init.3.gz +share/man/man3/mysql_stmt_insert_id.3.gz +share/man/man3/mysql_stmt_more_results.3.gz +share/man/man3/mysql_stmt_next_result.3.gz +share/man/man3/mysql_stmt_num_rows.3.gz +share/man/man3/mysql_stmt_param_count.3.gz +share/man/man3/mysql_stmt_param_metadata.3.gz +share/man/man3/mysql_stmt_prepare.3.gz +share/man/man3/mysql_stmt_reset.3.gz +share/man/man3/mysql_stmt_result_metadata.3.gz +share/man/man3/mysql_stmt_row_seek.3.gz +share/man/man3/mysql_stmt_row_tell.3.gz +share/man/man3/mysql_stmt_send_long_data.3.gz +share/man/man3/mysql_stmt_sqlstate.3.gz +share/man/man3/mysql_stmt_store_result.3.gz +share/man/man3/mysql_stmt_warning_count.3.gz +share/man/man3/mysql_store_result.3.gz +share/man/man3/mysql_thread_end.3.gz +share/man/man3/mysql_thread_id.3.gz +share/man/man3/mysql_thread_init.3.gz +share/man/man3/mysql_use_result.3.gz +share/man/man3/mysql_warning_count.3.gz diff --git a/databases/mariadb114-server/Makefile b/databases/mariadb114-server/Makefile new file mode 100644 index 000000000000..aedd8e523081 --- /dev/null +++ b/databases/mariadb114-server/Makefile @@ -0,0 +1,291 @@ +PORTNAME?= mariadb +PORTVERSION= 11.4.2 +CATEGORIES= databases +MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ + https://mirror.one.com/${SITESDIR}/ \ + https://ftp.nluug.nl/db/${SITESDIR}/ \ + https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ + https://mirror.truenetwork.ru/${SITESDIR}/ \ + https://mirrors.aliyun.com/${SITESDIR}/ \ + https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ + https://mirror.kku.ac.th/${SITESDIR}/ \ + https://espejito.fder.edu.uy/${SITESDIR}/ \ + https://ftp.osuosl.org/pub/${SITESDIR}/ \ + https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ +PKGNAMESUFFIX?= 114-server + +MAINTAINER= brnrd@FreeBSD.org +COMMENT?= Multithreaded SQL database (server) +WWW= https://mariadb.org/ + +LICENSE= GPLv2 +LICENSE_FILE?= ${WRKSRC}/COPYING + +#EXPIRATION_DATE= 2029-05-30 + +LIB_DEPENDS+= libfmt.so:devel/libfmt \ + liblz4.so:archivers/liblz4 \ + libpcre2-8.so:devel/pcre2 \ + libzstd.so:archivers/zstd + +# Ugly workaround for MariaDB/CMake library detection +LDFLAGS+= -L${LOCALBASE}/lib + +USES= bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl + +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +USE_LDCONFIG= ${PREFIX}/lib/mysql +SHEBANG_FILES?= scripts/*.sh support-files/*.sh +SITESDIR= mariadb/mariadb-${PORTVERSION}/source +DOCSDIR= ${PREFIX}/share/doc/mysql + +MARIADB_USER?= mysql +MARIADB_GROUP?= mysql +MARIADB_DBDIR?= /var/db/mysql +MARIADB_RUNDIR?= /var/run/mysql +MARIADB_SOCK?= mysql.sock +MARIADB_LOGDIR?= /var/log/mysql + +USERS= ${MARIADB_USER} +GROUPS= ${MARIADB_GROUP} + +OPTIONS_SINGLE= GSSAPI +OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE +OPTIONS_DEFAULT= GSSAPI_BASE + +.if ${PKGNAMESUFFIX:M*-server} +# MySQL-Server options +OPTIONS_DEFAULT+= AWS_KEY_MGMT CONNECT_EXTRA HASHICORP_VAULT INNOBASE SPHINX SPIDER WSREP +OPTIONS_GROUP= COMPRESSION ENGINES GROONGA +OPTIONS_DEFINE= AWS_KEY_MGMT CONNECT_EXTRA DOCS HASHICORP_VAULT +OPTIONS_DEFINE_amd64= WSREP +OPTIONS_DEFINE_aarch64= WSREP +OPTIONS_DEFINE_powerpc64le= WSREP +OPTIONS_DEFINE_powerpc64= WSREP +OPTIONS_DEFINE_riscv64= WSREP +OPTIONS_GROUP_COMPRESSION= LZO SNAPPY +OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER +OPTIONS_GROUP_GROONGA= ZMQ MSGPACK +OPTIONS_EXCLUDE_i386= ROCKSDB + +AWS_KEY_MGMT_DESC= AWS Encryption Key Management Plugin +COLUMNSTORE_DESC= Columnar storage egine +CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine +COMPRESSION_DESC= Optional page compression +ENGINES_DESC= Optional MariaDB storage engines +GROONGA_DESC= Optional Mroonga features +HASHICORP_VAULT_DESC= Enable HashiCorp vault key-storage plugin +INNOBASE_DESC= InnoDB default engine +MROONGA_DESC= Mroonga Full Text Search engine +MSGPACK_DESC= MsgPack support +OQGRAPH_DESC= Open Query Graph Computation engine +ROCKSDB_DESC= RocksDB LSM engine +S3_DESC= S3 storage engine (Gamma) +SPHINX_DESC= SphinxSE engine +SPIDER_DESC= Partitioning and XA-transactions engine +WSREP_DESC= Build wsrep clustering +ZMQ_DESC= ZeroMQ support +.endif + +CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ + -DINSTALL_DOCDIR="share/doc/mysql" \ + -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ + -DINSTALL_INFODIR="info" \ + -DINSTALL_LIBDIR="lib/mysql" \ + -DINSTALL_MANDIR="share/man" \ + -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ + -DINSTALL_MYSQLSHAREDIR="share/mysql" \ + -DINSTALL_MYSQLTESTDIR= \ + -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ + -DINSTALL_SBINDIR="libexec" \ + -DINSTALL_SCRIPTDIR="bin" \ + -DINSTALL_SQLBENCHDIR= \ + -DINSTALL_SUPPORTFILESDIR="share/mysql" \ + -DINSTALL_SYSCONFDIR="${ETCDIR}" \ + -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ + -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ + -DWITH_PCRE=system \ + -DPCRE_LIBRARY_DIRS=${PREFIX}/lib \ + -DWITH_LIBFMT=system \ + -DLIBFMT_INCLUDE_DIR=${PREFIX}/include \ + -DHAVE_SYSTEM_LIBFMT=yes \ + -DWITH_SSL="${OPENSSLBASE}" \ + -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON \ + -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ + -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ + -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ + -DKRB5_CONFIG="${KRB5CONFIG}" \ + -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ + -DCOMPILATION_COMMENT="FreeBSD Ports" \ + -DPLUGIN_AUTH_TEST_PLUGIN=NO +CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS +CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS +DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ + EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE + +DATADIR= ${PREFIX}/share/mysql +ETCDIR= ${PREFIX}/etc/mysql + +CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ + mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ + mysqlwsrep* \ + percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* + +FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES +GSSAPI_BASE_USES= gssapi +GSSAPI_HEIMDAL_USES= gssapi:heimdal +GSSAPI_MIT_USES= gssapi:mit +GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF +OPTIONS_SUB= yes +SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ + MARIADB_SOCK="${MARIADB_SOCK}" + +.if ${PKGNAMESUFFIX:M*-connector-c} +WRKSRC= ${WRKDIR}/mariadb-${PORTVERSION}/libmariadb + +.elif ${PKGNAMESUFFIX:M*-client} +# MySQL-Client part +CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER +CMAKE_OFF+= WITH_WSREP +USES+= readline +USE_LDCONFIG= ${PREFIX}/lib/mysql +SUB_FILES+= my.cnf.sample client.cnf.sample + +.else # ! ${PKGNAMESUFFIX:M*-client} +# MySQL-Server part +USES+= mysql:114m + +USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin +USE_RC_SUBR= mysql-server + +CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER +CMAKE_OFF+= WITH_CLIENT +SUB_FILES+= server.cnf.sample +SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ + MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ + MARIADB_USER="${MARIADB_USER}" +PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ + MARIADB_USER="${MARIADB_USER}" \ + MARIADB_GROUP="${MARIADB_GROUP}" + +.for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} +${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO +${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC +.endfor +AWS_KEY_MGMT_CMAKE_ON= -DPLUGIN_AWS_KEY_MANAGEMENT=ON +INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE +#COLUMNSTORE_BROKEN= ColumnStore engine build failure "fatal error: 'sys/prctl.h' file not found" +CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC +CONNECT_EXTRA_USE= gnome=libxml2 +CONNECT_EXTRA_USES= gnome +CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC +GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI +HASHICORP_VAULT_CMAKE_OFF= -DPLUGIN_HASHICORP_KEY_MANAGEMENT=OFF +HASHICORP_VAULT_LIB_DEPENDS= libcurl.so:ftp/curl +LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON +LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF +LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 +MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c +OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libJudy.so:devel/judy +ROCKSDB_USES= python +ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} -DWITH_ROCKSDB_zstd=ON +S3_LIB_DEPENDS= libcurl.so:ftp/curl +SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON +SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF +SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy +WSREP_CMAKE_BOOL= WITH_WSREP +WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 +WSREP_RUN_DEPENDS= bash:shells/bash \ + rsync:net/rsync \ + #stunnel:security/stunnel +WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync +ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 + +.for PLUGIN in ${DISABLED_PLUGINS} +CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO +.endfor + +.endif # ${PKGNAMESUFFIX:M*-client} + +.include + +.if ${OPSYS} == FreeBSD +SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" +.else +SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " +.endif + +.if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} +GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system +.endif + +.if ${SSL_DEFAULT:Mlibressl*} +CFLAGS+= -Wno-incompatible-function-pointer-types +.warning HELLO FROM MAKE LIBRESSL +.endif + +.if ${ARCH} != amd64 && ${ARCH} != aarch64 +PLIST_SUB+= WSREP="@comment " +.endif + +post-patch: +.if ${OPSYS} == DragonFly + ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ + ${WRKSRC}/cmake/os/DragonFly.cmake +.endif + +pre-install: + ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d + +.if ${PKGNAMESUFFIX:M*-client} +post-install: + ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample + ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ + ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample + ${RM} -r ${STAGEDIR}${DATADIR} \ + ${STAGEDIR}${PREFIX}/include/mysql/server \ + ${STAGEDIR}${ETCDIR}/init.d \ + ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig + +post-install-GSSAPI_NONE-off: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so + +.else # ! ${PKGNAMESUFFIX:M*-client} +post-install: + ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ + ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample + ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ + ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample + ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ + ${STAGEDIR}${PREFIX}/lib/mysql/ + ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ + ${STAGEDIR}${PREFIX}/include/mysql/server/private \ + ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ + ${STAGEDIR}${PREFIX}/libexec/rcmysql \ + ${STAGEDIR}/suite \ + ${STAGEDIR}${ETCDIR}/init.d \ + ${STAGEDIR}${ETCDIR}/logrotate.d \ + ${STAGEDIR}${DOCSDIR}/COPYING + ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} + ${SED} '/%%/d;/^@comment /d;s/^/@comment /' ${PORTSDIR}/${CATEGORIES:[1]}/${PORTNAME}${PKGNAMESUFFIX:S/-server/-client/}/pkg-plist \ + >> ${TMPPLIST} + +post-install-MROONGA-on: + ${MV} ${STAGEDIR}${PREFIX}/share/groonga/README.md ${STAGEDIR}${DOCSDIR}/README-groonga.md + ${RM} -r ${STAGEDIR}${PREFIX}/share/groonga + ${RM} ${STAGEDIR}${DATADIR}/mroonga/COPYING + +post-install-SPIDER-on: + ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ + ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample + +post-install-WSREP-on: + ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ + ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample + +.endif # ${PKGNAMESUFFIX:M*-client} + +.include diff --git a/databases/mariadb114-server/distinfo b/databases/mariadb114-server/distinfo new file mode 100644 index 000000000000..87493a0396ee --- /dev/null +++ b/databases/mariadb114-server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718527565 +SHA256 (mariadb-11.4.2.tar.gz) = 8c600e38adb899316c1cb11c68b87979668f4fb9d858000e347e6d8b7abe51b0 +SIZE (mariadb-11.4.2.tar.gz) = 107373265 diff --git a/databases/mariadb114-server/files/client.cnf.sample.in b/databases/mariadb114-server/files/client.cnf.sample.in new file mode 100644 index 000000000000..2513f6a04fb2 --- /dev/null +++ b/databases/mariadb114-server/files/client.cnf.sample.in @@ -0,0 +1,52 @@ +# Options specific to client applications, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#client-option-groups + +# Options specific to all client programs +[client] +# port = 3306 # inherited from %%ETCDIR%%/my.cnf +# socket = %%MARIADB_RUNDIR%%/%%MARIADB_SOCK%% # inherited from %%ETCDIR%%/my.cnf + +# Options specific to MariaDB client programs +[client-mariadb] + +# +## Options for specific client Tools +# + +# Options read by `mysql` +# Renamed from [mysql] starting with MariaDB 10.4.6. +[mariadb-client] Options read by mysql. Available starting with MariaDB 10.4.6. +prompt = \u@\h [\d]>\_ +no_auto_rehash + +# Options read by `mysqldump` +# Renamed from [mysqldump] starting with MariaDB 10.4.6. +[mariadb-dump] +max_allowed_packet = 256M +quote_names +quick + +# Options read by `mysqladmin` +# Renamed from [mysqladmin] starting with MariaDB 10.4.6. +[mariadb-admin] + +# Options read by `mysqlbinlog` +# Renamed from [mysqlbinlog] starting with MariaDB 10.4.6. +[mariadb-binlog] + +# Options read by `mysqlcheck` +# Renamed from [mysqlcheck] starting with MariaDB 10.4.6. +[mariadb-check] + +# Options read by `mysqlimport` +# Renamed from [mysqlimport] starting with MariaDB 10.4.6. +[mariadb-import] + +# Options read by `mysqlshow` +# Renamed from [mysqlshow] starting with MariaDB 10.4.6. +[mariadb-show] + +# Options read by `mysqlslap` +# Renamed from [mysqlslap] starting with MariaDB 10.4.6. +[mariadb-slap] + diff --git a/databases/mariadb114-server/files/my.cnf.sample.in b/databases/mariadb114-server/files/my.cnf.sample.in new file mode 100644 index 000000000000..15dbc7e64da8 --- /dev/null +++ b/databases/mariadb114-server/files/my.cnf.sample.in @@ -0,0 +1,13 @@ +# +# This group is read both by the client and the server +# use it for options that affect everything, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#option-groups +# +[client-server] +port = 3306 +socket = %%MARIADB_RUNDIR%%/%%MARIADB_SOCK%% + +# +# include *.cnf from the config directory +# +!includedir %%ETCDIR%%/conf.d/ diff --git a/databases/mariadb114-server/files/mysql-server.in b/databases/mariadb114-server/files/mysql-server.in new file mode 100644 index 000000000000..e494dee09e92 --- /dev/null +++ b/databases/mariadb114-server/files/mysql-server.in @@ -0,0 +1,149 @@ +#!/bin/sh + +# PROVIDE: mysql +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable mysql: +# mysql_(instance_)?enable (bool): Set to "NO" by default. +# Set it to "YES" to enable MySQL. +%%LEGACY_LIMITS%%# mysql_(instance_)?limits (bool): Set to "NO" by default. +%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` +%%LEGACY_LIMITS%%# just before mysql starts. +# mysql_(instance_)?dbdir (str): Default to "%%MARIADB_DBDIR%%" +# Base database directory. +# mysql_(instance_)?args (str): Custom additional arguments to be passed +# to mysqld_safe (default empty). +# mysql_(instance_)?pidfile (str): Custom PID file path and name. +# Default to "${mysql_dbdir}/${hostname}.pid". +# mysql_(instance_)?user (str): User to run mysqld as +# Default to "%%MARIADB_USER%%" created by the port +# mysql_(instance_)?optfile (str): Server-specific option file. +# Default to "${mysql_dbdir}/my.cnf". +# mysql_(instance)?rundir (str): Default to "%%MARIADB_RUNDIR%%" +# mysql_instances (str): Set to "" by default. +# If defined, list of instances to enable + +. /etc/rc.subr + +name="mysql" +rcvar=mysql_enable + +load_rc_config $name + +: ${mysql_enable="NO"} +%%LEGACY_LIMITS%%: ${mysql_limits="NO"} +: ${mysql_user="%%MARIADB_USER%%"} +%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" +: ${mysql_dbdir="%%MARIADB_DBDIR%%"} +: ${mysql_optfile="%%ETCDIR%%/my.cnf"} +: ${mysql_rundir="%%MARIADB_RUNDIR%%"} + +command="/usr/sbin/daemon" +procname="%%PREFIX%%/libexec/mariadbd" +start_precmd="${name}_prestart" +start_postcmd="${name}_poststart" + +if [ -n "$2" ]; then + instance="$2" + load_rc_config ${name}_${instance} + case "$mysql_instances" in + "$2 "*|*" $2 "*|*" $2"|"$2") + eval mysql_args="\${mysql_${instance}_args:-\"${mysql_args}\"}" + eval mysql_dbdir="\${mysql_${instance}_dbdir:-\"%%MARIADB_DBDIR%%_${instance}\"}" + %%LEGACY_LIMITS%%eval mysql_limits="\${mysql_${instance}_limits:-\"${mysql_limits}\"}" + eval mysql_user="\${mysql_${instance}_user:-\"${mysql_user}\"}" + %%LEGACY_LIMITS%%eval mysql_limits_args="\${mysql_${instance}_limits_args:-\"-e -U $mysql_user\"}" + eval mysql_socket="\${mysql_${instance}_socket:-\"%%MARIADB_RUNDIR%%_${instance}/%%MARIADB_SOCK%%\"}" + eval mysql_optfile="\${mysql_${instance}_optfile:-\"%%ETCDIR%%_${instance}/my.cnf\"}" + eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"%%MARIADB_RUNDIR%%_${instance}/mysqld.pid\"}" + ;; + *) + err 1 "$2 not found in mysql_instances" ;; + esac +else + if [ -n "${mysql_instances}" -a -n "$1" ]; then + for instance in ${mysql_instances}; do + eval _enable="\${mysql_${instance}_enable}" + case "${_enable:-${mysql_enable}}" in + [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) + continue + ;; + [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) + ;; + *) + if [ -z "$_enable" ]; then + _var=mysql_enable + else + _var=mysql_${instance}_enable + fi + warn "Bad value" \ + "'${_enable:-${mysql_enable}}'" \ + "for ${_var}. " \ + "Instance ${instance} skipped." + continue + ;; + esac + echo "===> mysql instance: ${instance}" + if %%PREFIX%%/etc/rc.d/mysql-server $1 ${instance}; then + success="${instance} ${success}" + else + failed="${instance} (${retcode}) ${failed}" + fi + done + exit 0 + else + mysql_pidfile=${mysql_pidfile:-"%%MARIADB_RUNDIR%%/mysqld.pid"} + fi +fi + +pidfile=$mysql_pidfile +mysql_install_db="%%PREFIX%%/bin/mariadb-install-db" +mysql_install_db_args="--basedir=%%PREFIX%% --datadir=${mysql_dbdir} --force" +command_args="-c -f %%PREFIX%%/bin/mariadbd-safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_socket:+--socket=${mysql_socket}} ${mysql_args}" + +mysql_create_auth_tables() +{ + eval $mysql_install_db $mysql_install_db_args + [ $? -eq 0 ] && chown -R ${mysql_user}:$(id -gn $mysql_user) ${mysql_dbdir} +} + +mysql_prestart() +{ + local dir + for dir in /etc /usr/local/etc /etc/mysql /var/db/mysql; do + if [ -f "${dir}/my.cnf" ]; then + echo "Please merge existing ${dir}/my.cnf file with %%ETCDIR%%/conf.d/server.cnf" + return 1 + fi + done + if [ ! -d "${mysql_dbdir}/mysql/." ]; then + mysql_create_auth_tables || return 1 + fi + mysql_group="`/usr/bin/id -gn ${mysql_user}`" + [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`" + if [ ! -d "${mysql_rundir}" ]; then + install -d -o ${mysql_user} -g ${mysql_group} "${mysql_rundir}" + fi +%%LEGACY_LIMITS%% if checkyesno mysql_limits; then +%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null +%%LEGACY_LIMITS%% else +%%LEGACY_LIMITS%% return 0 +%%LEGACY_LIMITS%% fi +%%MODERN_LIMITS%% return 0 + if [ ! -d "${mysql_rundir}" ]; then + install -d -u${mysql_user} -g$(id -gn $mysql_user) -m755 ${mysql_rundir} + fi +} + +mysql_poststart() +{ + local timeout=15 + while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do + timeout=$(( timeout - 1 )) + sleep 1 + done + return 0 +} + +run_rc_command "$1" diff --git a/databases/mariadb114-server/files/patch-include_my__cpu.h b/databases/mariadb114-server/files/patch-include_my__cpu.h new file mode 100644 index 000000000000..3dd96615bdb9 --- /dev/null +++ b/databases/mariadb114-server/files/patch-include_my__cpu.h @@ -0,0 +1,48 @@ +--- include/my_cpu.h.orig 2024-05-26 18:15:37 UTC ++++ include/my_cpu.h +@@ -23,7 +23,8 @@ + The defines are the same ones used by the linux kernel + */ + +-#ifdef _ARCH_PWR8 ++#if defined(_ARCH_PWR8) ++#if defined(linux) + #include + /* Very low priority */ + #define HMT_very_low() __ppc_set_ppr_very_low() +@@ -37,6 +38,22 @@ + #define HMT_medium_high() __ppc_set_ppr_med_high() + /* High priority */ + #define HMT_high() asm volatile("or 3,3,3") ++#elif defined(__FreeBSD__) ++#include ++#include ++/* Very low priority */ ++#define HMT_very_low() __asm__ volatile ("or 31,31,31") ++/* Low priority */ ++#define HMT_low() __asm__ volatile ("or 1,1,1") ++/* Medium low priority */ ++#define HMT_medium_low() __asm__ volatile ("or 6,6,6") ++/* Medium priority */ ++#define HMT_medium() __asm__ volatile ("or 2,2,2") ++/* Medium high priority */ ++#define HMT_medium_high() __asm__ volatile ("or 5,5,5") ++/* High priority */ ++#define HMT_high() asm volatile("or 3,3,3") ++#endif + #else + #define HMT_very_low() + #define HMT_low() +@@ -81,7 +98,12 @@ static inline void MY_RELAX_CPU(void) + __asm__ __volatile__ ("pause"); + #endif + #elif defined(_ARCH_PWR8) ++#if defined(linux) + __ppc_get_timebase(); ++#elif defined(__FreeBSD__) ++ uint64_t __tb; ++ __asm__ volatile ("mfspr %0, 268" : "=r" (__tb)); ++#endif + #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__) + /* Mainly, prevent the compiler from optimizing away delay loops */ + __asm__ __volatile__ ("":::"memory"); diff --git a/databases/mariadb114-server/files/patch-mysys__ssl_openssl.c b/databases/mariadb114-server/files/patch-mysys__ssl_openssl.c new file mode 100644 index 000000000000..dd66a716fa84 --- /dev/null +++ b/databases/mariadb114-server/files/patch-mysys__ssl_openssl.c @@ -0,0 +1,14 @@ +--- mysys_ssl/openssl.c.orig 2024-02-01 17:44:37 UTC ++++ mysys_ssl/openssl.c +@@ -30,6 +30,11 @@ int check_openssl_compatibility() + { + return 0; + } ++#elif defined(LIBRESSL_VERSION_NUMBER) ++int check_openssl_compatibility() ++{ ++ return 0; ++} + #else + #include + diff --git a/databases/mariadb114-server/files/patch-scripts_mysql__config.sh b/databases/mariadb114-server/files/patch-scripts_mysql__config.sh new file mode 100644 index 000000000000..f8321be63ecc --- /dev/null +++ b/databases/mariadb114-server/files/patch-scripts_mysql__config.sh @@ -0,0 +1,10 @@ +--- scripts/mysql_config.sh.orig 2021-07-07 20:25:20 UTC ++++ scripts/mysql_config.sh +@@ -88,6 +88,7 @@ fi + # Create options + libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@" + embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@" ++embedded_libs="$embedded_libs -%%LOCALBASE%%/lib " + + include="-I$pkgincludedir" + if [ "$basedir" != "/usr" ]; then diff --git a/databases/mariadb114-server/files/patch-sql_mysqld.cc b/databases/mariadb114-server/files/patch-sql_mysqld.cc new file mode 100644 index 000000000000..3d49943a974f --- /dev/null +++ b/databases/mariadb114-server/files/patch-sql_mysqld.cc @@ -0,0 +1,20 @@ +--- sql/mysqld.cc.orig 2024-05-26 18:15:38 UTC ++++ sql/mysqld.cc +@@ -209,7 +209,7 @@ inline void setup_fpu() + + inline void setup_fpu() + { +-#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT) ++#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT) && defined(FP_X_INV) + /* We can't handle floating point exceptions with threads, so disable + this on freebsd + Don't fall for overflow, underflow,divide-by-zero or loss of precision. +@@ -222,7 +222,7 @@ inline void setup_fpu() + fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | + FP_X_IMP)); + #endif /* FP_X_DNML */ +-#endif /* __FreeBSD__ && HAVE_IEEEFP_H && !HAVE_FEDISABLEEXCEPT */ ++#endif /* __FreeBSD__ && HAVE_IEEEFP_H && !HAVE_FEDISABLEEXCEPT && FP_X_INV */ + + #ifdef HAVE_FEDISABLEEXCEPT + fedisableexcept(FE_ALL_EXCEPT); diff --git a/databases/mariadb114-server/files/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h b/databases/mariadb114-server/files/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h new file mode 100644 index 000000000000..dab7177b65b8 --- /dev/null +++ b/databases/mariadb114-server/files/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h @@ -0,0 +1,13 @@ +--- storage/rocksdb/rocksdb/port/jemalloc_helper.h.orig 2020-06-23 15:10:17 UTC ++++ storage/rocksdb/rocksdb/port/jemalloc_helper.h +@@ -26,6 +26,10 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++#define JEMALLOC_USABLE_SIZE_CONST const ++#endif ++ + #ifndef JEMALLOC_CXX_THROW + #define JEMALLOC_CXX_THROW + #endif diff --git a/databases/mariadb114-server/files/patch-tpool_CMakeLists.txt b/databases/mariadb114-server/files/patch-tpool_CMakeLists.txt new file mode 100644 index 000000000000..5ab7d5de3dd2 --- /dev/null +++ b/databases/mariadb114-server/files/patch-tpool_CMakeLists.txt @@ -0,0 +1,8 @@ +--- tpool/CMakeLists.txt.orig 2020-06-23 15:10:18 UTC ++++ tpool/CMakeLists.txt +@@ -1,4 +1,5 @@ + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/include) ++ADD_DEFINITIONS(-fPIC) + IF(WIN32) + SET(EXTRA_SOURCES tpool_win.cc aio_win.cc) + ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux") diff --git a/databases/mariadb114-server/files/pkg-message.in b/databases/mariadb114-server/files/pkg-message.in new file mode 100644 index 000000000000..8589380d09d6 --- /dev/null +++ b/databases/mariadb114-server/files/pkg-message.in @@ -0,0 +1,28 @@ +[ +{ type: install + message: < flag) +the first time you start the MySQL server after an upgrade from an +earlier version. +EOM +} +] diff --git a/databases/mariadb114-server/files/server.cnf.sample.in b/databases/mariadb114-server/files/server.cnf.sample.in new file mode 100644 index 000000000000..9e84965c7679 --- /dev/null +++ b/databases/mariadb114-server/files/server.cnf.sample.in @@ -0,0 +1,60 @@ +# Options specific to server applications, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#server-option-groups + +# Options specific to all server programs +[server] + +# Options specific to MariaDB server programs +[server-mariadb] + +# +# Options for specific server tools +# + +[mysqld] +user = %%MARIADB_USER%% +# port = 3306 # inherited from %%ETCDIR%%/my.cnf +# socket = %%MARIADB_RUNDIR%%/mysql.sock # inherited from %%ETCDIR%%/my.cnf +bind-address = 127.0.0.1 +basedir = %%PREFIX%% +datadir = %%MARIADB_DBDIR%% +net_retry_count = 16384 +log_error = %%MARIADB_LOGDIR%%/mysqld.err +# [mysqld] configuration for ZFS +# From https://www.percona.com/resources/technical-presentations/zfs-mysql-percona-technical-webinar +# Create separate datasets for data and logs, eg +# zroot/mysql compression=on recordsize=128k atime=off +# zroot/mysql/data recordsize=16k +# zroot/mysql/logs +# datadir = %%MARIADB_DBDIR%%/data +# innodb_log_group_home_dir = %%MARIADB_DBDIR%%/log +# audit_log_file = %%MARIADB_DBDIR%%/log/audit.log +# general_log_file = %%MARIADB_DBDIR%%/log/general.log +# log_bin = %%MARIADB_DBDIR%%/log/mysql-bin +# relay_log = %%MARIADB_DBDIR%%/log/relay-log +# slow_query_log_file = %%MARIADB_DBDIR%%/log/slow.log +# innodb_doublewrite = 0 +# innodb_flush_method = O_DSYNC + +# Options read by `mariadb_safe` +# Renamed from [mysqld_safe] starting with MariaDB 10.4.6. +[mariadb-safe] + +# Options read my `mariabackup` +[mariabackup] + +# Options read by `mysql_upgrade` +# Renamed from [mysql_upgrade] starting with MariaDB 10.4.6. +[mariadb-upgrade] + +# Specific options read by the mariabackup SST method +[sst] + +# Options read by `mysqlbinlog` +# Renamed from [mysqlbinlog] starting with MariaDB 10.4.6. +[mariadb-binlog] + +# Options read by `mysqladmin` +# Renamed from [mysqladmin] starting with MariaDB 10.4.6. +[mariadb-admin] + diff --git a/databases/mariadb114-server/orig/client.cnf.sample.in b/databases/mariadb114-server/orig/client.cnf.sample.in new file mode 100644 index 000000000000..2513f6a04fb2 --- /dev/null +++ b/databases/mariadb114-server/orig/client.cnf.sample.in @@ -0,0 +1,52 @@ +# Options specific to client applications, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#client-option-groups + +# Options specific to all client programs +[client] +# port = 3306 # inherited from %%ETCDIR%%/my.cnf +# socket = %%MARIADB_RUNDIR%%/%%MARIADB_SOCK%% # inherited from %%ETCDIR%%/my.cnf + +# Options specific to MariaDB client programs +[client-mariadb] + +# +## Options for specific client Tools +# + +# Options read by `mysql` +# Renamed from [mysql] starting with MariaDB 10.4.6. +[mariadb-client] Options read by mysql. Available starting with MariaDB 10.4.6. +prompt = \u@\h [\d]>\_ +no_auto_rehash + +# Options read by `mysqldump` +# Renamed from [mysqldump] starting with MariaDB 10.4.6. +[mariadb-dump] +max_allowed_packet = 256M +quote_names +quick + +# Options read by `mysqladmin` +# Renamed from [mysqladmin] starting with MariaDB 10.4.6. +[mariadb-admin] + +# Options read by `mysqlbinlog` +# Renamed from [mysqlbinlog] starting with MariaDB 10.4.6. +[mariadb-binlog] + +# Options read by `mysqlcheck` +# Renamed from [mysqlcheck] starting with MariaDB 10.4.6. +[mariadb-check] + +# Options read by `mysqlimport` +# Renamed from [mysqlimport] starting with MariaDB 10.4.6. +[mariadb-import] + +# Options read by `mysqlshow` +# Renamed from [mysqlshow] starting with MariaDB 10.4.6. +[mariadb-show] + +# Options read by `mysqlslap` +# Renamed from [mysqlslap] starting with MariaDB 10.4.6. +[mariadb-slap] + diff --git a/databases/mariadb114-server/orig/my.cnf.sample.in b/databases/mariadb114-server/orig/my.cnf.sample.in new file mode 100644 index 000000000000..15dbc7e64da8 --- /dev/null +++ b/databases/mariadb114-server/orig/my.cnf.sample.in @@ -0,0 +1,13 @@ +# +# This group is read both by the client and the server +# use it for options that affect everything, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#option-groups +# +[client-server] +port = 3306 +socket = %%MARIADB_RUNDIR%%/%%MARIADB_SOCK%% + +# +# include *.cnf from the config directory +# +!includedir %%ETCDIR%%/conf.d/ diff --git a/databases/mariadb114-server/orig/mysql-server.in b/databases/mariadb114-server/orig/mysql-server.in new file mode 100644 index 000000000000..e494dee09e92 --- /dev/null +++ b/databases/mariadb114-server/orig/mysql-server.in @@ -0,0 +1,149 @@ +#!/bin/sh + +# PROVIDE: mysql +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable mysql: +# mysql_(instance_)?enable (bool): Set to "NO" by default. +# Set it to "YES" to enable MySQL. +%%LEGACY_LIMITS%%# mysql_(instance_)?limits (bool): Set to "NO" by default. +%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U mysql` +%%LEGACY_LIMITS%%# just before mysql starts. +# mysql_(instance_)?dbdir (str): Default to "%%MARIADB_DBDIR%%" +# Base database directory. +# mysql_(instance_)?args (str): Custom additional arguments to be passed +# to mysqld_safe (default empty). +# mysql_(instance_)?pidfile (str): Custom PID file path and name. +# Default to "${mysql_dbdir}/${hostname}.pid". +# mysql_(instance_)?user (str): User to run mysqld as +# Default to "%%MARIADB_USER%%" created by the port +# mysql_(instance_)?optfile (str): Server-specific option file. +# Default to "${mysql_dbdir}/my.cnf". +# mysql_(instance)?rundir (str): Default to "%%MARIADB_RUNDIR%%" +# mysql_instances (str): Set to "" by default. +# If defined, list of instances to enable + +. /etc/rc.subr + +name="mysql" +rcvar=mysql_enable + +load_rc_config $name + +: ${mysql_enable="NO"} +%%LEGACY_LIMITS%%: ${mysql_limits="NO"} +: ${mysql_user="%%MARIADB_USER%%"} +%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}" +: ${mysql_dbdir="%%MARIADB_DBDIR%%"} +: ${mysql_optfile="%%ETCDIR%%/my.cnf"} +: ${mysql_rundir="%%MARIADB_RUNDIR%%"} + +command="/usr/sbin/daemon" +procname="%%PREFIX%%/libexec/mariadbd" +start_precmd="${name}_prestart" +start_postcmd="${name}_poststart" + +if [ -n "$2" ]; then + instance="$2" + load_rc_config ${name}_${instance} + case "$mysql_instances" in + "$2 "*|*" $2 "*|*" $2"|"$2") + eval mysql_args="\${mysql_${instance}_args:-\"${mysql_args}\"}" + eval mysql_dbdir="\${mysql_${instance}_dbdir:-\"%%MARIADB_DBDIR%%_${instance}\"}" + %%LEGACY_LIMITS%%eval mysql_limits="\${mysql_${instance}_limits:-\"${mysql_limits}\"}" + eval mysql_user="\${mysql_${instance}_user:-\"${mysql_user}\"}" + %%LEGACY_LIMITS%%eval mysql_limits_args="\${mysql_${instance}_limits_args:-\"-e -U $mysql_user\"}" + eval mysql_socket="\${mysql_${instance}_socket:-\"%%MARIADB_RUNDIR%%_${instance}/%%MARIADB_SOCK%%\"}" + eval mysql_optfile="\${mysql_${instance}_optfile:-\"%%ETCDIR%%_${instance}/my.cnf\"}" + eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"%%MARIADB_RUNDIR%%_${instance}/mysqld.pid\"}" + ;; + *) + err 1 "$2 not found in mysql_instances" ;; + esac +else + if [ -n "${mysql_instances}" -a -n "$1" ]; then + for instance in ${mysql_instances}; do + eval _enable="\${mysql_${instance}_enable}" + case "${_enable:-${mysql_enable}}" in + [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) + continue + ;; + [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) + ;; + *) + if [ -z "$_enable" ]; then + _var=mysql_enable + else + _var=mysql_${instance}_enable + fi + warn "Bad value" \ + "'${_enable:-${mysql_enable}}'" \ + "for ${_var}. " \ + "Instance ${instance} skipped." + continue + ;; + esac + echo "===> mysql instance: ${instance}" + if %%PREFIX%%/etc/rc.d/mysql-server $1 ${instance}; then + success="${instance} ${success}" + else + failed="${instance} (${retcode}) ${failed}" + fi + done + exit 0 + else + mysql_pidfile=${mysql_pidfile:-"%%MARIADB_RUNDIR%%/mysqld.pid"} + fi +fi + +pidfile=$mysql_pidfile +mysql_install_db="%%PREFIX%%/bin/mariadb-install-db" +mysql_install_db_args="--basedir=%%PREFIX%% --datadir=${mysql_dbdir} --force" +command_args="-c -f %%PREFIX%%/bin/mariadbd-safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_socket:+--socket=${mysql_socket}} ${mysql_args}" + +mysql_create_auth_tables() +{ + eval $mysql_install_db $mysql_install_db_args + [ $? -eq 0 ] && chown -R ${mysql_user}:$(id -gn $mysql_user) ${mysql_dbdir} +} + +mysql_prestart() +{ + local dir + for dir in /etc /usr/local/etc /etc/mysql /var/db/mysql; do + if [ -f "${dir}/my.cnf" ]; then + echo "Please merge existing ${dir}/my.cnf file with %%ETCDIR%%/conf.d/server.cnf" + return 1 + fi + done + if [ ! -d "${mysql_dbdir}/mysql/." ]; then + mysql_create_auth_tables || return 1 + fi + mysql_group="`/usr/bin/id -gn ${mysql_user}`" + [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`" + if [ ! -d "${mysql_rundir}" ]; then + install -d -o ${mysql_user} -g ${mysql_group} "${mysql_rundir}" + fi +%%LEGACY_LIMITS%% if checkyesno mysql_limits; then +%%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null +%%LEGACY_LIMITS%% else +%%LEGACY_LIMITS%% return 0 +%%LEGACY_LIMITS%% fi +%%MODERN_LIMITS%% return 0 + if [ ! -d "${mysql_rundir}" ]; then + install -d -u${mysql_user} -g$(id -gn $mysql_user) -m755 ${mysql_rundir} + fi +} + +mysql_poststart() +{ + local timeout=15 + while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do + timeout=$(( timeout - 1 )) + sleep 1 + done + return 0 +} + +run_rc_command "$1" diff --git a/databases/mariadb114-server/orig/patch-include_my__cpu.h b/databases/mariadb114-server/orig/patch-include_my__cpu.h new file mode 100644 index 000000000000..e205cbfa05e2 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-include_my__cpu.h @@ -0,0 +1,48 @@ +--- include/my_cpu.h.orig 2021-09-27 13:32:48 UTC ++++ include/my_cpu.h +@@ -23,7 +23,8 @@ + The defines are the same ones used by the linux kernel + */ + +-#ifdef _ARCH_PWR8 ++#if defined(_ARCH_PWR8) ++#if defined(linux) + #include + /* Very low priority */ + #define HMT_very_low() __ppc_set_ppr_very_low() +@@ -37,6 +38,22 @@ + #define HMT_medium_high() __ppc_set_ppr_med_high() + /* High priority */ + #define HMT_high() asm volatile("or 3,3,3") ++#elif defined(__FreeBSD__) ++#include ++#include ++/* Very low priority */ ++#define HMT_very_low() __asm__ volatile ("or 31,31,31") ++/* Low priority */ ++#define HMT_low() __asm__ volatile ("or 1,1,1") ++/* Medium low priority */ ++#define HMT_medium_low() __asm__ volatile ("or 6,6,6") ++/* Medium priority */ ++#define HMT_medium() __asm__ volatile ("or 2,2,2") ++/* Medium high priority */ ++#define HMT_medium_high() __asm__ volatile ("or 5,5,5") ++/* High priority */ ++#define HMT_high() asm volatile("or 3,3,3") ++#endif + #else + #define HMT_very_low() + #define HMT_low() +@@ -81,7 +98,12 @@ static inline void MY_RELAX_CPU(void) + __asm__ __volatile__ ("pause"); + #endif + #elif defined(_ARCH_PWR8) ++#if defined(linux) + __ppc_get_timebase(); ++#elif defined(__FreeBSD__) ++ uint64_t __tb; ++ __asm__ volatile ("mfspr %0, 268" : "=r" (__tb)); ++#endif + #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__) + /* Mainly, prevent the compiler from optimizing away delay loops */ + #ifdef _aarch64_ diff --git a/databases/mariadb114-server/orig/patch-mysys__ssl_openssl.c b/databases/mariadb114-server/orig/patch-mysys__ssl_openssl.c new file mode 100644 index 000000000000..dd66a716fa84 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-mysys__ssl_openssl.c @@ -0,0 +1,14 @@ +--- mysys_ssl/openssl.c.orig 2024-02-01 17:44:37 UTC ++++ mysys_ssl/openssl.c +@@ -30,6 +30,11 @@ int check_openssl_compatibility() + { + return 0; + } ++#elif defined(LIBRESSL_VERSION_NUMBER) ++int check_openssl_compatibility() ++{ ++ return 0; ++} + #else + #include + diff --git a/databases/mariadb114-server/orig/patch-scripts_mysql__config.sh b/databases/mariadb114-server/orig/patch-scripts_mysql__config.sh new file mode 100644 index 000000000000..f8321be63ecc --- /dev/null +++ b/databases/mariadb114-server/orig/patch-scripts_mysql__config.sh @@ -0,0 +1,10 @@ +--- scripts/mysql_config.sh.orig 2021-07-07 20:25:20 UTC ++++ scripts/mysql_config.sh +@@ -88,6 +88,7 @@ fi + # Create options + libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@" + embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@" ++embedded_libs="$embedded_libs -%%LOCALBASE%%/lib " + + include="-I$pkgincludedir" + if [ "$basedir" != "/usr" ]; then diff --git a/databases/mariadb114-server/orig/patch-sql_mysqld.cc b/databases/mariadb114-server/orig/patch-sql_mysqld.cc new file mode 100644 index 000000000000..e433bfc7d450 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-sql_mysqld.cc @@ -0,0 +1,20 @@ +--- sql/mysqld.cc.orig 2021-06-15 10:16:51 UTC ++++ sql/mysqld.cc +@@ -205,7 +205,7 @@ typedef fp_except fp_except_t; + + inline void setup_fpu() + { +-#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT) ++#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) && !defined(HAVE_FEDISABLEEXCEPT) && defined(FP_X_INV) + /* We can't handle floating point exceptions with threads, so disable + this on freebsd + Don't fall for overflow, underflow,divide-by-zero or loss of precision. +@@ -218,7 +218,7 @@ inline void setup_fpu() + fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | + FP_X_IMP)); + #endif /* FP_X_DNML */ +-#endif /* __FreeBSD__ && HAVE_IEEEFP_H && !HAVE_FEDISABLEEXCEPT */ ++#endif /* __FreeBSD__ && HAVE_IEEEFP_H && !HAVE_FEDISABLEEXCEPT && FP_X_INV */ + + #ifdef HAVE_FEDISABLEEXCEPT + fedisableexcept(FE_ALL_EXCEPT); diff --git a/databases/mariadb114-server/orig/patch-storage_columnstore_columnstore_utils_common_threadnaming.cpp b/databases/mariadb114-server/orig/patch-storage_columnstore_columnstore_utils_common_threadnaming.cpp new file mode 100644 index 000000000000..26ea3d16ecd7 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-storage_columnstore_columnstore_utils_common_threadnaming.cpp @@ -0,0 +1,24 @@ +--- storage/columnstore/columnstore/utils/common/threadnaming.cpp.orig 2022-05-18 08:34:17 UTC ++++ storage/columnstore/columnstore/utils/common/threadnaming.cpp +@@ -22,13 +22,21 @@ namespace utils + { + void setThreadName(const char* threadName) + { ++#ifdef __FreeBSD__ ++ pthread_set_name_np(pthread_self(), threadName); ++#else + prctl(PR_SET_NAME, threadName, 0, 0, 0); ++#endif + } + + std::string getThreadName() + { + char buf[32]; ++#ifdef __FreeBSD__ ++ pthread_get_name_np(pthread_self(), buf, sizeof(buf)); ++#else + prctl(PR_GET_NAME, buf, 0, 0, 0); ++#endif + return std::string(buf); + } + } // namespace utils diff --git a/databases/mariadb114-server/orig/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h b/databases/mariadb114-server/orig/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h new file mode 100644 index 000000000000..dab7177b65b8 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h @@ -0,0 +1,13 @@ +--- storage/rocksdb/rocksdb/port/jemalloc_helper.h.orig 2020-06-23 15:10:17 UTC ++++ storage/rocksdb/rocksdb/port/jemalloc_helper.h +@@ -26,6 +26,10 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++#define JEMALLOC_USABLE_SIZE_CONST const ++#endif ++ + #ifndef JEMALLOC_CXX_THROW + #define JEMALLOC_CXX_THROW + #endif diff --git a/databases/mariadb114-server/orig/patch-tpool_CMakeLists.txt b/databases/mariadb114-server/orig/patch-tpool_CMakeLists.txt new file mode 100644 index 000000000000..5ab7d5de3dd2 --- /dev/null +++ b/databases/mariadb114-server/orig/patch-tpool_CMakeLists.txt @@ -0,0 +1,8 @@ +--- tpool/CMakeLists.txt.orig 2020-06-23 15:10:18 UTC ++++ tpool/CMakeLists.txt +@@ -1,4 +1,5 @@ + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/include) ++ADD_DEFINITIONS(-fPIC) + IF(WIN32) + SET(EXTRA_SOURCES tpool_win.cc aio_win.cc) + ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux") diff --git a/databases/mariadb114-server/orig/pkg-message.in b/databases/mariadb114-server/orig/pkg-message.in new file mode 100644 index 000000000000..8589380d09d6 --- /dev/null +++ b/databases/mariadb114-server/orig/pkg-message.in @@ -0,0 +1,28 @@ +[ +{ type: install + message: < flag) +the first time you start the MySQL server after an upgrade from an +earlier version. +EOM +} +] diff --git a/databases/mariadb114-server/orig/server.cnf.sample.in b/databases/mariadb114-server/orig/server.cnf.sample.in new file mode 100644 index 000000000000..9e84965c7679 --- /dev/null +++ b/databases/mariadb114-server/orig/server.cnf.sample.in @@ -0,0 +1,60 @@ +# Options specific to server applications, see +# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#server-option-groups + +# Options specific to all server programs +[server] + +# Options specific to MariaDB server programs +[server-mariadb] + +# +# Options for specific server tools +# + +[mysqld] +user = %%MARIADB_USER%% +# port = 3306 # inherited from %%ETCDIR%%/my.cnf +# socket = %%MARIADB_RUNDIR%%/mysql.sock # inherited from %%ETCDIR%%/my.cnf +bind-address = 127.0.0.1 +basedir = %%PREFIX%% +datadir = %%MARIADB_DBDIR%% +net_retry_count = 16384 +log_error = %%MARIADB_LOGDIR%%/mysqld.err +# [mysqld] configuration for ZFS +# From https://www.percona.com/resources/technical-presentations/zfs-mysql-percona-technical-webinar +# Create separate datasets for data and logs, eg +# zroot/mysql compression=on recordsize=128k atime=off +# zroot/mysql/data recordsize=16k +# zroot/mysql/logs +# datadir = %%MARIADB_DBDIR%%/data +# innodb_log_group_home_dir = %%MARIADB_DBDIR%%/log +# audit_log_file = %%MARIADB_DBDIR%%/log/audit.log +# general_log_file = %%MARIADB_DBDIR%%/log/general.log +# log_bin = %%MARIADB_DBDIR%%/log/mysql-bin +# relay_log = %%MARIADB_DBDIR%%/log/relay-log +# slow_query_log_file = %%MARIADB_DBDIR%%/log/slow.log +# innodb_doublewrite = 0 +# innodb_flush_method = O_DSYNC + +# Options read by `mariadb_safe` +# Renamed from [mysqld_safe] starting with MariaDB 10.4.6. +[mariadb-safe] + +# Options read my `mariabackup` +[mariabackup] + +# Options read by `mysql_upgrade` +# Renamed from [mysql_upgrade] starting with MariaDB 10.4.6. +[mariadb-upgrade] + +# Specific options read by the mariabackup SST method +[sst] + +# Options read by `mysqlbinlog` +# Renamed from [mysqlbinlog] starting with MariaDB 10.4.6. +[mariadb-binlog] + +# Options read by `mysqladmin` +# Renamed from [mysqladmin] starting with MariaDB 10.4.6. +[mariadb-admin] + diff --git a/databases/mariadb114-server/pkg-descr b/databases/mariadb114-server/pkg-descr new file mode 100644 index 000000000000..f76c83728f01 --- /dev/null +++ b/databases/mariadb114-server/pkg-descr @@ -0,0 +1,12 @@ +MariaDB is a database server that offers drop-in replacement functionality +for MySQL. MariaDB is built by some of the original authors of MySQL, with +assistance from the broader community of Free and open source software +developers. In addition to the core functionality of MySQL, MariaDB offers +a rich set of feature enhancements including alternate storage engines, +server optimizations, and patches. + +MariaDB is primarily driven by developers at Monty Program, a company +founded by Michael "Monty" Widenius, the original author of MySQL, but +this is not the whole story about MariaDB. On the "About MariaDB" page you +will find more information about all participants in the MariaDB community, +including storage engines XtraDB and PBXT. diff --git a/databases/mariadb114-server/pkg-plist b/databases/mariadb114-server/pkg-plist new file mode 100644 index 000000000000..1ddaec528c95 --- /dev/null +++ b/databases/mariadb114-server/pkg-plist @@ -0,0 +1,353 @@ +bin/aria_chk +bin/aria_dump_log +bin/aria_ftdump +bin/aria_pack +bin/aria_read_log +%%S3%%bin/aria_s3_copy +%%INNOBASE%%bin/innochecksum +%%INNOBASE%%bin/mariabackup +bin/mariadb-backup +bin/mariadb-client-test +bin/mariadb-client-test-embedded +bin/mariadb-embedded +bin/mariadb-fix-extensions +bin/mariadb-install-db +%%ROCKSDB%%bin/mariadb-ldb +bin/mariadb-test-embedded +bin/mariadb-tzinfo-to-sql +bin/mariadb-upgrade +bin/mariadbd-multi +bin/mariadbd-safe +bin/mariadbd-safe-helper +%%INNOBASE%%bin/mbstream +bin/myisam_ftdump +bin/myisamchk +bin/myisamlog +bin/myisampack +@comment bin/mytop +%%ROCKSDB%%bin/myrocks_hotbackup +bin/mysql_client_test +bin/mysql_client_test_embedded +bin/mysql_embedded +bin/mysql_fix_extensions +bin/mysql_install_db +%%ROCKSDB%%bin/mysql_ldb +bin/mysql_tzinfo_to_sql +bin/mysql_upgrade +bin/mysqld_multi +bin/mysqld_safe +bin/mysqld_safe_helper +bin/mysqltest_embedded +bin/perror +bin/resolveip +%%ROCKSDB%%bin/sst_dump +bin/test-connect-t +%%WSREP%%bin/wsrep_sst_common +%%WSREP%%bin/wsrep_sst_mariabackup +%%WSREP%%bin/wsrep_sst_mysqldump +%%WSREP%%bin/wsrep_sst_rsync +%%WSREP%%bin/wsrep_sst_rsync_wan +%%WSREP%%bin/wsrep_sst_backup +%%ETCDIR%%/conf.d/enable_encryption.preset +%%HASHICORP_VAULT%%%%ETCDIR%%/conf.d/hashicorp_key_management.cnf +%%ETCDIR%%/conf.d/mysql-clients.cnf +%%ETCDIR%%/conf.d/provider_bzip2.cnf +%%ETCDIR%%/conf.d/provider_lz4.cnf +%%ETCDIR%%/conf.d/provider_lzma.cnf +%%LZO%%%%ETCDIR%%/conf.d/provider_lzo.cnf +%%SNAPPY%%%%ETCDIR%%/conf.d/provider_snappy.cnf +%%S3%%%%ETCDIR%%/conf.d/s3.cnf +@sample %%ETCDIR%%/conf.d/server.cnf.sample +%%SPIDER%%@sample %%ETCDIR%%/conf.d/spider.cnf.sample +%%WSREP%%%%ETCDIR%%/conf.d/wsrep.cnf.sample +@comment %%ETCDIR%%/my.cnf +@comment %%ETCDIR%%/conf.d/client.cnf +@sample %%ETCDIR%%/user_map.conf.sample +include/mysql/server/big_endian.h +include/mysql/server/byte_order_generic.h +include/mysql/server/byte_order_generic_x86.h +include/mysql/server/byte_order_generic_x86_64.h +include/mysql/server/decimal.h +include/mysql/server/errmsg.h +include/mysql/server/handler_ername.h +include/mysql/server/handler_state.h +include/mysql/server/json_lib.h +include/mysql/server/keycache.h +include/mysql/server/little_endian.h +include/mysql/server/m_ctype.h +include/mysql/server/m_string.h +include/mysql/server/ma_dyncol.h +include/mysql/server/mariadb_capi_rename.h +include/mysql/server/my_alloc.h +include/mysql/server/my_alloca.h +include/mysql/server/my_attribute.h +include/mysql/server/my_byteorder.h +include/mysql/server/my_compiler.h +include/mysql/server/my_config.h +include/mysql/server/my_dbug.h +include/mysql/server/my_decimal_limits.h +include/mysql/server/my_dir.h +include/mysql/server/my_getopt.h +include/mysql/server/my_global.h +include/mysql/server/my_list.h +include/mysql/server/my_net.h +include/mysql/server/my_pthread.h +include/mysql/server/my_sys.h +include/mysql/server/my_valgrind.h +include/mysql/server/my_xml.h +include/mysql/server/mysql.h +include/mysql/server/mysql/auth_dialog_client.h +include/mysql/server/mysql/client_plugin.h +include/mysql/server/mysql/plugin.h +include/mysql/server/mysql/plugin_audit.h +include/mysql/server/mysql/plugin_auth.h +include/mysql/server/mysql/plugin_auth_common.h +include/mysql/server/mysql/plugin_data_type.h +include/mysql/server/mysql/plugin_encryption.h +include/mysql/server/mysql/plugin_ftparser.h +include/mysql/server/mysql/plugin_function.h +include/mysql/server/mysql/plugin_password_validation.h +include/mysql/server/mysql/psi/mysql_file.h +include/mysql/server/mysql/psi/mysql_idle.h +include/mysql/server/mysql/psi/mysql_mdl.h +include/mysql/server/mysql/psi/mysql_memory.h +include/mysql/server/mysql/psi/mysql_ps.h +include/mysql/server/mysql/psi/mysql_socket.h +include/mysql/server/mysql/psi/mysql_sp.h +include/mysql/server/mysql/psi/mysql_stage.h +include/mysql/server/mysql/psi/mysql_statement.h +include/mysql/server/mysql/psi/mysql_table.h +include/mysql/server/mysql/psi/mysql_thread.h +include/mysql/server/mysql/psi/mysql_transaction.h +include/mysql/server/mysql/psi/psi.h +include/mysql/server/mysql/psi/psi_abi_v0.h +include/mysql/server/mysql/psi/psi_abi_v1.h +include/mysql/server/mysql/psi/psi_abi_v2.h +include/mysql/server/mysql/psi/psi_base.h +include/mysql/server/mysql/psi/psi_memory.h +include/mysql/server/mysql/service_base64.h +include/mysql/server/mysql/service_debug_sync.h +include/mysql/server/mysql/service_encryption.h +include/mysql/server/mysql/service_encryption_scheme.h +include/mysql/server/mysql/service_json.h +include/mysql/server/mysql/service_kill_statement.h +include/mysql/server/mysql/service_logger.h +include/mysql/server/mysql/service_md5.h +include/mysql/server/mysql/service_my_crypt.h +include/mysql/server/mysql/service_my_print_error.h +include/mysql/server/mysql/service_my_snprintf.h +include/mysql/server/mysql/service_print_check_msg.h +include/mysql/server/mysql/service_progress_report.h +include/mysql/server/mysql/service_sha1.h +include/mysql/server/mysql/service_sha2.h +include/mysql/server/mysql/service_thd_alloc.h +include/mysql/server/mysql/service_thd_autoinc.h +include/mysql/server/mysql/service_thd_error_context.h +include/mysql/server/mysql/service_thd_mdl.h +include/mysql/server/mysql/service_thd_rnd.h +include/mysql/server/mysql/service_thd_specifics.h +include/mysql/server/mysql/service_thd_timezone.h +include/mysql/server/mysql/service_thd_wait.h +include/mysql/server/mysql/service_sql.h +%%WSREP%%include/mysql/server/mysql/service_wsrep.h +include/mysql/server/mysql/services.h +include/mysql/server/mysql_com.h +include/mysql/server/mysql_com_server.h +include/mysql/server/mysql_embed.h +include/mysql/server/mysql_time.h +include/mysql/server/mysql_version.h +include/mysql/server/mysqld_ername.h +include/mysql/server/mysqld_error.h +include/mysql/server/pack.h +include/mysql/server/sql_common.h +include/mysql/server/sql_state.h +include/mysql/server/sslopt-case.h +include/mysql/server/sslopt-longopts.h +include/mysql/server/sslopt-vars.h +include/mysql/server/typelib.h +lib/mysql/libmariadbd.a +lib/mysql/libmariadbd.so +lib/mysql/libmariadbd.so.19 +lib/mysql/libmysqld.a +lib/mysql/libmysqld.so +lib/mysql/pam_user_map.so +lib/mysql/plugin/adt_null.so +lib/mysql/plugin/auth_0x0100.so +lib/mysql/plugin/auth_ed25519.so +@comment lib/mysql/plugin/auth_gssapi_client.so +%%NO_GSSAPI_NONE%%lib/mysql/plugin/auth_gssapi.so +lib/mysql/plugin/auth_pam.so +lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool +lib/mysql/plugin/auth_pam_v1.so +lib/mysql/plugin/debug_key_management.so +lib/mysql/plugin/disks.so +lib/mysql/plugin/file_key_management.so +lib/mysql/plugin/func_test.so +lib/mysql/plugin/ha_archive.so +lib/mysql/plugin/ha_blackhole.so +lib/mysql/plugin/ha_connect.so +lib/mysql/plugin/ha_federated.so +lib/mysql/plugin/ha_federatedx.so +%%MROONGA%%lib/mysql/plugin/ha_mroonga.so +%%OQGRAPH%%lib/mysql/plugin/ha_oqgraph.so +%%ROCKSDB%%lib/mysql/plugin/ha_rocksdb.so +%%S3%%lib/mysql/plugin/ha_s3.so +%%SPHINX%%lib/mysql/plugin/ha_sphinx.so +%%SPIDER%%lib/mysql/plugin/ha_spider.so +lib/mysql/plugin/ha_test_sql_discovery.so +lib/mysql/plugin/handlersocket.so +%%HASHICORP_VAULT%%lib/mysql/plugin/hashicorp_key_management.so +lib/mysql/plugin/locales.so +lib/mysql/plugin/metadata_lock_info.so +lib/mysql/plugin/password_reuse_check.so +lib/mysql/plugin/provider_bzip2.so +lib/mysql/plugin/provider_lz4.so +lib/mysql/plugin/provider_lzma.so +%%LZO%%lib/mysql/plugin/provider_lzo.so +%%SNAPPY%%lib/mysql/plugin/provider_snappy.so +lib/mysql/plugin/qa_auth_client.so +lib/mysql/plugin/qa_auth_interface.so +lib/mysql/plugin/qa_auth_server.so +lib/mysql/plugin/query_cache_info.so +lib/mysql/plugin/query_response_time.so +lib/mysql/plugin/server_audit.so +lib/mysql/plugin/simple_password_check.so +lib/mysql/plugin/sql_errlog.so +lib/mysql/plugin/test_sql_service.so +lib/mysql/plugin/test_versioning.so +lib/mysql/plugin/type_mysql_json.so +lib/mysql/plugin/type_mysql_timestamp.so +lib/mysql/plugin/type_test.so +%%WSREP%%lib/mysql/plugin/wsrep_info.so +libexec/mariadbd +libexec/mysqld +@comment %%S3%%share/man/man1/aria_s3_copy.1.gz +share/man/man1/aria_chk.1.gz +share/man/man1/aria_dump_log.1.gz +share/man/man1/aria_ftdump.1.gz +share/man/man1/aria_pack.1.gz +share/man/man1/aria_read_log.1.gz +share/man/man1/galera_new_cluster.1.gz +share/man/man1/galera_recovery.1.gz +share/man/man1/innochecksum.1.gz +share/man/man1/mariabackup.1.gz +share/man/man1/mariadb-backup.1.gz +share/man/man1/mariadb-conv.1.gz +share/man/man1/mariadb-embedded.1.gz +share/man/man1/mariadb-fix-extensions.1.gz +share/man/man1/mariadb-install-db.1.gz +%%ROCKSDB%%share/man/man1/mariadb-ldb.1.gz +share/man/man1/mariadb-service-convert.1.gz +share/man/man1/mariadb-upgrade.1.gz +share/man/man1/mariadbd-multi.1.gz +share/man/man1/mariadbd-safe-helper.1.gz +share/man/man1/mariadbd-safe.1.gz +share/man/man1/mbstream.1.gz +share/man/man1/myisam_ftdump.1.gz +share/man/man1/myisamchk.1.gz +share/man/man1/myisamlog.1.gz +share/man/man1/myisampack.1.gz +%%ROCKSDB%%share/man/man1/myrocks_hotbackup.1.gz +@comment share/man/man1/mytop.1.gz +share/man/man1/mysql.server.1.gz +share/man/man1/mysql_fix_extensions.1.gz +share/man/man1/mysql_install_db.1.gz +share/man/man1/mysql_tzinfo_to_sql.1.gz +share/man/man1/mysql_upgrade.1.gz +share/man/man1/mysqld_multi.1.gz +share/man/man1/mysqld_safe.1.gz +share/man/man1/mysqld_safe_helper.1.gz +%%ROCKSDB%%share/man/man1/mysql_ldb.1.gz +share/man/man1/resolveip.1.gz +%%WSREP%%share/man/man1/wsrep_sst_backup.1.gz +%%WSREP%%share/man/man1/wsrep_sst_common.1.gz +%%WSREP%%share/man/man1/wsrep_sst_mariabackup.1.gz +%%WSREP%%share/man/man1/wsrep_sst_mysqldump.1.gz +%%WSREP%%share/man/man1/wsrep_sst_rsync.1.gz +%%WSREP%%share/man/man1/wsrep_sst_rsync_wan.1.gz +share/man/man8/mariadbd.8.gz +share/man/man8/mysqld.8.gz +share/aclocal/mysql.m4 +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL-BINARY +%%PORTDOCS%%%%WSREP%%%%DOCSDIR%%/README-wsrep +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/THIRDPARTY +%%MROONGA%%%%PORTDOCS%%%%DOCSDIR%%/README-groonga.md +%%MROONGA%%share/groonga-normalizer-mysql/README.md +%%MROONGA%%share/groonga-normalizer-mysql/lgpl-2.0.txt +%%HASHICORP_VAULT%%%%PORTDOCS%%%%DOCSDIR%%/hashicorp_key_management.txt +%%DATADIR%%/binary-configure +%%DATADIR%%/bulgarian/errmsg.sys +%%DATADIR%%/charsets/Index.xml +%%DATADIR%%/charsets/README +%%DATADIR%%/charsets/armscii8.xml +%%DATADIR%%/charsets/ascii.xml +%%DATADIR%%/charsets/cp1250.xml +%%DATADIR%%/charsets/cp1251.xml +%%DATADIR%%/charsets/cp1256.xml +%%DATADIR%%/charsets/cp1257.xml +%%DATADIR%%/charsets/cp850.xml +%%DATADIR%%/charsets/cp852.xml +%%DATADIR%%/charsets/cp866.xml +%%DATADIR%%/charsets/dec8.xml +%%DATADIR%%/charsets/geostd8.xml +%%DATADIR%%/charsets/greek.xml +%%DATADIR%%/charsets/hebrew.xml +%%DATADIR%%/charsets/hp8.xml +%%DATADIR%%/charsets/keybcs2.xml +%%DATADIR%%/charsets/koi8r.xml +%%DATADIR%%/charsets/koi8u.xml +%%DATADIR%%/charsets/latin1.xml +%%DATADIR%%/charsets/latin2.xml +%%DATADIR%%/charsets/latin5.xml +%%DATADIR%%/charsets/latin7.xml +%%DATADIR%%/charsets/macce.xml +%%DATADIR%%/charsets/macroman.xml +%%DATADIR%%/charsets/swe7.xml +%%DATADIR%%/chinese/errmsg.sys +%%DATADIR%%/czech/errmsg.sys +%%DATADIR%%/danish/errmsg.sys +%%DATADIR%%/dutch/errmsg.sys +%%DATADIR%%/english/errmsg.sys +%%DATADIR%%/estonian/errmsg.sys +%%DATADIR%%/fill_help_tables.sql +%%DATADIR%%/french/errmsg.sys +%%DATADIR%%/german/errmsg.sys +%%DATADIR%%/georgian/errmsg.sys +%%DATADIR%%/greek/errmsg.sys +%%DATADIR%%/hindi/errmsg.sys +%%DATADIR%%/hungarian/errmsg.sys +%%DATADIR%%/italian/errmsg.sys +%%DATADIR%%/japanese/errmsg.sys +%%DATADIR%%/korean/errmsg.sys +%%DATADIR%%/magic +%%DATADIR%%/maria_add_gis_sp.sql +%%DATADIR%%/maria_add_gis_sp_bootstrap.sql +%%DATADIR%%/mariadb.logrotate +%%DATADIR%%/mini-benchmark +%%MROONGA%%%%DATADIR%%/mroonga/AUTHORS +%%MROONGA%%%%DATADIR%%/mroonga/install.sql +%%MROONGA%%%%DATADIR%%/mroonga/uninstall.sql +%%DATADIR%%/mysql.server +%%DATADIR%%/mariadb_performance_tables.sql +%%DATADIR%%/mariadb_sys_schema.sql +%%DATADIR%%/mariadb_system_tables.sql +%%DATADIR%%/mariadb_system_tables_data.sql +%%DATADIR%%/mariadb_test_data_timezone.sql +%%DATADIR%%/mariadb_test_db.sql +%%DATADIR%%/mysqld_multi.server +%%DATADIR%%/norwegian-ny/errmsg.sys +%%DATADIR%%/norwegian/errmsg.sys +%%DATADIR%%/polish/errmsg.sys +%%DATADIR%%/portuguese/errmsg.sys +%%DATADIR%%/romanian/errmsg.sys +%%DATADIR%%/russian/errmsg.sys +%%DATADIR%%/serbian/errmsg.sys +%%DATADIR%%/slovak/errmsg.sys +%%DATADIR%%/spanish/errmsg.sys +%%DATADIR%%/swahili/errmsg.sys +%%DATADIR%%/swedish/errmsg.sys +%%DATADIR%%/ukrainian/errmsg.sys +%%WSREP%%%%DATADIR%%/wsrep_notify +@dir(%%MARIADB_USER%%,%%MARIADB_GROUP%%,) %%MARIADB_LOGDIR%%