pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Add client and server packages for MariaDB 10.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e5e85ec54f7
branches:  trunk
changeset: 452322:7e5e85ec54f7
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat May 08 19:47:15 2021 +0000

description:
Add client and server packages for MariaDB 10.4

Copy of the pkgsrc-wip packages by nia@. Consider experimental for now.

diffstat:

 databases/Makefile                                                                                   |      4 +-
 databases/mariadb104-client/DESCR                                                                    |     14 +
 databases/mariadb104-client/MESSAGE                                                                  |      5 +
 databases/mariadb104-client/Makefile                                                                 |     14 +
 databases/mariadb104-client/Makefile.common                                                          |    120 +
 databases/mariadb104-client/PLIST                                                                    |    312 +
 databases/mariadb104-client/TODO                                                                     |     10 +
 databases/mariadb104-client/buildlink3.mk                                                            |     27 +
 databases/mariadb104-client/distinfo                                                                 |     29 +
 databases/mariadb104-client/options.mk                                                               |     16 +
 databases/mariadb104-client/patches/patch-BUILD_compile-pentium32-gcov                               |     15 +
 databases/mariadb104-client/patches/patch-CMakeLists.txt                                             |     70 +
 databases/mariadb104-client/patches/patch-extra_wolfssl_wolfssl_certs_intermediate_genintcerts.sh    |     20 +
 databases/mariadb104-client/patches/patch-include_my__global.h                                       |     20 +
 databases/mariadb104-client/patches/patch-libmariadb_cmake_ConnectorName.cmake                       |     15 +
 databases/mariadb104-client/patches/patch-mysys_my__context.c                                        |     24 +
 databases/mariadb104-client/patches/patch-plugin_auth__pam_CMakeLists.txt                            |     15 +
 databases/mariadb104-client/patches/patch-scripts_CMakeLists.txt                                     |     55 +
 databases/mariadb104-client/patches/patch-scripts_mysql__install__db.sh                              |     15 +
 databases/mariadb104-client/patches/patch-scripts_mysqld__safe.sh                                    |     15 +
 databases/mariadb104-client/patches/patch-sql_mysqld.cc                                              |     18 +
 databases/mariadb104-client/patches/patch-sql_threadpool__generic.cc                                 |     31 +
 databases/mariadb104-client/patches/patch-storage_connect_ioapi.c                                    |     15 +
 databases/mariadb104-client/patches/patch-storage_connect_tabvct.cpp                                 |     15 +
 databases/mariadb104-client/patches/patch-storage_rocksdb_rdb__io__watchdog.cc                       |     17 +
 databases/mariadb104-client/patches/patch-storage_rocksdb_rdb__io__watchdog.h                        |     37 +
 databases/mariadb104-client/patches/patch-storage_rocksdb_rocksdb_Makefile                           |     24 +
 databases/mariadb104-client/patches/patch-storage_rocksdb_rocksdb_build__tools_fb__compile__mongo.sh |     15 +
 databases/mariadb104-client/patches/patch-storage_tokudb_PerconaFT_portability_file.cc               |     16 +
 databases/mariadb104-client/patches/patch-storage_tokudb_PerconaFT_portability_toku__htod.h          |     30 +
 databases/mariadb104-client/patches/patch-storage_tokudb_PerconaFT_portability_toku__portability.h   |     24 +
 databases/mariadb104-client/patches/patch-storage_tokudb_PerconaFT_src_CMakeLists.txt                |     16 +
 databases/mariadb104-client/patches/patch-support-files_mysql.server.sh                              |     15 +
 databases/mariadb104-server/DESCR                                                                    |     14 +
 databases/mariadb104-server/Makefile                                                                 |     86 +
 databases/mariadb104-server/PLIST                                                                    |  16342 ++++++++++
 databases/mariadb104-server/PLIST.embedded                                                           |     14 +
 databases/mariadb104-server/buildlink3.mk                                                            |     15 +
 databases/mariadb104-server/files/mariadb.sh                                                         |     50 +
 databases/mariadb104-server/files/smf/manifest.xml                                                   |     32 +
 databases/mariadb104-server/files/smf/mariadb.sh                                                     |     31 +
 41 files changed, 17671 insertions(+), 1 deletions(-)

