# changelog

author: David Axmark <david@detron.se>
changelog:
  - A developers changelog for MySQL is available in the source RPM. And
    there is a history of major user visible changed in the Reference
    Manual.  Only RPM specific changes will be documented here.


author: David Axmark <david@detron.se>
changelog:
  - Removed unportable cc switches from the spec file. The defaults can
    now be overridden with environment variables. This feature is used
    to compile the official RPM with optimal (but compiler version
    specific) switches.

  - Removed the repetitive description parts for the sub rpms. Maybe add
    again if RPM gets a multiline macro capability.

  - Added support for a pt_BR translation. Translation contributed by
    Jorge Godoy <jorge@bestway.com.br>.


author: David Axmark <davida@mysql.com>
changelog:
  - Added support for shared libraries in a separate sub
    package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)

  - The --enable-assembler switch is now automatically disables on
    platforms there assembler code is unavailable. This should allow
    building this RPM on non i386 systems.


author: David Axmark <davida@mysql.com>
changelog:
  - Added the support-files/my-example.cnf to the docs directory.

  - Removed devel dependency on base since it is about client
    development.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Use more RPM macros (e.g. infodir, mandir) to make the spec
    file more portable
  - reorganized the installation of documentation files: let RPM
    take care of this
  - reorganized the file list: actually install man pages along
    with the binaries of the respective subpackage
  - do not include libmysqld.a in the devel subpackage as well, if we
    have a special "embedded" subpackage
  - reworked the package descriptions


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Updated Packager information
  - Fixed the build options: the regular package is supposed to
    include InnoDB and linked statically, while the Max package
    should include BDB and SSL support


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed unusedql.com>

  - Reworked the build steps a little bit: the Max binary is supposed
    to include OpenSSL, which cannot be linked statically, thus trying
    to statically link against a special glibc is futile anyway
  - because of this, it is not required to make yet another build run
    just to compile the shared libs (saves a lot of time)
  - updated package description of the Max subpackage
  - clean up the BuildRoot directory afterwards


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - re-added missing pre- and post(un)install scripts to server subpackage
  - added config file /etc/my.cnf to the file list (just for completeness)
  - make sure to create the datadir with 755 permissions


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - disabled MyISAM RAID (--with-raid)- it throws an assertion which
    needs to be investigated first.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed the GIF Icon (file was not included in the sources anyway)
  - removed unused variable shared_lib_version
  - do not run automake before building the standard binary
    (should not be necessary)
  - add server suffix '-standard' to standard binary (to be in line
    with the binary tarball distributions)
  - Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
    _datadir, _includedir) throughout the spec file.
  - allow overriding CC and CXX (required when building with other compilers)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed BUG 959 (libmysqld not being compiled properly)
  - Fixed BUG 998 (RPM build errors): added missing files to the
    distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
    mysql_fix_privilege_tables.1), removed "-n" from install section.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed BUG 1162 (removed macro names from the changelog)
  - Really fixed BUG 998 (disable the checking for installed but
    unpackaged files)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed dependency on MySQL-client from the MySQL-devel subpackage
    as it is not really required. (BUG 1610)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - when using gcc, _always_ use CXX=gcc
  - replaced Copyright with License field (Copyright is obsolete)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - disabled OpenSSL in the Max binaries again (the RPM packages were the
    only exception to this anyway) (BUG 1043)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Added libmygcc.a to the devel subpackage (required to link applications
    against the the embedded server libmysqld.a) (BUG 4921)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - enabled the "Archive" storage engine for the max binary
  - enabled the "CSV" storage engine for the max binary
  - enabled the "Example" storage engine for the max binary


author: Petr Chardin <petr@mysql.com>
changelog:
  - ISAM and merge storage engines were purged. As well as appropriate
    tools and manpages (isamchk and isamlog)


