pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql4-client MySQL is a SQL (Structured Que...
details: https://anonhg.NetBSD.org/pkgsrc/rev/38ae87fa562c
branches: trunk
changeset: 465079:38ae87fa562c
user: martti <martti%pkgsrc.org@localhost>
date: Sat Dec 20 16:00:12 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 client programs and libraries.
diffstat:
databases/mysql4-client/DESCR | 15 +++++
databases/mysql4-client/Makefile | 24 ++++++++
databases/mysql4-client/Makefile.common | 83 ++++++++++++++++++++++++++++++
databases/mysql4-client/PLIST | 87 ++++++++++++++++++++++++++++++++
databases/mysql4-client/buildlink2.mk | 27 +++++++++
databases/mysql4-client/distinfo | 5 +
databases/mysql4-client/patches/patch-af | 8 ++
7 files changed, 249 insertions(+), 0 deletions(-)
diffs (277 lines):
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/DESCR Sat Dec 20 16:00:12 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 client programs and libraries.
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/Makefile Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+PKGNAME= ${DISTNAME:S/-/-client-/}
+SVR4_PKGNAME= mysqc
+COMMENT= MySQL, a free SQL database (client)
+
+CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
+
+.include "Makefile.common"
+
+CONFIGURE_ARGS+= --without-server
+USE_BUILDLINK2= YES
+
+USE_NEW_TEXINFO= YES
+INFO_FILES= mysql.info
+
+post-install:
+ cd ${PREFIX}/man/man1 && \
+ ${RM} -f mysqld.1 mysqld_multi.1 mysqld_safe.1 safe_mysqld.1
+ cd ${PREFIX}/share/mysql && ${RM} -f mysql.server
+ ${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/Makefile.common Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,83 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+DISTNAME= mysql-4.0.17
+CATEGORIES= databases
+MASTER_SITES= http://mirrors.sunsite.dk/mysql/Downloads/MySQL-4.0/ \
+ ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-4.0/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-4.0/
+
+MAINTAINER= tech-pkg%netbsd.org@localhost
+HOMEPAGE= http://www.mysql.com/
+
+EXTRACT_USING_PAX= # defined
+
+.include "../../mk/bsd.prefs.mk"
+
+# 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?= /var/mysql
+
+# MYSQL_CHARSET default character set
+# MYSQL_EXTRA_CHARSET additonal character set to be compiled in.
+#
+MYSQL_CHARSET?= latin1
+MYSQL_EXTRA_CHARSET?= all
+
+USE_BUILDLINK2= # defined
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --localstatedir=${MYSQL_DATADIR}
+CONFIGURE_ARGS+= --with-named-z-libs=z
+CONFIGURE_ARGS+= --without-libwrap
+CONFIGURE_ARGS+= --with-named-curses-libs="-lcurses -ltermcap"
+
+# We always use our own readline, either system- or pkgsrc-supplied.
+CONFIGURE_ARGS+= --without-readline
+
+# This forces mysql.info _not_ to be rebuilt.
+CONFIGURE_ARGS+= --without-docs
+
+CONFIGURE_ARGS+= --without-debug
+CONFIGURE_ARGS+= --without-bench
+CONFIGURE_ARGS+= --with-low-memory
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --with-vio
+
+CONFIGURE_ARGS+= --with-charset=${MYSQL_CHARSET}
+CONFIGURE_ARGS+= --with-extra-charsets=${MYSQL_EXTRA_CHARSET}
+
+CPPFLAGS+= -Dunix
+
+# 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
+
+USE_GMAKE= yes
+USE_PERL5= # defined
+USE_LIBTOOL= # defined
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+LDFLAGS+= -Wl,${RPATH_FLAG}${LOCALBASE}/lib/mysql
+
+post-extract:
+ cd ${WRKSRC}; \
+ for dir in dbug heap isam merge mysys strings; do \
+ ${MV} $${dir}/Makefile.in $${dir}/Makefile.in.orig; \
+ ${SED} -e "/^install-exec:/s/install-pkglibLIBRARIES//" \
+ $${dir}/Makefile.in.orig > $${dir}/Makefile.in; \
+ done
+ cd ${WRKSRC}/scripts; \
+ for file in mysql_install_db.sh mysqld_safe.sh; do \
+ ${MV} $${file} $${file}.orig; \
+ ${SED} -e "s,chown,${CHOWN},g" \
+ $${file}.orig > $${file}; \
+ ${RM} $${file}.orig; \
+ done
+
+.include "../../security/openssl/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/PLIST Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,87 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+bin/make_win_src_distribution
+bin/msql2mysql
+bin/mysql
+bin/mysql_config
+bin/mysql_convert_table_format
+bin/mysql_explain_log
+bin/mysql_find_rows
+bin/mysql_fix_extensions
+bin/mysql_fix_privilege_tables
+bin/mysql_secure_installation
+bin/mysql_setpermission
+bin/mysql_tableinfo
+bin/mysql_zap
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlbug
+bin/mysqlcheck
+bin/mysqld_multi
+bin/mysqldump
+bin/mysqldumpslow
+bin/mysqlhotcopy
+bin/mysqlimport
+bin/mysqlmanager-pwgen
+bin/mysqlmanagerc
+bin/mysqlshow
+bin/mysqltest
+include/mysql/errmsg.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/mysql.h
+include/mysql/mysql_com.h
+include/mysql/mysql_embed.h
+include/mysql/mysql_version.h
+include/mysql/mysqld_error.h
+include/mysql/raid.h
+include/mysql/sslopt-case.h
+include/mysql/sslopt-longopts.h
+include/mysql/sslopt-vars.h
+info/mysql.info
+lib/mysql/libmysqlclient.a
+lib/mysql/libmysqlclient.la
+lib/mysql/libmysqlclient.so
+lib/mysql/libmysqlclient.so.12
+lib/mysql/libmysqlclient.so.12.0
+man/man1/isamchk.1
+man/man1/isamlog.1
+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
+man/man1/perror.1
+man/man1/replace.1
+share/mysql/Description.plist
+share/mysql/Info.plist
+share/mysql/MySQL-shared-compat.spec
+share/mysql/StartupParameters.plist
+share/mysql/binary-configure
+share/mysql/make_binary_distribution
+share/mysql/make_sharedlib_distribution
+share/mysql/my-huge.cnf
+share/mysql/my-large.cnf
+share/mysql/my-medium.cnf
+share/mysql/my-small.cnf
+share/mysql/mysql-${PKGVERSION}.spec
+share/mysql/mysql-log-rotate
+share/mysql/postinstall
+share/mysql/preinstall
+@dirrm share/mysql
+@dirrm lib/mysql
+@dirrm include/mysql
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/buildlink2.mk Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+.if !defined(MYSQL_CLIENT_BUILDLINK2_MK)
+MYSQL_CLIENT_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= mysql-client
+BUILDLINK_DEPENDS.mysql-client?= mysql-client>=4.0.17
+BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql4-client
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.mysql-client=mysql-client
+BUILDLINK_PREFIX.mysql-client_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.mysql-client= include/mysql/*.h
+BUILDLINK_FILES.mysql-client+= lib/mysql/libmysqlclient.*
+
+FIX_RPATH+= BUILDLINK_LDFLAGS.mysql-client
+BUILDLINK_LDFLAGS.mysql-client= \
+ -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= mysql-client-buildlink
+
+mysql-client-buildlink: _BUILDLINK_USE
+
+.endif # MYSQL_CLIENT_BUILDLINK2_MK
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/distinfo Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+SHA1 (mysql-4.0.17.tar.gz) = b2588d2ccc9d2683e874e7c5cb4d9c55c2196b9e
+Size (mysql-4.0.17.tar.gz) = 12959051 bytes
+SHA1 (patch-af) = 1fadbf30a787b05ec0c650980355196619874036
diff -r 87924a9ff36c -r 38ae87fa562c databases/mysql4-client/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql4-client/patches/patch-af Sat Dec 20 16:00:12 2003 +0000
@@ -0,0 +1,8 @@
+$NetBSD: patch-af,v 1.1.1.1 2003/12/20 16:00:12 martti Exp $
+
+--- configure.orig 2003-12-14 21:24:06.000000000 +0000
++++ configure 2003-12-20 11:59:17.000000000 +0000
+@@ -21142,3 +21142,2 @@
+ fi
+-bench_dirs="$bench_dirs mysql-test"
+
Home |
Main Index |
Thread Index |
Old Index