# changelog

author: Rikus Goodell <rikus.goodell@cpanel.net> 5.1.67-1.cp1136
changelog:
  - New upstream release
  - Remove previous patch, as CVE-2012-5611 is addressed in 5.1.67.
  - Put MySQL back into init system when RPM is renamed to MySQL51


author: Kyle Lafkoff <kyle.lafkoff@cpanel.net> - 5.1.66-1.cp1136
changelog:
  - Rename package from MySQL to MySQL51 to prevent packaging system confusion
  - Obsolete MySQL package names
  - Patch scripts to use /usr/local/cpanel/3rdparty/bin/perl
  - add parallel build to default at -j6
  - remove detection of perl dependencies during build.
  - Add trigger for MySQL-server so mysqld is restarted when MySQL-server is removed


author: brian m. carlson <brian.carlson@cpanel.net> 5.1.66-0.cloud
changelog:
  - New upstream release
  - Rebased previous patches from last update.
  - Removed YaSSL patch since the bug has been fixed upstream.


author: Kyle Lafkoff <kyle.lafkoff@cpanel.net> 5.1.59-0.cloud
changelog:
  - New upstream release
  - Rename revision to reflect cloud linux patches
  - Because this build will have cloud linux patches, it will only be built for CentHat 4-6. As a result,
    legacy compatibility patches have been removed (gcc_296_operator_delete.patch, SYS_gettid-constant.patch)
  - Applied Cloud Linux patches: 
  -  0002-Cloud-Linux-userstat_mysql.patch
  -  0003-Cloud-Linux-max_connection2.patch
  -  Auto Generated: 0004-autogen.patch


author: Todd Rinaldo <toddr@cpanel.net> 5.1.55-0
changelog:
  - New upstream release
  - upstream started using SYS_gettid stacktrace.c which isn't present
    in pre-AS3. Patch it back off in pre-AS3 - MySQL bug 60171


author: Todd Rinaldo <toddr@cpanel.net> 5.1.54-0
changelog:
  - New upstream release
  - Add -Wno-unused-parameter to CXXFLAGS per \#mysql-dev
  - Add patch pointer_patch_5154.patch for Mysql bug 57990


author: Todd Rinaldo <toddr@cpanel.net> 5.1.47-0
changelog:
  - New upstream release
  - Upstream seems to have absorbed patch gcc_init_vars_before_code.mysql.5.1.46.patch


author: Todd Rinaldo <toddr@cpanel.net> 5.1.46-0
changelog:
  - New upstream release
  - mysql 5.1.46 - patch 2 new c files that declare variables mid-function which breaks older compilers


author: Todd Rinaldo <toddr@cpanel.net> 5.1.44-0
changelog:
  - New upstream release
  - all unpackaged files removed
  - define _unpackaged_files_terminate_build 0 turned off so we can see when files are added.


author: Todd Rinaldo <toddr@cpanel.net> 5.1.43-0
changelog:
  - New upstream release
  - patch mysql-5.1-gcc-2.95.patch absorbed by upstream
  - patch gcc_296_operator_delete.patch will remain: "5.1 has dropped support for GCC 2.96 (not that they won't work) which means that fixes for old compilers won't be included"
  - Removed support for optional CLUSTER/YASSL/EMBEDDED/NDB. Hard coded to the cpanel way in spec file.
  - Trustix 2 segfaults during build. We're going to exclude it from this build run and see how it goes next time around.
  - Build wrapper was causing breaks. spec file simplified. Should be more clear how the build process works for this.
  - tried and failed --with-plugin= this caused innodb not to be built with the binary.


author: Todd Rinaldo <toddr@cpanel.net> 5.1.41-0
changelog:
  - New upstream release
  - Update patching via git now.
  - Patches standard -p1 now.
  - Pull spec file from upstream as of 5.1.41 force charsets for be all regardless of cluster build
  - Monitoring MySQL bug giving bogus configure warning messages: http://bugs.mysql.com/bug.php?id=42872
  - innodb plugin hardcoded on
  - zlib always bundled.
  - gcc_296_operator_delete.patch from MySQL 5.0 now seems to be required for gcc 2.96 envs.
  - add --without-mysqlmanager to debug build since not only do we never use the code, but it's breaking on gcc 2.96
  - mandrake 8.2 is breaking for compile due to -O3 option. Switching to -O2 for ALL gcc 2.96


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


