From d2ab2f68baeb0d011bcffb00a36e2ccf7dd34cde Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 4 Feb 2020 19:16:07 +0100 Subject: [PATCH] mysql: initial import with generic cflags --- mysql/.footprint | 316 ++++++++++++++++++++++++++++++++++++++++++++++ mysql/.md5sum | 3 + mysql/.signature | 7 + mysql/Pkgfile | 42 ++++++ mysql/README | 30 +++++ mysql/my.cnf | 19 +++ mysql/mysqld | 39 ++++++ mysql/pre-install | 6 + 8 files changed, 462 insertions(+) create mode 100644 mysql/.footprint create mode 100644 mysql/.md5sum create mode 100644 mysql/.signature create mode 100644 mysql/Pkgfile create mode 100644 mysql/README create mode 100644 mysql/my.cnf create mode 100644 mysql/mysqld create mode 100644 mysql/pre-install diff --git a/mysql/.footprint b/mysql/.footprint new file mode 100644 index 0000000..4cebc74 --- /dev/null +++ b/mysql/.footprint @@ -0,0 +1,316 @@ +drwxr-xr-x root/root etc/ +-rw------- root/root etc/my.cnf +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/mysqld +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/innochecksum +-rwxr-xr-x root/root usr/bin/lz4_decompress +-rwxr-xr-x root/root usr/bin/my_print_defaults +-rwxr-xr-x root/root usr/bin/myisam_ftdump +-rwxr-xr-x root/root usr/bin/myisamchk +-rwxr-xr-x root/root usr/bin/myisamlog +-rwxr-xr-x root/root usr/bin/myisampack +-rwxr-xr-x root/root usr/bin/mysql +-rwxr-xr-x root/root usr/bin/mysql_client_test +-rwxr-xr-x root/root usr/bin/mysql_client_test_embedded +-rwxr-xr-x root/root usr/bin/mysql_config +-rwxr-xr-x root/root usr/bin/mysql_config_editor +-rwxr-xr-x root/root usr/bin/mysql_embedded +-rwxr-xr-x root/root usr/bin/mysql_install_db +-rwxr-xr-x root/root usr/bin/mysql_plugin +-rwxr-xr-x root/root usr/bin/mysql_secure_installation +-rwxr-xr-x root/root usr/bin/mysql_ssl_rsa_setup +-rwxr-xr-x root/root usr/bin/mysql_tzinfo_to_sql +-rwxr-xr-x root/root usr/bin/mysql_upgrade +-rwxr-xr-x root/root usr/bin/mysqladmin +-rwxr-xr-x root/root usr/bin/mysqlbinlog +-rwxr-xr-x root/root usr/bin/mysqlcheck +-rwxr-xr-x root/root usr/bin/mysqld_multi +-rwxr-xr-x root/root usr/bin/mysqld_safe +-rwxr-xr-x root/root usr/bin/mysqldump +-rwxr-xr-x root/root usr/bin/mysqldumpslow +-rwxr-xr-x root/root usr/bin/mysqlimport +-rwxr-xr-x root/root usr/bin/mysqlpump +-rwxr-xr-x root/root usr/bin/mysqlshow +-rwxr-xr-x root/root usr/bin/mysqlslap +-rwxr-xr-x root/root usr/bin/mysqltest +-rwxr-xr-x root/root usr/bin/mysqltest_embedded +-rwxr-xr-x root/root usr/bin/mysqlxtest +-rwxr-xr-x root/root usr/bin/perror +-rwxr-xr-x root/root usr/bin/replace +-rwxr-xr-x root/root usr/bin/resolve_stack_dump +-rwxr-xr-x root/root usr/bin/resolveip +-rwxr-xr-x root/root usr/bin/zlib_decompress +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/mysql/ +-rw-r--r-- root/root usr/include/mysql/big_endian.h +-rw-r--r-- root/root usr/include/mysql/binary_log_types.h +-rw-r--r-- root/root usr/include/mysql/byte_order_generic.h +-rw-r--r-- root/root usr/include/mysql/byte_order_generic_x86.h +-rw-r--r-- root/root usr/include/mysql/decimal.h +-rw-r--r-- root/root usr/include/mysql/errmsg.h +-rw-r--r-- root/root usr/include/mysql/keycache.h +-rw-r--r-- root/root usr/include/mysql/little_endian.h +-rw-r--r-- root/root usr/include/mysql/m_ctype.h +-rw-r--r-- root/root usr/include/mysql/m_string.h +-rw-r--r-- root/root usr/include/mysql/my_alloc.h +-rw-r--r-- root/root usr/include/mysql/my_byteorder.h +-rw-r--r-- root/root usr/include/mysql/my_command.h +-rw-r--r-- root/root usr/include/mysql/my_compiler.h +-rw-r--r-- root/root usr/include/mysql/my_config.h +-rw-r--r-- root/root usr/include/mysql/my_dbug.h +-rw-r--r-- root/root usr/include/mysql/my_dir.h +-rw-r--r-- root/root usr/include/mysql/my_getopt.h +-rw-r--r-- root/root usr/include/mysql/my_global.h +-rw-r--r-- root/root usr/include/mysql/my_list.h +-rw-r--r-- root/root usr/include/mysql/my_sys.h +-rw-r--r-- root/root usr/include/mysql/my_thread.h +-rw-r--r-- root/root usr/include/mysql/my_thread_local.h +-rw-r--r-- root/root usr/include/mysql/my_xml.h +-rw-r--r-- root/root usr/include/mysql/mysql.h +drwxr-xr-x root/root usr/include/mysql/mysql/ +-rw-r--r-- root/root usr/include/mysql/mysql/client_authentication.h +-rw-r--r-- root/root usr/include/mysql/mysql/client_plugin.h +-rw-r--r-- root/root usr/include/mysql/mysql/client_plugin.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/com_data.h +-rw-r--r-- root/root usr/include/mysql/mysql/get_password.h +-rw-r--r-- root/root usr/include/mysql/mysql/group_replication_priv.h +-rw-r--r-- root/root usr/include/mysql/mysql/innodb_priv.h +-rw-r--r-- root/root usr/include/mysql/mysql/mysql_lex_string.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_audit.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_audit.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth_common.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_ftparser.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_ftparser.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_group_replication.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_keyring.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_keyring.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_trace.h +-rw-r--r-- root/root usr/include/mysql/mysql/plugin_validate_password.h +drwxr-xr-x root/root usr/include/mysql/mysql/psi/ +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_file.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_idle.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_mdl.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_memory.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_ps.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_socket.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_sp.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_stage.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_statement.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_table.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_thread.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_transaction.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_base.h +-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_memory.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_command.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_locking.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_my_plugin_log.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_my_snprintf.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_mysql_alloc.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_mysql_keyring.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_mysql_password_policy.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_mysql_string.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_parser.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_rpl_transaction_ctx.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_rpl_transaction_write_set.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_rules_table.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_security_context.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_srv_session.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_srv_session_info.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_ssl_wrapper.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_alloc.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_engine_lock.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_wait.h +-rw-r--r-- root/root usr/include/mysql/mysql/service_thread_scheduler.h +-rw-r--r-- root/root usr/include/mysql/mysql/services.h +-rw-r--r-- root/root usr/include/mysql/mysql/services.h.pp +-rw-r--r-- root/root usr/include/mysql/mysql/thread_pool_priv.h +-rw-r--r-- root/root usr/include/mysql/mysql/thread_type.h +-rw-r--r-- root/root usr/include/mysql/mysql_com.h +-rw-r--r-- root/root usr/include/mysql/mysql_com_server.h +-rw-r--r-- root/root usr/include/mysql/mysql_embed.h +-rw-r--r-- root/root usr/include/mysql/mysql_time.h +-rw-r--r-- root/root usr/include/mysql/mysql_version.h +-rw-r--r-- root/root usr/include/mysql/mysqld_ername.h +-rw-r--r-- root/root usr/include/mysql/mysqld_error.h +-rw-r--r-- root/root usr/include/mysql/mysqlx_ername.h +-rw-r--r-- root/root usr/include/mysql/mysqlx_error.h +-rw-r--r-- root/root usr/include/mysql/mysqlx_version.h +-rw-r--r-- root/root usr/include/mysql/plugin.h +-rw-r--r-- root/root usr/include/mysql/plugin_audit.h +-rw-r--r-- root/root usr/include/mysql/plugin_ftparser.h +-rw-r--r-- root/root usr/include/mysql/plugin_group_replication.h +-rw-r--r-- root/root usr/include/mysql/plugin_keyring.h +-rw-r--r-- root/root usr/include/mysql/plugin_validate_password.h +-rw-r--r-- root/root usr/include/mysql/sql_common.h +-rw-r--r-- root/root usr/include/mysql/sql_state.h +-rw-r--r-- root/root usr/include/mysql/sslopt-case.h +-rw-r--r-- root/root usr/include/mysql/sslopt-longopts.h +-rw-r--r-- root/root usr/include/mysql/sslopt-vars.h +-rw-r--r-- root/root usr/include/mysql/thr_cond.h +-rw-r--r-- root/root usr/include/mysql/thr_mutex.h +-rw-r--r-- root/root usr/include/mysql/thr_rwlock.h +-rw-r--r-- root/root usr/include/mysql/typelib.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libmysqlclient.a +lrwxrwxrwx root/root usr/lib/libmysqlclient.so -> libmysqlclient.so.20 +lrwxrwxrwx root/root usr/lib/libmysqlclient.so.20 -> libmysqlclient.so.20.3.16 +-rwxr-xr-x root/root usr/lib/libmysqlclient.so.20.3.16 +-rw-r--r-- root/root usr/lib/libmysqld.a +-rw-r--r-- root/root usr/lib/libmysqlservices.a +drwxr-xr-x root/root usr/lib/mysql/ +drwxr-xr-x root/root usr/lib/mysql/plugin/ +-rwxr-xr-x root/root usr/lib/mysql/plugin/adt_null.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/auth.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/auth_socket.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/auth_test_plugin.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/authentication_ldap_sasl_client.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/connection_control.so +-rw-r--r-- root/root usr/lib/mysql/plugin/daemon_example.ini +drwxr-xr-x root/root usr/lib/mysql/plugin/debug/ +-rwxr-xr-x root/root usr/lib/mysql/plugin/group_replication.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/ha_example.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/keyring_file.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/keyring_udf.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libdaemon_example.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_framework.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_services.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_services_threaded.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_session_detach.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_session_in_thd.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_session_info.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_2_sessions.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_all_col_types.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_cmds_1.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_commit.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_complex.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_errors.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_lock.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_processlist.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_replication.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_shutdown.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_sqlmode.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_stored_procedures_functions.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_sql_views_triggers.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_x_sessions_deinit.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/libtest_x_sessions_init.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/locking_service.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/mypluglib.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/mysql_no_login.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/mysqlx.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/qa_auth_client.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/qa_auth_interface.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/qa_auth_server.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/replication_observers_example_plugin.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/rewrite_example.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/rewriter.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/semisync_master.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/semisync_slave.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/test_security_context.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/test_udf_services.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/udf_example.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/validate_password.so +-rwxr-xr-x root/root usr/lib/mysql/plugin/version_token.so +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/mysqlclient.pc +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/mysqld +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/mysql.m4 +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/comp_err.1.gz +-rw-r--r-- root/root usr/share/man/man1/innochecksum.1.gz +-rw-r--r-- root/root usr/share/man/man1/lz4_decompress.1.gz +-rw-r--r-- root/root usr/share/man/man1/my_print_defaults.1.gz +-rw-r--r-- root/root usr/share/man/man1/myisam_ftdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/myisamchk.1.gz +-rw-r--r-- root/root usr/share/man/man1/myisamlog.1.gz +-rw-r--r-- root/root usr/share/man/man1/myisampack.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql.server.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_config.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_config_editor.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_install_db.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_plugin.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_secure_installation.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_ssl_rsa_setup.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_tzinfo_to_sql.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysql_upgrade.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqladmin.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlbinlog.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlcheck.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqld_multi.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqld_safe.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqldump.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqldumpslow.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlimport.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlman.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlpump.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlshow.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlslap.1.gz +-rw-r--r-- root/root usr/share/man/man1/perror.1.gz +-rw-r--r-- root/root usr/share/man/man1/replace.1.gz +-rw-r--r-- root/root usr/share/man/man1/resolve_stack_dump.1.gz +-rw-r--r-- root/root usr/share/man/man1/resolveip.1.gz +-rw-r--r-- root/root usr/share/man/man1/zlib_decompress.1.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/mysqld.8.gz +drwxr-xr-x root/root usr/share/mysql/ +drwxr-xr-x root/root usr/share/mysql/charsets/ +-rw-r--r-- root/root usr/share/mysql/charsets/Index.xml +-rw-r--r-- root/root usr/share/mysql/charsets/armscii8.xml +-rw-r--r-- root/root usr/share/mysql/charsets/ascii.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp1250.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp1251.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp1256.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp1257.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp850.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp852.xml +-rw-r--r-- root/root usr/share/mysql/charsets/cp866.xml +-rw-r--r-- root/root usr/share/mysql/charsets/dec8.xml +-rw-r--r-- root/root usr/share/mysql/charsets/geostd8.xml +-rw-r--r-- root/root usr/share/mysql/charsets/greek.xml +-rw-r--r-- root/root usr/share/mysql/charsets/hebrew.xml +-rw-r--r-- root/root usr/share/mysql/charsets/hp8.xml +-rw-r--r-- root/root usr/share/mysql/charsets/keybcs2.xml +-rw-r--r-- root/root usr/share/mysql/charsets/koi8r.xml +-rw-r--r-- root/root usr/share/mysql/charsets/koi8u.xml +-rw-r--r-- root/root usr/share/mysql/charsets/latin1.xml +-rw-r--r-- root/root usr/share/mysql/charsets/latin2.xml +-rw-r--r-- root/root usr/share/mysql/charsets/latin5.xml +-rw-r--r-- root/root usr/share/mysql/charsets/latin7.xml +-rw-r--r-- root/root usr/share/mysql/charsets/macce.xml +-rw-r--r-- root/root usr/share/mysql/charsets/macroman.xml +-rw-r--r-- root/root usr/share/mysql/charsets/swe7.xml +-rw-r--r-- root/root usr/share/mysql/dictionary.txt +drwxr-xr-x root/root usr/share/mysql/english/ +-rw-r--r-- root/root usr/share/mysql/english/errmsg.sys +-rw-r--r-- root/root usr/share/mysql/errmsg-utf8.txt +-rw-r--r-- root/root usr/share/mysql/fill_help_tables.sql +-rw-r--r-- root/root usr/share/mysql/innodb_memcached_config.sql +-rw-r--r-- root/root usr/share/mysql/install_rewriter.sql +-rw-r--r-- root/root usr/share/mysql/magic +-rwxr-xr-x root/root usr/share/mysql/mysql-log-rotate +-rwxr-xr-x root/root usr/share/mysql/mysql.server +-rw-r--r-- root/root usr/share/mysql/mysql_security_commands.sql +-rw-r--r-- root/root usr/share/mysql/mysql_sys_schema.sql +-rw-r--r-- root/root usr/share/mysql/mysql_system_tables.sql +-rw-r--r-- root/root usr/share/mysql/mysql_system_tables_data.sql +-rw-r--r-- root/root usr/share/mysql/mysql_test_data_timezone.sql +-rwxr-xr-x root/root usr/share/mysql/mysqld_multi.server +-rw-r--r-- root/root usr/share/mysql/uninstall_rewriter.sql +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwx------ mysql/mysql var/lib/mysql-files/ +drwx------ mysql/mysql var/lib/mysql/ +drwxr-xr-x root/root var/log/ +drwx------ mysql/mysql var/log/mysql/ +drwxr-xr-x root/root var/run/ +drwx------ mysql/mysql var/run/mysql/ diff --git a/mysql/.md5sum b/mysql/.md5sum new file mode 100644 index 0000000..8ac3630 --- /dev/null +++ b/mysql/.md5sum @@ -0,0 +1,3 @@ +573a72c81f8a00c0d909de7115c1f4b8 my.cnf +2eb9ce3870ef7a6b1cf1255d3a613cde mysql-boost-5.7.27.tar.gz +b3d2c9f93c17b09483a021ffc6780f4e mysqld diff --git a/mysql/.signature b/mysql/.signature new file mode 100644 index 0000000..81d2112 --- /dev/null +++ b/mysql/.signature @@ -0,0 +1,7 @@ +untrusted comment: verify with /etc/ports/opt-arm64.pub +RWRitF9a2DJqMb2Ik1stJaWYx2Noldyjb5cs8l7WQMzL3sJitmimZKJSrBZAkopTybje3gWI++X1Jaxrc+c/meuLcb9mvuQaCgY= +SHA256 (Pkgfile) = 1e05ebe021f6b704bb2f11b87954a8e2b011f018b4fee779a7e2d5c4b7b6aee1 +SHA256 (.footprint) = dda4189cf9babd9a9d0e3a7c6a48da9f58bf9d791904be7ad9a4f12da1534130 +SHA256 (mysql-boost-5.7.29.tar.gz) = 00f514124de2bad1ba7b380cbbd46e316cae7fc7bc3a5621456cabf352f27978 +SHA256 (my.cnf) = 51d46fe239e1e18a608e64ea1242fda946c2ea5a9ecea4507d89734e263ab828 +SHA256 (mysqld) = 35c913fde78b6e51e35bd57a01419209258e80677fdd6a1eaa40388848167e33 diff --git a/mysql/Pkgfile b/mysql/Pkgfile new file mode 100644 index 0000000..81b53ba --- /dev/null +++ b/mysql/Pkgfile @@ -0,0 +1,42 @@ +# Description: SQL database server +# URL: http://www.mysql.com +# Maintainer: Juergen Daubert, jue at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: ncurses zlib openssl cmake libaio + +name=mysql +version=5.7.29 +release=1 +source=(https://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.7/$name-boost-$version.tar.gz \ + my.cnf mysqld) + +build () { + cd $name-$version + + cmake . \ + -DBUILD_CONFIG=mysql_release \ + -DINSTALL_LAYOUT=RPM \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DINSTALL_LIBDIR=lib \ + -DINSTALL_PLUGINDIR=lib/mysql/plugin \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_SECURE_PRIVDIR=/var/lib/mysql-files \ + -DWITH_BOOST=./boost \ + -DWITH_LIBWRAP=0 \ + -DWITH_SSL=system \ + -DWITH_ZLIB=system \ + -DCMAKE_C_FLAGS="-O2 -pipe" \ + -DCMAKE_CXX_FLAGS="-O2 -pipe" + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/share/{mysql-test,info} + rm $PKG/usr/share/mysql/charsets/README + find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \; + + install -d -m 700 -o mysql -g mysql $PKG/var/{{lib,log,run}/mysql,lib/mysql-files} + install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld + install -m 600 $SRC/my.cnf $PKG/etc +} diff --git a/mysql/README b/mysql/README new file mode 100644 index 0000000..7c9a8db --- /dev/null +++ b/mysql/README @@ -0,0 +1,30 @@ +README for mysql 5.7.xx + +REQUIREMENTS + +PRE-INSTALL + Run the included pre-install script to create a new + user/group mysql. + +POST-INSTALL +1. run 'mysql_install_db' to build the system database + in /var/lib/mysql +2. run 'mysql_upgrade' to add new privileges and features + to the MySQL privilege tables if you have databases + created with older versions of mysql +3. Set a password for the mysql root user: + mysqladmin -u root password + +PRECAUTION +1. With the default configuration networking support for + mysql is disabled, meaning the mysql daemon is accessable + from localhost only. + To add networking support comment out the 'skip-networking' + line in /etc/my.cnf. +2. If you upgrade from mysql 5.6.x you must recompile the + other packages on your system that are linked against the + mysql client libraries (libmysqlclient). + To obtain such a list of packages for your system, you + may use the command 'prt-get dependent mysql' or use yapo + to list the packages. + diff --git a/mysql/my.cnf b/mysql/my.cnf new file mode 100644 index 0000000..f4fd058 --- /dev/null +++ b/mysql/my.cnf @@ -0,0 +1,19 @@ +# +# /etc/my.cnf +# + +[mysqld] +datadir = /var/lib/mysql +user = mysql +pid-file = /var/run/mysql/mysqld.pid +socket = /tmp/mysql.sock +port = 3306 +#general_log = 1 +#general_log_file = /var/log/mysql/general.log +skip-networking + +[client] +socket = /tmp/mysql.sock +port = 3306 + +# End of file diff --git a/mysql/mysqld b/mysql/mysqld new file mode 100644 index 0000000..3023cc0 --- /dev/null +++ b/mysql/mysqld @@ -0,0 +1,39 @@ +#!/bin/sh +# +# /etc/rc.d/mysqld: start/stop mysqld daemon +# + +SSD=/sbin/start-stop-daemon +PROG=/usr/sbin/mysqld +MYSQL_CFG=/etc/my.cnf +NAME=mysqld +PID=/var/run/mysql/mysqld.pid +LOG=/var/log/mysqld.log +OPTS="--pid-file=$PID" + +case $1 in +start) + $SSD --start -bC --pidfile $PID --exec $PROG -- $OPTS >> $LOG 2>&1 + ;; +stop) + $SSD --stop --remove-pidfile --retry 10 --name=$NAME --pidfile $PID + ;; +restart) + $0 stop + $0 start + ;; +status) + $SSD --status --name=$NAME --pidfile $PID + case $? in + 0) echo "$PROG is running with pid $(cat $PID)" ;; + 1) echo "$PROG is not running but the pid file $PID exists" ;; + 3) echo "$PROG is not running" ;; + 4) echo "Unable to determine the program status" ;; + esac + ;; +*) + echo "usage: $0 [start|stop|restart|status]" + ;; +esac + +# End of file diff --git a/mysql/pre-install b/mysql/pre-install new file mode 100644 index 0000000..f856e40 --- /dev/null +++ b/mysql/pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +getent group mysql || /usr/sbin/groupadd -g 46 mysql +getent passwd mysql || /usr/sbin/useradd -g mysql -u 46 -d /var/lib/mysql -s /bin/false mysql +/usr/bin/passwd -l mysql + -- 2.26.2