author: Petr Chardin <petr@mysql.com>
changelog:
  - old mysqlmanager, mysq* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>

  - enabled the "Ndbcluster" storage engine for the max binary
  - added extra make install in ndb subdir after Max build to get ndb binaries
  - added packages for ndbcluster storage engine


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed the MySQL manual files (html/ps/texi) - they have been removed
    from the MySQL sources and are now available seperately.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - use "mysqldatadir" variable instead of hard-coding the path multiple times
  - use the "mysqld_user" variable on all occasions a user name is referenced
  - removed (incomplete) Brazilian translations
  - removed redundant release tags from the subpackage descriptions


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - added mysql_client_test to the "bench" subpackage (BUG 10676)
  - added the libndbclient static and shared libraries (BUG 10676)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Do not build statically on i386 by default, only when adding either "--with
    static" or "--define '_with_static 1'" to the RPM build options. Static
    linking really only makes sense when linking against the specially patched
    glibc 2.2.5.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - create a "mysql" user group and assign the mysql user account to that group
    in the server postinstall section. (BUG 10984)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed the creation of the mysql user group account in the postinstall
    section (BUG 12348)
  - Fixed enabling the Archive storage engine in the Max binary


author: Kent Boortz <kent@mysql.com>
changelog:
  - Give mode arguments the same way in all places
  lenz@mysql.com>

  - fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
    $RBR variable did not get expanded, thus leaving old build roots behind)


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Extend the file existence check for "init.d/mysql" on un-install
    to also guard the call to "insserv"/"chkconfig".


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Avoid using the "bundled" zlib on "shared" builds:
    As it is not installed (on the build system), this gives dependency
    problems with "libtool" causing the build to fail.
    (Change was done on Nov 11, but left uncommented.)


author: Rodrigo Novo <rodrigo@mysql.com>
changelog:
  - Added zlib to the list of (static) libraries installed
  - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
  - Compile MySQL with bundled zlib
  - Fixed %packager name to "MySQL Production Engineering Team"


author: Kent Boortz <kent@mysql.com>
changelog:
  - Pass '-static' to libtool, link static with our own libraries, dynamic
    with system libraries.  Link with the bundled zlib.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Reintroduced a max build
  - Limited testing of 'debug' and 'max' servers
  - Berkeley DB only in 'max'


author: Jim Winstead <jimw@mysql.com>
changelog:
  - Remove sql-bench, and MySQL-bench RPM (will be built as an independent
    project from the mysql-bench repository)


author: Kent Boortz <kent@mysql.com>
changelog:
  - Use "./libtool --mode=execute" instead of searching for the
    executable in current directory and ".libs".


