Commit graph

67 commits

Author SHA1 Message Date
tv
f07f1cf0bc Don't use the asm string functions on Interix. (To be fixed, but for now
the symbol naming is wrong, so no --enable-assembler will get it built.)
2005-11-09 19:48:44 +00:00
xtraeme
693856493f Update mysql4* to 4.1.5.
Please see http://dev.mysql.com/doc/refman/4.1/en/news-4-1-15.html
for more information about bugfixes/changes.
2005-10-29 14:14:00 +00:00
joerg
0760a6b42a Also commit patches for the DragonFly support. 2005-10-26 17:33:49 +00:00
joerg
d3732c607e Add DragonFly support. 2005-10-26 17:33:07 +00:00
xtraeme
6fb9fe90b5 Update mysql4* to 4.1.14:
Lots of changes, please see
http://dev.mysql.com/doc/mysql/en/news-4-1-14.html
for more information.
2005-09-26 22:34:49 +00:00
adrianp
9914901bd6 Add an explict requirement for readline on 1.6.x which should resolve
PR#30678 and PR#30364.
2005-08-06 18:27:29 +00:00
xtraeme
62e8710320 Update to 4.1.13.
Lots of changes, see http://dev.mysql.com/doc/mysql/en/news-4-1-13.html
for a detailed description.
2005-07-29 21:02:35 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
schmonz
56beecb7d0 Define BUILDLINK_INCDIRS.mysql-client to ensure that the MySQL
include dir is automatically available in ${CPPFLAGS}, following
the example of postgres74-lib.
2005-07-14 03:35:41 +00:00
xtraeme
7fde3e36b3 Update mysql4-* to 4.1.12.
Lots of changes and bugs fixed, see
http://dev.mysql.com/doc/mysql/en/news-4-1-12.html
for more information.
2005-05-23 14:00:20 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
sketch
a4f11c1732 Use RCD_SCRIPTS_SHELL on the scripts we install, as they do not use fully
portable shell constructs.
2005-05-18 15:00:35 +00:00
jlam
2338cbae27 Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar".  The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar.  Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar.  Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
2005-05-16 03:04:44 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xtraeme
f7c55753e1 Update mysql4-{client,server} to 4.1.11 (Released 1 April 2005)
Lots of bugfixes and new functionality was added, more info:
http://dev.mysql.com/doc/mysql/en/news-4-1-11.html
2005-04-06 14:13:45 +00:00
xtraeme
5965224048 Update to 4.1.10a.
- Fix potential security vulnerabilities in the creation of temporary
  table file names and the handling of User Defined Functions (UDFs).

More info: http://www.k-otik.com/english/advisories/2005/0252

Increased BUILDLINK_RECOMMENDED to 4.1.10a.
2005-03-15 15:09:14 +00:00
xtraeme
038c54925c o Add missing RCSID tags to patch-a{a,m} and use pkglint.
o Explain how to start mysqld correctly, PKG_RCD_SCRIPTS {dis,en}abled;
  closes PR pkg/29579.
2005-03-08 16:48:11 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
xtraeme
836c21962b Apply patches from Georg Schwarz to make this build on IRIX 5. 2005-02-18 00:48:05 +00:00
xtraeme
6b13985926 Updated mysql4-{client,server} to 4.1.10.
A lot of bugfixes and functionality was added... please see:
http://dev.mysql.com/doc/mysql/en/news-4-1-10.html
2005-02-16 02:21:36 +00:00
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