pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases mariadb105[-client,-server]: import mariadb ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/683b082cd23e
branches:  trunk
changeset: 453116:683b082cd23e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 23 15:32:47 2021 +0000

description:
mariadb105[-client,-server]: import mariadb 10.5

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.

diffstat:

 databases/Makefile                                                                                   |      4 +-
 databases/mariadb105-client/DESCR                                                                    |     14 +
 databases/mariadb105-client/MESSAGE                                                                  |      5 +
 databases/mariadb105-client/Makefile                                                                 |     15 +
 databases/mariadb105-client/Makefile.common                                                          |    133 +
 databases/mariadb105-client/PLIST                                                                    |    344 +
 databases/mariadb105-client/buildlink3.mk                                                            |     27 +
 databases/mariadb105-client/distinfo                                                                 |     30 +
 databases/mariadb105-client/options.mk                                                               |     16 +
 databases/mariadb105-client/patches/patch-BUILD_compile-pentium32-gcov                               |     15 +
 databases/mariadb105-client/patches/patch-CMakeLists.txt                                             |     61 +
 databases/mariadb105-client/patches/patch-client_CMakeLists.txt                                      |     15 +
 databases/mariadb105-client/patches/patch-extra_wolfssl_wolfssl_certs_intermediate_genintcerts.sh    |     20 +
 databases/mariadb105-client/patches/patch-include_my__global.h                                       |     20 +
 databases/mariadb105-client/patches/patch-mysys_my__context.c                                        |     24 +
 databases/mariadb105-client/patches/patch-mysys_my__largepage.c                                      |     19 +
 databases/mariadb105-client/patches/patch-plugin_auth__pam_CMakeLists.txt                            |     15 +
 databases/mariadb105-client/patches/patch-scripts_CMakeLists.txt                                     |     50 +
 databases/mariadb105-client/patches/patch-scripts_mysql__install__db.sh                              |     15 +
 databases/mariadb105-client/patches/patch-scripts_mysqld__safe.sh                                    |     15 +
 databases/mariadb105-client/patches/patch-sql_threadpool__generic.cc                                 |     19 +
 databases/mariadb105-client/patches/patch-storage_connect_ioapi.c                                    |     15 +
 databases/mariadb105-client/patches/patch-storage_connect_tabvct.cpp                                 |     15 +
 databases/mariadb105-client/patches/patch-storage_perfschema_my__thread.h                            |     24 +
 databases/mariadb105-client/patches/patch-storage_rocksdb_rdb__io__watchdog.cc                       |     17 +
 databases/mariadb105-client/patches/patch-storage_rocksdb_rdb__io__watchdog.h                        |     37 +
 databases/mariadb105-client/patches/patch-storage_rocksdb_rocksdb_Makefile                           |     24 +
 databases/mariadb105-client/patches/patch-storage_rocksdb_rocksdb_build__tools_fb__compile__mongo.sh |     15 +
 databases/mariadb105-client/patches/patch-storage_tokudb_PerconaFT_portability_file.cc               |     16 +
 databases/mariadb105-client/patches/patch-storage_tokudb_PerconaFT_portability_toku__htod.h          |     30 +
 databases/mariadb105-client/patches/patch-storage_tokudb_PerconaFT_portability_toku__portability.h   |     24 +
 databases/mariadb105-client/patches/patch-storage_tokudb_PerconaFT_src_CMakeLists.txt                |     16 +
 databases/mariadb105-client/patches/patch-support-files_mysql.server.sh                              |     15 +
 databases/mariadb105-server/DESCR                                                                    |     14 +
 databases/mariadb105-server/Makefile                                                                 |     76 +
 databases/mariadb105-server/PLIST                                                                    |  17445 ++++++++++
 databases/mariadb105-server/PLIST.embedded                                                           |     14 +
 databases/mariadb105-server/buildlink3.mk                                                            |     15 +
 databases/mariadb105-server/files/mariadb.sh                                                         |     53 +
 databases/mariadb105-server/files/smf/manifest.xml                                                   |     32 +
 databases/mariadb105-server/files/smf/mariadb.sh                                                     |     31 +
 databases/mariadb105-server/options.mk                                                               |     24 +
 42 files changed, 18827 insertions(+), 1 deletions(-)

diffs (truncated from 19006 to 300 lines):

