pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql5-server Initial import of mysql5-serve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/701c2d6423fd
branches:  trunk
changeset: 501883:701c2d6423fd
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Oct 31 09:22:26 2005 +0000

description:
Initial import of mysql5-server-5.0.15.

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.

diffstat:

 databases/mysql5-server/DEINSTALL        |    16 +
 databases/mysql5-server/DESCR            |    15 +
 databases/mysql5-server/MESSAGE          |    33 +
 databases/mysql5-server/Makefile         |    58 +
 databases/mysql5-server/PLIST            |  1195 ++++++++++++++++++++++++++++++
 databases/mysql5-server/distinfo         |    17 +
 databases/mysql5-server/files/mysqld.sh  |   103 ++
 databases/mysql5-server/patches/patch-aa |    19 +
 databases/mysql5-server/patches/patch-ab |    32 +
 databases/mysql5-server/patches/patch-ac |    13 +
 databases/mysql5-server/patches/patch-ad |    22 +
 databases/mysql5-server/patches/patch-ae |    13 +
 databases/mysql5-server/patches/patch-af |    33 +
 databases/mysql5-server/patches/patch-ag |    21 +
 databases/mysql5-server/patches/patch-ah |    21 +
 databases/mysql5-server/patches/patch-ai |    30 +
 databases/mysql5-server/patches/patch-aj |   103 ++
 databases/mysql5-server/patches/patch-ak |    20 +
 databases/mysql5-server/patches/patch-al |    13 +
 19 files changed, 1777 insertions(+), 0 deletions(-)

diffs (truncated from 1853 to 300 lines):

