pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql4-server MySQL is a SQL (Structured Que...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30a09e463036
branches: trunk
changeset: 465080:30a09e463036
user: martti <martti%pkgsrc.org@localhost>
date: Sat Dec 20 16:00:42 2003 +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.
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/mysql4-server/DESCR | 15 +++
databases/mysql4-server/INSTALL | 10 ++
databases/mysql4-server/MESSAGE | 22 +++++
databases/mysql4-server/Makefile | 61 +++++++++++++++
databases/mysql4-server/PLIST | 126 +++++++++++++++++++++++++++++++
databases/mysql4-server/distinfo | 14 +++
databases/mysql4-server/files/mysqld.sh | 31 +++++++
databases/mysql4-server/patches/patch-aa | 18 ++++
databases/mysql4-server/patches/patch-ae | 12 ++
databases/mysql4-server/patches/patch-af | 40 +++++++++
databases/mysql4-server/patches/patch-al | 30 +++++++
databases/mysql4-server/patches/patch-am | 93 ++++++++++++++++++++++
databases/mysql4-server/patches/patch-aq | 20 ++++
databases/mysql4-server/patches/patch-ar | 13 +++
databases/mysql4-server/patches/patch-as | 21 +++++
databases/mysql4-server/patches/patch-at | 17 ++++
databases/mysql4-server/patches/patch-au | 13 +++
17 files changed, 556 insertions(+), 0 deletions(-)
diffs (truncated from 624 to 300 lines):
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/DESCR Sat Dec 20 16:00:42 2003 +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 38ae87fa562c -r 30a09e463036 databases/mysql4-server/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/INSTALL Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2003/12/20 16:00:42 martti Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ${ECHO} "-------------------------------"
+ ${ECHO} "Initializing MySQL databases..."
+ ${ECHO} "-------------------------------"
+ ${PKG_PREFIX}/bin/mysql_install_db --force
+ ;;
+esac
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/MESSAGE Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2003/12/20 16:00:42 martti Exp $
+
+The MySQL directory `${MYSQL_DATADIR}' should be owned by the
+user `${MYSQL_USER}' and group `${MYSQL_GROUP}'. This can be done with:
+ chown -R ${MYSQL_USER}:${MYSQL_GROUP} ${MYSQL_DATADIR}
+
+
+If this is a new installation, 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 Return.)
+
+There is now a script distributed with mysql that can help you lock
+down an installation. This script has been installed to
+${PREFIX}/bin/mysql_secure_installation.
+
+See the manual and the mysql web site for more instructions.
+
+===========================================================================
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/Makefile Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/20 16:00:42 martti Exp $
+
+PKGNAME= ${DISTNAME:S/-/-server-/}
+SVR4_PKGNAME= mysqs
+COMMENT= MySQL, a free SQL database (server)
+
+.include "../mysql4-client/Makefile.common"
+
+CONFIGURE_ARGS+= --with-libwrap
+CONFIGURE_ARGS+= --without-berkeley-db
+CONFIGURE_ARGS+= --without-mysqlfs
+USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
+
+INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+
+CONFLICTS= {mysql-server-[0-9]*,mysql3-server-[0-9]*}
+
+PTHREAD_OPTS= require
+
+CONFIGURE_ARGS+= --with-pthreads
+
+PKG_USERS= ${MYSQL_USER}:${MYSQL_GROUP}::MySQL\\ database\\ administrator:${MYSQL_DATADIR}:${SH}
+PKG_GROUPS= ${MYSQL_GROUP}
+RCD_SCRIPTS= mysqld
+CONFIGURE_ARGS+= --with-mysqld-user=${MYSQL_USER}
+FILES_SUBST+= MYSQL_DATADIR=${MYSQL_DATADIR}
+MESSAGE_SUBST+= MYSQL_DATADIR=${MYSQL_DATADIR} \
+ MYSQL_USER=${MYSQL_USER} MYSQL_GROUP=${MYSQL_GROUP}
+BUILD_DEFS+= MYSQL_DATADIR
+MAKE_DIRS_PERMS+= ${MYSQL_DATADIR} ${MYSQL_USER} ${MYSQL_GROUP} 0700
+
+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
+ PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+ ${CHOWN} -R ${MYSQL_USER}:${MYSQL_GROUP} ${MYSQL_DATADIR}
+
+.include "../../databases/mysql4-client/buildlink2.mk"
+.include "../../security/tcp_wrappers/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
+CFLAGS+= -DSIGNALS_DONT_BREAK_READ
+CXXFLAGS+= -DSIGNALS_DONT_BREAK_READ
+CONFIGURE_ENV+= ac_cv_func_pthread_setschedparam=no
+CONFIGURE_ENV+= ac_cv_func_pthread_attr_setschedparam=no
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/PLIST Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,126 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/20 16:00:42 martti Exp $
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/my_print_defaults
+bin/myisamchk
+bin/myisamlog
+bin/myisampack
+bin/mysql.server
+bin/mysql_install
+bin/mysql_install_db
+bin/mysql_waitpid
+bin/mysqld_safe
+bin/pack_isam
+bin/perror
+bin/replace
+bin/resolve_stack_dump
+bin/resolveip
+etc/rc.d/mysqld
+lib/mysql/libdbug.a
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmyisam.a
+lib/mysql/libmyisammrg.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libvio.a
+libexec/mysqld
+man/man1/mysqld.1
+man/man1/mysqld_multi.1
+man/man1/mysqld_safe.1
+share/mysql/charsets/Index
+share/mysql/charsets/README
+share/mysql/charsets/cp1251.conf
+share/mysql/charsets/cp1257.conf
+share/mysql/charsets/croat.conf
+share/mysql/charsets/danish.conf
+share/mysql/charsets/dec8.conf
+share/mysql/charsets/dos.conf
+share/mysql/charsets/estonia.conf
+share/mysql/charsets/german1.conf
+share/mysql/charsets/greek.conf
+share/mysql/charsets/hebrew.conf
+share/mysql/charsets/hp8.conf
+share/mysql/charsets/hungarian.conf
+share/mysql/charsets/koi8_ru.conf
+share/mysql/charsets/koi8_ukr.conf
+share/mysql/charsets/latin1.conf
+share/mysql/charsets/latin2.conf
+share/mysql/charsets/latin5.conf
+share/mysql/charsets/swe7.conf
+share/mysql/charsets/usa7.conf
+share/mysql/charsets/win1250.conf
+share/mysql/charsets/win1251.conf
+share/mysql/charsets/win1251ukr.conf
+share/mysql/czech/errmsg.sys
+share/mysql/czech/errmsg.txt
+share/mysql/danish/errmsg.sys
+share/mysql/danish/errmsg.txt
+share/mysql/dutch/errmsg.sys
+share/mysql/dutch/errmsg.txt
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/estonian/errmsg.sys
+share/mysql/estonian/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/german/errmsg.sys
+share/mysql/german/errmsg.txt
+share/mysql/greek/errmsg.sys
+share/mysql/greek/errmsg.txt
+share/mysql/hungarian/errmsg.sys
+share/mysql/hungarian/errmsg.txt
+share/mysql/italian/errmsg.sys
+share/mysql/italian/errmsg.txt
+share/mysql/japanese/errmsg.sys
+share/mysql/japanese/errmsg.txt
+share/mysql/korean/errmsg.sys
+share/mysql/korean/errmsg.txt
+share/mysql/mi_test_all
+share/mysql/mi_test_all.res
+share/mysql/mysql.server
+share/mysql/norwegian-ny/errmsg.sys
+share/mysql/norwegian-ny/errmsg.txt
+share/mysql/norwegian/errmsg.sys
+share/mysql/norwegian/errmsg.txt
+share/mysql/polish/errmsg.sys
+share/mysql/polish/errmsg.txt
+share/mysql/portuguese/errmsg.sys
+share/mysql/portuguese/errmsg.txt
+share/mysql/romanian/errmsg.sys
+share/mysql/romanian/errmsg.txt
+share/mysql/russian/errmsg.sys
+share/mysql/russian/errmsg.txt
+share/mysql/slovak/errmsg.sys
+share/mysql/slovak/errmsg.txt
+share/mysql/spanish/errmsg.sys
+share/mysql/spanish/errmsg.txt
+share/mysql/swedish/errmsg.sys
+share/mysql/swedish/errmsg.txt
+share/mysql/ukrainian/errmsg.sys
+share/mysql/ukrainian/errmsg.txt
+@dirrm share/mysql/ukrainian
+@dirrm share/mysql/swedish
+@dirrm share/mysql/spanish
+@dirrm share/mysql/slovak
+@dirrm share/mysql/russian
+@dirrm share/mysql/romanian
+@dirrm share/mysql/portuguese
+@dirrm share/mysql/polish
+@dirrm share/mysql/norwegian-ny
+@dirrm share/mysql/norwegian
+@dirrm share/mysql/korean
+@dirrm share/mysql/japanese
+@dirrm share/mysql/italian
+@dirrm share/mysql/hungarian
+@dirrm share/mysql/greek
+@dirrm share/mysql/german
+@dirrm share/mysql/french
+@dirrm share/mysql/estonian
+@dirrm share/mysql/english
+@dirrm share/mysql/dutch
+@dirrm share/mysql/danish
+@dirrm share/mysql/czech
+@dirrm share/mysql/charsets
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/distinfo Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/20 16:00:42 martti Exp $
+
+SHA1 (mysql-4.0.17.tar.gz) = b2588d2ccc9d2683e874e7c5cb4d9c55c2196b9e
+Size (mysql-4.0.17.tar.gz) = 12959051 bytes
+SHA1 (patch-aa) = fac3a4b96d32c4022d459b042c1f40b393a2719f
+SHA1 (patch-ae) = d5dcade3dea37c2f9be12bbddf6091ddb57344ac
+SHA1 (patch-af) = 87b5682c33ef2a05a0958ccacba7038273f66bca
+SHA1 (patch-al) = 725a3a6e06d39b26efb706bebbe3ff95da82be96
+SHA1 (patch-am) = 822bad2bcfd94e0277c28ff31a84b6af770a0806
+SHA1 (patch-aq) = 9b3612a95f4409dc062951fbc2636df63d7b7998
+SHA1 (patch-ar) = dfb126a4cca3bb6fd06608222277ed8773b3d34d
+SHA1 (patch-as) = 3e2266ce1942715a21ae1e686b162c198811fb49
+SHA1 (patch-at) = 459e33b9e06f3ffc78d5dfc7e43068eb10e21b0d
+SHA1 (patch-au) = 9183bfa3a6f5b4a9553a6de83448fb684d514a91
diff -r 38ae87fa562c -r 30a09e463036 databases/mysql4-server/files/mysqld.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-server/files/mysqld.sh Sat Dec 20 16:00:42 2003 +0000
@@ -0,0 +1,31 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: mysqld.sh,v 1.1.1.1 2003/12/20 16:00:43 martti Exp $
+#
+
+# PROVIDE: mysqld
+# REQUIRE: DAEMON LOGIN mountall
+# KEYWORD: shutdown
+
+# Note: this needs NetBSD 1.6 or newer
+#
+
+. /etc/rc.subr
+
+name="mysqld"
+rcvar=$name
+command="@PREFIX@/bin/mysqld_safe"
+procname="@PREFIX@/libexec/${name}"
+pidfile="@MYSQL_DATADIR@/`hostname`.pid"
+start_cmd="mysqld_start"
+required_files="@MYSQL_DATADIR@/mysql/host.frm"
+
+mysqld_start()
+{
Home |
Main Index |
Thread Index |
Old Index