pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases databases: Add MariaDB 10.6.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b2b7177f1354
branches: trunk
changeset: 456620:b2b7177f1354
user: nia <nia%pkgsrc.org@localhost>
date: Wed Aug 04 15:47:24 2021 +0000
description:
databases: Add MariaDB 10.6.
What's new in 10.6:
https://mariadb.com/kb/en/changes-improvements-in-mariadb-106/
diffstat:
databases/Makefile | 4 +-
databases/mariadb106-client/DESCR | 14 +
databases/mariadb106-client/Makefile | 15 +
databases/mariadb106-client/Makefile.common | 112 ++
databases/mariadb106-client/PLIST | 425 ++++++++
databases/mariadb106-client/buildlink3.mk | 27 +
databases/mariadb106-client/distinfo | 24 +
databases/mariadb106-client/options.mk | 16 +
databases/mariadb106-client/patches/patch-BUILD_compile-pentium32-gcov | 15 +
databases/mariadb106-client/patches/patch-CMakeLists.txt | 61 +
databases/mariadb106-client/patches/patch-client_CMakeLists.txt | 15 +
databases/mariadb106-client/patches/patch-extra_wolfssl_wolfssl_certs_intermediate_genintcerts.sh | 20 +
databases/mariadb106-client/patches/patch-include_my__global.h | 20 +
databases/mariadb106-client/patches/patch-mysys_crc32_crc32__arm64.c | 31 +
databases/mariadb106-client/patches/patch-plugin_auth__pam_CMakeLists.txt | 15 +
databases/mariadb106-client/patches/patch-plugin_auth__socket_CMakeLists.txt | 37 +
databases/mariadb106-client/patches/patch-plugin_auth__socket_auth__socket.c | 21 +
databases/mariadb106-client/patches/patch-scripts_CMakeLists.txt | 43 +
databases/mariadb106-client/patches/patch-scripts_mysqld__safe.sh | 15 +
databases/mariadb106-client/patches/patch-storage_connect_ioapi.c | 15 +
databases/mariadb106-client/patches/patch-storage_connect_tabvct.cpp | 15 +
databases/mariadb106-client/patches/patch-storage_rocksdb_rdb__io__watchdog.cc | 17 +
databases/mariadb106-client/patches/patch-storage_rocksdb_rdb__io__watchdog.h | 37 +
databases/mariadb106-client/patches/patch-storage_rocksdb_rocksdb_Makefile | 24 +
databases/mariadb106-client/patches/patch-storage_rocksdb_rocksdb_build__tools_fb__compile__mongo.sh | 15 +
databases/mariadb106-client/patches/patch-support-files_mysql.server.sh | 15 +
databases/mariadb106-server/DESCR | 14 +
databases/mariadb106-server/Makefile | 50 +
databases/mariadb106-server/PLIST | 498 ++++++++++
databases/mariadb106-server/buildlink3.mk | 15 +
databases/mariadb106-server/files/mariadb.sh | 58 +
databases/mariadb106-server/files/smf/manifest.xml | 32 +
databases/mariadb106-server/files/smf/mariadb.sh | 31 +
databases/mariadb106-server/options.mk | 91 +
34 files changed, 1856 insertions(+), 1 deletions(-)
diffs (truncated from 2003 to 300 lines):
diff -r 4441882c93fb -r b2b7177f1354 databases/Makefile
--- a/databases/Makefile Wed Aug 04 13:33:26 2021 +0000
+++ b/databases/Makefile Wed Aug 04 15:47:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.638 2021/07/17 07:06:21 nia Exp $
+# $NetBSD: Makefile,v 1.639 2021/08/04 15:47:24 nia Exp $
COMMENT= Databases
@@ -98,6 +98,8 @@
SUBDIR+= mariadb104-server
SUBDIR+= mariadb105-client
SUBDIR+= mariadb105-server
+SUBDIR+= mariadb106-client
+SUBDIR+= mariadb106-server
SUBDIR+= metakit-lib
SUBDIR+= mongo-c-driver
SUBDIR+= mongo-tools
diff -r 4441882c93fb -r b2b7177f1354 databases/mariadb106-client/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb106-client/DESCR Wed Aug 04 15:47:24 2021 +0000
@@ -0,0 +1,14 @@
+MariaDB Server is one of the most popular open source relational databases.
+It's made by the original developers of MySQL.
+
+MariaDB turns data into structured information in a wide array of applications,
+ranging from banking to websites. It is an enhanced, drop-in replacement
+for MySQL. MariaDB is used because it is fast, scalable and robust, with a
+rich ecosystem of storage engines, plugins and many other tools make it very
+versatile for a wide variety of use cases.
+
+MariaDB is developed as open source software and as a relational database
+it provides an SQL interface for accessing data. The latest versions of
+MariaDB also include GIS and JSON features.
+
+This package contains the MariaDB client programs and libraries.
diff -r 4441882c93fb -r b2b7177f1354 databases/mariadb106-client/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb106-client/Makefile Wed Aug 04 15:47:24 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/08/04 15:47:24 nia Exp $
+
+PKGNAME= ${DISTNAME:S/-/-client-/}
+COMMENT= MariaDB 10.6, a free MySQL compatible database (client)
+
+CONFLICTS= mysql-client-[0-9]*
+
+.include "Makefile.common"
+
+CMAKE_ARGS+= -DWITHOUT_SERVER=ON
+
+INSTALL_DIRS+= client include libmariadb man scripts
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4441882c93fb -r b2b7177f1354 databases/mariadb106-client/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb106-client/Makefile.common Wed Aug 04 15:47:24 2021 +0000
@@ -0,0 +1,112 @@
+# $NetBSD: Makefile.common,v 1.1 2021/08/04 15:47:24 nia Exp $
+#
+# used by databases/mariadb106-client/Makefile
+# used by databases/mariadb106-server/Makefile
+
+DISTNAME= mariadb-10.6.3
+CATEGORIES= databases
+MASTER_SITES= https://downloads.mariadb.org/f/${DISTNAME}/source/
+MASTER_SITES+= https://archive.mariadb.org/${DISTNAME}/source/
+
+MAINTAINER?= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://mariadb.org/
+LICENSE= gnu-gpl-v2
+
+DISTINFO_FILE?= ${.CURDIR}/../../databases/mariadb106-client/distinfo
+PATCHDIR?= ${.CURDIR}/../../databases/mariadb106-client/patches
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl:run pkg-config bison
+USE_CURSES= wide
+
+PLIST_SRC= ${PLIST_SRC_DFLT}
+
+.include "../../mk/bsd.prefs.mk"
+
+#
+# Use MySQL defaults if set.
+#
+MARIADB_DATADIR?= ${MYSQL_DATADIR:U${VARBASE}/db/mariadb}
+MARIADB_CHARSET?= ${MYSQL_CHARSET:Uutf8mb4}
+MARIADB_COLLATION?= ${MYSQL_COLLATION:Uutf8mb4_unicode_ci}
+MARIADB_EXTRA_CHARSET?= ${MYSQL_EXTRA_CHARSET:Uall}
+
+BUILD_DEFS+= VARBASE
+
+CMAKE_ARGS+= -DCOMPILATION_COMMENT="pkgsrc"
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+
+CMAKE_ARGS+= -DINSTALL_BINDIR="bin"
+CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql"
+CMAKE_ARGS+= -DINSTALL_DOCREADMEDIR="share/doc/mysql"
+CMAKE_ARGS+= -DINSTALL_INCLUDEDIR="include/mysql"
+CMAKE_ARGS+= -DINSTALL_INFODIR="${PKGINFODIR}"
+CMAKE_ARGS+= -DINSTALL_LIBDIR="lib"
+CMAKE_ARGS+= -DINSTALL_MANDIR="${PKGMANDIR}"
+CMAKE_ARGS+= -DINSTALL_MYSQLSHAREDIR="share/mysql"
+CMAKE_ARGS+= -DINSTALL_MYSQLTESTDIR=""
+CMAKE_ARGS+= -DINSTALL_PLUGINDIR="lib/mysql/plugin"
+CMAKE_ARGS+= -DINSTALL_SBINDIR="sbin"
+CMAKE_ARGS+= -DINSTALL_SCRIPTDIR="bin"
+CMAKE_ARGS+= -DINSTALL_SQLBENCHDIR="share/mysql/sql-bench"
+CMAKE_ARGS+= -DINSTALL_SUPPORTFILESDIR="share/mysql"
+CMAKE_ARGS+= -DINSTALL_SYSCONFDIR="${PKG_SYSCONFDIR}"
+CMAKE_ARGS+= -DMYSQL_DATADIR=${MARIADB_DATADIR}
+
+CMAKE_ARGS+= -DWITH_UNIT_TESTS=OFF
+CMAKE_ARGS+= -DWITH_LIBWRAP=ON
+CMAKE_ARGS+= -DWITH_PCRE="system"
+CMAKE_ARGS+= -DWITH_ZLIB="system"
+CMAKE_ARGS+= -DDEFAULT_CHARSET=${MARIADB_CHARSET}
+CMAKE_ARGS+= -DDEFAULT_COLLATION=${MARIADB_COLLATION:Q}
+CMAKE_ARGS+= -DWITH_EXTRA_CHARSETS=${MARIADB_EXTRA_CHARSET:Q}
+
+CMAKE_ARGS+= -DPLUGIN_EXAMPLE=NO
+CMAKE_ARGS+= -DPLUGIN_FEEDBACK=NO
+
+# Requires Java
+CMAKE_ARGS+= -DCONNECT_WITH_JDBC=OFF
+
+# Options which affect generation of includes
+CMAKE_ARGS+= -DWITH_ARIA_STORAGE_ENGINE=ON
+CMAKE_ARGS+= -DWITH_PARTITION_STORAGE_ENGINE=ON
+CMAKE_ARGS+= -DWITH_PERFSCHEMA_STORAGE_ENGINE=ON
+
+CMAKE_ARGS+= -DWITHOUT_MROONGA_STORAGE_ENGINE=ON
+
+CMAKE_ARGS+= -DENABLE_DTRACE=OFF
+
+# Ensure the correct DTrace ABI is used.
+.if !empty(ABI)
+CMAKE_ARGS+= -DDTRACE_FLAGS="-${ABI}"
+.endif
+
+CFLAGS.SunOS+= -fPIC
+
+REPLACE_PERL+= scripts/mytop.sh
+REPLACE_PERL+= sql-bench/*.sh
+
+SUBST_CLASSES+= perl
+SUBST_STAGE.perl= pre-configure
+SUBST_FILES.perl= scripts/CMakeLists.txt
+SUBST_SED.perl= -e "s,/usr/bin/perl,${TOOLS_PATH.perl},g"
+SUBST_SED.perl+= -e "s,/usr/local/bin/perl,${TOOLS_PATH.perl},g"
+
+CHECK_INTERPRETER_SKIP+= share/mysql/test/*
+CHECK_PORTABILITY_SKIP+= storage/columnstore/columnstore/oam/cloud/*.sh.in
+CHECK_PORTABILITY_SKIP+= storage/columnstore/columnstore/oam/install_scripts/*.sh.in
+CHECK_PORTABILITY_SKIP+= BUILD/compile-pentium-gcov
+
+PKGCONFIG_OVERRIDE+= support-files/mariadb.pc.in
+PKGCONFIG_OVERRIDE+= libmariadb/mariadb_config/libmariadb.pc.in
+
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/krb5.buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
diff -r 4441882c93fb -r b2b7177f1354 databases/mariadb106-client/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb106-client/PLIST Wed Aug 04 15:47:24 2021 +0000
@@ -0,0 +1,425 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/04 15:47:24 nia Exp $
+bin/mariadb
+bin/mariadb-access
+bin/mariadb-admin
+bin/mariadb-binlog
+bin/mariadb-check
+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-upgrade
+bin/mariadb_config
+bin/msql2mysql
+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_upgrade
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlcheck
+bin/mysqldump
+bin/mysqldumpslow
+bin/mysqlhotcopy
+bin/mysqlimport
+bin/mysqlshow
+bin/mysqlslap
+bin/mysqltest
+bin/mytop
+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/client_plugin.h
+include/mysql/mysql/plugin_auth.h
+include/mysql/mysql/plugin_auth_common.h
+include/mysql/mysql_com.h
+include/mysql/mysql_version.h
+include/mysql/mysqld_error.h
+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_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
Home |
Main Index |
Thread Index |
Old Index