pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql51-server Importing mysql51-server 5.1....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81d5e34b7092
branches:  trunk
changeset: 572662:81d5e34b7092
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Mar 04 16:28:57 2010 +0000

description:
Importing mysql51-server 5.1.44, server part of MySQL 5.1.44 including
embedded server (by PKG_OPTION).

For release MySQL 5.1 specific information please refer:

        http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html


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 server programs and libraries including
embedded server (by PKG_OPTION).

diffstat:

 databases/mysql51-server/DEINSTALL        |    16 +
 databases/mysql51-server/DESCR            |    17 +
 databases/mysql51-server/MESSAGE          |    21 +
 databases/mysql51-server/Makefile         |   100 +
 databases/mysql51-server/PLIST            |  3741 +++++++++++++++++++++++++++++
 databases/mysql51-server/distinfo         |    26 +
 databases/mysql51-server/files/mysqld.sh  |   112 +
 databases/mysql51-server/patches/patch-aa |    13 +
 databases/mysql51-server/patches/patch-ab |    23 +
 databases/mysql51-server/patches/patch-ac |    13 +
 databases/mysql51-server/patches/patch-ad |    22 +
 databases/mysql51-server/patches/patch-ae |    13 +
 databases/mysql51-server/patches/patch-af |    15 +
 databases/mysql51-server/patches/patch-ag |    20 +
 databases/mysql51-server/patches/patch-ah |    26 +
 databases/mysql51-server/patches/patch-ai |    29 +
 databases/mysql51-server/patches/patch-aj |    13 +
 databases/mysql51-server/patches/patch-ak |    13 +
 databases/mysql51-server/patches/patch-al |    13 +
 databases/mysql51-server/patches/patch-am |    13 +
 databases/mysql51-server/patches/patch-an |    33 +
 databases/mysql51-server/patches/patch-ao |    13 +
 databases/mysql51-server/patches/patch-ap |    13 +
 databases/mysql51-server/patches/patch-aq |    13 +
 databases/mysql51-server/patches/patch-ar |    32 +
 databases/mysql51-server/patches/patch-as |    22 +
 databases/mysql51-server/patches/patch-aw |    13 +
 databases/mysql51-server/patches/patch-ax |    13 +
 28 files changed, 4411 insertions(+), 0 deletions(-)

diffs (truncated from 4523 to 300 lines):