diffs (truncated from 17846 to 300 lines):

diff -r 76cffb3a2792 -r 7e5e85ec54f7 databases/Makefile
--- a/databases/Makefile        Sat May 08 19:31:52 2021 +0000
+++ b/databases/Makefile        Sat May 08 19:47:15 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.627 2021/04/28 06:56:38 wiz Exp $
+# $NetBSD: Makefile,v 1.628 2021/05/08 19:47:15 jdolecek Exp $
 
 COMMENT=       Databases
 
@@ -98,6 +98,8 @@
 SUBDIR+=       lua-sqlite3
 SUBDIR+=       lua-tokyocabinet
 SUBDIR+=       mariadb-connector-c
+SUBDIR+=       mariadb104-client
+SUBDIR+=       mariadb104-server
 SUBDIR+=       mariadb55-client
 SUBDIR+=       mariadb55-server
 SUBDIR+=       metakit-lib
diff -r 76cffb3a2792 -r 7e5e85ec54f7 databases/mariadb104-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb104-client/DESCR Sat May 08 19:47:15 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 76cffb3a2792 -r 7e5e85ec54f7 databases/mariadb104-client/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb104-client/MESSAGE       Sat May 08 19:47:15 2021 +0000
@@ -0,0 +1,5 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2021/05/08 19:47:16 jdolecek Exp $
+
+This package is EXPERIMENTAL for now, recommend to only use for testing.
+===========================================================================
diff -r 76cffb3a2792 -r 7e5e85ec54f7 databases/mariadb104-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb104-client/Makefile      Sat May 08 19:47:15 2021 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2021/05/08 19:47:16 jdolecek Exp $
+
+PKGNAME=       ${DISTNAME:S/-/-client-/}
+COMMENT=       MariaDB 10.4, 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 "../../mk/bsd.pkg.mk"
diff -r 76cffb3a2792 -r 7e5e85ec54f7 databases/mariadb104-client/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb104-client/Makefile.common       Sat May 08 19:47:15 2021 +0000
@@ -0,0 +1,120 @@
+# $NetBSD: Makefile.common,v 1.1 2021/05/08 19:47:16 jdolecek Exp $
+#
+# used by wip/mariadb104-client/Makefile
+# used by wip/mariadb104-server/Makefile
+
+DISTNAME=      mariadb-10.4.18
+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/mariadb104-client/distinfo
+PATCHDIR?=     ${.CURDIR}/../../databases/mariadb104-client/patches
+MESSAGE_SRC+=  ${.CURDIR}/../../databases/mariadb104-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+=           -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_LIBWRAP=ON
+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}
+
+# 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+=       BUILD/compile-pentium-gcov
+
+PKGCONFIG_OVERRIDE+=   support-files/mariadb.pc.in
+PKGCONFIG_OVERRIDE+=   libmariadb/mariadb_config/libmariadb.pc.in
+
+.include "options.mk"
+.include "../../devel/readline/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}
diff -r 76cffb3a2792 -r 7e5e85ec54f7 databases/mariadb104-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb104-client/PLIST Sat May 08 19:47:15 2021 +0000
@@ -0,0 +1,312 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/08 19:47:16 jdolecek Exp $
+bin/mariadb
+bin/mariadb-access
+bin/mariadb-admin
+bin/mariadb-binlog
+bin/mariadb-check
+bin/mariadb-dump
+bin/mariadb-find-rows
+bin/mariadb-import
+bin/mariadb-plugin
+bin/mariadb-show
+bin/mariadb-slap
+bin/mariadb-test
+bin/mariadb_config
+bin/msql2mysql
+bin/mysql
+bin/mysql_config
+bin/mysql_find_rows
+bin/mysql_plugin
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlcheck
+bin/mysqldump
+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_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



Home | Main Index | Thread Index | Old Index