pkgsrc/databases/mysql51-client/Makefile
mef f7cc8052bb Updated databases/mysql51-{client,server} to 5.1.73
------------------------------------------------------------
The ChangeLog since 5.1.72 is too huge, so the beginning some
lines are listed here:
  ------------------------------------------------------------
  timestamp: Fri 2013-11-01 16:39:19 +0100
  message:
    Bug#17617945 BUFFER OVERFLOW IN GET_MERGE_MANY_BUFFS_COST WITH SMALL SORT_BUFFER_SIZE

    get_cost_calc_buff_size() could return wrong value for the size of imerge_cost_buff.
  ------------------------------------------------------------
  timestamp: Thu 2013-10-31 22:53:56 +0000
  message:
    BUG#17662398: REMOVE DUPLICATE TEST CASES

    Remove duplicate test cases.
  ------------------------------------------------------------
  timestamp: Thu 2013-10-31 23:02:44 +0530
  message:
    Bug #12917164 DROP USER CAN'T DROP USERS WITH LEGACY
        UPPER CASE HOST NAME ANYMORE

    Description:
    It is not possible to drop users with host names with upper case
    letters in them. i.e DROP USER 'root'@'Tmp_Host_Name'; is failing
    with error.

    Analysis: Since the fix 11748570 we came up with lower case hostnames
    as standard. But in the current bug the hostname is created by
    mysql_install_db script is still having upper case hostnames.
    So, if we have the hostname with upper case letters like(Tmp_Host_Name)
    then we will have as it is stored in the mysql.user table.
    In this case if use "'DROP USER 'root'@'Tmp_Host_Name';" it gives
    error because we do compare with the lower case of hostname since the
    11748570 fix.

    Fix: We need to convert the hostname to lower case before storing into
    the mysql.user table when we run the mysql_install_db script.
------------------------------------------------------------
2017-04-13 13:44:49 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2017/04/13 13:44:49 mef Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= MySQL 5, a free SQL database (client)
CONFLICTS= mysql3-client-[0-9]*
.include "Makefile.common"
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 "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"