diff -r be73c687d661 -r 701c2d6423fd databases/mysql5-server/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-server/DEINSTALL Mon Oct 31 09:22:26 2005 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2005/10/31 09:22:26 xtraeme 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 be73c687d661 -r 701c2d6423fd databases/mysql5-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-server/DESCR     Mon Oct 31 09:22:26 2005 +0000
@@ -0,0 +1,15 @@
+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.
diff -r be73c687d661 -r 701c2d6423fd databases/mysql5-server/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-server/MESSAGE   Mon Oct 31 09:22:26 2005 +0000
@@ -0,0 +1,33 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $
+
+You can start the MySQL server doing the following steps:
+
+$ echo "mysqld=yes" >> /etc/rc.conf # NetBSD or a system with rc.d
+
+If you are using PKG_RCD_SCRIPTS=YES, try the following:
+
+$ ${RCD_SCRIPTS_DIR}/mysqld start
+
+Otherwise try:
+
+$ ${LOCALBASE}/${RCD_SCRIPTS_EXAMPLEDIR}/mysqld start
+
+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 be73c687d661 -r 701c2d6423fd databases/mysql5-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-server/Makefile  Mon Oct 31 09:22:26 2005 +0000
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-server-/}
+#PKGREVISION=          1
+SVR4_PKGNAME=          mysqs
+COMMENT=               MySQL 5, a free SQL database (server)
+
+CONFLICTS=             {mysql-server-[0-9]*,mysql3-server-[0-9]*}
+
+.include "../mysql5-client/Makefile.common"
+
+CONFIGURE_ARGS+=       --with-libwrap
+CONFIGURE_ARGS+=       --with-raid
+CONFIGURE_ARGS+=       --without-berkeley-db
+CONFIGURE_ARGS+=       --without-mysqlfs
+CONFIGURE_ARGS+=       --with-mysqld-user=${MYSQL_USER}
+
+PTHREAD_OPTS+=         require
+CONFIGURE_ARGS+=       --with-pthreads
+
+USE_PKGINSTALL=                YES
+DEINSTALL_EXTRA_TMPL=  ${.CURDIR}/DEINSTALL
+
+PKG_USERS=             ${MYSQL_USER}:${MYSQL_GROUP}::MySQL\ database\ administrator:${MYSQL_DATADIR}:${SH}
+PKG_GROUPS=            ${MYSQL_GROUP}
+RCD_SCRIPTS=           mysqld
+
+FILES_SUBST+=          HOSTNAME_CMD=${HOSTNAME_CMD} \
+                       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=            ${WRKSRC} ${WRKSRC}/man
+
+.include "../../databases/mysql5-client/buildlink3.mk"
+BUILDLINK_DEPMETHOD.readline=build
+.include "../../devel/readline/buildlink3.mk"
+.include "../../security/tcp_wrappers/buildlink3.mk"
+
+post-configure:
+       cd ${WRKSRC} && ${CP} -f config.h include/my_config.h
+
+post-build:
+       cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}   \
+               ${MAKE_FLAGS} mysqld_safe mysql_install_db
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysqld_safe ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysql_install_db ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/support-files/mysql.server ${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/man/mysqld.1 ${PREFIX}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/man/mysqld_multi.1 ${PREFIX}/man/man1
+       #${INSTALL_MAN} ${WRKSRC}/man/mysqld_safe.1 ${PREFIX}/man/man1
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/mysql_secure_installation.sh \
+               ${PREFIX}/bin/mysql_secure_installation
+
+.include "../../mk/bsd.pkg.mk"
diff -r be73c687d661 -r 701c2d6423fd databases/mysql5-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-server/PLIST     Mon Oct 31 09:22:26 2005 +0000
@@ -0,0 +1,1195 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $
+bin/comp_err
+bin/innochecksum
+bin/my_print_defaults
+bin/myisam_ftdump
+bin/myisamchk
+bin/myisamlog
+bin/myisampack
+bin/mysql.server
+bin/mysql_client_test
+bin/mysql_install_db
+bin/mysql_secure_installation
+bin/mysql_tzinfo_to_sql
+bin/mysql_waitpid
+bin/mysqld_safe
+bin/perror
+bin/replace
+bin/resolve_stack_dump
+bin/resolveip
+include/mysql/mysqld_ername.h
+include/mysql/mysqld_error.h
+include/mysql/sql_state.h
+lib/mysql/libdbug.a
+lib/mysql/libheap.a
+lib/mysql/libmyisam.a
+lib/mysql/libmyisammrg.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libvio.a
+libexec/mysqld
+man/man1/mysqld.1
+man/man1/mysqld_multi.1
+share/examples/rc.d/mysqld
+share/mysql-test/README
+share/mysql-test/cacert.pem
+share/mysql-test/client-cert.pem
+share/mysql-test/client-key.pem
+share/mysql-test/include/big_test.inc
+share/mysql-test/include/check_var_limit.inc
+share/mysql-test/include/ctype_common.inc
+share/mysql-test/include/ctype_filesort.inc
+share/mysql-test/include/ctype_innodb_like.inc
+share/mysql-test/include/ctype_like_escape.inc
+share/mysql-test/include/endspace.inc
+share/mysql-test/include/federated.inc
+share/mysql-test/include/federated_cleanup.inc
+share/mysql-test/include/have_archive.inc
+share/mysql-test/include/have_bdb.inc
+share/mysql-test/include/have_big5.inc
+share/mysql-test/include/have_blackhole.inc
+share/mysql-test/include/have_compress.inc
+share/mysql-test/include/have_cp1250_ch.inc
+share/mysql-test/include/have_cp932.inc
+share/mysql-test/include/have_crypt.inc
+share/mysql-test/include/have_csv.inc
+share/mysql-test/include/have_debug.inc
+share/mysql-test/include/have_eucjpms.inc
+share/mysql-test/include/have_exampledb.inc
+share/mysql-test/include/have_federated_db.inc
+share/mysql-test/include/have_gbk.inc
+share/mysql-test/include/have_geometry.inc
+share/mysql-test/include/have_innodb.inc
+share/mysql-test/include/have_lowercase0.inc
+share/mysql-test/include/have_multi_ndb.inc
+share/mysql-test/include/have_ndb.inc
+share/mysql-test/include/have_openssl.inc
+share/mysql-test/include/have_openssl_1.inc
+share/mysql-test/include/have_outfile.inc
+share/mysql-test/include/have_query_cache.inc
+share/mysql-test/include/have_sjis.inc
+share/mysql-test/include/have_tis620.inc
+share/mysql-test/include/have_ucs2.inc
+share/mysql-test/include/have_ujis.inc
+share/mysql-test/include/im_check_os.inc
+share/mysql-test/include/master-slave.inc
+share/mysql-test/include/mysqltest-x.inc
+share/mysql-test/include/mysqltest_while.inc
+share/mysql-test/include/ndb_default_cluster.inc
+share/mysql-test/include/not_embedded.inc
+share/mysql-test/include/not_openssl.inc
+share/mysql-test/include/not_windows.inc
+share/mysql-test/include/ps_conv.inc
+share/mysql-test/include/ps_create.inc
+share/mysql-test/include/ps_modify.inc
+share/mysql-test/include/ps_modify1.inc
+share/mysql-test/include/ps_query.inc
+share/mysql-test/include/ps_renew.inc
+share/mysql-test/include/rpl_stmt_seq.inc
+share/mysql-test/include/show_msg.inc
+share/mysql-test/include/show_msg80.inc
+share/mysql-test/include/system_db_struct.inc
+share/mysql-test/include/test_outfile.inc
+share/mysql-test/include/testdb_only.inc
+share/mysql-test/include/varchar.inc
+share/mysql-test/include/windows.inc
+share/mysql-test/install_test_db
+share/mysql-test/lib/init_db.sql
+share/mysql-test/lib/mtr_cases.pl
+share/mysql-test/lib/mtr_diff.pl
+share/mysql-test/lib/mtr_gcov.pl
+share/mysql-test/lib/mtr_gprof.pl
+share/mysql-test/lib/mtr_io.pl
+share/mysql-test/lib/mtr_match.pl
+share/mysql-test/lib/mtr_misc.pl
+share/mysql-test/lib/mtr_process.pl
+share/mysql-test/lib/mtr_report.pl
+share/mysql-test/lib/mtr_timer.pl
+share/mysql-test/mysql-test-run
+share/mysql-test/r/alias.result
+share/mysql-test/r/alter_table.result
+share/mysql-test/r/analyse.result
+share/mysql-test/r/analyze.result
+share/mysql-test/r/ansi.result
+share/mysql-test/r/archive.result
+share/mysql-test/r/auto_increment.result
+share/mysql-test/r/backup.result
+share/mysql-test/r/bdb-alter-table-1.result
+share/mysql-test/r/bdb-alter-table-2.result
+share/mysql-test/r/bdb-crash.result
+share/mysql-test/r/bdb-deadlock.result
+share/mysql-test/r/bdb.result
+share/mysql-test/r/bdb_cache.result
+share/mysql-test/r/bench_count_distinct.result
+share/mysql-test/r/big_test.require
+share/mysql-test/r/bigint.result
+share/mysql-test/r/binary.result
+share/mysql-test/r/binlog.result
+share/mysql-test/r/blackhole.result
+share/mysql-test/r/bool.result
+share/mysql-test/r/bulk_replace.result
+share/mysql-test/r/case.result
+share/mysql-test/r/cast.result
+share/mysql-test/r/check.result
+share/mysql-test/r/check_var_limit.require
+share/mysql-test/r/client_xml.result
+share/mysql-test/r/comments.result
+share/mysql-test/r/compare.result
+share/mysql-test/r/connect.result
+share/mysql-test/r/consistent_snapshot.result
+share/mysql-test/r/constraints.result
+share/mysql-test/r/count_distinct.result
+share/mysql-test/r/count_distinct2.result
+share/mysql-test/r/count_distinct3.result
+share/mysql-test/r/create.result
+share/mysql-test/r/create_select_tmp.result
+share/mysql-test/r/csv.result
+share/mysql-test/r/ctype_big5.result
+share/mysql-test/r/ctype_collate.result
+share/mysql-test/r/ctype_cp1250_ch.result
+share/mysql-test/r/ctype_cp1251.result
+share/mysql-test/r/ctype_cp932.result
+share/mysql-test/r/ctype_create.result
+share/mysql-test/r/ctype_eucjpms.result
+share/mysql-test/r/ctype_gbk.result
+share/mysql-test/r/ctype_latin1.result
+share/mysql-test/r/ctype_latin1_de.result
+share/mysql-test/r/ctype_latin2.result
+share/mysql-test/r/ctype_many.result



Home | Main Index | Thread Index | Old Index