pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql5-client Initial import of mysql5-clien...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be73c687d661
branches:  trunk
changeset: 501882:be73c687d661
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Oct 31 09:21:40 2005 +0000

description:
Initial import of mysql5-client-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 client programs and libraries.

diffstat:

 databases/mysql5-client/DESCR            |   15 ++++
 databases/mysql5-client/MESSAGE          |   10 ++
 databases/mysql5-client/Makefile         |   28 +++++++
 databases/mysql5-client/Makefile.common  |  116 +++++++++++++++++++++++++++++++
 databases/mysql5-client/PLIST            |   73 +++++++++++++++++++
 databases/mysql5-client/buildlink3.mk    |   23 ++++++
 databases/mysql5-client/distinfo         |   15 ++++
 databases/mysql5-client/patches/patch-aa |   13 +++
 databases/mysql5-client/patches/patch-ab |   13 +++
 databases/mysql5-client/patches/patch-ac |   33 ++++++++
 databases/mysql5-client/patches/patch-ad |   18 ++++
 databases/mysql5-client/patches/patch-ae |   32 ++++++++
 databases/mysql5-client/patches/patch-af |   16 ++++
 databases/mysql5-client/patches/patch-ag |   28 +++++++
 databases/mysql5-client/patches/patch-ah |   30 ++++++++
 databases/mysql5-client/patches/patch-ai |   15 ++++
 databases/mysql5-client/patches/patch-aj |   21 +++++
 17 files changed, 499 insertions(+), 0 deletions(-)

diffs (truncated from 567 to 300 lines):

diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/DESCR     Mon Oct 31 09:21:40 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 client programs and libraries.
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/MESSAGE   Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+
+To use the ``mysqlhotcopy'' script, you'll have to install the following
+packages:
+
+       databases/p5-DBD-mysql
+       devel/p5-File-Temp
+
+===========================================================================
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/Makefile  Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-client-/}
+#PKGREVISION=          1
+SVR4_PKGNAME=          mysqc
+COMMENT=               MySQL 5, a free SQL database (client)
+
+CONFLICTS=             {mysql-client-[0-9]*,mysql3-client-[0-9]*}
+
+.include "Makefile.common"
+
+CONFIGURE_ARGS+=       --without-extra-tools
+CONFIGURE_ARGS+=       --without-server
+CONFIGURE_ARGS+=       --enable-thread-safe-client
+UNWRAP_FILES=          scripts/mysql_config
+
+INFO_FILES=            mysql.info
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mysql
+.for f in huge large innodb-heavy-4G small medium
+       ${INSTALL_DATA} ${WRKSRC}/support-files/my-${f}.cnf.sh \
+               ${PREFIX}/share/examples/mysql/my-${f}.cnf
+.endfor
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/Makefile.common   Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,116 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+
+DISTNAME=              mysql-5.0.15
+CATEGORIES=            databases
+MASTER_SITES=          http://mirrors.sunsite.dk/mysql/Downloads/MySQL-5.0/ \
+                       ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-5.0/ \
+                       ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-5.0/
+
+MAINTAINER=            xtraeme%NetBSD.org@localhost
+HOMEPAGE=              http://www.mysql.com/
+
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+.include "../../mk/bsd.prefs.mk"
+
+EXTRACT_USING=         pax
+
+# MYSQL_USER           username of the database administrator
+# MYSQL_GROUP          group of the database administrator
+# MYSQL_DATADIR                home directory of the database administrator and
+#                      location of the databases
+MYSQL_USER?=           mysql
+MYSQL_GROUP?=          mysql
+MYSQL_DATADIR?=                ${VARBASE}/mysql
+
+# MYSQL_CHARSET                default character set
+# MYSQL_EXTRA_CHARSET  additional character set to be compiled in.
+#
+MYSQL_CHARSET?=                latin1
+MYSQL_EXTRA_CHARSET?=  all
+
+CONFIGURE_ARGS+=       --localstatedir=${MYSQL_DATADIR}
+CONFIGURE_ARGS+=       --with-named-z-libs=z
+CONFIGURE_ARGS+=       --without-libwrap
+CONFIGURE_ARGS+=       --with-named-curses-libs="-lcurses -ltermcap"
+
+.if !empty(LOWER_OPSYS:Mirix5*)
+CFLAGS+=               -DIRIX5 -DNEEDS_BSTRING_H
+# libgen is incorrectly detected
+CONFIGURE_ENV+=                ac_cv_lib_gen_p2open="no"
+.endif
+
+# We always use our own readline, either system- or pkgsrc-supplied.
+CONFIGURE_ARGS+=       --without-readline
+CONFIGURE_ARGS+=       --without-libedit
+
+# We need the full readline on NetBSD 1.6.x
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.*)
+USE_BUILTIN.readline=  no
+.include "../../devel/readline/buildlink3.mk"
+.endif
+
+# This forces mysql.info _not_ to be rebuilt.
+CONFIGURE_ARGS+=       --without-docs
+
+# Speed up production one-time builds; see "./configure --help" for
+# more information on using or disabling this option.
+CONFIGURE_ARGS+=       --disable-dependency-tracking
+
+CONFIGURE_ARGS+=       --without-debug
+CONFIGURE_ARGS+=       --without-bench
+CONFIGURE_ARGS+=       --with-low-memory
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+=       --with-vio
+
+CONFIGURE_ARGS+=       --with-charset=${MYSQL_CHARSET}
+CONFIGURE_ARGS+=       --with-extra-charsets=${MYSQL_EXTRA_CHARSET}
+
+.if !empty(MACHINE_ARCH:Mi386)
+CONFIGURE_ARGS+=       --enable-assembler
+.endif
+
+# Avoid an ICE in gcc2 on sparc64
+CONFIGURE_ENV+=                F77=${FALSE}
+
+CPPFLAGS+=             -Dunix
+CFLAGS+=               -DUSE_OLD_FUNCTIONS # 3.23.x compat
+
+# force HAVE_CURSES_H on Solaris since the configure script is broken
+# and does not properly detect this, breaking the build later on.
+.if ${OPSYS} == "SunOS"
+CFLAGS+=               -DHAVE_CURSES_H
+CXXFLAGS+=             -DHAVE_CURSES_H
+.endif
+
+.include "../../mk/pthread.buildlink3.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
+
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake perl:run
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
+
+SUBST_CLASSES+=                mk scripts
+SUBST_STAGE.mk=                post-patch
+SUBST_FILES.mk=                dbug/Makefile.in heap/Makefile.in isam/Makefile.in \
+                       merge/Makefile.in mysys/Makefile.in \
+                       strings/Makefile.in
+SUBST_SED.mk=          -e "/^install-exec:/s/install-pkglibLIBRARIES//"
+SUBST_MESSAGE.mk=      "Fixing Makefiles."
+SUBST_STAGE.scripts=   post-patch
+SUBST_FILES.scripts=   scripts/mysql_install_db.sh scripts/mysqld_safe.sh \
+                       scripts/mysql_secure_installation.sh \
+                       support-files/mysql.server.sh
+SUBST_SED.scripts=     -e "s,chown,${CHOWN},g" \
+                       -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
+SUBST_MESSAGE.scripts= "Fixing scripts."
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/PLIST     Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,73 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+bin/msql2mysql
+bin/mysql
+bin/mysql_config
+bin/mysql_convert_table_format
+bin/mysql_create_system_tables
+bin/mysql_explain_log
+bin/mysql_find_rows
+bin/mysql_fix_privilege_tables
+bin/mysql_setpermission
+bin/mysql_tableinfo
+bin/mysql_zap
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlbug
+bin/mysqlcheck
+bin/mysqldump
+bin/mysqldumpslow
+bin/mysqlhotcopy
+bin/mysqlimport
+bin/mysqlshow
+bin/mysqltest
+bin/mysqltestmanager-pwgen
+bin/mysqltestmanagerc
+include/mysql/errmsg.h
+include/mysql/keycache.h
+include/mysql/m_ctype.h
+include/mysql/m_string.h
+include/mysql/my_alloc.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_net.h
+include/mysql/my_no_pthread.h
+include/mysql/my_pthread.h
+include/mysql/my_semaphore.h
+include/mysql/my_sys.h
+include/mysql/my_xml.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/mysql_embed.h
+include/mysql/mysql_time.h
+include/mysql/mysql_version.h
+include/mysql/raid.h
+include/mysql/sql_common.h
+include/mysql/sslopt-case.h
+include/mysql/sslopt-longopts.h
+include/mysql/sslopt-vars.h
+include/mysql/typelib.h
+lib/mysql/libmysqlclient.la
+lib/mysql/libmysqlclient_r.la
+man/man1/mysql.1
+man/man1/mysql_fix_privilege_tables.1
+man/man1/mysql_zap.1
+man/man1/mysqlaccess.1
+man/man1/mysqladmin.1
+man/man1/mysqldump.1
+man/man1/mysqlshow.1
+share/examples/mysql/my-huge.cnf
+share/examples/mysql/my-innodb-heavy-4G.cnf
+share/examples/mysql/my-large.cnf
+share/examples/mysql/my-medium.cnf
+share/examples/mysql/my-small.cnf
+share/mysql/fill_help_tables.sql
+share/mysql/mysql_fix_privilege_tables.sql
+@dirrm share/mysql
+@dirrm share/examples/mysql
+@dirrm lib/mysql
+@dirrm include/mysql
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/buildlink3.mk     Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+MYSQL_CLIENT_BUILDLINK3_MK:=   ${MYSQL_CLIENT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    mysql-client
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nmysql-client}
+BUILDLINK_PACKAGES+=   mysql-client
+
+.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.mysql-client+=       mysql-client>=5.0.15
+BUILDLINK_PKGSRCDIR.mysql-client?=     ../../databases/mysql5-client
+BUILDLINK_LIBDIRS.mysql-client?=       lib/mysql
+BUILDLINK_INCDIRS.mysql-client?=       include/mysql
+.endif # MYSQL_CLIENT_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 885e9b03334b -r be73c687d661 databases/mysql5-client/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql5-client/distinfo  Mon Oct 31 09:21:40 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/31 09:21:40 xtraeme Exp $
+
+SHA1 (mysql-5.0.15.tar.gz) = b6092615de6ef5f861f91810413007c1c63058cf
+RMD160 (mysql-5.0.15.tar.gz) = 6a8007f5d12b945b8c3560d27abe98d41abecaf5
+Size (mysql-5.0.15.tar.gz) = 18813065 bytes
+SHA1 (patch-aa) = adc6956d4be304db61aa0323061143fffc1b9751
+SHA1 (patch-ab) = 0959e0ba7316e4fe00b656d7af2d8c2c04ed296f



Home | Main Index | Thread Index | Old Index