Commit graph

97 commits

Author SHA1 Message Date
xtraeme
02501274e3 Apply patch from MySQL BitKeeper repository to fix the symlink
vulnerability in the mysqlaccess script.

Bump PKGREVISION and BUILDLINK_RECOMMENDED.
2005-01-20 13:37:48 +00:00
xtraeme
71125409ca Update mysql4-{client,server} to 4.1.9.
Functionality added or changed:

    * The Mac OS X 10.3 installation disk images now include a MySQL
Preference Pane for the Mac OS X Control Panel that enables the user
to start and stop the MySQL server via the GUI and activate and
deactivate the automatic MySQL server startup on bootup.
    * Seconds_Behind_Master will be NULL (which means ``unknown'')
if the slave SQL thread is not running, or if the slave I/O thread
is not running or not connected to master. It will be zero if the
SQL thread has caught up with the I/O thread. It no longer grows
indefinitely if the master is idle.
    * InnoDB: Do not acquire an internal InnoDB table lock in LOCK
TABLES if AUTOCOMMIT=1. This helps in porting old MyISAM applications
to InnoDB. InnoDB table locks in that case caused deadlocks very easily.
    * InnoDB: Print a more descriptive error and refuse to start InnoDB
if the size of `ibdata' files is smaller than what is stored in the
tablespace header; innodb_force_recovery overrides this.
    * The MySQL server aborts immediately instead of simply issuing a
warning if it is started with the --log-bin option but cannot
initialize the binary log at startup (that is, an error occurs when
writing to the binary log file or binary log index file).
    * The binary log file and binary log index file now behave like
MyISAM when there is a "disk full" or "quota exceeded" error. See
section A.4.3 How MySQL Handles a Full Disk.

Many bugfixes were fixed... see
http://dev.mysql.com/doc/mysql/en/News-4.1.9.html
2005-01-17 14:42:35 +00:00
xtraeme
1381e97471 Forgot to remove the ranlib call for libmystrings, which is not installed
by mysql-client. This should fix problem reported by Stoned Elipot.
2005-01-11 22:44:34 +00:00
xtraeme
3d5f711d63 Update mysql4-* to 4.1.8a.
Please check http://dev.mysql.com/doc/mysql/en/News-4.1.8.html to
see the list of changes, new features added and a bunch of bugs were
fixed.
2005-01-10 15:47:18 +00:00
minskim
1a30fe7f5a Bump PKGREVISION because old binary packages may contain a wrong path
to the perl executable.
2005-01-01 00:37:56 +00:00
wiz
126d876ff2 Fix typo in comment. 2004-12-17 17:48:08 +00:00
xtraeme
207b024105 Revert previous, ``mysqlhotcopy'' requires p5-DBD-mysql, which requires
mysql*-client! explain which are the required packages to run the script.
2004-12-02 00:42:06 +00:00
xtraeme
80f6ea5695 Depend on p5-DBI and p5-File-Temp, required to run the mysqlhotcopy
script.

Bump PKGREVISION to each package respectively.
2004-12-01 14:01:04 +00:00
jlam
3bbe73c68a Default PTHREAD_AUTO_VARS to the safer value of "no". Most packages
that use pthreads already implement their own probes for pthreads, so
we don't need to auto-add the compiler/linker flags.
2004-11-25 19:34:03 +00:00
xtraeme
3e8a4ea4a3 * Install my-{huge,large,innodb-heavy-4G,small,medium}.cnf example files.
* Use PTHREAD_AUTO_VARS=no to disable linking to libpthread all programs
  and libraries, which is wrong.
* Set USE_LIBTOOL and GNU_CONFIGURE before including bsd.prefs.mk, so
  the test for _OPSYS_MAX_CMDLEN is not skipped.

Bump PKGREVISION to each package respectively
(mysql-client and mysql4-client), closes PR pkg/28162 and PR pkg/28222.
2004-11-23 16:07:01 +00:00
tron
96f0797e86 Don't include "pthread.buildlink3.mk" here. Not all programs (especially
not Apache modules) use Posix Threads.
2004-11-16 21:48:38 +00:00
tron
4751fae234 Remove superflous variable assignments committed by accident. 2004-11-16 18:55:13 +00:00
xtraeme
b05704ad43 Apply fix for PR pkg/28313 committed by tron@ on mysql-client some
minutes ago, but using subst.mk.
2004-11-16 18:01:58 +00:00
ben
e5549532e2 The mysql4-client libraries depend on libpthread. When building
packages that depend on mysql-client, using buildlink3, and using
GNU PTH, the pthread library never gets pulled in by buildlink.  This
caused the p5-DBD-mysql build to fail, which in turn caused the mytop
build to fail.  The fix is to include mk/pthread.buildlink3.mk in
mysql4-client/buildlink3.mk.

This addresses PR#28162.
2004-11-16 14:10:55 +00:00
xtraeme
7e58c29b26 Bump PKGREVISION. 2004-11-12 14:19:07 +00:00
xtraeme
a4cfd92f80 Enable support for old C API functions in libmysqlclient:
mysql_drop_db(), mysql_create_db() and mysql_connect(), required
to build some applications using the MySQL 3.23.x API.
2004-11-12 12:39:12 +00:00
xtraeme
fcfe5c4a88 Fix breakage added in last commits in mysql4-* packages:
* Make mysql4-client build on NetBSD 1.[56]*
* Don't install mysqld and friends in mysql4-client (eww!)
* Remove an unneeded patch.
* Remove duplicated files in mysql4-client's PLIST.

Also, use assembler functions when MACHINE_ARCH == i386.

This closes PR pkg/27154, pkg/27720, pkg/27744 and pkg/28035.

BTW, I tested them on NetBSD 1.6.2, 2.0_RC4 and -current.

Bump PKGREVISION for both packages.
2004-11-08 18:19:41 +00:00
jdolecek
930eab16eb Need also patch-au from mysql4-server. The build completes successfully
with this patch.
2004-11-01 20:23:21 +00:00
jdolecek
d91e48994d define USE_BUILDLINK3 before including Makefile.common, which pulls some
buildlink3.mk files
2004-11-01 20:00:51 +00:00
grant
44fd2ddde4 move patch-af back here and don't share patches with mysql4-server.
some of the patches disable part of the build and break the client
build.

should fix build issue noted on tech-pkg.
2004-11-01 08:30:24 +00:00
grant
59aa94e880 enable the thread-safe client so that the full set of tools is
built and installed.

bump PKGREVISION.
2004-10-31 10:14:14 +00:00
grant
c441289d5d be explicit about where openssl is, fixes openssl detection on Solaris. 2004-10-31 09:24:27 +00:00
grant
a589475b93 use patches and distinfo from mysql4-server instead of duplicating
patches here.
2004-10-31 09:01:25 +00:00
xtraeme
a439b919f0 Add missing pthread.bl3.mk, closes PR pkg/27650. 2004-10-30 08:12:18 +00:00
xtraeme
164467f2a4 Use subst.mk instead of using sed(1)/mv(1)/rm(1). 2004-10-28 01:34:27 +00:00
xtraeme
209642c76f Update mysql4-{client,server} to 4.1.7 (latest production release).
MySQL version 4.1 offers dozens of important product enhancements
and new features, including support for:

    * Subqueries and derived tables -- allowing users to search
      complex data sets with greater ease and efficiency;
    * A significantly faster and more flexible client-server protocol
      with support for prepared statements, providing optimized query
      execution and improved warning information;
    * New GUI installer and configuration wizards for Linux and Windows,
      making it easier for developers to set up and optimize their
      MySQL databases;
    * Encrypted client-server communication using OpenSSL (GPL),
      greatly increasing security against malicious intrusion and
      unauthorized access.
    * A more highly-optimized MySQL server library with a smaller
      memory footprint that performs significantly faster when embedded
      in third-party software.
    * Extensive Unicode support through the utf8 and ucs2 international
      character sets for applications that require the use of local
      languages;
    * Industry-standard GIS spatial types for storing and managing
      geographic data;
    * Improved full text search and Help features.
2004-10-28 01:12:44 +00:00
xtraeme
4b2673763c Update databases/mysql4* packages to 4.0.21 (latest stable production
release) and take maintainership.

Functionality added or changed:

# Print version_comment (from ./configure --comment during compilation)
  when starting the server. E.g.: Version: '4.0.21-debug' socket:
  '/tmp/mysql.sock' port: 0 Official MySQL Binary

# Made the MySQL server not react to signals SIGHUP and SIGQUIT on
  Mac OS X 10.3. This is needed because under this OS, the MySQL server
  receives lots of these signals (reported as Bug #2030).

# On Windows, the mysqld-nt and mysqld-max-nt servers now write error
  messages to the Windows event log in addition to the MySQL error log.

Tons of bugfixes were fixed, more information:

http://dev.mysql.com/doc/mysql/en/News-4.0.21.html
2004-10-22 01:10:03 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
xtraeme
a7ec28289c Use ${VARBASE}. 2004-07-20 04:53:09 +00:00
jlam
a038f4f702 Unbuildlinkify mysql_config so that --libs and --include return the correct
values.
2004-07-18 22:57:17 +00:00
jlam
82d8960a20 The libraries don't link against libreadline, only the client binaries, so
remove the readline buildlink3.mk file.
2004-07-18 22:30:27 +00:00
jlam
da1cf28141 No need for LTCONFIG_OVERRIDE... it's automatic nowadays when USE_LIBTOOL
is defined.
2004-07-18 22:08:46 +00:00
xtraeme
c89fd2ff25 Update databases/mysql4-* to 4.0.20.
Lots of bugfixes, please review the Changelog file.
2004-06-20 18:48:44 +00:00
grant
0c7080cef5 s/netbsd.org/NetBSD.org/ 2004-05-14 11:38:54 +00:00
grant
200aaa1255 distinguish between mysql 3 and 4 in COMMENT. 2004-05-14 10:53:29 +00:00
wiz
d549be02da Unused. 2004-04-27 01:02:45 +00:00
seb
1f38a6c5c7 Bl3ify.
Provide a buildlink3.mk file for mysql4-client package.
While here remove obsolete USE_NEW_TEXINFO.
2004-04-22 14:31:35 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
snj
5d3caaf251 Fix build with gcc2 on sparc64. 2004-03-23 04:34:17 +00:00
recht
b1004161e8 Fix the build by adding USE_LANGUAGES=c c++ and linking myisam/isam
with CXX.
Noted by kristerw's bulk-build and Michal Pasternak on tech-pkg@.
2004-03-13 12:09:36 +00:00
tv
a734b3120f Add --disable-dependency-tracking to speed up normal builds considerably. 2004-03-10 14:54:05 +00:00
martti
14e7d2db8d Updated mysql-client to 4.0.18
* Bug fixes
2004-03-07 19:42:50 +00:00
seb
7f0d850a58 Remove info files entries from PLIST. 2004-03-02 10:57:13 +00:00
grant
c044c82d67 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:02:15 +00:00
martti
6ff8b7d24c 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.
2003-12-20 16:00:12 +00:00