Commit graph

90 commits

Author SHA1 Message Date
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
xtraeme
4f5b51db30 Update mysql-{client,server} to 4.0.23a (bugfix release).
See http://dev.mysql.com/doc/mysql/en/News-4.0.23.html for the full
list of changes.

This update applies the fix for the mysqlaccess script symlink
vulnerability, bump BUILDLINK_RECOMMENDED.
2005-01-20 14:17:14 +00:00
minskim
e68641a7d7 Bump PKGREVISION because the previous versions built with bsd.pkg.mk 1.1552
may contain a wrong path to the perl executable.
2004-12-31 13:27:06 +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
4751fae234 Remove superflous variable assignments committed by accident. 2004-11-16 18:55:13 +00:00
xtraeme
c014792449 Add missing "thr" to SUBST_CLASSES. 2004-11-16 18:04:38 +00:00
xtraeme
e64842ed6c Use subst.mk for last tron@'s changes, no functional changes. 2004-11-16 18:01:11 +00:00
tron
3fe6cf9938 Make sure that "libmysqlclient.so" is not linked against "libpthread".
Bump package revision because of this changes. This fixes PR pkg/28313
by Jarle Greipsland.
2004-11-16 17:29:36 +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
2d6601b0b3 Update mysql-{client,server} to 4.0.22.
Functionality added or changed:

    * The --with-openssl option for configure now accepts a path
      prefix as an argument. --with-openssl-includes and
      --with-openssl-libs are still supported, but are needed only
      to override the default values. (Bug #5494)
    * Added new --without-man option to configure to suppress
      building/installing the manual pages. (Bug #5379)
    * InnoDB: New mysqld option --innodb-table-locks and session
      variable innodb_table_locks (on by default). In applications
      using AUTOCOMMIT=1, InnoDB's internal table locks can cause
      deadlocks. You can set innodb_table_locks=0 in `my.cnf' to
      remove that problem. See section 16.17 Restrictions on InnoDB
      Tables. (Bug #3299, Bug #5998)
    * InnoDB: Added the startup option and settable global variable
      innodb_max_purge_lag for delaying INSERT, UPDATE and DELETE
      operations when the purge operations are lagging. The default
      value of this parameter is zero, meaning that there will not be
      any delays. See section 16.13 Implementation of Multi-Versioning.
    * InnoDB: Change error code to HA_ERR_ROW_IS_REFERENCED if we
      cannot DROP a parent table because it is referenced by a FOREIGN
      KEY constraint.

And a lot of bugfixes: http://dev.mysql.com/doc/mysql/en/News-4.0.22.html
2004-11-09 06:11:48 +00:00
xtraeme
946ea03d41 This needs pthread.bl3.mk too... 2004-10-30 08:13:51 +00:00
xtraeme
ed2410fcea Fix BUILDLINK_PKGSRCDIR. 2004-10-28 01:45:19 +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
2f3c7164bf Update mysql-{client,server} to 4.0.21 (previously mysql4-*). 2004-10-28 01:08:15 +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
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
grant
200aaa1255 distinguish between mysql 3 and 4 in COMMENT. 2004-05-14 10:53:29 +00:00
schmonz
61d42de13d USE_BUILTIN.zlib wasn't being set, resulting in missing symbols
for "compress" and "uncompress". Convert to bl3 to fix build.
2004-04-03 16:06:16 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
grant
c044c82d67 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:02:15 +00:00
seb
3a5c609829 Remove info files entries from PLIST files. 2004-01-20 18:45:24 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
ec57e78594 Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of
BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> where we're adding search directories.
Using the former should do the right thing for pkgviews if we do binary
package upgrades of dependencies by inserting the right default view
directories into the search path as well.
2004-01-04 23:46:39 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
gavan
dde04c1a8e Use LIBTOOL_OVERRIDE instead of LTCONFIG_OVERRIDE. Set USE_GCC_SHLIB.
Fixes linking on Solaris.
2003-11-03 12:21:40 +00:00
martti
846fa938da Update mysql-client to 3.23.58
A lot of bug and security fixes since 3.23.51...
2003-10-05 17:55:13 +00:00
jdolecek
c523401bf7 hmm, 'make distinfo' used to ignore the line with $NetBSD$ RCS tag; this
doesn't seem to be the case since distinfo checksum changed for patch-am
after it was committed; update distinfo to match
2003-09-29 10:13:23 +00:00
jdolecek
b47f54d5c3 use ${PKGVERSION} in the PLIST, which is substituted by default 2003-09-29 02:48:35 +00:00
jdolecek
b35037fad5 make mysql 3.23.51 compile on 1.6.x, which uses bundled mit-pthreads
fixes PR pkg/22988 by Adrian Portelli
2003-09-28 15:09:48 +00:00
jdolecek
5edf3118be use PLIST_SUBST with DISTNAME to generate the spec file name in PLIST,
so that PLIST wouldn't need to be updated on each pkg update
2003-09-28 09:20:34 +00:00
jdolecek
1ca8ad6f23 Update mysql-client and mysql-server to 3.23.51nb1 - pkg revision kept
set, the packages contain extra security fixes, which are not part
of 3.23.51 distribution

NOTE: this is the last 3.23.x version with bundled mit-pthreads package;
any further upgrade would need some additional efford to keep the package
usable on NetBSD 1.6.x and older

Highlights of changes:
* Add missing <row> tags for mysqldump XML output.
* SHOW VARIABLES LIKE 'xxx' is now case-insensitive
* InnoDB now allows foreign key constraints to be added through the
  ALTER TABLE syntax.
* InnoDB tables can now be set to automatically grow in size (autoextend).
* Changed name of server variables Com_show_master_stat to
  Com_show_master_status and Com_show_slave_stat to Com_show_slave_status.
* Changed handling of gethostbyname() to make the client library thread-safe
  even if gethostbyname_r doesn't exist.
* If we get an overflow when inserting '+11111' for DECIMAL(5,0) UNSIGNED
  columns, we will just drop the sign.
* many bugfixes

Full list of changes:

3.23.50:
* Fixed buffer overflow problem if someone specified a too long datadir
  parameter to mysqld
* Add missing <row> tags for mysqldump XML output.
* Fixed problem with crash-me and gcc 3.0.4.
* Fixed that @@unknown_variable doesn't hang server.
* Added @@VERSION as a synonym for VERSION().
* SHOW VARIABLES LIKE 'xxx' is now case-insensitive.
* Fixed timeout for GET_LOCK() on HP-UX with DCE threads.
* Fixed memory allocation bug in the glibc library used to build Linux
  binaries, which caused mysqld to die in 'free()'.
* Fixed SIGINT and SIGQUIT problems in mysql.
* Fixed bug in character table converts when used with big ( > 64K) strings.
* InnoDB now retains foreign key constraints through ALTER TABLE and
  CREATE/DROP INDEX.
* InnoDB now allows foreign key constraints to be added through the
  ALTER TABLE syntax.
* InnoDB tables can now be set to automatically grow in size (autoextend).
* Our Linux RPMS and binaries are now compiled with gcc 3.0.4, which should
  make them a bit faster.
* Fixed some buffer overflow problems when reading startup parameters.
* Because of problems on shutdown we have now disabled named pipes on Windows
  by default. One can enable named pipes by starting mysqld
  with --enable-named-pipe.
* Fixed bug when using WHERE key_column = 'J' or key_column='j'.
* Fixed core-dump bug when using --log-bin with LOAD DATA INFILE without
  an active database.
* Fixed bug in RENAME TABLE when used with lower_case_table_names=1 (default
  on Windows).
* Fixed unlikely core-dump bug when using DROP TABLE on a table that was
  in use by a thread that also used queries on only temporary tables.
* Fixed problem with SHOW CREATE TABLE and PRIMARY KEY when using 32 indexes.
* Fixed that one can use SET PASSWORD for the anonymous user.
* Fixed core dump bug when reading client groups from option files using
  mysql_options().
* Memory leak (16 bytes per every corrupted table) closed.
* Fixed binary builds to use --enable-local-infile.
* Update source to work with new version of bison.
* Updated shell scripts to now agree with new POSIX standard.
* Fixed bug where DATE_FORMAT() returned empty string when used with GROUP BY.

3.23.51:
* Fix bug with closing tags missing slash for mysqldump XML output.
* Remove end space from ENUM values. (This fixed a problem with SHOW CREATE
  TABLE.)
* Fixed bug in CONCAT_WS() that cut the result.
* Changed name of server variables Com_show_master_stat to
  Com_show_master_status and Com_show_slave_stat to Com_show_slave_status.
* Changed handling of gethostbyname() to make the client library thread-safe
  even if gethostbyname_r doesn't exist.
* Fixed core-dump problem when giving a wrong password string to GRANT.
* Fixed bug in DROP DATABASE with symlinked directory.
* Fixed optimisation problem with DATETIME and value outside DATETIME range.
* Removed Sleepycat's BDB doc files from the source tree, as they're not needed
  (MySQL covers BDB in its own documentation).
* Fixed MIT-pthreads to compile with glibc 2.2 (needed for make dist).
* Fixed the FLOAT(X+1,X) is not converted to FLOAT(X+2,X). (This also affected
  DECIMAL, DOUBLE and REAL types)
* Fixed the result from IF() is case in-sensitive if the second and third
  arguments are case sensitive.
* Fixed core dump problem on OSF/1 in gethostbyname_r.
* Fixed that underflowed decimal fields are not zero filled.
* If we get an overflow when inserting '+11111' for DECIMAL(5,0) UNSIGNED
  columns, we will just drop the sign.
* Fixed optimisation bug with ISNULL(expression_which_cannot_be_null) and
  ISNULL(constant_expression).
* Fixed host lookup bug in the glibc library that we used with the 3.23.50
  Linux-x86 binaries.
2003-09-28 09:03:52 +00:00
taca
c923b0db49 Bump package revision of mysql-client and mysql-server with
introducing MYSQL_CHARSET and MYSQL_EXTRA_CHARSET.
2003-08-24 02:00:58 +00:00
taca
67f5aa7221 Introduce MYSQL_CHARSET and MYSQL_EXTRA_CHARSET.
MYSQL_CHARSET is default charracter set of mysql, default is "latin1".
MYSQL_EXTRA_CHARSET is additional charsets to be compiled in mysql,
default is "all".

Fix PR pkg/22560 by myself, OKed by wiz@.
2003-08-24 01:57:50 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
seb
c8bfa2559f Convert to USE_NEW_TEXINFO. 2003-06-29 22:28:17 +00:00
jschauma
874df2b597 s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))
2003-06-23 14:23:13 +00:00
grant
b0b29e924d add workaround for broken curses.h test on Solaris (see
http://www.mysql.com/doc/en/Solaris_2.7.html)
2003-03-24 00:57:47 +00:00