author: John Lightsey <jd@cpanel.net> 5.1.30-0
changelog:
  - New upstream release
  - Add conditional compilation of embedded package
  - Switch conditional logic to build with YASSL support by default
  - Suppress testing during RPM build process
  - Add mysql-5.1.30-gcc-2.95.patch to remove C99 syntax


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


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: 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: 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: 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: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Call "make install" using "benchdir_root=/usr/share", 
    because that is affecting the regression test suite as well.


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:
  - Add "--with-partition" to all server builds.

  - Use "--report-features" in one test run per server build.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - The "max" server is removed from packages, effective from 5.1.12-beta.
    Delete all steps to build, package, or install it.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - 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:
  - 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 installed.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Close a gap of the previous version by explicitly using
    a newly created temporary directory for the socket to be used
    in the "mysql_upgrade" operation, overriding any local setting.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - To run "mysql_upgrade", we need a running server;
    start it in isolation and skip password checks.


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


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:
  - Reintroduced a max build
  - Limited testing of 'debug' and 'max' servers
  - Berkeley DB only in 'max'


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: 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 Sun Microsystems, Inc. Product Engineering Team <build@mysql.com> name to "MySQL Production Engineering Team"


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: 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: Kent Boortz <kent@mysql.com>
changelog:
  - Give mode arguments the same way in all places
  - Moved copy of mysqld.a to "standard" build, but
    disabled it as we don't do embedded yet in 5.0


author: Kent Boortz <kent@mysql.com>
changelog:
  - For 5.x, always compile with --with-big-tables
  - Copy the config.log file to location outside
    the build tree


author: Kent Boortz <kent@mysql.com>
changelog:
  - Removed unneeded/obsolete configure options
  - Added archive engine to standard server
  - Removed the embedded server from experimental server
  - Changed suffix "-Max" => "-max"
  - Changed comment string "Max" => "Experimental"


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - added a usermod call to assign a potential existing mysql user to the
    correct user group (BUG#12823)
  - Save the perror binary built during Max build so it supports the NDB
    error codes (BUG#13740)
  - added a separate macro "mysqld_group" to be able to define the
    user group of the mysql user seperately, if desired.


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


author: Petr Chardin <petr@mysql.com>
changelog:
  - old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
    mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Disabled RAID in the Max binaries once and for all (it has finally been
    removed from the source tree)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed the compilation comments and moved them into the separate build sections
    for Max and Standard


author: Tomas Ulin <tomas@mysql.com>
changelog:
  - 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: Petr Chardin <petr@mysql.com>
changelog:
  - ISAM and merge storage engines were purged. As well as appropriate
    tools and manpages (isamchk and isamlog)


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: 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:
  - 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:
  - when using gcc, _always_ use CXX=gcc 
  - replaced Copyright with License field (Copyright is obsolete)


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:
  - 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:
  - 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:
  - 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:
  - disabled MyISAM RAID (--with-raid) - it throws an assertion which
    needs to be investigated first.


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:
  - renamed package "MySQL" to "MySQL-server"
  - fixed Copyright tag
  - added mysql_waitpid to client subpackage (required for mysql-test-run)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of 
    Linux distributions now support this scheme as proposed by the LSB either
    directly or via a compatibility symlink)
  - Use new "restart" init script action instead of starting and stopping
    separately
  - Be more flexible in activating the automatic bootup - use insserv (on
    older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
    others) to create the respective symlinks


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Turn off OpenSSL in MySQL-Max for now until it works properly again
  - enable RAID for the Max binary instead
  - added compatibility link: safe_mysqld -> mysqld_safe to ease the
    transition from 3.23


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - 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:
  - 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:
  - 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: 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: 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 <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 <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.


