pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql3-client Import mysql-client-3.23.58 in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/906632ac270e
branches:  trunk
changeset: 482420:906632ac270e
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Oct 28 01:01:31 2004 +0000

description:
Import mysql-client-3.23.58 into databases/mysql3-client.

diffstat:

 databases/mysql3-client/DESCR            |  15 ++++++
 databases/mysql3-client/Makefile         |  22 ++++++++
 databases/mysql3-client/Makefile.common  |  80 ++++++++++++++++++++++++++++++++
 databases/mysql3-client/PLIST            |  64 +++++++++++++++++++++++++
 databases/mysql3-client/buildlink3.mk    |  22 ++++++++
 databases/mysql3-client/distinfo         |   5 ++
 databases/mysql3-client/patches/patch-af |  12 ++++
 7 files changed, 220 insertions(+), 0 deletions(-)

diffs (248 lines):

diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/DESCR     Thu Oct 28 01:01:31 2004 +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 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/Makefile  Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/28 01:01:31 xtraeme Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-client-/}
+PKGREVISION=           1
+SVR4_PKGNAME=          mysqc
+COMMENT=               MySQL 3, a free SQL database (client)
+
+.include "Makefile.common"
+
+CONFIGURE_ARGS+=       --without-server
+USE_BUILDLINK3=                YES
+
+USE_NEW_TEXINFO=       YES
+INFO_FILES=            mysql.info
+
+post-install:
+       cd ${PREFIX}/man/man1; ${RM} -f mysqld.1 safe_mysqld.1
+       cd ${PREFIX}/share/mysql; ${RM} -f mysql.server
+       ${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/Makefile.common   Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,80 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/10/28 01:01:32 xtraeme Exp $
+
+DISTNAME=              mysql-3.23.58
+CATEGORIES=            databases
+MASTER_SITES=          http://mirrors.sunsite.dk/mysql/Downloads/MySQL-3.23/ \
+                       ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-3.23/ \
+                       ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://www.mysql.com/
+
+EXTRACT_USING_PAX=     # defined
+USE_GCC_SHLIB=         # 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?=                ${VARBASE}/mysql
+
+# MYSQL_CHARSET                default character set
+# MYSQL_EXTRA_CHARSET  additonal character set to be compiled in.
+#
+MYSQL_CHARSET?=                latin1
+MYSQL_EXTRA_CHARSET?=  all
+
+USE_BUILDLINK3=                # defined
+GNU_CONFIGURE=         # defined
+USE_GNU_TOOLS+=                make
+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-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_PERL5=             # defined
+USE_LIBTOOL=           # defined
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/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 safe_mysqld.sh; do              \
+               ${MV} $${file} $${file}.orig;                           \
+               ${SED} -e "s,chown,${CHOWN},g"                          \
+                       $${file}.orig > $${file};                       \
+               ${RM} $${file}.orig;                                    \
+       done
+
+.include "../../devel/zlib/buildlink3.mk"
diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/PLIST     Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/28 01:01:32 xtraeme Exp $
+bin/msql2mysql
+bin/mysql
+bin/mysqlcheck
+bin/mysql_config
+bin/mysql_convert_table_format
+bin/mysql_find_rows
+bin/mysql_fix_privilege_tables
+bin/mysql_setpermission
+bin/mysql_zap
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbinlog
+bin/mysqlbug
+bin/mysqld_multi
+bin/mysqldump
+bin/mysqldumpslow
+bin/mysqlhotcopy
+bin/mysqlimport
+bin/mysqlshow
+bin/mysqltest
+include/mysql/dbug.h
+include/mysql/errmsg.h
+include/mysql/m_ctype.h
+include/mysql/m_string.h
+include/mysql/my_config.h
+include/mysql/my_global.h
+include/mysql/my_list.h
+include/mysql/my_net.h
+include/mysql/my_pthread.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/mysql_version.h
+include/mysql/mysqld_error.h
+include/mysql/my_no_pthread.h
+include/mysql/raid.h
+include/mysql/sslopt-case.h
+include/mysql/sslopt-longopts.h
+include/mysql/sslopt-usage.h
+include/mysql/sslopt-vars.h
+lib/mysql/libmysqlclient.la
+man/man1/isamchk.1
+man/man1/isamlog.1
+man/man1/mysql.1
+man/man1/mysql_zap.1
+man/man1/mysqlaccess.1
+man/man1/mysqladmin.1
+man/man1/mysqld_multi.1
+man/man1/mysqldump.1
+man/man1/mysqlshow.1
+man/man1/perror.1
+man/man1/replace.1
+share/mysql/binary-configure
+share/mysql/make_binary_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
+@dirrm share/mysql
+@dirrm lib/mysql
+@dirrm include/mysql
diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/buildlink3.mk     Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/10/28 01:01:32 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>=3.23.58
+BUILDLINK_RECOMMENDED.mysql-client+=   mysql-client>=3.23.58nb1
+BUILDLINK_PKGSRCDIR.mysql-client?=     ../../databases/mysql-client
+BUILDLINK_LIBDIRS.mysql-client?=       lib/mysql
+.endif # MYSQL_CLIENT_BUILDLINK3_MK
+
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/distinfo  Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/28 01:01:32 xtraeme Exp $
+
+SHA1 (mysql-3.23.58.tar.gz) = f3383e41e8926c040a295173881414a1e96e0266
+Size (mysql-3.23.58.tar.gz) = 12039843 bytes
+SHA1 (patch-af) = 0ac0172c264b9c9e8f173d29085096bc1c611132
diff -r 7c85d4dd47e4 -r 906632ac270e databases/mysql3-client/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql3-client/patches/patch-af  Thu Oct 28 01:01:31 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/10/28 01:01:32 xtraeme Exp $
+
+--- configure.orig     Fri Jun  6 14:39:41 2003
++++ configure  Wed Jul  9 17:15:10 2003
+@@ -19952,7 +19952,6 @@
+ else
+   bench_dirs=""
+ fi
+-bench_dirs="$bench_dirs mysql-test"
+ 
+ 
+ # Don't build readline, i have it already



Home | Main Index | Thread Index | Old Index