pkgsrc/databases/mysql51-client/Makefile
taca 22d40b32e1 Update mysql51-{client,server} package to 5.1.51, MySQL 5.1.51.
For full changes, please refer:
	http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html

Here is summary for security fixes:

* Security Fix: During evaluation of arguments to extreme-value
  functions (such as LEAST() and GREATEST()), type errors did not
  propagate properly, causing the server to crash. (Bug#55826)

* Security Fix: The server could crash after materializing a derived
  table that required a temporary table for grouping. (Bug#55568)

* Security Fix: A user-variable assignment expression that is
  evaluated in a logical expression context can be precalculated in a
  temporary table for GROUP BY. However, when the expression value is
  used after creation of the temporary table, it was re-evaluated, not
  read from the table and a server crash resulted. (Bug#55564)

* Security Fix: Pre-evaluation of LIKE predicates during view
  preparation could cause a server crash. (Bug#54568)

* Security Fix: GROUP_CONCAT() and WITH ROLLUP together could cause a
  server crash. (Bug#54476)

* Security Fix: Queries could cause a server crash if the GREATEST()
  or LEAST() function had a mixed list of numeric and LONGBLOB
  arguments, and the result of such a function was processed using an
  intermediate temporary table. (Bug#54461)

* Security Fix: Queries with nested joins could cause an infinite loop
  in the server when used from stored procedures and prepared
  statements. (Bug#53544)

* Security Fix: The PolyFromWKB() function could crash the server when
  improper WKB data was passed to the function. (Bug#51875)
2010-10-06 12:37:58 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2010/10/06 12:37:58 taca Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
COMMENT= MySQL 5, a free SQL database (client)
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
CONFIGURE_ARGS+= --without-extra-tools
CONFIGURE_ARGS+= --without-server
UNWRAP_FILES+= scripts/mysql_config
INFO_FILES= yes
AUTO_MKDIRS= yes
REPLACE_PERL= scripts/mysql_convert_table_format.sh \
scripts/mysql_find_rows.sh \
scripts/mysql_fix_extensions.sh \
scripts/mysql_fix_privilege_tables.sh \
scripts/mysql_setpermission.sh \
scripts/mysql_zap.sh \
scripts/mysqlaccess.sh \
scripts/mysqldumpslow.sh \
scripts/mysqlhotcopy.sh
post-install:
cd ${WRKSRC}; for f in mysql.info mysql.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
done
.for f in huge large innodb-heavy-4G small medium
${INSTALL_DATA} ${WRKSRC}/support-files/my-${f}.cnf.sh \
${DESTDIR}${PREFIX}/share/examples/mysql/my-${f}.cnf
.endfor
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"