diff -r b4e68473e9ab -r 683b082cd23e databases/Makefile
--- a/databases/Makefile        Sun May 23 14:42:13 2021 +0000
+++ b/databases/Makefile        Sun May 23 15:32:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.631 2021/05/23 11:30:52 nia Exp $
+# $NetBSD: Makefile,v 1.632 2021/05/23 15:32:47 nia Exp $
 
 COMMENT=       Databases
 
@@ -99,6 +99,8 @@
 SUBDIR+=       lua-tokyocabinet
 SUBDIR+=       mariadb104-client
 SUBDIR+=       mariadb104-server
+SUBDIR+=       mariadb105-client
+SUBDIR+=       mariadb105-server
 SUBDIR+=       metakit-lib
 SUBDIR+=       mongo-c-driver
 SUBDIR+=       mongo-tools
diff -r b4e68473e9ab -r 683b082cd23e databases/mariadb105-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/DESCR Sun May 23 15:32:47 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 b4e68473e9ab -r 683b082cd23e databases/mariadb105-client/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/MESSAGE       Sun May 23 15:32:47 2021 +0000
@@ -0,0 +1,5 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2021/05/23 15:32:47 nia Exp $
+
+This package is EXPERIMENTAL for now, recommend to only use for testing.
+===========================================================================
diff -r b4e68473e9ab -r 683b082cd23e databases/mariadb105-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/Makefile      Sun May 23 15:32:47 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/05/23 15:32:47 nia Exp $
+
+PKGNAME=       ${DISTNAME:S/-/-client-/}
+COMMENT=       MariaDB 10.5, a free SQL 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 b4e68473e9ab -r 683b082cd23e databases/mariadb105-client/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/Makefile.common       Sun May 23 15:32:47 2021 +0000
@@ -0,0 +1,133 @@
+# $NetBSD: Makefile.common,v 1.1 2021/05/23 15:32:47 nia Exp $
+#
+# used by databases/mariadb105-client/Makefile
+# used by databases/mariadb105-server/Makefile
+
+DISTNAME=      mariadb-10.5.10
+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/mariadb105-client/distinfo
+PATCHDIR?=     ${.CURDIR}/../../databases/mariadb105-client/patches
+MESSAGE_SRC+=  ${.CURDIR}/../../databases/mariadb105-client/MESSAGE
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    perl:run pkg-config bison
+
+PLIST_SRC=     ${PLIST_SRC_DFLT}
+
+.include "../../mk/bsd.prefs.mk"
+
+# home directory (location of the databases)
+.if !empty(MYSQL_DATADIR)
+MARIADB_DATADIR?=      ${MYSQL_DATADIR}
+.else
+MARIADB_DATADIR?=      ${VARBASE}/db/mariadb
+.endif
+
+# default character set
+.if !empty(MYSQL_CHARSET)
+MARIADB_CHARSET?=      ${MYSQL_CHARSET}
+.else
+MARIADB_CHARSET?=      utf8mb4
+.endif
+
+# additional character set to be compiled in
+.if !empty(MYSQL_COLLATION)
+MARIADB_COLLATION?=    ${MYSQL_COLLATION}
+.else
+MARIADB_COLLATION?=    utf8mb4_unicode_ci
+.endif
+
+.if !empty(MYSQL_EXTRA_CHARSET)
+MARIADB_EXTRA_CHARSET?=        ${MYSQL_EXTRA_CHARSET}
+.else
+MARIADB_EXTRA_CHARSET?=        all
+.endif
+
+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="share/mysql/test"
+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
+
+CMAKE_ARGS+=           -DTOKUDB_OK=OFF
+
+# Ensure the correct DTrace ABI is used.
+.if !empty(ABI)
+CMAKE_ARGS+=           -DDTRACE_FLAGS="-${ABI}"
+.endif
+
+CPPFLAGS.NetBSD+=      -D_NETBSD_SOURCE
+
+CPPFLAGS.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+=       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/readline.buildlink3.mk"
diff -r b4e68473e9ab -r 683b082cd23e databases/mariadb105-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/PLIST Sun May 23 15:32:47 2021 +0000
@@ -0,0 +1,344 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/23 15:32:47 nia Exp $
+bin/mariadb
+bin/mariadb-access
+bin/mariadb-admin
+bin/mariadb-binlog
+bin/mariadb-check
+bin/mariadb-conv
+bin/mariadb-dump
+bin/mariadb-find-rows
+bin/mariadb-import
+bin/mariadb-plugin
+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/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



Home | Main Index | Thread Index | Old Index