author: Kent Boortz <kent@mysql.com>
changelog:
  - Use character set "all" when compiling with Cluster, to make Cluster
    nodes independent on the character set directory, and the problem
    that two RPM sub packages both wants to install this directory.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)

  - Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
    there are some more aspects which need to be solved before this is possible.
    For now, just ensure the binary "mysql_upgrade" is delivered and installysql.com>

  - To run "mysql_upgrade", we need a running server;
    start it in isolation and skip password checks.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Add "--with-partition" t 2006 Joerg Bruehe <joerg@mysql.com>

  - Use the Perl script to run the tests, because it will automatically check
    whether the server is configured with SSL.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
    replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
    (bug#22081).


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Call "make install" using "benchdir_root=%{_datadir}",
    because that is affecting the regression test suite as well.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
    in the server RPM.
  - The "mysqlmanager" man page got moved from section 1 to 8.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Put back "libmygcc.a", found no real reason it was removed.

  - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
    correct "libgcc.a" path is returned for the 32/64 bit architecture.


author: Daniel Fischer <df@mysql.com>
changelog:
  - Remove Max RPMs; the server RPMs contain a mysqld compiled with all
    features that previously only were built into Max.


author: Timothy Smith <tim@mysql.com>
changelog:
  - Require a manual upgrade if the alread-installed mysql-server is
    from another vendor, or is of a different major version.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Made the "Federated" storage engine an option
  - Made the "Cluster" storage engine and sub packages an option


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Get rid of the "warning: Installed (but unpackaged) file(s) found:"
    Some generated files aren't needed in RPMs:
    - the "sql-bench/" subdirectory
    Some files were missing:
    - /usr/share/aclocal/mysql.m4  ("devel" subpackage)
    - Manual "mysqlbug" ("server" subpackage)
    - Program "innochecksum" and its manual ("server" subpackage)
    - Manual "mysql_find_rows" ("client" subpackage)
    - Script "mysql_upgrade_shell" ("client" subpackage)
    - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
    - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
    This should cover both gcc and icc flags.  Fixes bug#40546.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Correct yesterday's fix, so that it also works for the last flag,
    and fix a wrong quoting: un-quoted quote marks must not be escaped.


author: Jonathan Perkin <jperkin@sun.com>
changelog:
  - Install plugin libraries in appropriate packages.
  - Disable libdaemon_example and ftexample plugins.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - This version does not contain the "Instance manager", "mysqlmanager":
    Remove it from the spec file so that packaging succeeds.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Fix some problems with the directives around "tcmalloc" (experimental),
    remove erroneous traces of the InnoDB plugin (that is 5.1 only).


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - The "semisync" plugin file name has lost its introductory "lib",
    adapt the file lists for the subpackages.
    This is a part missing from the fix for bug#48351.
  - Remove the "fix_privilege_tables" manual, it does not exist in 5.5
    (and likely, the whole script will go, too).


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Change RPM file naming:
    - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
    - Release counts from 1, not 0.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Formatting changes:
    Have a consistent structure of separator lines and of indentation
    (8 leading blanks => tab).
  - Introduce the variable "src_dir".
  - Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
    over "CC" ("CXX").
  - Drop the old "with_static" argument analysis, this is not supported
    in 5.1 since ages.
  - Introduce variables to control the handlers individually, as well
    as other options.
  - Use the new "--with-plugin" notation for the table handlers.
  - Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
    was done back in 2002 already.
  - Make "--with-zlib-dir=bundled" the default, add an option to disable it.
  - Add missing manual pages to the file list.
  - Improve the runtime check for "libgcc.a", protect it against being tried
    with the Intel compiler "icc".


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Set "Oracle and/or its affiliates" as the vendor and copyright owner,
    accept upgrading from packages showing MySQL or Sun as vendor.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Take the result of the debug plugin build and put it into the optimized tree,
    so that it becomes part of the final installation;
    include the files in the packlist. Part of the fixes for bug#49022.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
    mask "rmdir" return code 1.
  - Remove "ha_example.*" files from the list, they aren't built.


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - Large number of changes to build using CMake
  - Introduce distribution-specific RPMs
  - Drop debuginfo, build all binaries with debug/symbols
  - Remove __os_install_post, use native macro
  - Remove _unpackaged_files_terminate_build, make it an error to have
    unpackaged files
  - Remove cluster RPMs


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Change the behaviour on installation and upgrade:
    On installation, do not autostart the server.
    *Iff* the server was stopped before the upgrade is started, this is taken as a
    sign the administrator is handling that manually, and so the new server will
    not be started automatically at the end of the upgrade.
    The start/stop scripts will still be installed, so the server will be started
    on the next machine boot.
    This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - With a recent spec file cleanup, names have changed: A "-community" part was dropped.
    Reflect that in the "Obsoletes" specifications.
  - Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
  - This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - EXCEPTIONS-CLIENT has been deleted, remove it from here too
  - Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
    a '-j' argument to make.


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Fix bug#56581: If an installation deviates from the default file locations
    ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade)
    should still work, and use these locations.
    The problem was that the fix for bug#27072 did not check for local settings.


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Fix bug#45415: "rpm upgrade recreates test database"
    Let the creation of the "test" database happen only during a new installation,
    not in an RPM upgrade.
    This affects both the "mkdir" and the call of "mysql_install_db".


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Null-upmerge the fix of bug#37165: This spec file is not affected.
  - Replace "/var/lib/mysql" by the spec file variable "%{mysqldatadir}".