diff -r 8d05489e5dfd -r 81d5e34b7092 databases/mysql51-server/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql51-server/DEINSTALL        Thu Mar 04 16:28:57 2010 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2010/03/04 16:28:57 taca Exp $
+
+case ${STAGE} in
+POST-DEINSTALL)
+       if [ -d @MYSQL_DATADIR@ ]; then
+               ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, and you don't
+wish to preserve your existing databases, then you may remove the
+following directory:
+
+       @MYSQL_DATADIR@
+===========================================================================
+EOF
+       fi
+esac
diff -r 8d05489e5dfd -r 81d5e34b7092 databases/mysql51-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql51-server/DESCR    Thu Mar 04 16:28:57 2010 +0000
@@ -0,0 +1,17 @@
+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 server programs and libraries including
+embedded server (by PKG_OPTION).
+
diff -r 8d05489e5dfd -r 81d5e34b7092 databases/mysql51-server/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql51-server/MESSAGE  Thu Mar 04 16:28:57 2010 +0000
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/03/04 16:28:57 taca Exp $
+
+After the tables are set up and the MySQL server is running,
+please remember to set a password for the MySQL root user!
+This is done by running both:
+
+  ${PREFIX}/bin/mysqladmin -u root -p password 'new-password'
+  ${PREFIX}/bin/mysqladmin -h `hostname` -u root -p password 'new-password'
+
+The "Enter password:" prompt is asking for the existing password.
+As there is no existing password, just press the Return key.
+
+There is a script distributed with MySQL that can help you lock down
+an installation.  This script has been installed to
+
+  ${PREFIX}/bin/mysql_secure_installation.
+
+Please see the manual and the MySQL web site for more instructions.
+
+===========================================================================
diff -r 8d05489e5dfd -r 81d5e34b7092 databases/mysql51-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql51-server/Makefile Thu Mar 04 16:28:57 2010 +0000
@@ -0,0 +1,100 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/04 16:28:57 taca Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-server-/}
+SVR4_PKGNAME=          mysqs
+COMMENT=               MySQL 5, a free SQL database (server)
+
+CONFLICTS=             {mysql-server-[0-9]*,mysql3-server-[0-9]*}
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../databases/mysql51-client/Makefile.common"
+
+MAKE_JOBS_SAFE=                no
+
+CONFIGURE_ARGS+=       --with-libwrap
+CONFIGURE_ARGS+=       --with-raid
+CONFIGURE_ARGS+=       --without-berkeley-db
+CONFIGURE_ARGS+=       --without-mysqlfs
+CONFIGURE_ARGS+=       --with-mysqld-user=${MYSQL_USER}
+
+.if !empty(PKG_OPTIONS:Membedded-server)
+CONFIGURE_ARGS+=       --with-embedded-privilege-control
+CONFIGURE_ARGS+=       --with-embedded-server
+PLIST.embedded=                yes
+.endif
+
+PLIST_VARS+=           embedded
+
+PTHREAD_OPTS+=         require
+CONFIGURE_ARGS+=       --with-pthreads
+
+PKG_GROUPS=            ${MYSQL_GROUP}
+PKG_USERS=             ${MYSQL_USER}:${MYSQL_GROUP}
+
+PKG_GECOS.${MYSQL_USER}=       MySQL database administrator
+PKG_HOME.${MYSQL_USER}=                ${MYSQL_DATADIR}
+PKG_SHELL.${MYSQL_USER}=       ${SH}
+
+RCD_SCRIPTS=           mysqld
+
+FILES_SUBST+=          HOSTNAME_CMD=${HOSTNAME_CMD:Q} \
+                       MYSQL_DATADIR=${MYSQL_DATADIR} \
+                       MYSQL_USER=${MYSQL_USER} MYSQL_GROUP=${MYSQL_GROUP}
+MESSAGE_SUBST+=                MYSQL_DATADIR=${MYSQL_DATADIR} \
+                       MYSQL_USER=${MYSQL_USER} MYSQL_GROUP=${MYSQL_GROUP}
+BUILD_DEFS+=           MYSQL_DATADIR
+BUILD_DIRS=            . man
+
+REPLACE_PERL+=         mysql-test/lib/My/SafeProcess/safe_process.pl \
+                       mysql-test/lib/v1/mysql-test-run.pl \
+                       mysql-test/mysql-stress-test.pl \
+                       mysql-test/mysql-test-run.pl \
+                       mysql-test/suite/funcs_1/lib/DataGen_local.pl \
+                       mysql-test/suite/funcs_1/lib/DataGen_modify.pl \
+                       mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl \
+                       mysql-test/mtr \
+                       scripts/mysqld_multi.sh
+
+INSTALLATION_DIRS=     bin
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CFLAGS+=               -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
+CXXFLAGS+=             -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
+.endif
+
+.include "../../databases/mysql51-client/buildlink3.mk"
+.include "../../security/tcp_wrappers/buildlink3.mk"
+
+# We only need readline to placate the configure script.  None of the
+# binaries are actually linked against -lreadline, so make this only
+# a build-time dependency.
+#
+BUILDLINK_DEPMETHOD.readline=  build
+.include "../../devel/readline/buildlink3.mk"
+
+post-configure:
+       cd ${WRKSRC}/include && cp -f config.h my_config.h
+       ${RM} -f ${WRKSRC}/mysql-test/mysql-test-run
+
+post-build:
+       cd ${WRKSRC}/scripts && \
+       ${BUILD_MAKE_CMD} mysqld_safe mysql_install_db
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysqld_safe \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysql_install_db \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/support-files/mysql.server \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/man/mysqld_multi.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+#      ${INSTALL_MAN} ${WRKSRC}/man/mysqld_safe.1 \
+#              ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysql_secure_installation.sh \
+               ${DESTDIR}${PREFIX}/bin/mysql_secure_installation
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8d05489e5dfd -r 81d5e34b7092 databases/mysql51-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql51-server/PLIST    Thu Mar 04 16:28:57 2010 +0000
@@ -0,0 +1,3741 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/04 16:28:58 taca Exp $
+bin/innochecksum
+bin/my_print_defaults
+bin/myisam_ftdump
+bin/myisamchk
+bin/myisamlog
+bin/myisampack
+bin/mysql.server
+bin/mysql_client_test
+${PLIST.embedded}bin/mysql_client_test_embedded
+bin/mysql_install_db
+bin/mysql_secure_installation
+bin/mysql_tzinfo_to_sql
+bin/mysql_waitpid
+bin/mysqld_multi
+bin/mysqld_safe
+${PLIST.embedded}bin/mysqltest_embedded
+bin/perror
+bin/replace
+bin/resolve_stack_dump
+bin/resolveip
+lib/mysql/libdbug.a
+lib/mysql/libheap.a
+lib/mysql/libmyisam.a
+lib/mysql/libmyisammrg.a
+${PLIST.embedded}lib/mysql/libmysqld.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libvio.a
+lib/mysql/plugin/ha_archive.la
+lib/mysql/plugin/ha_blackhole.la
+lib/mysql/plugin/ha_example.la
+lib/mysql/plugin/ha_federated.la
+lib/mysql/plugin/ha_innodb.la
+lib/mysql/plugin/ha_innodb_plugin.la
+libexec/mysqld
+man/man1/mysqld_multi.1
+man/man8/mysqld.8
+man/man8/mysqlmanager.8
+mysql-test/lib/My/SafeProcess/my_safe_process
+share/aclocal/mysql.m4
+share/examples/rc.d/mysqld
+share/mysql-test/collections/README
+share/mysql-test/collections/README.experimental
+share/mysql-test/collections/default.daily
+share/mysql-test/collections/default.experimental
+share/mysql-test/collections/default.push
+share/mysql-test/collections/default.weekly
+share/mysql-test/extra/binlog_tests/binlog.test
+share/mysql-test/extra/binlog_tests/binlog_failure_mixing_engines.test
+share/mysql-test/extra/binlog_tests/binlog_insert_delayed.test
+share/mysql-test/extra/binlog_tests/binlog_truncate.test
+share/mysql-test/extra/binlog_tests/blackhole.test
+share/mysql-test/extra/binlog_tests/ctype_cp932.test
+share/mysql-test/extra/binlog_tests/ctype_cp932_binlog.test
+share/mysql-test/extra/binlog_tests/ctype_ucs_binlog.test
+share/mysql-test/extra/binlog_tests/database.test
+share/mysql-test/extra/binlog_tests/drop_temp_table.test
+share/mysql-test/extra/binlog_tests/innodb_stat.test
+share/mysql-test/extra/binlog_tests/insert_select-binlog.test
+share/mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test
+share/mysql-test/extra/binlog_tests/mix_innodb_myisam_side_effects.test
+share/mysql-test/extra/rpl_tests/rpl_EE_err.test
+share/mysql-test/extra/rpl_tests/rpl_auto_increment.test
+share/mysql-test/extra/rpl_tests/rpl_auto_increment_insert_view.test
+share/mysql-test/extra/rpl_tests/rpl_auto_increment_invoke_trigger.test
+share/mysql-test/extra/rpl_tests/rpl_autoinc_func_invokes_trigger.test
+share/mysql-test/extra/rpl_tests/rpl_blackhole.test
+share/mysql-test/extra/rpl_tests/rpl_charset.test
+share/mysql-test/extra/rpl_tests/rpl_commit_after_flush.test
+share/mysql-test/extra/rpl_tests/rpl_conflicts.test
+share/mysql-test/extra/rpl_tests/rpl_ddl.test
+share/mysql-test/extra/rpl_tests/rpl_deadlock.test
+share/mysql-test/extra/rpl_tests/rpl_delete_no_where.test
+share/mysql-test/extra/rpl_tests/rpl_extraMaster_Col.test
+share/mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test
+share/mysql-test/extra/rpl_tests/rpl_failed_optimize.test
+share/mysql-test/extra/rpl_tests/rpl_flsh_tbls.test
+share/mysql-test/extra/rpl_tests/rpl_foreign_key.test
+share/mysql-test/extra/rpl_tests/rpl_get_master_version_and_clock.test
+share/mysql-test/extra/rpl_tests/rpl_insert_delayed.test
+share/mysql-test/extra/rpl_tests/rpl_insert_id.test
+share/mysql-test/extra/rpl_tests/rpl_insert_id_pk.test
+share/mysql-test/extra/rpl_tests/rpl_insert_ignore.test
+share/mysql-test/extra/rpl_tests/rpl_loaddata.test
+share/mysql-test/extra/rpl_tests/rpl_loadfile.test
+share/mysql-test/extra/rpl_tests/rpl_log.test
+share/mysql-test/extra/rpl_tests/rpl_max_relay_size.test
+share/mysql-test/extra/rpl_tests/rpl_mixing_engines.inc
+share/mysql-test/extra/rpl_tests/rpl_mixing_engines.test
+share/mysql-test/extra/rpl_tests/rpl_multi_query.test
+share/mysql-test/extra/rpl_tests/rpl_multi_update.test
+share/mysql-test/extra/rpl_tests/rpl_multi_update2.test
+share/mysql-test/extra/rpl_tests/rpl_multi_update3.test
+share/mysql-test/extra/rpl_tests/rpl_ndb_2multi_basic.test
+share/mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test
+share/mysql-test/extra/rpl_tests/rpl_ndb_apply_status.test
+share/mysql-test/extra/rpl_tests/rpl_not_null.test
+share/mysql-test/extra/rpl_tests/rpl_partition.test
+share/mysql-test/extra/rpl_tests/rpl_relayrotate.test
+share/mysql-test/extra/rpl_tests/rpl_reset_slave.test
+share/mysql-test/extra/rpl_tests/rpl_row_001.test
+share/mysql-test/extra/rpl_tests/rpl_row_UUID.test
+share/mysql-test/extra/rpl_tests/rpl_row_basic.test
+share/mysql-test/extra/rpl_tests/rpl_row_blob.test
+share/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test
+share/mysql-test/extra/rpl_tests/rpl_row_func003.test
+share/mysql-test/extra/rpl_tests/rpl_row_sp002.test
+share/mysql-test/extra/rpl_tests/rpl_row_sp003.test
+share/mysql-test/extra/rpl_tests/rpl_row_sp006.test
+share/mysql-test/extra/rpl_tests/rpl_row_sp007.test
+share/mysql-test/extra/rpl_tests/rpl_row_tabledefs.test
+share/mysql-test/extra/rpl_tests/rpl_set_null.test
+share/mysql-test/extra/rpl_tests/rpl_stm_000001.test
+share/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test
+share/mysql-test/extra/rpl_tests/rpl_sv_relay_space.test
+share/mysql-test/extra/rpl_tests/rpl_tmp_table_and_DDL.test
+share/mysql-test/extra/rpl_tests/rpl_trig004.test
+share/mysql-test/extra/rpl_tests/rpl_truncate.test
+share/mysql-test/extra/rpl_tests/rpl_truncate_helper.test
+share/mysql-test/include/add_anonymous_users.inc
+share/mysql-test/include/analyze-sync_with_master.test
+share/mysql-test/include/analyze-timeout.test
+share/mysql-test/include/big_test.inc
+share/mysql-test/include/binlog_inject_error.inc
+share/mysql-test/include/check-testcase.test



Home | Main Index | Thread Index | Old Index