pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mariadb55-client Import mariadb-client-5.5.4...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f49c922ef4f3
branches: trunk
changeset: 650011:f49c922ef4f3
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Apr 16 20:20:15 2015 +0000
description:
Import mariadb-client-5.5.42 as databases/mariadb55-client.
MariaDB is a fork of MySQL relational database management system.
It is an enhanced, drop-in replacement for MySQL.
This package contains client libraries.
diffstat:
databases/mariadb55-client/DESCR | 4 +
databases/mariadb55-client/MESSAGE | 9 +
databases/mariadb55-client/Makefile | 42 ++
databases/mariadb55-client/Makefile.common | 135 ++++++
databases/mariadb55-client/PLIST | 205 ++++++++++
databases/mariadb55-client/buildlink3.mk | 18 +
databases/mariadb55-client/distinfo | 53 ++
databases/mariadb55-client/options.mk | 38 +
databases/mariadb55-client/patches/patch-BUILD_compile-pentium-gcov | 15 +
databases/mariadb55-client/patches/patch-CMakeLists.txt | 56 ++
databases/mariadb55-client/patches/patch-client_completion_hash.cc | 17 +
databases/mariadb55-client/patches/patch-client_mysql.cc | 13 +
databases/mariadb55-client/patches/patch-client_mysqladmin.cc | 35 +
databases/mariadb55-client/patches/patch-client_mysqlbinlog.cc | 16 +
databases/mariadb55-client/patches/patch-client_mysqlshow.c | 16 +
databases/mariadb55-client/patches/patch-cmake_libutils.cmake | 15 +
databases/mariadb55-client/patches/patch-cmake_plugin.cmake | 56 ++
databases/mariadb55-client/patches/patch-cmake_readline.cmake | 72 +++
databases/mariadb55-client/patches/patch-include_CMakeLists.txt | 20 +
databases/mariadb55-client/patches/patch-include_my_compare.h | 15 +
databases/mariadb55-client/patches/patch-include_my_net.h | 22 +
databases/mariadb55-client/patches/patch-include_my_pthread.h | 13 +
databases/mariadb55-client/patches/patch-include_myisam.h | 15 +
databases/mariadb55-client/patches/patch-include_violite.h | 32 +
databases/mariadb55-client/patches/patch-libmysql_CMakeLists.txt | 23 +
databases/mariadb55-client/patches/patch-mysys_my__getopt.c | 16 +
databases/mariadb55-client/patches/patch-mysys_stacktrace.c | 13 +
databases/mariadb55-client/patches/patch-scripts_CMakeLists.txt | 29 +
databases/mariadb55-client/patches/patch-scripts_mysqld_safe.sh | 13 +
databases/mariadb55-client/patches/patch-sql-common_client__plugin.c | 41 ++
databases/mariadb55-client/patches/patch-sql_CMakeLists.txt | 15 +
databases/mariadb55-client/patches/patch-sql_log_event.h | 17 +
databases/mariadb55-client/patches/patch-sql_mysqld.cc | 22 +
databases/mariadb55-client/patches/patch-sql_sql_string.h | 17 +
databases/mariadb55-client/patches/patch-storage_archive_CMakeLists.txt | 14 +
databases/mariadb55-client/patches/patch-storage_blackhole_CMakeLists.txt | 13 +
databases/mariadb55-client/patches/patch-storage_csv_CMakeLists.txt | 13 +
databases/mariadb55-client/patches/patch-storage_example_CMakeLists.txt | 12 +
databases/mariadb55-client/patches/patch-storage_federated_CMakeLists.txt | 13 +
databases/mariadb55-client/patches/patch-storage_heap_CMakeLists.txt | 16 +
databases/mariadb55-client/patches/patch-storage_innobase_include_os0sync.h | 22 +
databases/mariadb55-client/patches/patch-storage_myisam_CMakeLists.txt | 16 +
databases/mariadb55-client/patches/patch-storage_myisammrg_CMakeLists.txt | 13 +
databases/mariadb55-client/patches/patch-storage_ndb_include_util_Parser.hpp | 22 +
databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_portability_portability.cc | 23 +
databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_portability_toku__portability.h | 31 +
databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_portability_toku__pthread.cc | 23 +
databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_portability_toku__pthread.h | 13 +
databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_src_ydb-internal.h | 12 +
databases/mariadb55-client/patches/patch-strings_decimal.c | 16 +
databases/mariadb55-client/patches/patch-strtoll.c | 163 +++++++
databases/mariadb55-client/patches/patch-strtoull.c | 136 ++++++
databases/mariadb55-client/patches/patch-vio_viosocket.c | 55 ++
53 files changed, 1764 insertions(+), 0 deletions(-)
diffs (truncated from 1976 to 300 lines):
diff -r 26c2b117add0 -r f49c922ef4f3 databases/mariadb55-client/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb55-client/DESCR Thu Apr 16 20:20:15 2015 +0000
@@ -0,0 +1,4 @@
+MariaDB is a fork of MySQL relational database management system.
+It is an enhanced, drop-in replacement for MySQL.
+
+This package contains client libraries.
diff -r 26c2b117add0 -r f49c922ef4f3 databases/mariadb55-client/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb55-client/MESSAGE Thu Apr 16 20:20:15 2015 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2015/04/16 20:20:15 ryoon Exp $
+
+To use the ``mysqlhotcopy'' script, you'll have to install the following
+package:
+
+ databases/p5-DBD-mysql
+
+===========================================================================
diff -r 26c2b117add0 -r f49c922ef4f3 databases/mariadb55-client/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb55-client/Makefile Thu Apr 16 20:20:15 2015 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2015/04/16 20:20:15 ryoon Exp $
+
+PKGNAME= ${DISTNAME:S/-/-client-/}
+COMMENT= MarisDB 5.5, a free SQL database (client)
+
+CONFLICTS= mysql3-client-[0-9]*
+CONFLICTS= mysql-client-[0-9]*
+
+.include "Makefile.common"
+
+CMAKE_ARGS+= -DWITHOUT_SERVER=ON
+CMAKE_ARGS+= -DWITH_UNIT_TESTS=OFF
+UNWRAP_FILES+= scripts/mysql_config
+INFO_FILES= yes
+INSTALL_DIRS+= client include libmysql man scripts tests
+
+REPLACE_PERL+= scripts/mysql_convert_table_format.sh
+REPLACE_PERL+= scripts/mysql_find_rows.sh
+REPLACE_PERL+= scripts/mysql_fix_extensions.sh
+REPLACE_PERL+= scripts/mysql_fix_privilege_tables.sh
+REPLACE_PERL+= scripts/mysql_setpermission.sh
+REPLACE_PERL+= scripts/mysql_zap.sh
+REPLACE_PERL+= scripts/mysqlaccess.sh
+REPLACE_PERL+= scripts/mysqld_multi.sh
+REPLACE_PERL+= scripts/mysqldumpslow.sh
+REPLACE_PERL+= scripts/mysqlhotcopy.sh
+REPLACE_PERL+= scripts/mytop.sh
+
+SUBST_CLASSES+= fixwrap
+SUBST_STAGE.fixwrap= post-build
+SUBST_FILES.fixwrap= scripts/mysqlbug
+SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/,,g"
+
+# Replace manual pages which only include other ones with a symbolic link.
+# It is for manual compression is activated or mandoc(1) is used.
+post-install:
+.for mf in mysql_client_test_embedded.1 mysqltest_embedded.1
+ ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
+ ${LN} -s ${mf:S/_embedded//} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 26c2b117add0 -r f49c922ef4f3 databases/mariadb55-client/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb55-client/Makefile.common Thu Apr 16 20:20:15 2015 +0000
@@ -0,0 +1,135 @@
+# $NetBSD: Makefile.common,v 1.1 2015/04/16 20:20:15 ryoon Exp $
+#
+# used by databases/mariadb55-client/Makefile
+# used by databases/mariadb55-server/Makefile
+
+DISTNAME= mariadb-5.5.42
+CATEGORIES= databases
+MASTER_SITES= https://downloads.mariadb.org/f/mariadb-5.5.42/source/
+
+MAINTAINER?= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.mariadb.org/
+LICENSE= gnu-gpl-v2
+
+DISTINFO_FILE?= ${.CURDIR}/../../databases/mariadb55-client/distinfo
+PATCHDIR?= ${.CURDIR}/../../databases/mariadb55-client/patches
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash gmake perl:run
+
+CXXFLAGS+= -fpermissive
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "options.mk"
+
+# MYSQL_USER username of the database administrator
+# MYSQL_GROUP group of the database administrator
+# MYSQL_DATADIR home directory (location of the databases)
+# MYSQL_PIDFILE process ID file
+# MYSQL_CHARSET default character set
+# MYSQL_EXTRA_CHARSET additional character set to be compiled in
+MYSQL_USER?= mariadb
+MYSQL_GROUP?= mariadb
+MYSQL_DATADIR?= ${VARBASE}/mariadb
+MYSQL_PIDFILE?= ${MYSQL_DATADIR}/${HOST}.pid
+MYSQL_CHARSET?= latin1
+MYSQL_COLLATION?= latin1_swedish_ci
+MYSQL_EXTRA_CHARSET?= all
+
+PKG_USERS_VARS+= MYSQL_USER
+PKG_GROUPS_VARS+= MYSQL_GROUP
+
+CONFIG_SHELL= ${TOOLS_PATH.bash}
+
+.if ${OPSYS} == "IRIX"
+CFLAGS+= -DIRIX5 -DNEEDS_BSTRING_H
+.endif
+
+BUILD_DEFS+= VARBASE
+
+# paths
+CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mariadb"
+CMAKE_ARGS+= -DINSTALL_DOCREADMEDIR="share/doc/mariadb"
+CMAKE_ARGS+= -DINSTALL_INCLUDEDIR="include/mysql"
+CMAKE_ARGS+= -DINSTALL_INFODIR="info"
+CMAKE_ARGS+= -DINSTALL_MANDIR="${PKGMANDIR}"
+CMAKE_ARGS+= -DINSTALL_MYSQLSHAREDIR="share/mariadb"
+CMAKE_ARGS+= -DINSTALL_MYSQLTESTDIR="share/mariadb/test"
+CMAKE_ARGS+= -DINSTALL_PLUGINDIR="lib/mysql/plugin"
+CMAKE_ARGS+= -DINSTALL_SBINDIR="sbin"
+CMAKE_ARGS+= -DINSTALL_SCRIPTDIR="bin"
+CMAKE_ARGS+= -DINSTALL_SQLBENCHDIR="share/mariadb/sql-bench"
+CMAKE_ARGS+= -DINSTALL_SUPPORTFILESDIR="share/mariadb"
+CMAKE_ARGS+= -DMYSQL_DATADIR=${MYSQL_DATADIR}
+
+# always use our own readline, not MySQL bundled one
+CMAKE_ARGS+= -DWITH_LIBEDIT=OFF
+CMAKE_ARGS+= -DWITH_READLINE=OFF
+CMAKE_ARGS+= -DDEFAULT_CHARSET=${MYSQL_CHARSET:Q}
+CMAKE_ARGS+= -DDEFAULT_COLLATION=${MYSQL_COLLATION:Q}
+CMAKE_ARGS+= -DWITH_EXTRA_CHARSETS=${MYSQL_EXTRA_CHARSET:Q}
+BROKEN_READLINE_DETECTION= yes # At least on RHEL 5.6
+
+# MySQL 5 depends on builtin functions enabled with i486 and later with GCC.
+.if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386)
+GNU_ARCH.i386= i486
+CFLAGS+= -march=i486
+.endif
+
+# Ensure the correct DTrace ABI is used.
+.if !empty(ABI)
+CMAKE_ARGS+= -DDTRACE_FLAGS="-${ABI}"
+.endif
+
+CPPFLAGS+= -Dunix
+CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat
+
+.if ${OPSYS} != "Interix"
+CFLAGS+= -fPIC -DPIC
+CXXFLAGS+= -fPIC -DPIC
+.endif
+
+# force HAVE_CURSES_H on Solaris since the configure script is broken
+# and does not properly detect this, breaking the build later on.
+.if ${OPSYS} == "SunOS"
+CFLAGS+= -DHAVE_CURSES_H
+CXXFLAGS+= -DHAVE_CURSES_H
+.endif
+
+# SCO OpenServer 5.0.7/3.2's readdir_r has 2 arguments and return struct dirent.
+.if ${OS_VARIANT} == "SCOOSR5"
+CMAKE_ARGS+= -DHAVE_READDIR_R=OFF
+.endif
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.if (defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")) || \
+ ${OS_VARIANT} == "SCOOSR5"
+CFLAGS+= -DSIGNALS_DONT_BREAK_READ
+CXXFLAGS+= -DSIGNALS_DONT_BREAK_READ
+.endif
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mariadb
+
+SUBST_CLASSES+= scr
+SUBST_STAGE.scr= pre-configure
+SUBST_FILES.scr= scripts/mariadb_install_db.sh scripts/mariadb_safe.sh \
+ scripts/mariadb_secure_installation.sh \
+ support-files/mariadb.server.sh
+SUBST_SED.scr= -e "s,chown,${CHOWN},g"
+SUBST_SED.scr+= -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
+SUBST_MESSAGE.scr= Fixing scripts.
+
+.include "../../mk/readline.buildlink3.mk"
+.if !empty(READLINE_TYPE:Mreadline)
+CMAKE_ARGS+= -DREADLINE_FOUND=system
+LDFLAGS+= -lreadline
+.else
+CMAKE_ARGS+= -DLIBEDIT_FOUND=system
+LDFLAGS+= -ledit
+.endif
+CMAKE_ARGS+= -DREADLINE_INCLUDE_DIR=${BUILDLINK_PREFIX.editlinereadline}/include/readline
+
+.include "../../devel/zlib/buildlink3.mk"
diff -r 26c2b117add0 -r f49c922ef4f3 databases/mariadb55-client/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb55-client/PLIST Thu Apr 16 20:20:15 2015 +0000
@@ -0,0 +1,205 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/16 20:20:15 ryoon Exp $
+bin/msql2mysql
+bin/mysql
+bin/mysql_client_test
+bin/mysql_config
+bin/mysql_convert_table_format
+bin/mysql_find_rows
+bin/mysql_fix_extensions
+bin/mysql_install_db
+bin/mysql_plugin
+bin/mysql_secure_installation
+bin/mysql_setpermission
+bin/mysql_upgrade
+bin/mysql_zap
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlbug
+bin/mysqlcheck
+bin/mysqld_multi
+bin/mysqld_safe
+bin/mysqldump
+bin/mysqldumpslow
+bin/mysqlhotcopy
+bin/mysqlimport
+bin/mysqlshow
+bin/mysqlslap
+bin/mysqltest
+bin/mytop
+include/mysql/auth_dialog_client.h
+include/mysql/client_plugin.h
+include/mysql/decimal.h
+include/mysql/errmsg.h
+include/mysql/handler_ername.h
+include/mysql/handler_state.h
+include/mysql/keycache.h
+include/mysql/m_ctype.h
+include/mysql/m_string.h
+include/mysql/ma_dyncol.h
+include/mysql/my_alloc.h
+include/mysql/my_attribute.h
+include/mysql/my_compiler.h
+include/mysql/my_config.h
+include/mysql/my_dbug.h
+include/mysql/my_decimal_limits.h
+include/mysql/my_dir.h
+include/mysql/my_getopt.h
+include/mysql/my_global.h
+include/mysql/my_list.h
+include/mysql/my_net.h
+include/mysql/my_pthread.h
+include/mysql/my_sys.h
+include/mysql/my_valgrind.h
+include/mysql/my_xml.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/mysql_embed.h
+include/mysql/mysql_time.h
+include/mysql/mysql_version.h
+include/mysql/mysqld_ername.h
+include/mysql/mysqld_error.h
+include/mysql/plugin.h
+include/mysql/plugin_audit.h
+include/mysql/plugin_auth.h
+include/mysql/plugin_auth_common.h
+include/mysql/plugin_ftparser.h
+include/mysql/private/atomic/gcc_builtins.h
+include/mysql/private/atomic/generic-msvc.h
+include/mysql/private/atomic/nolock.h
+include/mysql/private/atomic/rwlock.h
+include/mysql/private/atomic/solaris.h
+include/mysql/private/atomic/x86-gcc.h
+include/mysql/private/base64.h
+include/mysql/private/config.h
+include/mysql/private/ft_global.h
+include/mysql/private/hash.h
+include/mysql/private/heap.h
+include/mysql/private/lf.h
+include/mysql/private/maria.h
+include/mysql/private/my_aes.h
+include/mysql/private/my_alarm.h
+include/mysql/private/my_atomic.h
+include/mysql/private/my_base.h
+include/mysql/private/my_bit.h
+include/mysql/private/my_bitmap.h
+include/mysql/private/my_check_opt.h
+include/mysql/private/my_compare.h
+include/mysql/private/my_context.h
+include/mysql/private/my_cpu.h
+include/mysql/private/my_libwrap.h
Home |
Main Index |
Thread Index |
Old Index