author: Tor Didriksen <tor.didriksen@oracle.com>
changelog:
  - Set CXX=g++ by default to add a dependency on libgcc/libstdc++.
    Also, remove the use of the -fno-exceptions and -fno-rtti flags.
    TODO: update distro_buildreq/distro_requires


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6.  Due to
    changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
    this necessitated a move of the libmygcc.a installation to the install
    phase, which is probably where it belonged in the first place.


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
    the RPMs of any configuration (of the current or the preceding release series)
    by the new ones. This is done by not using the implicitly generated capabilities
    (which include the configuration name) and relying on more generic ones which
    just list the function ("server", "client", ...).
    The implicit generation cannot be prevented, so all these capabilities must be
    explicitly listed in "Obsoletes:"


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Fix duplicate mentioning of "mysql_plugin" and its manual page,
    it is better to keep alphabetic order in the files list (merging!).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Add a macro "runselftest":
    if set to 1 (default), the test suite will be run during the RPM build;
    this can be oveeridden via the command line by adding
        --define "runselftest 0"
    Failures of the test suite will NOT make the RPM build fail!


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Let the installation use the new option "--random-passwords" of "mysql_install_db".
    (Bug# 12794345 Ensure root password)
  - Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
    of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - Allow to override the default to use the bundled yaSSL by an option like
        --define="with_ssl /path/to/ssl"


author: Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.4-0.1.m14
changelog:
  - 5.7.4
  - Enable shared libmysqld by cmake option
  - Move mysqltest and test plugins to test subpackage


author: Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.6-0.2.m16
changelog:
  - Include boost sources
  - Fix cmake buildrequires
  - Fix build on el5 with gcc44
  - Add license info in each subpackage
  - Soname bump, more compat packages
  - Updated default shell for mysql user
  - Added mysql_ssl_rsa_setup
  - Include mysql-files directory


author: Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.8-0.2.rc
changelog:
  - Added libtest_framework.so, libtest_services.so, libtest_services_threaded.so plugins
  - Build and ship mecab plugin


author: Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.7.9-1
changelog:
  - Updated for 5.7.9
  - Added libtest_* plugins to test subpackage
  - Add mysqlpump man page
  - Obsolete mysql-connector-c-shared dependencies


author: Bharathy Satish <bharathy.x.satish@oracle.com> - 5.7.10-1
changelog:
  - Added new decompression utilities lz4_decompress and zlib_decompress binaries to
    client subpackage.


author: Bjorn Munch <bjorn.munch@oracle.com> - 5.7.10-1
changelog:
  - Added lines to remove man pages we are not ready to include yet
  - Added lz4_decompress and zlib_decompress binaries to client subpackage
  - Drop support for el5, use scl to build on el6


author: Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.8.0-0.1
changelog:
  - Updated compatver to 5.6.31
  - Add example component to test package
  - Add test_udf_services.so plugin
  - Add keyring_udf.so plugin to server subpackage
  - Add keyring_okv.so plugin to commercial server subpackage
  - Purge man page for mysql_install_db in preparation for its removal
  - Include mysql-keyring directory
  - Provide keyring_file.so plugin


author: Erlend Dahl <erlend.dahl@oracle.com> - 8.0.0-0.1
changelog:
  - Change the version number to 8.0.0
  - Add manual page for ibd2sdi utility
  - Adapt MySQL server 5.7 packaging to MySQL Cluster 7.5
  - Remove mysql_config from client subpackage


author: Erlend Dahl <erlend.dahl@oracle.com> - 8.0.12-1
changelog:
  - Move mysqlx to default plugin
  - Add component_mysqlx_global_reset.so
  - Change the global milestone to 'dmr'
  - Add meb as sub package
  - Remove obsoleted mysqltest man pages
  - Independently choose SSL for the 5.6 compat lib, depending on commercial
  - Include udf_example.so in test package
  - Add component_validate_password component
  - Add License Book, remove COPYING
  - No longer need to remove obsoleted mysqltest man pages
  - Add perl modules for test subpackage
  - Add router as subpackage


author: Georgi Kodinov <georgi.kodinov@oracle.com> - 8.0.13-1
changelog:
  - Added test_services_host_application_signal test plugin
  - Adapt to numbered share directory for NDB files
  - Add Router


author: Bjorn Munch <bjorn.munch@oracle.com> - 8.0.17-1
changelog:
  - Add router man pages
  - Bundle mecab as usual on el8
  - Ship debuginfo and separate server-debug package on el8
  - Some clean up


