pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases MySQL is a SQL (Structured Query Language) d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/661680225d70
branches:  trunk
changeset: 352536:661680225d70
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Sep 16 06:49:11 2016 +0000

description:
MySQL is a SQL (Structured Query Language) database server. SQL is the most
popular database language in the world. MySQL is a client-server implementation
that consists of a server daemon `mysqld' and many different client
programs/libraries.

The main goals of MySQL are speed and robustness.

The base upon which MySQL is built is a set of routines that have been used in
a highly demanding production environment for many years.  While MySQL is still
in development it already offers a rich and highly useful function set.

diffstat:

 databases/mysql57-client/DESCR                                                                   |     14 +
 databases/mysql57-client/Makefile                                                                |     23 +
 databases/mysql57-client/Makefile.common                                                         |    129 +
 databases/mysql57-client/PLIST                                                                   |    168 +
 databases/mysql57-client/buildlink3.mk                                                           |     18 +
 databases/mysql57-client/distinfo                                                                |     40 +
 databases/mysql57-client/options.mk                                                              |     52 +
 databases/mysql57-client/patches/patch-CMakeLists.txt                                            |     31 +
 databases/mysql57-client/patches/patch-client_CMakeLists.txt                                     |    111 +
 databases/mysql57-client/patches/patch-client_completion_hash.cc                                 |     17 +
 databases/mysql57-client/patches/patch-client_mysqladmin.cc                                      |     23 +
 databases/mysql57-client/patches/patch-cmake_boost.cmake                                         |     62 +
 databases/mysql57-client/patches/patch-cmake_libutils.cmake                                      |     15 +
 databases/mysql57-client/patches/patch-cmake_plugin.cmake                                        |     48 +
 databases/mysql57-client/patches/patch-cmake_readline.cmake                                      |     19 +
 databases/mysql57-client/patches/patch-include_CMakeLists.txt                                    |     21 +
 databases/mysql57-client/patches/patch-include_my__compare.h                                     |     15 +
 databases/mysql57-client/patches/patch-include_my__global.h                                      |     20 +
 databases/mysql57-client/patches/patch-include_my__thread.h                                      |     18 +
 databases/mysql57-client/patches/patch-libmysql_CMakeLists.txt                                   |     39 +
 databases/mysql57-client/patches/patch-mysql-test_CMakeLists.txt                                 |     18 +
 databases/mysql57-client/patches/patch-mysys__ssl_CMakeLists.txt                                 |     14 +
 databases/mysql57-client/patches/patch-mysys_kqueue__timers.c                                    |     37 +
 databases/mysql57-client/patches/patch-mysys_stacktrace.c                                        |     13 +
 databases/mysql57-client/patches/patch-rapid_plugin_x_CMakeLists.txt                             |     37 +
 databases/mysql57-client/patches/patch-rapid_unittest_gunit_xplugin_CMakeLists.txt               |     22 +
 databases/mysql57-client/patches/patch-scripts_CMakeLists.txt                                    |     39 +
 databases/mysql57-client/patches/patch-scripts_mysqld_safe.sh                                    |     13 +
 databases/mysql57-client/patches/patch-sql_CMakeLists.txt                                        |     13 +
 databases/mysql57-client/patches/patch-sql_conn__handler_socket__connection.cc                   |     32 +
 databases/mysql57-client/patches/patch-sql_log_event.h                                           |     17 +
 databases/mysql57-client/patches/patch-storage_archive_CMakeLists.txt                            |     13 +
 databases/mysql57-client/patches/patch-storage_blackhole_CMakeLists.txt                          |     12 +
 databases/mysql57-client/patches/patch-storage_csv_CMakeLists.txt                                |     12 +
 databases/mysql57-client/patches/patch-storage_example_CMakeLists.txt                            |     18 +
 databases/mysql57-client/patches/patch-storage_federated_CMakeLists.txt                          |     12 +
 databases/mysql57-client/patches/patch-storage_heap_CMakeLists.txt                               |     16 +
 databases/mysql57-client/patches/patch-storage_myisam_CMakeLists.txt                             |     16 +
 databases/mysql57-client/patches/patch-storage_myisammrg_CMakeLists.txt                          |     13 +
 databases/mysql57-client/patches/patch-storage_ndb_mcc_frontend_dojo_dojox_mobile_build_build.sh |     24 +
 databases/mysql57-client/patches/patch-strings_decimal.c                                         |     16 +
 databases/mysql57-server/DEINSTALL                                                               |     16 +
 databases/mysql57-server/DESCR                                                                   |     15 +
 databases/mysql57-server/MESSAGE                                                                 |     21 +
 databases/mysql57-server/MESSAGE.sphinx                                                          |     14 +
 databases/mysql57-server/Makefile                                                                |     94 +
 databases/mysql57-server/PLIST                                                                   |  13344 ++++++++++
 databases/mysql57-server/PLIST.SunOS                                                             |      2 +
 databases/mysql57-server/buildlink3.mk                                                           |     15 +
 databases/mysql57-server/files/mysqld.sh                                                         |    108 +
 databases/mysql57-server/files/smf/manifest.xml                                                  |     32 +
 databases/mysql57-server/files/smf/mysqld.sh                                                     |     31 +
 52 files changed, 14982 insertions(+), 0 deletions(-)

diffs (truncated from 15190 to 300 lines):

diff -r 42281845f258 -r 661680225d70 databases/mysql57-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/DESCR    Fri Sep 16 06:49:11 2016 +0000
@@ -0,0 +1,14 @@
+MySQL is a SQL (Structured Query Language) database server. SQL is the most
+popular database language in the world. MySQL is a client-server implementation
+that consists of a server daemon `mysqld' and many different client
+programs/libraries.
+
+The main goals of MySQL are speed and robustness.
+
+The base upon which MySQL is built is a set of routines that have been used in
+a highly demanding production environment for many years.  While MySQL is still
+in development it already offers a rich and highly useful function set.
+
+The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL).
+
+This package contains the MySQL client programs and libraries.
diff -r 42281845f258 -r 661680225d70 databases/mysql57-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/Makefile Fri Sep 16 06:49:11 2016 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/09/16 06:49:11 adam Exp $
+
+PKGNAME=       ${DISTNAME:S/-/-client-/}
+COMMENT=       MySQL 5, a free SQL database (client)
+
+CONFLICTS=     mysql3-client-[0-9]*
+
+.include "Makefile.common"
+
+CMAKE_ARGS+=           -DWITHOUT_SERVER=ON
+UNWRAP_FILES+=         scripts/mysql_config
+INFO_FILES=            yes
+INSTALL_DIRS+=         client include libmysql man scripts testclients
+
+# 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 42281845f258 -r 661680225d70 databases/mysql57-client/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/Makefile.common  Fri Sep 16 06:49:11 2016 +0000
@@ -0,0 +1,129 @@
+# $NetBSD: Makefile.common,v 1.1 2016/09/16 06:49:11 adam Exp $
+#
+# used by databases/mysql57-client/Makefile
+# used by databases/mysql57-server/Makefile
+
+DISTNAME=      mysql-5.7.15
+CATEGORIES=    databases
+MASTER_SITES=  ${MASTER_SITE_MYSQL:=MySQL-5.7/}
+
+MAINTAINER?=   pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.mysql.com/
+LICENSE=       gnu-gpl-v2
+
+DISTINFO_FILE?=                ${.CURDIR}/../../databases/mysql57-client/distinfo
+PATCHDIR?=             ${.CURDIR}/../../databases/mysql57-client/patches
+
+USE_CMAKE=             yes
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            bash bison gmake perl:run
+
+.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?=           mysql
+MYSQL_GROUP?=          mysql
+MYSQL_DATADIR?=                ${VARBASE}/mysql
+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}
+
+CFLAGS.IRIX+=          -DIRIX5 -DNEEDS_BSTRING_H
+
+BUILD_DEFS+=           VARBASE
+
+# paths
+CMAKE_ARGS+=           -DINSTALL_DOCDIR="share/doc/mysql"
+CMAKE_ARGS+=           -DINSTALL_DOCREADMEDIR="share/doc/mysql"
+CMAKE_ARGS+=           -DINSTALL_INCLUDEDIR="include/mysql"
+CMAKE_ARGS+=           -DINSTALL_INFODIR="info"
+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+=           -DMYSQL_DATADIR=${MYSQL_DATADIR}
+
+CMAKE_ARGS+=           -DCMAKE_BUILD_TYPE=Release
+
+CMAKE_ARGS+=           -DWITH_BOOST="system"
+CMAKE_ARGS+=           -DWITH_LZ4="system"
+CMAKE_ARGS+=           -DWITH_SSL="system"
+CMAKE_ARGS+=           -DWITH_ZLIB="system"
+CMAKE_ARGS+=           -DDEFAULT_CHARSET=${MYSQL_CHARSET:Q}
+CMAKE_ARGS+=           -DDEFAULT_COLLATION=${MYSQL_COLLATION:Q}
+CMAKE_ARGS+=           -DWITH_EXTRA_CHARSETS=${MYSQL_EXTRA_CHARSET:Q}
+
+# 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
+
+CPPFLAGS+=             -Dunix
+CFLAGS+=               -DUSE_OLD_FUNCTIONS # 3.23.x compat
+#CFLAGS+=              -D__STDC_FORMAT_MACROS=1 # always defined too late
+
+.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.  Also
+# explicitly disable epoll support as it is Linux-specific.
+CMAKE_ARGS.SunOS+=     -DHAVE_SYS_EPOLL_H=NO
+CFLAGS.SunOS+=         -DHAVE_CURSES_H
+CXXFLAGS.SunOS+=       -DHAVE_CURSES_H
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
+CFLAGS+=               -DSIGNALS_DONT_BREAK_READ
+CXXFLAGS+=             -DSIGNALS_DONT_BREAK_READ
+.endif
+
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
+
+SUBST_CLASSES+=                scr
+SUBST_STAGE.scr=       pre-configure
+SUBST_FILES.scr=       scripts/mysqld_safe.sh \
+                       support-files/mysql.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.
+
+# Don't use the base system "libedit" under NetBSD because MySQL expects
+# an incompatible prototype for "rl_completion_entry_function".
+.if ${OPSYS} == "NetBSD"
+USE_BUILTIN.editline=  no
+.endif
+
+.include "../../mk/readline.buildlink3.mk"
+.if ${READLINE_TYPE} == "readline"
+CMAKE_ARGS+=           -DWITH_READLINE="system"
+.else
+CMAKE_ARGS+=           -DWITH_EDITLINE="system"
+.endif
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
diff -r 42281845f258 -r 661680225d70 databases/mysql57-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/PLIST    Fri Sep 16 06:49:11 2016 +0000
@@ -0,0 +1,168 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/16 06:49:11 adam Exp $
+bin/mysql
+bin/mysql_client_test
+bin/mysql_config
+bin/mysql_config_editor
+bin/mysql_ssl_rsa_setup
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlcheck
+bin/mysqldump
+bin/mysqlimport
+bin/mysqlpump
+bin/mysqlshow
+bin/mysqlslap
+include/mysql/big_endian.h
+include/mysql/binary_log_types.h
+include/mysql/byte_order_generic.h
+include/mysql/byte_order_generic_x86.h
+include/mysql/decimal.h
+include/mysql/errmsg.h
+include/mysql/keycache.h
+include/mysql/little_endian.h
+include/mysql/m_ctype.h
+include/mysql/m_string.h
+include/mysql/my_alloc.h
+include/mysql/my_byteorder.h
+include/mysql/my_command.h
+include/mysql/my_compiler.h
+include/mysql/my_config.h
+include/mysql/my_dbug.h
+include/mysql/my_dir.h
+include/mysql/my_getopt.h
+include/mysql/my_global.h
+include/mysql/my_list.h
+include/mysql/my_sys.h
+include/mysql/my_thread.h
+include/mysql/my_thread_local.h
+include/mysql/my_xml.h
+include/mysql/mysql.h
+include/mysql/mysql/client_authentication.h
+include/mysql/mysql/client_plugin.h
+include/mysql/mysql/client_plugin.h.pp
+include/mysql/mysql/com_data.h
+include/mysql/mysql/get_password.h
+include/mysql/mysql/group_replication_priv.h
+include/mysql/mysql/innodb_priv.h
+include/mysql/mysql/mysql_lex_string.h
+include/mysql/mysql/plugin.h
+include/mysql/mysql/plugin_audit.h
+include/mysql/mysql/plugin_audit.h.pp
+include/mysql/mysql/plugin_auth.h
+include/mysql/mysql/plugin_auth.h.pp
+include/mysql/mysql/plugin_auth_common.h
+include/mysql/mysql/plugin_ftparser.h
+include/mysql/mysql/plugin_ftparser.h.pp
+include/mysql/mysql/plugin_group_replication.h
+include/mysql/mysql/plugin_keyring.h
+include/mysql/mysql/plugin_keyring.h.pp
+include/mysql/mysql/plugin_trace.h
+include/mysql/mysql/plugin_validate_password.h
+include/mysql/mysql/psi/mysql_file.h
+include/mysql/mysql/psi/mysql_idle.h
+include/mysql/mysql/psi/mysql_mdl.h
+include/mysql/mysql/psi/mysql_memory.h
+include/mysql/mysql/psi/mysql_ps.h
+include/mysql/mysql/psi/mysql_socket.h
+include/mysql/mysql/psi/mysql_sp.h
+include/mysql/mysql/psi/mysql_stage.h
+include/mysql/mysql/psi/mysql_statement.h
+include/mysql/mysql/psi/mysql_table.h
+include/mysql/mysql/psi/mysql_thread.h
+include/mysql/mysql/psi/mysql_transaction.h
+include/mysql/mysql/psi/psi.h
+include/mysql/mysql/psi/psi_base.h
+include/mysql/mysql/psi/psi_memory.h
+include/mysql/mysql/service_command.h
+include/mysql/mysql/service_locking.h
+include/mysql/mysql/service_my_plugin_log.h
+include/mysql/mysql/service_my_snprintf.h
+include/mysql/mysql/service_mysql_alloc.h
+include/mysql/mysql/service_mysql_keyring.h
+include/mysql/mysql/service_mysql_password_policy.h
+include/mysql/mysql/service_mysql_string.h
+include/mysql/mysql/service_parser.h
+include/mysql/mysql/service_rpl_transaction_ctx.h
+include/mysql/mysql/service_rpl_transaction_write_set.h
+include/mysql/mysql/service_rules_table.h
+include/mysql/mysql/service_security_context.h
+include/mysql/mysql/service_srv_session.h
+include/mysql/mysql/service_srv_session_info.h
+include/mysql/mysql/service_ssl_wrapper.h
+include/mysql/mysql/service_thd_alloc.h
+include/mysql/mysql/service_thd_engine_lock.h
+include/mysql/mysql/service_thd_wait.h
+include/mysql/mysql/service_thread_scheduler.h
+include/mysql/mysql/services.h
+include/mysql/mysql/services.h.pp
+include/mysql/mysql/thread_pool_priv.h
+include/mysql/mysql/thread_type.h
+include/mysql/mysql_com.h
+include/mysql/mysql_com_server.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_ftparser.h
+include/mysql/plugin_group_replication.h
+include/mysql/plugin_keyring.h
+include/mysql/plugin_validate_password.h
+include/mysql/sql_common.h
+include/mysql/sql_state.h
+include/mysql/sslopt-case.h
+include/mysql/sslopt-longopts.h
+include/mysql/sslopt-vars.h
+include/mysql/thr_cond.h



Home | Main Index | Thread Index | Old Index