mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
databases/mariadb104-server: Add MariaDB 10.4 port
This commit is contained in:
parent
eecc23f036
commit
e65177f895
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505443
36 changed files with 1655 additions and 0 deletions
|
@ -73,6 +73,7 @@ MYSQL57p_LIBVER= 20
|
||||||
MYSQL80_LIBVER= 21
|
MYSQL80_LIBVER= 21
|
||||||
MYSQL102m_LIBVER= 3
|
MYSQL102m_LIBVER= 3
|
||||||
MYSQL103m_LIBVER= 3
|
MYSQL103m_LIBVER= 3
|
||||||
|
MYSQL104m_LIBVER= 3
|
||||||
|
|
||||||
# Setting/finding MySQL version we want.
|
# Setting/finding MySQL version we want.
|
||||||
.if exists(${LOCALBASE}/bin/mysql)
|
.if exists(${LOCALBASE}/bin/mysql)
|
||||||
|
|
|
@ -182,6 +182,8 @@
|
||||||
SUBDIR += mariadb102-server
|
SUBDIR += mariadb102-server
|
||||||
SUBDIR += mariadb103-client
|
SUBDIR += mariadb103-client
|
||||||
SUBDIR += mariadb103-server
|
SUBDIR += mariadb103-server
|
||||||
|
SUBDIR += mariadb104-client
|
||||||
|
SUBDIR += mariadb104-server
|
||||||
SUBDIR += mariadb55-client
|
SUBDIR += mariadb55-client
|
||||||
SUBDIR += mariadb55-server
|
SUBDIR += mariadb55-server
|
||||||
SUBDIR += mdbtools
|
SUBDIR += mdbtools
|
||||||
|
|
17
databases/mariadb104-client/Makefile
Normal file
17
databases/mariadb104-client/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Created by: Bernard Spil <brnrd@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= mariadb
|
||||||
|
PKGNAMESUFFIX= 104-client
|
||||||
|
|
||||||
|
COMMENT= Multithreaded SQL database (client)
|
||||||
|
|
||||||
|
MASTERDIR= ${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX:C/-client/-server/}
|
||||||
|
|
||||||
|
FILESDIR= ${.CURDIR}/files
|
||||||
|
PATCHDIR= ${.CURDIR}/files
|
||||||
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= databases/mytop
|
||||||
|
|
||||||
|
.include "${MASTERDIR}/Makefile"
|
46
databases/mariadb104-client/files/patch-MDEV-11790
Normal file
46
databases/mariadb104-client/files/patch-MDEV-11790
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
WITHOUT_SERVER installs server-only files
|
||||||
|
|
||||||
|
https://jira.mariadb.org/browse/MDEV-11790
|
||||||
|
--- extra/CMakeLists.txt.orig 2018-10-02 09:45:40 UTC
|
||||||
|
+++ extra/CMakeLists.txt
|
||||||
|
@@ -99,7 +99,7 @@ IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||||
|
ADD_DEPENDENCIES(innochecksum GenError)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
-MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Server)
|
||||||
|
+MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Client)
|
||||||
|
TARGET_LINK_LIBRARIES(replace mysys)
|
||||||
|
|
||||||
|
IF(UNIX)
|
||||||
|
--- scripts/CMakeLists.txt.orig 2018-10-02 09:45:42 UTC
|
||||||
|
+++ scripts/CMakeLists.txt
|
||||||
|
@@ -241,7 +241,10 @@ ENDIF()
|
||||||
|
SET(mysql_config_COMPONENT COMPONENT Development)
|
||||||
|
SET(msql2mysql_COMPONENT COMPONENT Client)
|
||||||
|
SET(mysqlaccess_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysqlhotcopy_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysql_convert_table_format_COMPONENT COMPONENT Client)
|
||||||
|
SET(mysql_find_rows_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysql_setpermission_COMPONENT COMPONENT Client)
|
||||||
|
SET(mytop_COMPONENT Mytop)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
@@ -298,14 +301,14 @@ ELSE()
|
||||||
|
# On Unix, most of the files end up in the bin directory
|
||||||
|
SET(BIN_SCRIPTS
|
||||||
|
msql2mysql
|
||||||
|
- mysql_config
|
||||||
|
- mysql_setpermission
|
||||||
|
- mysql_secure_installation
|
||||||
|
mysqlaccess
|
||||||
|
+ mysqlhotcopy
|
||||||
|
+ mysql_config
|
||||||
|
mysql_convert_table_format
|
||||||
|
mysql_find_rows
|
||||||
|
+ mysql_secure_installation
|
||||||
|
+ mysql_setpermission
|
||||||
|
mytop
|
||||||
|
- mysqlhotcopy
|
||||||
|
${SERVER_SCRIPTS}
|
||||||
|
${WSREP_SCRIPTS}
|
||||||
|
${SYSTEMD_SCRIPTS}
|
50
databases/mariadb104-client/files/patch-MDEV-15961
Normal file
50
databases/mariadb104-client/files/patch-MDEV-15961
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
MDEV-15961: Fix stacktraces under FreeBSD
|
||||||
|
|
||||||
|
https://jira.mariadb.org/browse/MDEV-15961
|
||||||
|
--- mysys/stacktrace.c.orig 2018-07-02 07:34:11 UTC
|
||||||
|
+++ mysys/stacktrace.c
|
||||||
|
@@ -34,19 +34,19 @@
|
||||||
|
#include <execinfo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef __linux__
|
||||||
|
#define PTR_SANE(p) ((p) && (char*)(p) >= heap_start && (char*)(p) <= heap_end)
|
||||||
|
-
|
||||||
|
static char *heap_start;
|
||||||
|
-
|
||||||
|
-#if(defined HAVE_BSS_START) && !(defined __linux__)
|
||||||
|
extern char *__bss_start;
|
||||||
|
-#endif
|
||||||
|
+#else
|
||||||
|
+#define PTR_SANE(p) (p)
|
||||||
|
+#endif /* __linux */
|
||||||
|
|
||||||
|
void my_init_stacktrace()
|
||||||
|
{
|
||||||
|
-#if(defined HAVE_BSS_START) && !(defined __linux__)
|
||||||
|
+#ifdef __linux__
|
||||||
|
heap_start = (char*) &__bss_start;
|
||||||
|
-#endif
|
||||||
|
+#endif /* __linux__ */
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
@@ -149,15 +149,16 @@ static int safe_print_str(const char *ad
|
||||||
|
|
||||||
|
int my_safe_print_str(const char* val, size_t max_len)
|
||||||
|
{
|
||||||
|
+#ifdef __linux__
|
||||||
|
+/* Only needed by the linux version of PTR_SANE */
|
||||||
|
char *heap_end;
|
||||||
|
|
||||||
|
-#ifdef __linux__
|
||||||
|
// Try and make use of /proc filesystem to safely print memory contents.
|
||||||
|
if (!safe_print_str(val, max_len))
|
||||||
|
return 0;
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
heap_end= (char*) sbrk(0);
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
if (!PTR_SANE(val))
|
||||||
|
{
|
7
databases/mariadb104-client/files/pkg-message.in
Normal file
7
databases/mariadb104-client/files/pkg-message.in
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
************************************************************************
|
||||||
|
|
||||||
|
MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for
|
||||||
|
my.cnf. Please move existing my.cnf files from those paths to
|
||||||
|
%%PREFIX%%/etc and %%PREFIX%%/etc/mysql.
|
||||||
|
|
||||||
|
************************************************************************
|
175
databases/mariadb104-client/pkg-plist
Normal file
175
databases/mariadb104-client/pkg-plist
Normal file
|
@ -0,0 +1,175 @@
|
||||||
|
bin/mariadb
|
||||||
|
bin/mariadb-access
|
||||||
|
bin/mariadb-admin
|
||||||
|
bin/mariadb-binlog
|
||||||
|
bin/mariadb-check
|
||||||
|
bin/mariadb-convert-table-format
|
||||||
|
bin/mariadb-dump
|
||||||
|
bin/mariadb-find-rows
|
||||||
|
bin/mariadb-hotcopy
|
||||||
|
bin/mariadb-import
|
||||||
|
bin/mariadb-plugin
|
||||||
|
bin/mariadb-setpermission
|
||||||
|
bin/mariadb-show
|
||||||
|
bin/mariadb-slap
|
||||||
|
@comment bin/mariadb-test
|
||||||
|
@comment bin/mariadb-waitpid
|
||||||
|
bin/mariadb_config
|
||||||
|
bin/msql2mysql
|
||||||
|
bin/mysql
|
||||||
|
bin/mysql_config
|
||||||
|
bin/mysql_convert_table_format
|
||||||
|
bin/mysql_find_rows
|
||||||
|
bin/mysql_setpermission
|
||||||
|
@comment bin/mysql_plugin
|
||||||
|
@comment bin/mysql_waitpid
|
||||||
|
bin/mysqlaccess
|
||||||
|
bin/mysqladmin
|
||||||
|
bin/mysqlbinlog
|
||||||
|
bin/mysqlcheck
|
||||||
|
bin/mysqldump
|
||||||
|
bin/mysqlhotcopy
|
||||||
|
bin/mysqlimport
|
||||||
|
bin/mysqlshow
|
||||||
|
bin/mysqlslap
|
||||||
|
@comment bin/mysqltest
|
||||||
|
bin/mytop
|
||||||
|
bin/replace
|
||||||
|
@comment bin/wsrep_sst_rsync_wan
|
||||||
|
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_config.h
|
||||||
|
include/mysql/my_global.h
|
||||||
|
include/mysql/my_sys.h
|
||||||
|
include/mysql/mysql.h
|
||||||
|
include/mysql/mysql_com.h
|
||||||
|
include/mysql/mysql_version.h
|
||||||
|
include/mysql/mysql/client_plugin.h
|
||||||
|
include/mysql/mysql/plugin_auth.h
|
||||||
|
include/mysql/mysql/plugin_auth_common.h
|
||||||
|
include/mysql/mysqld_error.h
|
||||||
|
%%NO_GSSAPI_NONE%%lib/mysql/plugin/auth_gssapi_client.so
|
||||||
|
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
|
||||||
|
@comment 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
|
||||||
|
libdata/pkgconfig/libmariadb.pc
|
||||||
|
@comment man/man1/aria_chk.1.gz
|
||||||
|
@comment man/man1/aria_dump_log.1.gz
|
||||||
|
@comment man/man1/aria_ftdump.1.gz
|
||||||
|
@comment man/man1/aria_pack.1.gz
|
||||||
|
@comment man/man1/aria_read_log.1.gz
|
||||||
|
@comment man/man1/galera_new_cluster.1.gz
|
||||||
|
@comment man/man1/galera_recovery.1.gz
|
||||||
|
@comment man/man1/innochecksum.1.gz
|
||||||
|
@comment man/man1/mariabackup.1.gz
|
||||||
|
man/man1/mariadb.1.gz
|
||||||
|
man/man1/mariadb-access.1.gz
|
||||||
|
man/man1/mariadb-admin.1.gz
|
||||||
|
@comment man/man1/mariadb-backup.1.gz
|
||||||
|
man/man1/mariadb-binlog.1.gz
|
||||||
|
man/man1/mariadb-check.1.gz
|
||||||
|
@comment man/man1/mariadb-client-test-embedded.1.gz
|
||||||
|
@comment man/man1/mariadb-client-test.1.gz
|
||||||
|
man/man1/mariadb-convert-table-format.1.gz
|
||||||
|
man/man1/mariadb-dump.1.gz
|
||||||
|
@comment man/man1/mariadb-dumpslow.1.gz
|
||||||
|
@comment man/man1/mariadb-embedded.1.gz
|
||||||
|
man/man1/mariadb-find-rows.1.gz
|
||||||
|
@comment man/man1/mariadb-fix-extensions.1.gz
|
||||||
|
man/man1/mariadb-hotcopy.1.gz
|
||||||
|
man/man1/mariadb-import.1.gz
|
||||||
|
@comment man/man1/mariadb-install-db.1.gz
|
||||||
|
@comment man/man1/mariadb-ldb.1.gz
|
||||||
|
man/man1/mariadb-plugin.1.gz
|
||||||
|
@comment man/man1/mariadb-secure-installation.1.gz
|
||||||
|
@comment man/man1/mariadb-service-convert.1.gz
|
||||||
|
man/man1/mariadb-setpermission.1.gz
|
||||||
|
man/man1/mariadb-show.1.gz
|
||||||
|
man/man1/mariadb-slap.1.gz
|
||||||
|
@comment man/man1/mariadb-test-embedded.1.gz
|
||||||
|
@comment man/man1/mariadb-test.1.gz
|
||||||
|
@comment man/man1/mariadb-tzinfo-to-sql.1.gz
|
||||||
|
@comment man/man1/mariadb-upgrade.1.gz
|
||||||
|
@comment man/man1/mariadb-waitpid.1.gz
|
||||||
|
@comment man/man1/mariadbd-multi.1.gz
|
||||||
|
@comment man/man1/mariadbd-safe-helper.1.gz
|
||||||
|
@comment man/man1/mariadbd-safe.1.gz
|
||||||
|
@comment man/man8/mariadbd.8.gz
|
||||||
|
man/man1/msql2mysql.1.gz
|
||||||
|
@comment man/man1/mbstream.1.gz
|
||||||
|
@comment man/man1/my_print_defaults.1.gz
|
||||||
|
man/man1/my_safe_process.1.gz
|
||||||
|
@comment man/man1/myisam_ftdump.1.gz
|
||||||
|
@comment man/man1/myisamchk.1.gz
|
||||||
|
@comment man/man1/myisamlog.1.gz
|
||||||
|
@comment man/man1/myisampack.1.gz
|
||||||
|
man/man1/mysql-stress-test.pl.1.gz
|
||||||
|
man/man1/mysql-test-run.pl.1.gz
|
||||||
|
man/man1/mysql.1.gz
|
||||||
|
@comment man/man1/mysql.server.1.gz
|
||||||
|
@comment man/man1/mysql_client_test.1.gz
|
||||||
|
@comment man/man1/mysql_client_test_embedded.1.gz
|
||||||
|
man/man1/mysql_config.1.gz
|
||||||
|
man/man1/mysql_convert_table_format.1.gz
|
||||||
|
@comment man/man1/mysql_embedded.1.gz
|
||||||
|
man/man1/mysql_find_rows.1.gz
|
||||||
|
@comment man/man1/mysql_fix_extensions.1.gz
|
||||||
|
@comment man/man1/mysql_install_db.1.gz
|
||||||
|
@comment man/man1/mysql_ldb.1.gz
|
||||||
|
man/man1/mysql_plugin.1.gz
|
||||||
|
@comment man/man1/mysql_secure_installation.1.gz
|
||||||
|
man/man1/mysql_setpermission.1.gz
|
||||||
|
@comment man/man1/mysql_tzinfo_to_sql.1.gz
|
||||||
|
@comment man/man1/mysql_upgrade.1.gz
|
||||||
|
man/man1/mysql_waitpid.1.gz
|
||||||
|
man/man1/mysqlaccess.1.gz
|
||||||
|
man/man1/mysqladmin.1.gz
|
||||||
|
man/man1/mysqlbinlog.1.gz
|
||||||
|
man/man1/mysqlcheck.1.gz
|
||||||
|
@comment man/man1/mysqld_multi.1.gz
|
||||||
|
@comment man/man1/mysqld_safe.1.gz
|
||||||
|
@comment man/man1/mysqld_safe_helper.1.gz
|
||||||
|
man/man1/mysqldump.1.gz
|
||||||
|
@comment man/man1/mysqldumpslow.1.gz
|
||||||
|
man/man1/mysqlhotcopy.1.gz
|
||||||
|
man/man1/mysqlimport.1.gz
|
||||||
|
man/man1/mysqlshow.1.gz
|
||||||
|
man/man1/mysqlslap.1.gz
|
||||||
|
@comment man/man1/mysqltest.1.gz
|
||||||
|
@comment man/man1/mysqltest_embedded.1.gz
|
||||||
|
@comment man/man1/perror.1.gz
|
||||||
|
man/man1/replace.1.gz
|
||||||
|
@comment man/man1/resolve_stack_dump.1.gz
|
||||||
|
@comment man/man1/resolveip.1.gz
|
||||||
|
@comment man/man1/tokuft_logprint.1.gz
|
||||||
|
@comment man/man1/tokuftdump.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_common.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_mariabackup.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_mysqldump.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_rsync.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_rsync_wan.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_xtrabackup-v2.1.gz
|
||||||
|
@comment man/man1/wsrep_sst_xtrabackup.1.gz
|
||||||
|
@comment man/man8/mysqld.8.gz
|
||||||
|
@comment share/aclocal/mysql.m4
|
||||||
|
share/pkgconfig/mariadb.pc
|
225
databases/mariadb104-server/Makefile
Normal file
225
databases/mariadb104-server/Makefile
Normal file
|
@ -0,0 +1,225 @@
|
||||||
|
# Created by: Bernard Spil <brnrd@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME?= mariadb
|
||||||
|
PORTVERSION= 10.4.6
|
||||||
|
PORTREVISION?= 0
|
||||||
|
CATEGORIES= databases ipv6
|
||||||
|
MASTER_SITES= http://mirrors.supportex.net/${SITESDIR}/ \
|
||||||
|
http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \
|
||||||
|
http://gd.tuwien.ac.at/db/${SITESDIR}/ \
|
||||||
|
http://mirrors.fe.up.pt/pub/${SITESDIR}/ \
|
||||||
|
http://mirror.de.gsnw.de:56431/${SITESDIR}/ \
|
||||||
|
http://mirror.layerjet.com/${SITESDIR}/ \
|
||||||
|
http://mirror.switch.ch/mirror/${SITESDIR}/ \
|
||||||
|
http://ftp.osuosl.org/pub/${SITESDIR}/
|
||||||
|
PKGNAMESUFFIX?= 104-server
|
||||||
|
|
||||||
|
MAINTAINER= brnrd@FreeBSD.org
|
||||||
|
COMMENT?= Multithreaded SQL database (server)
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
LICENSE_NAME_PerconaFT= PerconaFT patents license
|
||||||
|
LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS
|
||||||
|
LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||||
|
|
||||||
|
SUB_FILES= pkg-message
|
||||||
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
|
|
||||||
|
SLAVEDIRS= databases/mariadb102-client
|
||||||
|
USES= bison:build cmake:insource,noninja compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl
|
||||||
|
USE_LDCONFIG= ${PREFIX}/lib/mysql
|
||||||
|
SHEBANG_FILES= scripts/*.sh
|
||||||
|
SITESDIR= mariadb/mariadb-${PORTVERSION}/source
|
||||||
|
DOCSDIR= ${PREFIX}/share/doc/mysql
|
||||||
|
|
||||||
|
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+= CONNECT_EXTRA INNOBASE SPHINX SPIDER WSREP
|
||||||
|
OPTIONS_GROUP= COMPRESSION ENGINES GROONGA
|
||||||
|
OPTIONS_DEFINE= AWS_KMS CONNECT_EXTRA DOCS
|
||||||
|
OPTIONS_DEFINE_amd64= WSREP
|
||||||
|
OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY ZSTD
|
||||||
|
OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH ROCKSDB SPHINX SPIDER TOKUDB
|
||||||
|
OPTIONS_GROUP_GROONGA= ZMQ MSGPACK
|
||||||
|
OPTIONS_EXCLUDE_i386= TOKUDB
|
||||||
|
|
||||||
|
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
|
||||||
|
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 (Alpha)
|
||||||
|
SPHINX_DESC= SphinxSE engine
|
||||||
|
SPIDER_DESC= Partitioning and XA-transactions engine
|
||||||
|
TOKUDB_DESC= Fractal tree index tree data structure engine
|
||||||
|
WSREP_DESC= Build wsrep clustering
|
||||||
|
ZMQ_DESC= ZeroMQ support
|
||||||
|
ZSTD_DESC+= Zstandard compression support (RocksDB only)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \
|
||||||
|
-DINSTALL_DOCREADMEDIR="share/doc/mysql" \
|
||||||
|
-DINSTALL_INCLUDEDIR="include/mysql" \
|
||||||
|
-DINSTALL_INFODIR="info" \
|
||||||
|
-DINSTALL_LIBDIR="lib/mysql" \
|
||||||
|
-DINSTALL_MANDIR="man" \
|
||||||
|
-DINSTALL_MYSQLDATADIR="/var/db/mysql" \
|
||||||
|
-DINSTALL_MYSQLSHAREDIR="share/mysql" \
|
||||||
|
-DINSTALL_MYSQLTESTDIR= \
|
||||||
|
-DINSTALL_PLUGINDIR="lib/mysql/plugin" \
|
||||||
|
-DINSTALL_SBINDIR="libexec" \
|
||||||
|
-DINSTALL_SCRIPTDIR="bin" \
|
||||||
|
-DINSTALL_SHAREDIR="share" \
|
||||||
|
-DINSTALL_SQLBENCHDIR= \
|
||||||
|
-DINSTALL_SUPPORTFILESDIR="share/mysql" \
|
||||||
|
-DDEFAULT_SYSCONFDIR="${PREFIX}/etc" \
|
||||||
|
-DWITH_SSL="${OPENSSLBASE}" \
|
||||||
|
-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" \
|
||||||
|
-DCMAKE_PREFIX_PATH=${PREFIX} \
|
||||||
|
-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+= DAEMON_EXAMPLE DIALOG_EXAMPLES EXAMPLE \
|
||||||
|
EXAMPLE_KEY_MANAGEMENT FTEXAMPLE
|
||||||
|
|
||||||
|
DATADIR= ${PREFIX}/share/mysql
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \
|
||||||
|
mariadb10[0-24-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
|
||||||
|
|
||||||
|
.if ${PKGNAMESUFFIX:M*-client}
|
||||||
|
# MySQL-Client part
|
||||||
|
CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER
|
||||||
|
CMAKE_OFF+= WITH_WSREP
|
||||||
|
USES+= readline
|
||||||
|
USE_LDCONFIG= ${PREFIX}/lib/mysql
|
||||||
|
.else # ! ${PKGNAMESUFFIX:M*-client}
|
||||||
|
# MySQL-Server part
|
||||||
|
USES+= mysql:104m
|
||||||
|
USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin
|
||||||
|
USE_RC_SUBR= mysql-server
|
||||||
|
USERS= mysql
|
||||||
|
GROUPS= mysql
|
||||||
|
CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER
|
||||||
|
CMAKE_OFF+= WITH_CLIENT
|
||||||
|
|
||||||
|
.for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE}
|
||||||
|
${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO
|
||||||
|
${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC
|
||||||
|
.endfor
|
||||||
|
INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE
|
||||||
|
|
||||||
|
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
|
||||||
|
LZ4_CMAKE_BOOL= GRN_WITH_LZ4 WITH_INNODB_LZ4 WITH_ROCKSDB_LZ4
|
||||||
|
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
|
||||||
|
LZO_CMAKE_BOOL= WITH_INNODB_LZO
|
||||||
|
LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2
|
||||||
|
MROONGA_IMPLIES= LZ4
|
||||||
|
MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack
|
||||||
|
OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
||||||
|
libJudy.so:devel/judy
|
||||||
|
ROCKSDB_USES= python
|
||||||
|
SNAPPY_CMAKE_BOOL= WITH_INNODB_SNAPPY WITH_ROCKSDB_snappy
|
||||||
|
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
|
||||||
|
TOKUDB_IMPLIES= SNAPPY
|
||||||
|
TOKUDB_PORTDOCS= README.md
|
||||||
|
TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi
|
||||||
|
WSREP_CMAKE_BOOL= WITH_WSREP
|
||||||
|
ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4
|
||||||
|
ZSTD_CMAKE_BOOL= WITH_ROCKSDB_ZSTD
|
||||||
|
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.for PLUGIN in ${DISABLED_PLUGINS}
|
||||||
|
CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
|
||||||
|
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
|
||||||
|
.else
|
||||||
|
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.endif # ${PKGNAMESUFFIX:M*-client}
|
||||||
|
|
||||||
|
.if defined(WITH_OPENSSL_PORT)
|
||||||
|
GSSAPI_BASE_IGNORE= BASE_GSSAPI is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${ARCH} != amd64
|
||||||
|
PLIST_SUB+= WSREP="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${OPSYS} == DragonFly
|
||||||
|
CMAKE_OFF+= WITH_TOKUDB
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} 's|/usr/bin/env python|${PYTHON_CMD}|' ${WRKSRC}/CMakeLists.txt
|
||||||
|
${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c
|
||||||
|
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh \
|
||||||
|
${WRKSRC}/storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake
|
||||||
|
.if ${OPSYS} == DragonFly
|
||||||
|
${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \
|
||||||
|
${WRKSRC}/cmake/os/DragonFly.cmake
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-configure:
|
||||||
|
${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \
|
||||||
|
-e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \
|
||||||
|
${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c
|
||||||
|
|
||||||
|
# Fix build failure in mbstream, see https://jira.mariadb.org/browse/MDEV-14072
|
||||||
|
post-configure-INNOBASE-on:
|
||||||
|
${REINPLACE_CMD} -e 's| ${PREFIX}/lib/liblz4.so\(.* ${PREFIX}/lib/liblz4.so.*\)|\1|' \
|
||||||
|
-e 's| ${PREFIX}/lib/liblzo2.so\(.* ${PREFIX}/lib/liblzo2.so.*\)|\1|' \
|
||||||
|
-e 's| ${PREFIX}/lib/libsnappy.so\(.* ${PREFIX}/lib/libsnappy.so\)|\1|' \
|
||||||
|
-e 's| -llzma\(.* -llzma\)|\1|;s| -lbz2\(.* -lbz2\)|\1|;' \
|
||||||
|
${WRKSRC}/extra/mariabackup/CMakeFiles/mbstream.dir/link.txt
|
||||||
|
|
||||||
|
.if ${PKGNAMESUFFIX:M*-client}
|
||||||
|
post-install:
|
||||||
|
${RM} -r ${STAGEDIR}${DATADIR}
|
||||||
|
${RM} -r ${STAGEDIR}${PREFIX}/include/mysql/server
|
||||||
|
|
||||||
|
post-install-GSSAPI_NONE:
|
||||||
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so
|
||||||
|
|
||||||
|
.else # ! ${PKGNAMESUFFIX:M*-client}
|
||||||
|
post-install:
|
||||||
|
${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy
|
||||||
|
${RM} -r ${STAGEDIR}${PREFIX}/include/mysql/server/private
|
||||||
|
.endif # ${PKGNAMESUFFIX:M*-client}
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
3
databases/mariadb104-server/distinfo
Normal file
3
databases/mariadb104-server/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1561918517
|
||||||
|
SHA256 (mariadb-10.4.6.tar.gz) = a270fe6169a1aaf6f2cbbc945de2c954d818c48e1a0fc02fbed92ecb94678e70
|
||||||
|
SIZE (mariadb-10.4.6.tar.gz) = 76710358
|
140
databases/mariadb104-server/files/mysql-server.in
Normal file
140
databases/mariadb104-server/files/mysql-server.in
Normal file
|
@ -0,0 +1,140 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# $FreeBSD: head/databases/mariadb55-server/files/mysql-server.in 361647 2014-07-12 22:42:33Z rakuco $
|
||||||
|
#
|
||||||
|
# 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 "/var/db/mysql"
|
||||||
|
# Base database directory.
|
||||||
|
# mysql_(instance_)?args (str): Custom additional arguments to be passed
|
||||||
|
# to mysqld_safe (default empty).
|
||||||
|
# mysql_(instance_)?pidfile (str): Custum PID file path and name.
|
||||||
|
# Default to "${mysql_dbdir}/${hostname}.pid".
|
||||||
|
# mysql_(instance_)?user (str): User to run mysqld as
|
||||||
|
# Default to "mysql" created by the port
|
||||||
|
# mysql_(instance_)?optfile (str): Server-specific option file.
|
||||||
|
# Default to "${mysql_dbdir}/my.cnf".
|
||||||
|
# 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="mysql"}
|
||||||
|
%%LEGACY_LIMITS%%mysql_limits_args="-e -U ${mysql_user}"
|
||||||
|
: ${mysql_dbdir="/var/db/mysql"}
|
||||||
|
: ${mysql_optfile="${mysql_dbdir}/my.cnf"}
|
||||||
|
|
||||||
|
command="/usr/sbin/daemon"
|
||||||
|
procname="%%PREFIX%%/libexec/mysqld"
|
||||||
|
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:-\"/var/db/mysql_${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_optfile="\${mysql_${instance}_optfile:-\"${mysql_dbdir}/my.cnf\"}"
|
||||||
|
eval mysql_pidfile="\${mysql_${instance}_pidfile:-\"${mysql_dbdir}/`/bin/hostname`.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:-"${mysql_dbdir}/`/bin/hostname`.pid"}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
pidfile=$mysql_pidfile
|
||||||
|
mysql_install_db="%%PREFIX%%/bin/mysql_install_db"
|
||||||
|
mysql_install_db_args="--basedir=%%PREFIX%% --datadir=${mysql_dbdir} --force"
|
||||||
|
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${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 /etc/mysql; do
|
||||||
|
if [ -f "${dir}/my.cnf" ]; then
|
||||||
|
echo "Please move existing my.cnf file from ${dir} to %%PREFIX%%${dir}"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ ! -d "${mysql_dbdir}/mysql/." ]; then
|
||||||
|
mysql_create_auth_tables || return 1
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
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"
|
46
databases/mariadb104-server/files/patch-MDEV-11790
Normal file
46
databases/mariadb104-server/files/patch-MDEV-11790
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
WITHOUT_SERVER installs server-only files
|
||||||
|
|
||||||
|
https://jira.mariadb.org/browse/MDEV-11790
|
||||||
|
--- extra/CMakeLists.txt.orig 2018-10-02 09:45:40 UTC
|
||||||
|
+++ extra/CMakeLists.txt
|
||||||
|
@@ -99,7 +99,7 @@ IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||||
|
ADD_DEPENDENCIES(innochecksum GenError)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
-MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Server)
|
||||||
|
+MYSQL_ADD_EXECUTABLE(replace replace.c COMPONENT Client)
|
||||||
|
TARGET_LINK_LIBRARIES(replace mysys)
|
||||||
|
|
||||||
|
IF(UNIX)
|
||||||
|
--- scripts/CMakeLists.txt.orig 2018-10-02 09:45:42 UTC
|
||||||
|
+++ scripts/CMakeLists.txt
|
||||||
|
@@ -241,7 +241,10 @@ ENDIF()
|
||||||
|
SET(mysql_config_COMPONENT COMPONENT Development)
|
||||||
|
SET(msql2mysql_COMPONENT COMPONENT Client)
|
||||||
|
SET(mysqlaccess_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysqlhotcopy_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysql_convert_table_format_COMPONENT COMPONENT Client)
|
||||||
|
SET(mysql_find_rows_COMPONENT COMPONENT Client)
|
||||||
|
+SET(mysql_setpermission_COMPONENT COMPONENT Client)
|
||||||
|
SET(mytop_COMPONENT Mytop)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
@@ -298,14 +301,14 @@ ELSE()
|
||||||
|
# On Unix, most of the files end up in the bin directory
|
||||||
|
SET(BIN_SCRIPTS
|
||||||
|
msql2mysql
|
||||||
|
- mysql_config
|
||||||
|
- mysql_setpermission
|
||||||
|
- mysql_secure_installation
|
||||||
|
mysqlaccess
|
||||||
|
+ mysqlhotcopy
|
||||||
|
+ mysql_config
|
||||||
|
mysql_convert_table_format
|
||||||
|
mysql_find_rows
|
||||||
|
+ mysql_secure_installation
|
||||||
|
+ mysql_setpermission
|
||||||
|
mytop
|
||||||
|
- mysqlhotcopy
|
||||||
|
${SERVER_SCRIPTS}
|
||||||
|
${WSREP_SCRIPTS}
|
||||||
|
${SYSTEMD_SCRIPTS}
|
50
databases/mariadb104-server/files/patch-MDEV-15961
Normal file
50
databases/mariadb104-server/files/patch-MDEV-15961
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
MDEV-15961: Fix stacktraces under FreeBSD
|
||||||
|
|
||||||
|
https://jira.mariadb.org/browse/MDEV-15961
|
||||||
|
--- mysys/stacktrace.c.orig 2018-07-02 07:34:11 UTC
|
||||||
|
+++ mysys/stacktrace.c
|
||||||
|
@@ -34,19 +34,19 @@
|
||||||
|
#include <execinfo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef __linux__
|
||||||
|
#define PTR_SANE(p) ((p) && (char*)(p) >= heap_start && (char*)(p) <= heap_end)
|
||||||
|
-
|
||||||
|
static char *heap_start;
|
||||||
|
-
|
||||||
|
-#if(defined HAVE_BSS_START) && !(defined __linux__)
|
||||||
|
extern char *__bss_start;
|
||||||
|
-#endif
|
||||||
|
+#else
|
||||||
|
+#define PTR_SANE(p) (p)
|
||||||
|
+#endif /* __linux */
|
||||||
|
|
||||||
|
void my_init_stacktrace()
|
||||||
|
{
|
||||||
|
-#if(defined HAVE_BSS_START) && !(defined __linux__)
|
||||||
|
+#ifdef __linux__
|
||||||
|
heap_start = (char*) &__bss_start;
|
||||||
|
-#endif
|
||||||
|
+#endif /* __linux__ */
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
@@ -149,15 +149,16 @@ static int safe_print_str(const char *ad
|
||||||
|
|
||||||
|
int my_safe_print_str(const char* val, size_t max_len)
|
||||||
|
{
|
||||||
|
+#ifdef __linux__
|
||||||
|
+/* Only needed by the linux version of PTR_SANE */
|
||||||
|
char *heap_end;
|
||||||
|
|
||||||
|
-#ifdef __linux__
|
||||||
|
// Try and make use of /proc filesystem to safely print memory contents.
|
||||||
|
if (!safe_print_str(val, max_len))
|
||||||
|
return 0;
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
heap_end= (char*) sbrk(0);
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
if (!PTR_SANE(val))
|
||||||
|
{
|
|
@ -0,0 +1,15 @@
|
||||||
|
--- libmariadb/include/CMakeLists.txt.orig 2017-05-14 23:13:15 UTC
|
||||||
|
+++ libmariadb/include/CMakeLists.txt
|
||||||
|
@@ -21,6 +21,7 @@ IF(WIN32)
|
||||||
|
SET(WIX_INCLUDES ${MARIADB_CLIENT_INCLUDES} ${MARIADB_ADDITIONAL_INCLUDES} ${MYSQL_ADDITIONAL_INCLUDES} PARENT_SCOPE)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
+IF(NOT WITHOUT_CLIENT)
|
||||||
|
INSTALL(FILES
|
||||||
|
${MARIADB_CLIENT_INCLUDES}
|
||||||
|
DESTINATION ${INSTALL_INCLUDEDIR}
|
||||||
|
@@ -33,3 +34,4 @@ INSTALL(FILES
|
||||||
|
${MARIADB_ADDITIONAL_INCLUDES}
|
||||||
|
DESTINATION ${INSTALL_INCLUDEDIR}/mariadb
|
||||||
|
COMPONENT Development)
|
||||||
|
+ENDIF()
|
|
@ -0,0 +1,14 @@
|
||||||
|
--- libmariadb/libmariadb/CMakeLists.txt.orig 2017-05-14 23:13:15 UTC
|
||||||
|
+++ libmariadb/libmariadb/CMakeLists.txt
|
||||||
|
@@ -401,9 +401,11 @@ SET_TARGET_PROPERTIES(libmariadb PROPERT
|
||||||
|
INSTALL(TARGETS mariadbclient
|
||||||
|
COMPONENT Development
|
||||||
|
DESTINATION ${INSTALL_LIBDIR})
|
||||||
|
+IF(NOT WITHOUT_CLIENT)
|
||||||
|
INSTALL(TARGETS libmariadb
|
||||||
|
COMPONENT SharedLibraries
|
||||||
|
DESTINATION ${INSTALL_LIBDIR})
|
||||||
|
+ENDIF()
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
# On Windows, install PDB
|
|
@ -0,0 +1,31 @@
|
||||||
|
--- libmariadb/plugins/auth/CMakeLists.txt.orig 2018-05-23 20:38:41 UTC
|
||||||
|
+++ libmariadb/plugins/auth/CMakeLists.txt
|
||||||
|
@@ -38,6 +38,7 @@ IF(GSSAPI_SOURCES)
|
||||||
|
LIBRARIES ${GSSAPI_LIBS})
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
+IF(NOT WITHOUT_CLIENT)
|
||||||
|
IF(${WITH_SSL} STREQUAL "OPENSSL" OR ${WITH_SSL} STREQUAL "SCHANNEL")
|
||||||
|
IF(WIN32)
|
||||||
|
SET(SHA256_LIBS crypt32)
|
||||||
|
@@ -51,6 +52,7 @@ IF(${WITH_SSL} STREQUAL "OPENSSL" OR ${W
|
||||||
|
SOURCES ${AUTH_DIR}/sha256_pw.c
|
||||||
|
LIBRARIES ${SHA256_LIBS})
|
||||||
|
ENDIF()
|
||||||
|
+ENDIF()
|
||||||
|
|
||||||
|
# old_password plugin
|
||||||
|
REGISTER_PLUGIN(TARGET mysql_old_password
|
||||||
|
@@ -60,10 +62,11 @@ REGISTER_PLUGIN(TARGET mysql_old_passwor
|
||||||
|
SOURCES ${AUTH_DIR}/old_password.c)
|
||||||
|
|
||||||
|
|
||||||
|
+IF(NOT WITHOUT_CLIENT)
|
||||||
|
# Cleartext
|
||||||
|
REGISTER_PLUGIN(TARGET mysql_clear_password
|
||||||
|
TYPE MARIADB_CLIENT_PLUGIN_AUTH
|
||||||
|
CONFIGURATIONS DYNAMIC STATIC OFF
|
||||||
|
DEFAULT DYNAMIC
|
||||||
|
SOURCES ${AUTH_DIR}/mariadb_cleartext.c)
|
||||||
|
-
|
||||||
|
+ENDIF()
|
|
@ -0,0 +1,11 @@
|
||||||
|
Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options
|
||||||
|
|
||||||
|
--- libservices/CMakeLists.txt.orig 2017-05-14 23:13:16 UTC
|
||||||
|
+++ libservices/CMakeLists.txt
|
||||||
|
@@ -40,4 +40,6 @@ SET(MYSQLSERVICES_SOURCES
|
||||||
|
)
|
||||||
|
|
||||||
|
ADD_CONVENIENCE_LIBRARY(mysqlservices ${MYSQLSERVICES_SOURCES})
|
||||||
|
+IF(FALSE)
|
||||||
|
INSTALL(TARGETS mysqlservices DESTINATION ${INSTALL_LIBDIR} COMPONENT Development)
|
||||||
|
+ENDIF()
|
14
databases/mariadb104-server/files/patch-man_CMakeLists.txt
Normal file
14
databases/mariadb104-server/files/patch-man_CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options
|
||||||
|
|
||||||
|
--- man/CMakeLists.txt.orig 2017-05-14 23:13:16 UTC
|
||||||
|
+++ man/CMakeLists.txt
|
||||||
|
@@ -38,7 +38,8 @@ SET(MAN1_TEST mysql-stress-test.pl.1 mys
|
||||||
|
|
||||||
|
INSTALL(FILES ${MAN1_SERVER} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPagesServer)
|
||||||
|
INSTALL(FILES ${MAN8_SERVER} DESTINATION ${INSTALL_MANDIR}/man8 COMPONENT ManPagesServer)
|
||||||
|
+IF(FALSE)
|
||||||
|
INSTALL(FILES ${MAN1_CLIENT} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPagesClient)
|
||||||
|
INSTALL(FILES ${MAN1_DEVEL} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPagesDevelopment)
|
||||||
|
INSTALL(FILES ${MAN1_TEST} DESTINATION ${INSTALL_MANDIR}/man1 COMPONENT ManPagesTest)
|
||||||
|
-
|
||||||
|
+ENDIF()
|
52
databases/mariadb104-server/files/patch-mysys_my__default.c
Normal file
52
databases/mariadb104-server/files/patch-mysys_my__default.c
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
--- mysys/my_default.c.orig 2017-05-14 23:13:17 UTC
|
||||||
|
+++ mysys/my_default.c
|
||||||
|
@@ -785,7 +785,7 @@ static int search_default_file_with_ext(
|
||||||
|
{
|
||||||
|
MY_STAT stat_info;
|
||||||
|
if (!my_stat(name,&stat_info,MYF(0)))
|
||||||
|
- return 1;
|
||||||
|
+ return 0;
|
||||||
|
/*
|
||||||
|
Ignore world-writable regular files.
|
||||||
|
This is mainly done to protect us to not read a file created by
|
||||||
|
@@ -803,6 +803,14 @@ static int search_default_file_with_ext(
|
||||||
|
if (!(fp= mysql_file_fopen(key_file_cnf, name, O_RDONLY, MYF(0))))
|
||||||
|
return 1; /* Ignore wrong files */
|
||||||
|
|
||||||
|
+ if (strstr(name, "/etc") == name)
|
||||||
|
+ {
|
||||||
|
+ fprintf(stderr,
|
||||||
|
+ "error: Config file %s in invalid location, please move to or merge with %%PREFIX%%%s\n",
|
||||||
|
+ name,name);
|
||||||
|
+ goto err;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
while (mysql_file_fgets(buff, sizeof(buff) - 1, fp))
|
||||||
|
{
|
||||||
|
line++;
|
||||||
|
@@ -1067,7 +1075,8 @@ void my_print_default_files(const char *
|
||||||
|
if (name[0] == FN_HOMELIB) /* Add . to filenames in home */
|
||||||
|
*end++= '.';
|
||||||
|
strxmov(end, conf_file, *ext, " ", NullS);
|
||||||
|
- fputs(name, stdout);
|
||||||
|
+ if (strstr(name, "/etc") != name)
|
||||||
|
+ fputs(name, stdout);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -1192,13 +1201,10 @@ static const char **init_default_directo
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
-#if defined(DEFAULT_SYSCONFDIR)
|
||||||
|
- if (DEFAULT_SYSCONFDIR[0])
|
||||||
|
- errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
|
||||||
|
-#else
|
||||||
|
errors += add_directory(alloc, "/etc/", dirs);
|
||||||
|
errors += add_directory(alloc, "/etc/mysql/", dirs);
|
||||||
|
-#endif /* DEFAULT_SYSCONFDIR */
|
||||||
|
+ errors += add_directory(alloc, "%%PREFIX%%/etc/", dirs);
|
||||||
|
+ errors += add_directory(alloc, "%%PREFIX%%/etc/mysql/", dirs);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
40
databases/mariadb104-server/files/patch-oqgraph-MDEV-15291
Normal file
40
databases/mariadb104-server/files/patch-oqgraph-MDEV-15291
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
--- storage/oqgraph/oqgraph_judy.cc.orig 2018-02-12 15:01:28 UTC
|
||||||
|
+++ storage/oqgraph/oqgraph_judy.cc
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
/*
|
||||||
|
Currently the only active code that can return error is:
|
||||||
|
judy_bitset::reset()/J1U()
|
||||||
|
- judy_bitset::setbit()/J1S()
|
||||||
|
+ judy_bitset::jsetbit()/J1S()
|
||||||
|
|
||||||
|
In most cases errors are either about wrong parameters passed to Judy
|
||||||
|
functions or internal structures corruption. These definitely deserve
|
||||||
|
@@ -60,7 +60,7 @@ bool open_query::judy_bitset::test(size_
|
||||||
|
return rc == 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
-open_query::judy_bitset& open_query::judy_bitset::setbit(size_type n)
|
||||||
|
+open_query::judy_bitset& open_query::judy_bitset::jsetbit(size_type n)
|
||||||
|
{
|
||||||
|
int rc;
|
||||||
|
J1S(rc, array, n);
|
||||||
|
--- storage/oqgraph/oqgraph_judy.h.orig 2018-02-12 15:01:28 UTC
|
||||||
|
+++ storage/oqgraph/oqgraph_judy.h
|
||||||
|
@@ -63,7 +63,7 @@ namespace open_query
|
||||||
|
if (!val)
|
||||||
|
return reset(n);
|
||||||
|
else
|
||||||
|
- return setbit(n);
|
||||||
|
+ return jsetbit(n);
|
||||||
|
}
|
||||||
|
|
||||||
|
judy_bitset& set(const judy_bitset& src);
|
||||||
|
@@ -115,7 +115,7 @@ namespace open_query
|
||||||
|
private:
|
||||||
|
mutable void* array;
|
||||||
|
|
||||||
|
- judy_bitset& setbit(size_type n);
|
||||||
|
+ judy_bitset& jsetbit(size_type n);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
11
databases/mariadb104-server/files/patch-pcre_CMakeLists.txt
Normal file
11
databases/mariadb104-server/files/patch-pcre_CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- pcre/CMakeLists.txt.orig 2017-08-17 10:05:39 UTC
|
||||||
|
+++ pcre/CMakeLists.txt
|
||||||
|
@@ -510,6 +510,8 @@ IF(PCRE_SHOW_REPORT)
|
||||||
|
MESSAGE(STATUS "")
|
||||||
|
ENDIF(PCRE_SHOW_REPORT)
|
||||||
|
|
||||||
|
+IF(FALSE)
|
||||||
|
INSTALL(FILES ${CMAKE_BINARY_DIR}/pcre/pcre.h DESTINATION ${INSTALL_INCLUDEDIR}/server/private COMPONENT Development)
|
||||||
|
+ENDIF()
|
||||||
|
|
||||||
|
# end CMakeLists.txt
|
|
@ -0,0 +1,12 @@
|
||||||
|
--- scripts/mysql_config.sh.orig 2017-05-24 09:15:23 UTC
|
||||||
|
+++ scripts/mysql_config.sh
|
||||||
|
@@ -106,7 +106,9 @@ fi
|
||||||
|
|
||||||
|
# Create options
|
||||||
|
libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@"
|
||||||
|
+libs="$libs -L%%LOCALBASE%%/lib "
|
||||||
|
embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@"
|
||||||
|
+embedded_libs="$embedded_libs -L%%LOCALBASE%%/lib "
|
||||||
|
|
||||||
|
include="-I$pkgincludedir"
|
||||||
|
if [ "$basedir" != "/usr" ]; then
|
|
@ -0,0 +1,16 @@
|
||||||
|
--- scripts/mysqld_safe.sh.orig 2017-05-24 09:15:23 UTC
|
||||||
|
+++ scripts/mysqld_safe.sh
|
||||||
|
@@ -568,11 +568,11 @@ fi
|
||||||
|
|
||||||
|
if test -z "$MYSQL_HOME"
|
||||||
|
then
|
||||||
|
- if test -r "$DATADIR/my.cnf"
|
||||||
|
+ if test -r "$DATADIR/etc/my.cnf"
|
||||||
|
then
|
||||||
|
log_error "WARNING: Found $DATADIR/my.cnf
|
||||||
|
The data directory is not a valid location for my.cnf, please move it to
|
||||||
|
-$MY_BASEDIR_VERSION/my.cnf"
|
||||||
|
+$MY_BASEDIR_VERSION/etc/my.cnf"
|
||||||
|
fi
|
||||||
|
MYSQL_HOME=$MY_BASEDIR_VERSION
|
||||||
|
fi
|
13
databases/mariadb104-server/files/patch-sql_mysqld.cc
Normal file
13
databases/mariadb104-server/files/patch-sql_mysqld.cc
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- sql/mysqld.cc.orig 2017-05-14 23:13:18 UTC
|
||||||
|
+++ sql/mysqld.cc
|
||||||
|
@@ -4838,8 +4840,9 @@ static void init_ssl()
|
||||||
|
while ((err= ERR_get_error()))
|
||||||
|
sql_print_warning("SSL error: %s", ERR_error_string(err, NULL));
|
||||||
|
}
|
||||||
|
- else
|
||||||
|
+ else {
|
||||||
|
ERR_remove_state(0);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
|
@ -0,0 +1,36 @@
|
||||||
|
--- storage/innobase/lz4.cmake.orig 2017-05-14 23:13:18 UTC
|
||||||
|
+++ storage/innobase/lz4.cmake
|
||||||
|
@@ -17,21 +17,29 @@ SET(WITH_INNODB_LZ4 AUTO CACHE STRING
|
||||||
|
|
||||||
|
MACRO (MYSQL_CHECK_LZ4)
|
||||||
|
IF (WITH_INNODB_LZ4 STREQUAL "ON" OR WITH_INNODB_LZ4 STREQUAL "AUTO")
|
||||||
|
- CHECK_INCLUDE_FILES(lz4.h HAVE_LZ4_H)
|
||||||
|
- CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_limitedOutput "" HAVE_LZ4_SHARED_LIB)
|
||||||
|
- CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_default "" HAVE_LZ4_COMPRESS_DEFAULT)
|
||||||
|
+ find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
|
||||||
|
+ find_library(LZ4_LIBRARY NAMES lz4)
|
||||||
|
+ IF (LZ4_LIBRARY)
|
||||||
|
+ get_filename_component(LZ4_LIBDIR ${LZ4_LIBRARY} DIRECTORY)
|
||||||
|
+#MESSAGE(STATUS "LZ4_INCLUDE_DIR=${LZ4_INCLUDE_DIR} LZ4_LIBRARY=${LZ4_LIBRARY} LZ4_LIBDIR=${LZ4_LIBDIR}")
|
||||||
|
+ IF (LZ4_INCLUDE_DIR)
|
||||||
|
+ SET(HAVE_LZ4_H YES)
|
||||||
|
+ ENDIF()
|
||||||
|
+ CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_limitedOutput ${LZ4_LIBDIR} HAVE_LZ4_SHARED_LIB)
|
||||||
|
+ CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_default ${LZ4_LIBDIR} HAVE_LZ4_COMPRESS_DEFAULT)
|
||||||
|
|
||||||
|
IF (HAVE_LZ4_SHARED_LIB AND HAVE_LZ4_H)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_LZ4=1)
|
||||||
|
IF (HAVE_LZ4_COMPRESS_DEFAULT)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_LZ4_COMPRESS_DEFAULT=1)
|
||||||
|
ENDIF()
|
||||||
|
- LINK_LIBRARIES(lz4)
|
||||||
|
+ LINK_LIBRARIES(innobase ${LZ4_LIBRARY})
|
||||||
|
ELSE()
|
||||||
|
IF (WITH_INNODB_LZ4 STREQUAL "ON")
|
||||||
|
MESSAGE(FATAL_ERROR "Required lz4 library is not found")
|
||||||
|
ENDIF()
|
||||||
|
ENDIF()
|
||||||
|
+ ENDIF()
|
||||||
|
ENDIF()
|
||||||
|
ENDMACRO()
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
--- storage/innobase/lzo.cmake.orig 2017-05-14 23:13:18 UTC
|
||||||
|
+++ storage/innobase/lzo.cmake
|
||||||
|
@@ -17,12 +17,10 @@ SET(WITH_INNODB_LZO AUTO CACHE STRING
|
||||||
|
|
||||||
|
MACRO (MYSQL_CHECK_LZO_STATIC)
|
||||||
|
IF (WITH_INNODB_LZO STREQUAL "ON" OR WITH_INNODB_LZO STREQUAL "AUTO")
|
||||||
|
- CHECK_INCLUDE_FILES(lzo/lzo1x.h HAVE_LZO_H)
|
||||||
|
- CHECK_LIBRARY_EXISTS(liblzo2.a lzo1x_1_compress "" HAVE_LZO_LIB)
|
||||||
|
-
|
||||||
|
+ CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "${LZO_LIBDIR}" HAVE_LZO_LIB)
|
||||||
|
IF(HAVE_LZO_LIB AND HAVE_LZO_H)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_LZO=1)
|
||||||
|
- LINK_LIBRARIES(liblzo2.a)
|
||||||
|
+ LINK_LIBRARIES(lzo2)
|
||||||
|
ELSE()
|
||||||
|
IF (WITH_INNODB_LZO STREQUAL "ON")
|
||||||
|
MESSAGE(FATAL_ERROR "Required lzo library is not found")
|
||||||
|
@@ -33,12 +31,16 @@ ENDMACRO()
|
||||||
|
|
||||||
|
MACRO (MYSQL_CHECK_LZO)
|
||||||
|
IF (WITH_INNODB_LZO STREQUAL "ON" OR WITH_INNODB_LZO STREQUAL "AUTO")
|
||||||
|
- CHECK_INCLUDE_FILES(lzo/lzo1x.h HAVE_LZO_H)
|
||||||
|
- CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "" HAVE_LZO_SHARED_LIB)
|
||||||
|
-
|
||||||
|
+ find_path(LZO_INCLUDE NAMES lzo/lzo1x.h)
|
||||||
|
+ find_library(LZO_LIBRARY NAMES lzo2)
|
||||||
|
+ get_filename_component(LZO_LIBDIR ${LZO_LIBRARY} DIRECTORY)
|
||||||
|
+ IF (LZO_INCLUDE)
|
||||||
|
+ SET(HAVE_LZO_H 1)
|
||||||
|
+ ENDIF()
|
||||||
|
+ CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress ${LZO_LIBDIR} HAVE_LZO_SHARED_LIB)
|
||||||
|
IF(HAVE_LZO_SHARED_LIB AND HAVE_LZO_H)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_LZO=1)
|
||||||
|
- LINK_LIBRARIES(lzo2)
|
||||||
|
+ LINK_LIBRARIES(${LZO_LIBRARY})
|
||||||
|
ELSE()
|
||||||
|
IF (WITH_INNODB_LZO STREQUAL "ON")
|
||||||
|
MESSAGE(FATAL_ERROR "Required lzo library is not found")
|
|
@ -0,0 +1,24 @@
|
||||||
|
--- storage/innobase/snappy.cmake.orig 2017-05-14 23:13:18 UTC
|
||||||
|
+++ storage/innobase/snappy.cmake
|
||||||
|
@@ -17,12 +17,17 @@ SET(WITH_INNODB_SNAPPY AUTO CACHE STRING
|
||||||
|
|
||||||
|
MACRO (MYSQL_CHECK_SNAPPY)
|
||||||
|
IF (WITH_INNODB_SNAPPY STREQUAL "ON" OR WITH_INNODB_SNAPPY STREQUAL "AUTO")
|
||||||
|
- CHECK_INCLUDE_FILES(snappy-c.h HAVE_SNAPPY_H)
|
||||||
|
- CHECK_LIBRARY_EXISTS(snappy snappy_uncompress "" HAVE_SNAPPY_SHARED_LIB)
|
||||||
|
-
|
||||||
|
+ find_path(SNAPPY_INCLUDE_DIR NAMES snappy-c.h)
|
||||||
|
+ find_library(SNAPPY_LIBRARY NAMES snappy)
|
||||||
|
+ get_filename_component(SNAPPY_LIBDIR ${SNAPPY_LIBRARY} DIRECTORY)
|
||||||
|
+ IF (SNAPPY_INCLUDE_DIR)
|
||||||
|
+ SET(HAVE_SNAPPY_H 1)
|
||||||
|
+ ENDIF()
|
||||||
|
+ CHECK_LIBRARY_EXISTS(snappy snappy_uncompress ${SNAPPY_LIBDIR} HAVE_SNAPPY_SHARED_LIB)
|
||||||
|
+MESSAGE(STATUS "HAVE_SNAPPY_H=${HAVE_SNAPPY_H} HAVE_SNAPPY_SHARED_LIB=${HAVE_SNAPPY_SHARED_LIB} SNAPPY_LIBDIR=${SNAPPY_LIBDIR} ")
|
||||||
|
IF(HAVE_SNAPPY_SHARED_LIB AND HAVE_SNAPPY_H)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_SNAPPY=1)
|
||||||
|
- LINK_LIBRARIES(snappy)
|
||||||
|
+ LINK_LIBRARIES(${SNAPPY_LIBRARY})
|
||||||
|
ELSE()
|
||||||
|
IF (WITH_INNODB_SNAPPY STREQUAL "ON")
|
||||||
|
MESSAGE(FATAL_ERROR "Required snappy library is not found")
|
|
@ -0,0 +1,15 @@
|
||||||
|
From https://github.com/openquery/mariadb-server/commit/43bf72e45b9ead6aa0dc4abd6e5719c6381974b5
|
||||||
|
|
||||||
|
--- storage/mroonga/vendor/groonga/CMakeLists.txt.orig 2017-05-14 23:13:18 UTC
|
||||||
|
+++ storage/mroonga/vendor/groonga/CMakeLists.txt
|
||||||
|
@@ -167,6 +167,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COM
|
||||||
|
MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-clobbered")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
+if(CMAKE_COMPILER_IS_CLANGCXX)
|
||||||
|
+ MY_CHECK_AND_SET_COMPILER_FLAG("-fexceptions")
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
if(NOT DEFINED CMAKE_C_COMPILE_OPTIONS_PIC)
|
||||||
|
# For old CMake
|
||||||
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- storage/rocksdb/build_rocksdb.cmake.orig 2018-10-02 09:45:43 UTC
|
||||||
|
+++ storage/rocksdb/build_rocksdb.cmake
|
||||||
|
@@ -69,10 +69,6 @@ if(ZSTD_FOUND AND (NOT WITH_ROCKSDB_ZSTD
|
||||||
|
SET(CMAKE_REQUIRED_LIBRARIES zstd)
|
||||||
|
CHECK_FUNCTION_EXISTS(ZDICT_trainFromBuffer ZSTD_VALID)
|
||||||
|
UNSET(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
- if (WITH_ROCKSDB_ZSTD STREQUAL "ON" AND NOT ZSTD_VALID)
|
||||||
|
- MESSAGE(FATAL_ERROR
|
||||||
|
- "WITH_ROCKSDB_ZSTD is ON and ZSTD library was found, but the version needs to be >= 1.1.3")
|
||||||
|
- endif()
|
||||||
|
if (ZSTD_VALID)
|
||||||
|
add_definitions(-DZSTD)
|
||||||
|
include_directories(${ZSTD_INCLUDE_DIR})
|
|
@ -0,0 +1,9 @@
|
||||||
|
--- storage/tokudb/CMakeLists.txt.orig 2017-09-25 08:33:26.000000000 +0200
|
||||||
|
+++ storage/tokudb/CMakeLists.txt 2017-09-28 21:46:55.119327000 +0200
|
||||||
|
@@ -108,6 +108,3 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINA
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(tokudb tokufractaltree_static tokuportability_static
|
||||||
|
${ZLIB_LIBRARY} ${LIBJEMALLOC} stdc++)
|
||||||
|
-
|
||||||
|
-SET(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} -flto -fuse-linker-plugin")
|
||||||
|
-SET(CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO} -flto -fuse-linker-plugin")
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- storage/tokudb/PerconaFT/CMakeLists.txt.orig 2017-05-14 23:13:20 UTC
|
||||||
|
+++ storage/tokudb/PerconaFT/CMakeLists.txt
|
||||||
|
@@ -80,7 +80,7 @@ add_subdirectory(src)
|
||||||
|
add_subdirectory(ftcxx)
|
||||||
|
add_subdirectory(tools)
|
||||||
|
|
||||||
|
-INSTALL_DOCUMENTATION(README.md COPYING.AGPLv3 COPYING.GPLv2 PATENTS
|
||||||
|
+INSTALL_DOCUMENTATION(README.md
|
||||||
|
COMPONENT Server)
|
||||||
|
|
||||||
|
## build tags
|
|
@ -0,0 +1,39 @@
|
||||||
|
Do NOT use bundled libs, use xz/lzma from base and archivers/snappy from ports
|
||||||
|
|
||||||
|
--- storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake.orig 2017-05-14 23:13:20 UTC
|
||||||
|
+++ storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake
|
||||||
|
@@ -34,6 +34,13 @@ if (CMAKE_PROJECT_NAME STREQUAL TokuDB)
|
||||||
|
endif ()
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
+IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
|
+ include_directories("/usr/include")
|
||||||
|
+
|
||||||
|
+ add_library(lzma SHARED IMPORTED)
|
||||||
|
+ set_target_properties(lzma PROPERTIES IMPORTED_LOCATION
|
||||||
|
+ "/usr/lib/liblzma.so")
|
||||||
|
+ELSE()
|
||||||
|
## add lzma with an external project
|
||||||
|
set(xz_configure_opts --with-pic --enable-static)
|
||||||
|
if (APPLE)
|
||||||
|
@@ -105,8 +112,15 @@ add_library(lzma STATIC IMPORTED)
|
||||||
|
set_target_properties(lzma PROPERTIES IMPORTED_LOCATION
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/xz/lib/liblzma.a")
|
||||||
|
add_dependencies(lzma build_lzma)
|
||||||
|
+ENDIF()
|
||||||
|
|
||||||
|
+IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
|
+ include_directories("%%LOCALBASE%%/include")
|
||||||
|
|
||||||
|
+ add_library(snappy SHARED IMPORTED)
|
||||||
|
+ set_target_properties(snappy PROPERTIES IMPORTED_LOCATION
|
||||||
|
+ "%%LOCALBASE%%/lib/libsnappy.so")
|
||||||
|
+ELSE()
|
||||||
|
## add snappy with an external project
|
||||||
|
set(SNAPPY_SOURCE_DIR "${TokuDB_SOURCE_DIR}/third_party/snappy-1.1.2" CACHE FILEPATH "Where to find sources for snappy.")
|
||||||
|
if (NOT EXISTS "${SNAPPY_SOURCE_DIR}/CMakeLists.txt")
|
||||||
|
@@ -140,3 +154,4 @@ add_library(snappy STATIC IMPORTED)
|
||||||
|
set_target_properties(snappy PROPERTIES IMPORTED_LOCATION
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/snappy/lib/libsnappy.a")
|
||||||
|
add_dependencies(snappy build_snappy)
|
||||||
|
+ENDIF()
|
|
@ -0,0 +1,16 @@
|
||||||
|
Fix build error
|
||||||
|
|
||||||
|
--- storage/tokudb/PerconaFT/portability/memory.cc.orig 2017-05-14 23:13:21 UTC
|
||||||
|
+++ storage/tokudb/PerconaFT/portability/memory.cc
|
||||||
|
@@ -42,11 +42,6 @@ Copyright (c) 2006, 2015, Percona and/or
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
-#if defined(HAVE_MALLOC_H)
|
||||||
|
-# include <malloc.h>
|
||||||
|
-#elif defined(HAVE_SYS_MALLOC_H)
|
||||||
|
-# include <sys/malloc.h>
|
||||||
|
-#endif
|
||||||
|
#include <dlfcn.h>
|
||||||
|
#include <toku_race_tools.h>
|
||||||
|
#include "memory.h"
|
|
@ -0,0 +1,14 @@
|
||||||
|
Fix up missing WITHOUT_DOCS, WITHOUT_CLIENT options
|
||||||
|
|
||||||
|
--- support-files/CMakeLists.txt.orig 2017-05-14 23:13:28 UTC
|
||||||
|
+++ support-files/CMakeLists.txt
|
||||||
|
@@ -83,7 +83,9 @@ IF(UNIX)
|
||||||
|
CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_SHAREDIR}/pkgconfig COMPONENT Development)
|
||||||
|
|
||||||
|
+IF(FALSE)
|
||||||
|
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
||||||
|
+ENDIF()
|
||||||
|
|
||||||
|
SET(bindir ${INSTALL_BINDIRABS})
|
||||||
|
SET(sbindir ${INSTALL_SBINDIRABS})
|
15
databases/mariadb104-server/files/pkg-message.in
Normal file
15
databases/mariadb104-server/files/pkg-message.in
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
************************************************************************
|
||||||
|
|
||||||
|
Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag)
|
||||||
|
the first time you start the MySQL server after an upgrade from an
|
||||||
|
earlier version.
|
||||||
|
|
||||||
|
MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for
|
||||||
|
my.cnf. Please move existing my.cnf files from those paths to
|
||||||
|
%%PREFIX%%/etc and %%PREFIX%%/etc/mysql.
|
||||||
|
|
||||||
|
This port does NOT include the mytop perl script, this is included in
|
||||||
|
the MariaDB tarball but the most recent version can be found in the
|
||||||
|
databases/mytop port
|
||||||
|
|
||||||
|
************************************************************************
|
14
databases/mariadb104-server/pkg-descr
Normal file
14
databases/mariadb104-server/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
WWW: https://mariadb.org/
|
420
databases/mariadb104-server/pkg-plist
Normal file
420
databases/mariadb104-server/pkg-plist
Normal file
|
@ -0,0 +1,420 @@
|
||||||
|
bin/aria_chk
|
||||||
|
bin/aria_dump_log
|
||||||
|
bin/aria_ftdump
|
||||||
|
bin/aria_pack
|
||||||
|
bin/aria_read_log
|
||||||
|
%%INNOBASE%%bin/innochecksum
|
||||||
|
%%INNOBASE%%bin/mariabackup
|
||||||
|
bin/mariadb-backup
|
||||||
|
bin/mariadb-dumpslow
|
||||||
|
bin/mariadb-embedded
|
||||||
|
bin/mariadb-fix-extensions
|
||||||
|
bin/mariadb-install-db
|
||||||
|
%%ROCKSDB%%bin/mariadb-ldb
|
||||||
|
bin/mariadb-secure-installation
|
||||||
|
bin/mariadb-tzinfo-to-sql
|
||||||
|
bin/mariadb-upgrade
|
||||||
|
bin/mariadbd-multi
|
||||||
|
bin/mariadbd-safe
|
||||||
|
bin/mariadbd-safe-helper
|
||||||
|
bin/mariadb-waitpid
|
||||||
|
%%INNOBASE%%bin/mbstream
|
||||||
|
bin/my_print_defaults
|
||||||
|
bin/myisam_ftdump
|
||||||
|
bin/myisamchk
|
||||||
|
bin/myisamlog
|
||||||
|
bin/myisampack
|
||||||
|
%%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_plugin
|
||||||
|
bin/mysql_secure_installation
|
||||||
|
bin/mysql_tzinfo_to_sql
|
||||||
|
bin/mysql_upgrade
|
||||||
|
bin/mysql_waitpid
|
||||||
|
bin/mysqld_multi
|
||||||
|
bin/mysqld_safe
|
||||||
|
bin/mysqld_safe_helper
|
||||||
|
bin/mysqldumpslow
|
||||||
|
@comment bin/mysqltest_embedded
|
||||||
|
bin/perror
|
||||||
|
bin/resolve_stack_dump
|
||||||
|
bin/resolveip
|
||||||
|
%%ROCKSDB%%bin/sst_dump
|
||||||
|
@comment bin/test-connect-t
|
||||||
|
%%TOKUDB%%bin/tokuft_logprint
|
||||||
|
%%TOKUDB%%bin/tokuftdump
|
||||||
|
%%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
|
||||||
|
@comment data/test/db.opt
|
||||||
|
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/my_alloc.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_encryption.h
|
||||||
|
include/mysql/server/mysql/plugin_ftparser.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_socket.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/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_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_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_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
|
||||||
|
@comment lib/mysql/libmariadbclient.a
|
||||||
|
lib/mysql/libmariadbd.a
|
||||||
|
lib/mysql/libmariadbd.so
|
||||||
|
lib/mysql/libmariadbd.so.19
|
||||||
|
lib/mysql/libmysqld.a
|
||||||
|
lib/mysql/libmysqld.so
|
||||||
|
lib/mysql/plugin/adt_null.so
|
||||||
|
lib/mysql/plugin/auth_0x0100.so
|
||||||
|
lib/mysql/plugin/auth_ed25519.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/caching_sha2_password.so
|
||||||
|
lib/mysql/plugin/debug_key_management.so
|
||||||
|
lib/mysql/plugin/file_key_management.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
|
||||||
|
%%SPHINX%%lib/mysql/plugin/ha_sphinx.so
|
||||||
|
%%SPIDER%%lib/mysql/plugin/ha_spider.so
|
||||||
|
%%TOKUDB%%lib/mysql/plugin/ha_tokudb.so
|
||||||
|
lib/mysql/plugin/ha_test_sql_discovery.so
|
||||||
|
lib/mysql/plugin/handlersocket.so
|
||||||
|
lib/mysql/plugin/locales.so
|
||||||
|
lib/mysql/plugin/metadata_lock_info.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_versioning.so
|
||||||
|
%%WSREP%%lib/mysql/plugin/wsrep_info.so
|
||||||
|
libexec/mariadbd
|
||||||
|
libexec/mysqld
|
||||||
|
man/man1/aria_chk.1.gz
|
||||||
|
man/man1/aria_dump_log.1.gz
|
||||||
|
man/man1/aria_ftdump.1.gz
|
||||||
|
man/man1/aria_pack.1.gz
|
||||||
|
man/man1/aria_read_log.1.gz
|
||||||
|
man/man1/galera_new_cluster.1.gz
|
||||||
|
man/man1/galera_recovery.1.gz
|
||||||
|
man/man1/innochecksum.1.gz
|
||||||
|
man/man1/mariabackup.1.gz
|
||||||
|
man/man1/mariadb-backup.1.gz
|
||||||
|
man/man1/mariadb-dumpslow.1.gz
|
||||||
|
man/man1/mariadb-embedded.1.gz
|
||||||
|
man/man1/mariadb-fix-extensions.1.gz
|
||||||
|
man/man1/mariadb-install-db.1.gz
|
||||||
|
%%ROCKSDB%%man/man1/mariadb-ldb.1.gz
|
||||||
|
man/man1/mariadb-secure-installation.1.gz
|
||||||
|
@comment man/man1/mariadb-service-convert.1.gz
|
||||||
|
man/man1/mariadb-tzinfo-to-sql.1.gz
|
||||||
|
man/man1/mariadb-upgrade.1.gz
|
||||||
|
man/man1/mariadbd-multi.1.gz
|
||||||
|
man/man1/mariadbd-safe-helper.1.gz
|
||||||
|
man/man1/mariadbd-safe.1.gz
|
||||||
|
man/man1/mbstream.1.gz
|
||||||
|
man/man1/my_print_defaults.1.gz
|
||||||
|
man/man1/myisam_ftdump.1.gz
|
||||||
|
man/man1/myisamchk.1.gz
|
||||||
|
man/man1/myisamlog.1.gz
|
||||||
|
man/man1/myisampack.1.gz
|
||||||
|
man/man1/mysql.server.1.gz
|
||||||
|
man/man1/mysql_fix_extensions.1.gz
|
||||||
|
%%ROCKSDB%%man/man1/mysql_ldb.1.gz
|
||||||
|
man/man1/mysql_install_db.1.gz
|
||||||
|
man/man1/mysql_secure_installation.1.gz
|
||||||
|
man/man1/mysql_tzinfo_to_sql.1.gz
|
||||||
|
man/man1/mysql_upgrade.1.gz
|
||||||
|
man/man1/mysqld_multi.1.gz
|
||||||
|
man/man1/mysqld_safe.1.gz
|
||||||
|
man/man1/mysqld_safe_helper.1.gz
|
||||||
|
man/man1/mysqldumpslow.1.gz
|
||||||
|
man/man1/perror.1.gz
|
||||||
|
man/man1/resolve_stack_dump.1.gz
|
||||||
|
man/man1/resolveip.1.gz
|
||||||
|
%%TOKUDB%%man/man1/tokuft_logprint.1.gz
|
||||||
|
%%TOKUDB%%man/man1/tokuftdump.1.gz
|
||||||
|
%%WSREP%%man/man1/wsrep_sst_common.1.gz
|
||||||
|
%%WSREP%%man/man1/wsrep_sst_mariabackup.1.gz
|
||||||
|
%%WSREP%%man/man1/wsrep_sst_mysqldump.1.gz
|
||||||
|
%%WSREP%%man/man1/wsrep_sst_rsync.1.gz
|
||||||
|
%%WSREP%%man/man1/wsrep_sst_rsync_wan.1.gz
|
||||||
|
man/man8/mariadbd.8.gz
|
||||||
|
man/man8/mysqld.8.gz
|
||||||
|
%%DATADIR%%/binary-configure
|
||||||
|
%%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%%/czech/errmsg.sys
|
||||||
|
%%DATADIR%%/danish/errmsg.sys
|
||||||
|
%%DATADIR%%/dutch/errmsg.sys
|
||||||
|
%%DATADIR%%/english/errmsg.sys
|
||||||
|
%%DATADIR%%/errmsg-utf8.txt
|
||||||
|
%%DATADIR%%/estonian/errmsg.sys
|
||||||
|
%%DATADIR%%/fill_help_tables.sql
|
||||||
|
%%DATADIR%%/french/errmsg.sys
|
||||||
|
%%DATADIR%%/german/errmsg.sys
|
||||||
|
%%DATADIR%%/greek/errmsg.sys
|
||||||
|
%%DATADIR%%/hindi/errmsg.sys
|
||||||
|
%%DATADIR%%/hungarian/errmsg.sys
|
||||||
|
%%SPIDER%%%%DATADIR%%/install_spider.sql
|
||||||
|
%%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
|
||||||
|
%%MROONGA%%%%DATADIR%%/mroonga/AUTHORS
|
||||||
|
%%MROONGA%%%%DATADIR%%/mroonga/install.sql
|
||||||
|
%%MROONGA%%%%DATADIR%%/mroonga/uninstall.sql
|
||||||
|
%%DATADIR%%/mysql-log-rotate
|
||||||
|
%%DATADIR%%/mysql.server
|
||||||
|
%%DATADIR%%/mysql_performance_tables.sql
|
||||||
|
%%DATADIR%%/mysql_system_tables.sql
|
||||||
|
%%DATADIR%%/mysql_system_tables_data.sql
|
||||||
|
%%DATADIR%%/mysql_test_data_timezone.sql
|
||||||
|
%%DATADIR%%/mysql_test_db.sql
|
||||||
|
%%DATADIR%%/mysql_to_mariadb.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%%/swedish/errmsg.sys
|
||||||
|
%%DATADIR%%/ukrainian/errmsg.sys
|
||||||
|
%%WSREP%%%%DATADIR%%/wsrep.cnf
|
||||||
|
%%WSREP%%%%DATADIR%%/wsrep_notify
|
||||||
|
%%DOCSDIR%%/CREDITS
|
||||||
|
@comment %%DOCSDIR%%/COPYING
|
||||||
|
%%DOCSDIR%%/EXCEPTIONS-CLIENT
|
||||||
|
%%DOCSDIR%%/INSTALL-BINARY
|
||||||
|
%%WSREP%%%%DOCSDIR%%/README-wsrep
|
||||||
|
%%DOCSDIR%%/README.md
|
||||||
|
@comment %%DOCSDIR%%/THIRDPARTY
|
||||||
|
@comment share/groonga-normalizer-mysql/lgpl-2.0.txt
|
||||||
|
@comment share/groonga/COPYING
|
||||||
|
@comment share/mysql/mroonga/COPYING
|
||||||
|
%%MROONGA%%share/groonga-normalizer-mysql/README.md
|
||||||
|
%%MROONGA%%share/groonga/README.md
|
||||||
|
@comment bin/mariadb
|
||||||
|
@comment bin/mariadb-access
|
||||||
|
@comment bin/mariadb-admin
|
||||||
|
@comment bin/mariadb-binlog
|
||||||
|
@comment bin/mariadb-check
|
||||||
|
@comment bin/mariadb-client-test
|
||||||
|
@comment bin/mariadb-client-test-embedded
|
||||||
|
@comment bin/mariadb-convert-table-format
|
||||||
|
@comment bin/mariadb-dump
|
||||||
|
@comment bin/mariadb-find-rows
|
||||||
|
@comment bin/mariadb-hotcopy
|
||||||
|
@comment bin/mariadb-import
|
||||||
|
@comment bin/mariadb-plugin
|
||||||
|
@comment bin/mariadb-setpermission
|
||||||
|
@comment bin/mariadb-show
|
||||||
|
@comment bin/mariadb-slap
|
||||||
|
@comment bin/mariadb-test
|
||||||
|
@comment bin/mariadb-test-embedded
|
||||||
|
@comment bin/mariadb_config
|
||||||
|
@comment bin/msql2mysql
|
||||||
|
@comment bin/mysql
|
||||||
|
@comment bin/mysql_config
|
||||||
|
@comment bin/mysql_convert_table_format
|
||||||
|
@comment bin/mysql_find_rows
|
||||||
|
@comment bin/mysql_setpermission
|
||||||
|
@comment bin/mysqlaccess
|
||||||
|
@comment bin/mysqladmin
|
||||||
|
@comment bin/mysqlbinlog
|
||||||
|
@comment bin/mysqlcheck
|
||||||
|
@comment bin/mysqldump
|
||||||
|
@comment bin/mysqlhotcopy
|
||||||
|
@comment bin/mysqlimport
|
||||||
|
@comment bin/mysqlshow
|
||||||
|
@comment bin/mysqlslap
|
||||||
|
@comment bin/mysqltest
|
||||||
|
@comment bin/mytop
|
||||||
|
@comment bin/replace
|
||||||
|
@comment include/mysql/errmsg.h
|
||||||
|
@comment include/mysql/ma_list.h
|
||||||
|
@comment include/mysql/ma_pvio.h
|
||||||
|
@comment include/mysql/ma_tls.h
|
||||||
|
@comment include/mysql/mariadb/ma_io.h
|
||||||
|
@comment include/mysql/mariadb_com.h
|
||||||
|
@comment include/mysql/mariadb_ctype.h
|
||||||
|
@comment include/mysql/mariadb_dyncol.h
|
||||||
|
@comment include/mysql/mariadb_rpl.h
|
||||||
|
@comment include/mysql/mariadb_stmt.h
|
||||||
|
@comment include/mysql/mariadb_version.h
|
||||||
|
@comment include/mysql/my_config.h
|
||||||
|
@comment include/mysql/my_global.h
|
||||||
|
@comment include/mysql/my_sys.h
|
||||||
|
@comment include/mysql/mysql.h
|
||||||
|
@comment include/mysql/mysql/client_plugin.h
|
||||||
|
@comment include/mysql/mysql/plugin_auth.h
|
||||||
|
@comment include/mysql/mysql/plugin_auth_common.h
|
||||||
|
@comment include/mysql/mysql_com.h
|
||||||
|
@comment include/mysql/mysql_version.h
|
||||||
|
@comment include/mysql/mysqld_error.h
|
||||||
|
@comment lib/mysql/libmariadb.so
|
||||||
|
@comment lib/mysql/libmariadb.so.3
|
||||||
|
@comment lib/mysql/libmariadbclient.a
|
||||||
|
@comment lib/mysql/libmysqlclient.a
|
||||||
|
@comment lib/mysql/libmysqlclient.so
|
||||||
|
@comment lib/mysql/libmysqlclient_r.a
|
||||||
|
@comment lib/mysql/libmysqlclient_r.so
|
||||||
|
@comment lib/mysql/plugin/auth_gssapi_client.so
|
||||||
|
@comment lib/mysql/plugin/client_ed25519.so
|
||||||
|
@comment lib/mysql/plugin/daemon_example.ini
|
||||||
|
@comment lib/mysql/plugin/dialog.so
|
||||||
|
@comment lib/mysql/plugin/mysql_clear_password.so
|
||||||
|
@comment lib/mysql/plugin/sha256_password.so
|
||||||
|
@comment libdata/pkgconfig/libmariadb.pc
|
||||||
|
@comment man/man1/mysql_convert_table_format.1.gz
|
||||||
|
@comment man/man1/mariadb.1.gz
|
||||||
|
@comment man/man1/mariadb-access.1.gz
|
||||||
|
@comment man/man1/mariadb-admin.1.gz
|
||||||
|
@comment man/man1/mariadb-binlog.1.gz
|
||||||
|
@comment man/man1/mariadb-check.1.gz
|
||||||
|
@comment man/man1/mariadb-client-test-embedded.1.gz
|
||||||
|
@comment man/man1/mariadb-client-test.1.gz
|
||||||
|
@comment man/man1/mariadb-convert-table-format.1.gz
|
||||||
|
@comment man/man1/mariadb-dump.1.gz
|
||||||
|
@comment man/man1/mariadb-find-rows.1.gz
|
||||||
|
@comment man/man1/mariadb-hotcopy.1.gz
|
||||||
|
@comment man/man1/mariadb-import.1.gz
|
||||||
|
@comment man/man1/mariadb-plugin.1.gz
|
||||||
|
@comment man/man1/mariadb-setpermission.1.gz
|
||||||
|
@comment man/man1/mariadb-show.1.gz
|
||||||
|
@comment man/man1/mariadb-slap.1.gz
|
||||||
|
@comment man/man1/mariadb-test-embedded.1.gz
|
||||||
|
@comment man/man1/mariadb-test.1.gz
|
||||||
|
man/man1/mariadb-waitpid.1.gz
|
||||||
|
@comment man/man1/mysql_setpermission.1.gz
|
||||||
|
@comment man/man1/mysqlhotcopy.1.gz
|
||||||
|
@comment man/man1/mysqltest.1.gz
|
||||||
|
@comment man/man1/replace.1.gz
|
||||||
|
@comment share/pkgconfig/mariadb.pc
|
Loading…
Add table
Reference in a new issue