diff -Nru mysql-5.5-5.5.41/debian/additions/my.cnf mysql-5.5-5.5.41/debian/additions/my.cnf --- mysql-5.5-5.5.41/debian/additions/my.cnf 2014-02-19 21:18:21.000000000 +0000 +++ mysql-5.5-5.5.41/debian/additions/my.cnf 2015-01-30 11:25:16.000000000 +0000 @@ -77,9 +77,10 @@ log_error = /var/log/mysql/error.log # # Here you can see queries with especially long duration -#log_slow_queries = /var/log/mysql/mysql-slow.log +#slow_query_log_file = /var/log/mysql/mysql-slow.log +#slow_query_log = 1 #long_query_time = 2 -#log-queries-not-using-indexes +#log_queries_not_using_indexes # # The following can be used as easy to replay backup logs or for replication. # note: if you are setting up a replication slave, see README.Debian about diff -Nru mysql-5.5-5.5.41/debian/changelog mysql-5.5-5.5.41/debian/changelog --- mysql-5.5-5.5.41/debian/changelog 2015-01-21 13:11:05.000000000 +0000 +++ mysql-5.5-5.5.41/debian/changelog 2015-01-30 13:48:12.000000000 +0000 @@ -1,77 +1,61 @@ -mysql-5.5 (5.5.41-0ubuntu1) vivid; urgency=medium +mysql-5.5 (5.5.41-1~ubuntu15.04.1~ppa1) vivid; urgency=medium - * SECURITY UPDATE: Update to 5.5.41 to fix security issues (LP: #1413188) - - http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html - - CVE-2014-6568 - - CVE-2015-0374 - - CVE-2015-0381 - - CVE-2015-0382 - - CVE-2015-0411 - - CVE-2015-0432 - * d/p/fix-func_math-test-failure.patch: removed, upstream. - - -- Marc Deslauriers Wed, 21 Jan 2015 07:56:36 -0500 - -mysql-5.5 (5.5.40-0ubuntu1) utopic; urgency=medium - - * New upstream point release, including fixes for: - - mysql crash during neutron database sync (LP: #1378359). - - -- James Page Tue, 07 Oct 2014 19:39:53 +0100 - -mysql-5.5 (5.5.39-0ubuntu4) utopic; urgency=medium - - * d/p/fix-mysqlhotcopy-test-failure.patch: Add return code 255 to list of - allowable return codes, resolving autopkgtest failure in mysqlhotcopy - tests. + * No-change backport to vivid - -- James Page Fri, 05 Sep 2014 11:15:43 +0100 + -- James Page Fri, 30 Jan 2015 13:48:12 +0000 -mysql-5.5 (5.5.39-0ubuntu3) utopic; urgency=medium +mysql-5.5 (5.5.41-1) UNRELEASED; urgency=medium - * d/p/fix-func_math-test-failure.patch: Fix failing func_math test. - * d/rules: Revert changes in 5.5.39-0ubuntu2 so that test failures - continue to block package builds. - - -- James Page Mon, 01 Sep 2014 13:31:23 +0100 - -mysql-5.5 (5.5.39-0ubuntu2) utopic; urgency=medium - - * Let the amd64 and i386 builds behave like all the other builds: Ignore - the test results. There is one test failing out of 1728 tests - (main.func_math). - - -- Matthias Klose Fri, 22 Aug 2014 19:03:50 +0200 - -mysql-5.5 (5.5.39-0ubuntu1) utopic; urgency=medium - - * New upstream release. + [ James Page ] + * SECURITY UPDATE: Update to 5.5.41 to fix security issues: + - http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html + - CVE-2015-0411, CVE-2015-0382, CVE-2015-0381, CVE-2015-0432, + CVE-2014-6568, CVE-2015-0374 + (Closes: #775881). + * d/p/fix-func_math-test-failure.patch: Dropped, included upstream. + + [ Akhil Mohan ] + * Example option in log_slow_queries d/additions/my.cnf is deprecated + and replaced with options slow_query_log_file and slow_query_log. + (Closes: #677222) + + -- James Page Wed, 21 Jan 2015 11:04:41 +0000 + +mysql-5.5 (5.5.40-1) unstable; urgency=medium + + * SECURITY UPDATE: Update to 5.5.40 to fix security issues: + - http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html + - CVE-2012-5615, CVE-2014-4274, CVE-2014-4287, CVE-2014-6463, + CVE-2014-6464, CVE-2014-6469, CVE-2014-6478, CVE-2014-6484, + CVE-2014-6491, CVE-2014-6494, CVE-2014-6495, CVE-2014-6496, + CVE-2014-6500, CVE-2014-6505, CVE-2014-6507, CVE-2014-6520, + CVE-2014-6530, CVE-2014-6551, CVE-2014-6555, CVE-2014-6559 + (Closes: #765663, #769337) + * d/p/fix-mysqlhotcopy-test-failure.patch: Add return code 255 to the list + of allowable return codes for mysqlhotcopy tests. + * d/rules: Enable parallel builds. - -- Matthias Klose Fri, 22 Aug 2014 14:55:04 +0200 + -- James Page Mon, 24 Nov 2014 16:31:57 +0000 -mysql-5.5 (5.5.38-0ubuntu1) utopic; urgency=medium +mysql-5.5 (5.5.39-1) unstable; urgency=medium - * SECURITY UPDATE: Update to 5.5.38 to fix security issues (LP: #1342709) + * SECURITY UPDATE: Update to 5.5.38 to fix security issues: - http://www.oracle.com/technetwork/topics/security/cpujul2014-1972956.html - CVE-2014-2494 - CVE-2014-4207 - CVE-2014-4258 - CVE-2014-4260 + * New upstream release. + * d/p/fix-func_math-test-failure.patch: Fix for failing func_math test + (Closes: #753196, #746883). - -- Marc Deslauriers Wed, 16 Jul 2014 08:56:05 -0400 - -mysql-5.5 (5.5.37-0ubuntu0.14.04.2) utopic; urgency=high - - * No change rebuild against new dh_installinit, to call update-rc.d at - postinst. - - -- Dimitri John Ledkov Wed, 28 May 2014 10:40:40 +0100 + -- James Page Mon, 01 Sep 2014 13:20:20 +0100 -mysql-5.5 (5.5.37-0ubuntu0.14.04.1) trusty-security; urgency=medium +mysql-5.5 (5.5.37-1) unstable; urgency=medium - * SECURITY UPDATE: Update to 5.5.37 to fix security issues (LP: #1309662) + * SECURITY UPDATE: Update to 5.5.37 to fix security issues (Closes: #744910) - http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html - - CVE-2014-0001 + - CVE-2014-0001 (Closes: #737596). - CVE-2014-0384 - CVE-2014-2419 - CVE-2014-2430 @@ -80,36 +64,40 @@ - CVE-2014-2436 - CVE-2014-2438 - CVE-2014-2440 + * d/mysql-server-5.5.mysql.init: Fixup indentation on previous change + (Closes: #739846). + * d/rules: Always install apparmor profile, not just on Ubuntu + (Closes: #736087). + * d/control: Update for use of virtual-* packages for switching to/from + MySQL alternatives. + * d/watch,repack.*: Drop repackaging as upstream tarball is now DFSG + compliant. + + -- James Page Thu, 24 Apr 2014 18:03:59 +0100 - -- Marc Deslauriers Fri, 18 Apr 2014 13:37:55 -0400 +mysql-5.5 (5.5.35+dfsg-2) unstable; urgency=low -mysql-5.5 (5.5.35+dfsg-1ubuntu1) trusty; urgency=low + [ Clint Byrum ] + * d/mysql-server-5.5.mysql.init: Increase timeout to 30s (Closes: #736452). + * d/mysql-server-5.5.postinst: Run mysql_install_db as mysql so tables are + not created as root (Closes: #737224). + + [ Robie Basak ] + * Re-sync relevant Ubuntu changes: + - d/control: Make innotop usable without installing Suggests. + - d/rules: Build with debug symbols. + - d/{additions/my.cnf,mysql-server-5.5.mysql-server.logrotate}: + Write an error log and logrotate it. + - d/control,rules,apparmor-profile,mysql-server-5.5.files: + Add AppArmor profile (Closes: #736087). + - d/control: Move mailx from Recommends to Suggests. + - d/control,d/tests/*: Add DEP-8 tests. + - d/control: Re-add mysql-testsuite metapackage. - * Merge from Debian unstable. - * Cherry-picks from Debian VCS for 5.5.35+dfsg-2, as it is held in Debian - binNEW: - - d/mysql-server-5.5.mysql.init: Increase timeout to 30s. - - d/mysql-server-5.5.postinst: Run mysql_install_db as mysql so tables are - not created as root. - - Re-add mysql-testsuite metapackage. - - Add dep8 tests. - - Move mailx from Recommends to Suggests. - - Add AppArmor profile. - - Write an error log and logrotate it. - - Build with debug symbols. - - Make innotop usable without installing Suggests. - - d/control: Drop Nicholas from Uploaders, MIA. - - Add missing misc:Depends to mysql-testsuite. - * Remaining changes currently maintained only in the Ubuntu delta: - - d/mysql-server-5.5.postrm: restore postrm debhelper token - to get proper behaviors from dh_installinit and dh_apparmor. In - discussion in Debian, but not yet committed. - - Add upstart script. Blocked in Debian by the debhelper token issue above. - - Add apport hook. Not relevant for Debian. - - Split mysql-client-core-5.5 out from mysql-client-5.5. Submitted to - Debian, but not yet accepted. + [ James Page ] + * d/control: Drop Nicholas from Uploaders, MIA (Closes: #739361). - -- Robie Basak Wed, 19 Feb 2014 21:08:10 +0000 + -- James Page Wed, 19 Feb 2014 12:37:01 +0000 mysql-5.5 (5.5.35+dfsg-1) unstable; urgency=low @@ -154,38 +142,6 @@ -- James Page Sat, 18 Jan 2014 21:38:18 +0000 -mysql-5.5 (5.5.35-0ubuntu1) trusty; urgency=low - - * SECURITY UPDATE: Update to 5.5.35 to fix security issues (LP: #1269993) - - http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html - - CVE-2013-5891 - - CVE-2013-5908 - - CVE-2014-0386 - - CVE-2014-0393 - - CVE-2014-0401 - - CVE-2014-0402 - - CVE-2014-0412 - - CVE-2014-0420 - - CVE-2014-0437 - - -- Marc Deslauriers Thu, 16 Jan 2014 19:50:07 -0500 - -mysql-5.5 (5.5.34-0ubuntu2) trusty; urgency=low - - [ Eduardo Damato ] - * Fix upstart script to account for datadir disk shortage (LP: #1121874). - - -- Dave Chiluk Mon, 18 Nov 2013 09:38:46 +0000 - -mysql-5.5 (5.5.34-0ubuntu1) trusty; urgency=low - - * SECURITY UPDATE: Update to 5.5.34 to fix security issues (LP: #1243253) - - http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html - - CVE-2013-3839 - - CVE-2013-5807 - - -- Marc Deslauriers Thu, 24 Oct 2013 13:02:18 -0400 - mysql-5.5 (5.5.33+dfsg-1) unstable; urgency=low * d/rules, d/control: Remove gcc-4.4 dependency and disable X86 @@ -204,70 +160,6 @@ -- Clint Byrum Thu, 26 Sep 2013 09:14:47 -0700 -mysql-5.5 (5.5.32-0ubuntu7) saucy; urgency=low - - * d/rules, d/control: remove gcc-4.4 dependency and disable X86 assembly in - taocrypt (LP: #1162139). - - Cherry-pick from Debian svn r2231 with thanks to Clint Byrum. - - -- Robie Basak Wed, 18 Sep 2013 10:02:09 +0000 - -mysql-5.5 (5.5.32-0ubuntu6) saucy; urgency=low - - * d/tests/upstream: Redirect stderr>stdout to fix DEP-8 test failure. - - -- James Page Fri, 30 Aug 2013 11:01:02 +0100 - -mysql-5.5 (5.5.32-0ubuntu5) saucy; urgency=low - - * Drop unnecessary depends on versioned upstart. Apparmor loading helper - has been available for more than one LTS release now, so explicit - dependency is not required any more. - - -- Dmitrijs Ledkovs Thu, 29 Aug 2013 14:34:32 +0100 - -mysql-5.5 (5.5.32-0ubuntu4) saucy; urgency=low - - * d/tests/upstream: Remove trailing / from --vardir to fix DEP-8 test - failures (LP: #1216008). - - -- James Page Thu, 29 Aug 2013 14:10:52 +0100 - -mysql-5.5 (5.5.32-0ubuntu3) saucy; urgency=low - - * Revert 5.5.32-0ubuntu2, which caused a severe regression making the - package uninstallable. See LP: #1121874 for details. - - -- Robie Basak Tue, 27 Aug 2013 11:55:13 +0000 - -mysql-5.5 (5.5.32-0ubuntu2) saucy-proposed; urgency=low - - [Eduardo Damato] - * Fix upstart script to account for datadir disk shortage (LP: #1121874) - - -- Adam Stokes Wed, 31 Jul 2013 15:21:15 -0400 - -mysql-5.5 (5.5.32-0ubuntu1) saucy; urgency=low - - * SECURITY UPDATE: Update to 5.5.32 to fix security issues (LP: #1203828) - - http://www.oracle.com/technetwork/topics/security/cpujuly2013-1899826.html - - CVE-2013-1861 - - CVE-2013-3783 - - CVE-2013-3793 - - CVE-2013-3802 - - CVE-2013-3804 - - CVE-2013-3809 - - CVE-2013-3812 - * SECURITY UPDATE: insecure creation of debian.cnf file - - debian/mysql-server-5.5.postinst: set umask to 066 before creating - debian.cnf. - - CVE-2013-2162 - * Fix FTBFS from test suite failure - - debian/patches/72_fix_rpl_deadlock_innodb_test.patch: ignore warning - from rpl.rpl_deadlock_innodb test in mysql-test/include/mtr_warnings.sql. - - -- Marc Deslauriers Tue, 23 Jul 2013 08:51:03 -0400 - mysql-5.5 (5.5.31+dfsg-1) unstable; urgency=high * New upstream release. @@ -280,22 +172,6 @@ -- Clint Byrum Mon, 06 May 2013 12:22:55 -0700 -mysql-5.5 (5.5.31-0ubuntu1) saucy; urgency=low - - * Adjust Apparmor profile to allow reading PID file (LP: #1185573) - - -- Simon Deziel Wed, 29 May 2013 16:14:02 -0400 - -mysql-5.5 (5.5.31-0ubuntu0.13.04.1) raring-security; urgency=low - - * SECURITY UPDATE: Update to 5.5.31 to fix security issues (LP: #1170516) - - http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html - * debian/patches/71_disable_rpl_tests.patch: refreshed. - * debian/patches/fix-mysqldump-test.patch: removed, fixed differently - upstream - - -- Seth Arnold Thu, 18 Apr 2013 18:25:54 -0700 - mysql-5.5 (5.5.30+dfsg-1.1) unstable; urgency=low * Non-maintainer upload. @@ -321,15 +197,6 @@ -- Nicholas Bamber Fri, 11 Jan 2013 15:29:53 +0000 -mysql-5.5 (5.5.29-0ubuntu1) raring; urgency=low - - * SECURITY UPDATE: Update to 5.5.29 to fix security issues (LP: #1100264) - - http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html - * debian/patches/CVE-2012-5611.patch: removed, included upstream. - * debian/patches/38_scripts__mysqld_safe.sh__signals.patch: refreshed. - - -- Marc Deslauriers Wed, 16 Jan 2013 08:29:25 -0500 - mysql-5.5 (5.5.28+dfsg-1) unstable; urgency=low * New upstream release (resolves CVE-2012-3163, CVE-2012-3158, CVE-2012-3177, @@ -346,115 +213,6 @@ -- Nicholas Bamber Sun, 28 Oct 2012 09:22:24 +0000 -mysql-5.5 (5.5.28-0ubuntu4) raring; urgency=low - - * Add autopkgtests for running the upstream tests against the installed - packages, and building a simple program against libmysqlclient. - - -- Daniel Kessel Thu, 03 Jan 2013 18:21:53 +0100 - -mysql-5.5 (5.5.28-0ubuntu3) raring; urgency=low - - * SECURITY UPDATE: arbitrary code execution via long argument - - debian/patches/CVE-2012-5611.patch: don't overflow buffer in - sql/sql_acl.cc, add tests to mysql-test/t/information_schema.test, - mysql-test/r/information_schema.result. - - CVE-2012-5611 - - -- Marc Deslauriers Mon, 10 Dec 2012 09:59:17 -0500 - -mysql-5.5 (5.5.28-0ubuntu2) raring; urgency=low - - * Set CMAKE_BUILD_TYPE to RelWithDebInfo instead of Debug so - optimizations are restored, and so that DBUG_ASSERT does not crash - the server. - - -- Clint Byrum Wed, 28 Nov 2012 23:16:59 -0800 - -mysql-5.5 (5.5.28-0ubuntu1) raring; urgency=low - - [ Alex Bligh ] - * debian/mysql-server-5.5.postinst: Add Create_tablespace_priv which - was missed in the 5.1 -> 5.5 transition, and regressed GRANT - privileges for the debian-sys-maint user. (LP: #1062716) - - [ Clint Byrum ] - * d/rules: Build with debug symbols (LP: #1014872) - - -- Clint Byrum Tue, 27 Nov 2012 03:50:57 -0800 - -mysql-5.5 (5.5.28-0ubuntu0.12.10.1) quantal-security; urgency=low - - * SECURITY UPDATE: Update to 5.5.28 to fix security issues (LP: #1068158) - - http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html - * debian/patches/fix-mysqlhotcopy.patch: removed, included upstream. - - -- Marc Deslauriers Thu, 18 Oct 2012 11:09:57 -0400 - -mysql-5.5 (5.5.27-0ubuntu2) quantal; urgency=low - - * Fix mysqlhotcopy for databases containing views (LP: #1015033): - - d/patches/fix-mysqlhotcopy.patch: Fix picked from upstream bug - tracker which is included in mysql >= 5.6. - * Enable use of native AIO (LP: #999766): - - d/rules,control: BD on libaio-dev, Enable AIO flags during package - build process. - * Make innotop usable without installing Suggests (LP: #1000605): - - d/control: Promote libterm-readkey-perl from Suggests to Depends. - - -- James Page Fri, 07 Sep 2012 08:06:13 +0100 - -mysql-5.5 (5.5.27-0ubuntu1) quantal-proposed; urgency=low - - * New upstream release. - - -- Clint Byrum Thu, 23 Aug 2012 13:44:28 -0700 - -mysql-5.5 (5.5.25a-0ubuntu2) quantal-proposed; urgency=low - - [ Clint Byrum ] - * d/mysql-server-5.5.py: Update apport hook to add mysql error log. - also fix small bug found in testing with missing string import. - - [ Marc Deslauriers ] - * d/mysql-server-5.5.py: use attach_mac_events() to properly attach and - tag AppArmor denied messages. - - -- Marc Deslauriers Mon, 20 Aug 2012 12:36:05 -0400 - -mysql-5.5 (5.5.25a-0ubuntu1) quantal; urgency=low - - [ Clint Byrum ] - * New upstream release. - * d/additions/my.cnf: Ensure mysql errors are written to log file. - (LP: #1014732) - * d/mysql-server-5.5.mysql-server.logrotate: Add - /var/log/mysql/error.log so it is rotated properly. (LP: #879560) - * d/control: remove Vcs-* as they are inaccurate in Ubuntu. - * d/rules: use WITH_SSL=bundled to ensure that we do not accidentally - build against openssl. - * d/control, d/rules: cherry pick fix from Debian to use gcc 4.4 only - for i386 to work around problems with yaSSL assembly (LP: #1012139) - - [ Matthieu Baerts (matttbe) ] - * Update apport hook for python3 ; patch by Edward Donovan (LP: #1013171) - - -- Clint Byrum Thu, 19 Jul 2012 16:14:50 -0700 - -mysql-5.5 (5.5.25-0ubuntu2) quantal; urgency=low - - * d/control,d/rules: Revert to gcc 4.5 to workaround bug #1012139 - - -- Clint Byrum Tue, 12 Jun 2012 11:25:22 -0700 - -mysql-5.5 (5.5.25-0ubuntu1) quantal; urgency=low - - * New upstream release (LP: #1011371, LP: #986892) - * d/rules: change get-orig-source to pull from a working mirror. - * d/control: Build with default compiler instead of gcc 4.5 - - -- Clint Byrum Mon, 11 Jun 2012 23:34:14 -0700 - mysql-5.5 (5.5.24+dfsg-9) unstable; urgency=low * Danish debconf translation (Closes: #684566) @@ -595,22 +353,6 @@ -- Nicholas Bamber Thu, 03 May 2012 18:03:34 +0100 -mysql-5.5 (5.5.22-0ubuntu1) precise; urgency=low - - * New upstream release (LP: #965523) - * d/mysql-server-5.5.mysql.upstart: Add respawn limit and code - to exit ping loop if mysqld needs to be respawned. (LP: #711635) - * New upstream bugfix release. - * Refreshed patches - * d/control: Build-Dep on dh-apparmor (LP: #948481) - * d/p/fix-mysqldump-test.patch: Fixes unreliable test introduced in - new upstream version. http://bugs.mysql.com/bug.php?id=64401 - * d/control: Re-add empty meta-package for mysql-testsuite so users - will get the 5.5 version on upgrade and when installing - mysql-testsuite. (LP: #959683) - - -- Clint Byrum Thu, 29 Mar 2012 17:31:30 -0700 - mysql-5.5 (5.5.20-1) experimental; urgency=low [ Guillaume Plessis ] @@ -691,110 +433,6 @@ -- Nicholas Bamber Sat, 28 Apr 2012 15:02:16 +0100 -mysql-5.5 (5.5.20-0ubuntu3) precise; urgency=low - - * d/rules,d/mysql-server-5.5.files: Restoring apport hook and - apparmor profile (LP: #934013) - * d/mysql-server-5.5.postrm: restoring postrm debhelper token - to get proper behaviors from dh_installinit and dh_apparmor. - - -- Clint Byrum Fri, 17 Feb 2012 13:06:24 -0800 - -mysql-5.5 (5.5.20-0ubuntu2) precise; urgency=low - - * d/rules,d/control: Revert to using gcc/g++ 4.5 due to test suite - segfaults on i386 and amd64. - - -- Clint Byrum Wed, 15 Feb 2012 12:13:35 -0800 - -mysql-5.5 (5.5.20-0ubuntu1) precise; urgency=low - - * New upstream release. - * d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is - fully stopped before shutdown commences. (LP: #688541) Also simplify - start on as it is redundant. - * d/control: Depend on upstart version which has apparmor profile load - script to prevent failure on upgrade from lucid to precise. - (LP: #907465) - * d/apparmor-profile: need to allow /run since that is the true path - of /var/run files. (LP: #917542) - * d/control: mysql-server-5.5 has files in it that used to be owned - by libmysqlclient-dev, so it must break/replace it. (LP: #912487) - * d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6, - change compiler back to system default. - * d/rules: Turn off embedded libedit/readline.(Closes: #659566) - - -- Clint Byrum Tue, 14 Feb 2012 23:59:22 -0800 - -mysql-5.5 (5.5.17-4ubuntu6) precise; urgency=low - - * d/control: need to also break mysql-client-core-5.1 and - mysql-server-core-5.1 as well so that apt knows not to - remove mysql-server/mysql-client. - * d/control: convert mysql-client back to a meta-package as well. - * d/patches/72_fix_standalone_tests.patch: fix testsuite so it - will run all tests when run from system /usr/lib/mysql-testsuite - directory. - - -- Clint Byrum Fri, 25 Nov 2011 18:07:00 -0800 - -mysql-5.5 (5.5.17-4ubuntu5) precise; urgency=low - - * d/control: convert mysql-server back to a meta-package until - 5.1 is removed from the archive. - * d/control: mysql-common includes configuration items that only - work on mysql 5.5, so adding Breaks: for client and server 5.1. - This will make mysql-server-5.1 and mysql-client-5.1 uninstallable - which is actually desired. - - -- Clint Byrum Thu, 24 Nov 2011 13:59:50 -0800 - -mysql-5.5 (5.5.17-4ubuntu4) precise; urgency=low - - * d/patches/71_disable_rpl_tests.patch: disables this test until - bug #894146 can be triaged. - - -- Clint Byrum Wed, 23 Nov 2011 12:40:11 -0800 - -mysql-5.5 (5.5.17-4ubuntu3) precise; urgency=low - - * d/mysql-client-5.5.files: add missing mysql_plugin - * d/libmysqlcient18.files,libmysqlclient-dev.files,d/rules: re-add - libmysqlclient_r. In hindsight, removing it was not a productive - change. - * d/libmysqlclient-dev.files: ship entire contents of include dir, - some of these files are included internally by others in the main - dir. - - -- Clint Byrum Wed, 23 Nov 2011 10:22:38 -0800 - -mysql-5.5 (5.5.17-4ubuntu2) precise; urgency=low - - * d/patches/70_mysql_va_list.patch: cherry pick patch from - upstream bug tracker to fix ARM build failure. (LP: #700982) - - -- Clint Byrum Tue, 22 Nov 2011 11:00:14 -0800 - -mysql-5.5 (5.5.17-4ubuntu1) precise; urgency=low - - * Merge from debian experimental. (LP: #690925) Remaining changes from - mysql-5.1 packaging: - - Split mysql-client into mysql-client-core - - Change breaks/replaces to mysql-client-core-5.1 to allow - proper upgrades from 5.1. - - drop mailx to suggests. - - * Additional changes from pkg-mysql svn: - [ Guillaume Plessis ] - * d/rules: Enabling ARCHIVE, BLACKHOLE, and FEDERATED engines. - (Closes: #649484) - - [Clint Byrum ] - * d/copyright: rearranging to have standalone license paragraphs - silencing lintian complaints about missing paragraphs. - - -- Clint Byrum Mon, 21 Nov 2011 22:52:53 -0800 - mysql-5.5 (5.5.17-4) experimental; urgency=low * d/control: Pre-Depend on multiarch-support and misc:Pre-Depends. @@ -840,24 +478,70 @@ -- Clint Byrum Tue, 08 Nov 2011 11:31:13 -0800 -mysql-5.5 (5.5.13-0ubuntu1) experimental; urgency=low +mysql-5.5 (5.5.13-1) experimental; urgency=low + [Clint Byrum] * New upstream major release. Changing source name to mysql-5.5. - (LP: #690925) - * New upstream release. - * dropping usr/lib/libmysqlclient*.la as they are no longer built + (closes: #609592, #637274) + * Dropping usr/lib/libmysqlclient*.la as they are no longer built by the cmake build, and are not necessary for linking properly. - * Removing obsolete automake and dpatch build deps - * converted source format to 3.0 (quilt) - * debian/patches: converted to quilt, and removed all except disable - long filename check to allow building on sbuild/chroots - * renamed packages with -5.1 suffix to -5.5. - * renaming mysql-testsuite to mysql-testsuite-5.5 - * dropping unneeded docs files - * dropping libmysqlclient16-dev as transition is complete. - * bumping libmysqlclient to v18 for new SONAME. + * Removing obsolete automake and dpatch build deps. + * Converted source format to 3.0 (quilt). + * debian/patches: Converted to quilt, and removed all except disable + long filename check to allow building on sbuild/chroots. + * Renamed packages with -5.1 suffix to -5.5. + * Renaming mysql-testsuite to mysql-testsuite-5.5. + * Dropping unneeded docs files. + * Dropping libmysqlclient16-dev as transition is complete. + * Bumping libmysqlclient to v18 for new SONAME. + + [Norbert Tretkowski] + * Update my.cnf to use --lc-messages-dir instead --language. + + -- Norbert Tretkowski Thu, 23 Jun 2011 10:25:33 +0200 + +mysql-5.1 (5.1.58-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Sun, 17 Jul 2011 17:26:27 +0200 + +mysql-5.1 (5.1.57-3) unstable; urgency=low + + * Really fix syntax warning in preinst. (closes: #630672) + + -- Norbert Tretkowski Tue, 21 Jun 2011 10:33:25 +0200 + +mysql-5.1 (5.1.57-2) unstable; urgency=low + + * Acknowledge NMUs. (closes: #614044) + * Fix syntax warning in preinst. (closes: #630672) + + -- Norbert Tretkowski Sat, 18 Jun 2011 19:28:35 +0200 + +mysql-5.1 (5.1.57-1.3) unstable; urgency=high + + * Non-maintainer upload. + * Use correct DEB_HOST_GNU_TYPE and not DEB_HOST_BUILD_TYPE. + + -- Ondřej Surý Mon, 13 Jun 2011 17:02:50 +0200 + +mysql-5.1 (5.1.57-1.2) unstable; urgency=high - -- Clint Byrum Thu, 02 Jun 2011 23:51:21 -0700 + * Non-maintainer upload. + * Prefix gcc-4.5 and g++-4.5 with DEB_BUILD_GNU_TYPE to fix FTBFS on + ia64, s390 and maybe more. + + -- Ondřej Surý Mon, 13 Jun 2011 13:20:37 +0200 + +mysql-5.1 (5.1.57-1.1) unstable; urgency=high + + * Non-maintainer upload (with permission of maintainer). + * Build with gcc-4.5 (Closes: #614044) + * Revert: "Build with -O2 instead -O3, MySQL seems not yet ready for - + O3 when using gcc-4.6." since we are building with gcc-4.5. + + -- Ondřej Surý Mon, 13 Jun 2011 08:51:51 +0200 mysql-5.1 (5.1.57-1) unstable; urgency=medium @@ -894,85 +578,6 @@ -- Norbert Tretkowski Fri, 04 Feb 2011 16:28:08 +0100 -mysql-5.1 (5.1.54-1ubuntu4) natty; urgency=low - - [Clint Byrum] - * export configured source dir as binary package. -- needed for some - plugins to build. - - [Chuck Short] - * debian/control: Fix conflict when installing mysql-client. - (LP: #712479) - - -- Clint Byrum Wed, 02 Feb 2011 11:46:14 -0800 - -mysql-5.1 (5.1.54-1ubuntu3) natty; urgency=low - - * debian/mysql-server-core-5.1.files, debian/mysql-client-5.1.files: - Fix upgrade from 5.1.49. (LP: #710976) - - -- Chuck Short Tue, 01 Feb 2011 09:45:41 -0500 - -mysql-5.1 (5.1.54-1ubuntu2) natty; urgency=low - - * Fix FTBFS. - - -- Chuck Short Sun, 30 Jan 2011 14:29:29 -0500 - -mysql-5.1 (5.1.54-1ubuntu1) natty; urgency=low - - * Synchronize from Debian Experimental: - * Merge from debian unstable: - + debian/control: - * Update maintainer according to spec. - * Move section from "misc" to "database". - * Added libmysqlclient16-dev an empty transitional package. - * Added mysql-client-core-5.1 package. - * Suggest mailx for mysql-server-5.1 - * Add mysql-testsuite package so you can run the testsuite seperately. - + debian/additions/my.cnf: - * Remove language options. Error message files are located in a different directory in Mysql - 5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0 - and 5.1 use a different value that works. (LP: #316974) - + Add apparmor profile: - + debian/apparmor-profile: apparmor-profile - + debian/rules, debian/mysql-server-5.1.files: install apparmor profile - + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain - + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge. - + debian/mysql-server-5.1.README.Debian: add apparmor documentation. - + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799) - + debian/mysql-server-5.1.postinst: reload apparmor profiles - * Convert the package from sysvinit to upstart: - + debian/mysql-server-5.1.mysql.upstart: Add upstart script. - + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart. - + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart. - + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since - we're not piping anything around logger anymore. - + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation}, - debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe - + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped - * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures. - * Add Apport hook (LP: #354188): - + debian/mysql-server-5.1.py: apport package hook - + debian/rules: Make it installable - * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before - running logrotate. (LP: #513135) - * Make the testsuite installable. (LP: #530752) - + debian/mysql-server-5.1.files, debian/rules: install apport package hook - * debian/mysql-server-5.1.preinst: Set mysql user's home directory - to /nonexistent to protect against having the /var/lib/mysql - user-writeable. If an attacker can trick mysqld into creating - dot files in the home directory, he could do .rhost-like attacks - on the system. (LP: #293258) - * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1. - (LP: #590952) - * debian/mysql-server.5.1.postinst: Specify the mysql user when installing - the mysql databases. (LP: #591875) - * Installing mysql_config_pic in /usr/bin so users of libmysqld-pic - can extract the appropriate compile flags. (LP: #605021) - - -- Chuck Short Wed, 26 Jan 2011 09:19:25 -0500 - mysql-5.1 (5.1.54-1) experimental; urgency=low * New upstream release. @@ -1076,318 +681,18 @@ -- Norbert Tretkowski Wed, 27 Oct 2010 14:41:19 +0200 -mysql-5.1 (5.1.49-1ubuntu9) natty; urgency=low - - * debian/mysql-server-5.1.mysql.upstart, debian/control: use AppArmor - helper, available since upstart 0.6.7-3. - - -- Kees Cook Fri, 14 Jan 2011 13:11:24 -0800 - -mysql-5.1 (5.1.49-1ubuntu8.1) maverick-security; urgency=low - - * SECURITY UPDATE: denial of service via incorrect propagation of type - errors. - - debian/patches/61_CVE-2010-3833.dpatch: properly check for execution - errors in sql/item_func.cc. Add tests to mysql-test/*. - - CVE-2010-3833 - * SECURITY UPDATE: denial of service via derived table materializing. - - debian/patches/61_CVE-2010-3834.dpatch: handle temporary tables in - sql/field.cc, sql/sql_select.*. Add tests to mysql-test/*. - - CVE-2010-3834 - * SECURITY UPDATE: denial of service via user-variable assignment - expression. - - debian/patches/61_CVE-2010-3835.dpatch: fix logic in sql/item_func.*, - Add tests to mysql-test/*. - - CVE-2010-3835 - * SECURITY UPDATE: denial of service via pre-evaluation of LIKE - predicates during view preparation. - - debian/patches/61_CVE-2010-3836.dpatch: make sure we're not in view - preparation mode in sql/item_cmpfunc.cc. Add tests to mysql-test/*. - - CVE-2010-3836 - * SECURITY UPDATE: denial of service via use of GROUP_CONCAT() and - WITH ROLLUP together. - - debian/patches/61_CVE-2010-3837.dpatch: create a copy of the order - structures in sql/item_sum.cc, sql/table.h. Add tests to - mysql-test/*. - - CVE-2010-3837 - * SECURITY UPDATE: denial of service via longblob and union or update - with subquery. - - debian/patches/61_CVE-2010-3838.dpatch: handle REAL_RESULT in - sql/item_func.cc. Add tests to mysql-test/*. - - CVE-2010-3838 - * SECURITY UPDATE: denial of service via certain queries with nested - joins. - - debian/patches/61_CVE-2010-3839.dpatch: fix nesting in - sql/sql_select.cc. Add tests to mysql-test/*. - - CVE-2010-3839 - * SECURITY UPDATE: denial of service via PolyFromWKB() function and - improper data. - - debian/patches/61_CVE-2010-3840.dpatch: improve data handling in - sql/spatial.cc. Add tests to mysql-test/*. - - CVE-2010-3840 - * debian/patches/62_disable_longfilename_test.dpatch: disable the - partition_rename_longfilename test as it fails when building with - sbuild and schroots. - - -- Marc Deslauriers Tue, 09 Nov 2010 12:58:03 -0500 - -mysql-5.1 (5.1.49-1ubuntu8) maverick; urgency=low - - * raising kill timeout to 300 to help avoid table corruption (LP: #620441) - - -- Clint Byrum Wed, 08 Sep 2010 09:36:13 -0700 - -mysql-5.1 (5.1.49-1ubuntu7) maverick; urgency=low - - * debian/apparmor-profile: fix syntax error introduced in last upload - and remove added redundant access rule. LP: #622010, LP: #594932 - - -- Jamie Strandboge Sat, 21 Aug 2010 22:16:40 -0500 - -mysql-5.1 (5.1.49-1ubuntu6) maverick; urgency=low - - [Clint Byrum] - * Installing mysql_config_pic in /usr/bin so users of libmysqld-pic - can extract the appropriate compile flags. (LP: #605021) - - [Chuck Short] - * debian/mysql-server.5.1.postinst: Specify the mysql user when installing - the mysql databases. (LP: #591875) - * debian/apparmor-profile: Update apparmor profile for mysql plugins. - (LP: #594932, #619172) - - -- Chuck Short Fri, 20 Aug 2010 10:12:48 -0400 - -mysql-5.1 (5.1.49-1ubuntu5) maverick; urgency=low - - * New patch: 99_fix_testsuite_for_installed_env.dpatch: fix - mysql-testsuite to work with the installation location (LP: #617461) - * debian/apparmor-profile: add mmap access to mysql plugin location - (LP: #617463) - - -- Steve Beattie Thu, 12 Aug 2010 15:44:46 -0700 - -mysql-5.1 (5.1.49-1ubuntu4) maverick; urgency=low - - * debian/rules: doy. Put dh_apparmor in binary-arch so more than just - i386 has the benefit of AppArmor protection, really fixing LP: #616417 - - -- Jamie Strandboge Thu, 12 Aug 2010 07:11:57 -0500 - -mysql-5.1 (5.1.49-1ubuntu3) maverick; urgency=low - - * debian/control: Build-Depends on debhelper 7.4.20ubuntu6, which has a - fix that prevented debhelper from creating the necessary output in - postinst (LP: #616417) - - -- Jamie Strandboge Wed, 11 Aug 2010 15:08:12 -0500 - -mysql-5.1 (5.1.49-1ubuntu2) maverick; urgency=low - - * convert to using dh_apparmor: - - debian/rules, debian/mysql-server-5.1.postinst: use dh_apparmor - - debian/control: Build-Depends on debhelper 7.4.20ubuntu5 - * debian/mysql-server-5.1.postrm: since it doesn't use DEBHELPER, update - to what we have in debhelper - * debian/apparmor-profile: update for local include - - -- Jamie Strandboge Fri, 06 Aug 2010 14:13:29 -0500 - -mysql-5.1 (5.1.49-1ubuntu1) maverick; urgency=low - - * Merge from debian unstable: - + debian/control: - * Update maintainer according to spec. - * Move section from "misc" to "database". - * Added libmysqlclient16-dev an empty transitional package. - * Added mysql-client-core-5.1 package. - * Suggest mailx for mysql-server-5.1 - * Add mysql-testsuite package so you can run the testsuite seperately. - + debian/additions/my.cnf: - * Remove language options. Error message files are located in a different directory in Mysql - 5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0 - and 5.1 use a different value that works. (LP: #316974) - + Add apparmor profile: - + debian/apparmor-profile: apparmor-profile - + debian/rules, debian/mysql-server-5.1.files: install apparmor profile - + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain - + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge. - + debian/mysql-server-5.1.README.Debian: add apparmor documentation. - + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799) - + debian/mysql-server-5.1.postinst: reload apparmor profiles - * Convert the package from sysvinit to upstart: - + debian/mysql-server-5.1.mysql.upstart: Add upstart script. - + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart. - + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart. - + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since - we're not piping anything around logger anymore. - + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation}, - debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe - + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped - * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures. - * Add Apport hook (LP: #354188): - + debian/mysql-server-5.1.py: apport package hook - + debian/rules: Make it installable - * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before - running logrotate. (LP: #513135) - * Make the testsuite installable. (LP: #530752) - + debian/mysql-server-5.1.files, debian/rules: install apport package hook - * debian/mysql-server-5.1.preinst: Set mysql user's home directory - to /nonexistent to protect against having the /var/lib/mysql - user-writeable. If an attacker can trick mysqld into creating - dot files in the home directory, he could do .rhost-like attacks - on the system. (LP: #293258) - * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1. - (LP: #590952) - - -- Chuck Short Wed, 04 Aug 2010 13:18:27 -0400 - mysql-5.1 (5.1.49-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Sat, 31 Jul 2010 12:34:43 +0200 -mysql-5.1 (5.1.48-1ubuntu5) maverick; urgency=low - - * debian/mysql-server-5.1.mysql.upstart: Fix upstart init script. (LP: #608423) - - -- Chuck Short Sun, 01 Aug 2010 11:23:11 -0400 - -mysql-5.1 (5.1.48-1ubuntu4) maverick; urgency=low - - * debian/mysql-server-5.1.mysql.upstart: Update upstart job again, simpilfy things again. - - -- Chuck Short Wed, 28 Jul 2010 08:23:13 -0400 - -mysql-5.1 (5.1.48-1ubuntu3) maverick; urgency=low - - * debian/mysql-server-5.1.mysq.upstart: Update upstart job, thanks to sPOiDar. - (LP: #551130) - - -- Chuck Short Wed, 21 Jul 2010 09:29:19 -0400 - -mysql-5.1 (5.1.48-1ubuntu2) maverick; urgency=low - - * New patch 60_abi-check-includ; fix build failure in abi_check with newer - GCCs which will exit with failure when an #include can't be found; - LP: #579909. - - -- Loïc Minier Wed, 14 Jul 2010 00:13:00 +0200 - -mysql-5.1 (5.1.48-1ubuntu1) maverick; urgency=low - - * Merge from debian unstable, remaining changes: - + debian/control: - * Update maintainer according to spec. - * Move section from "misc" to "database". - * Added libmysqlclient16-dev an empty transitional package. - * Added mysql-client-core-5.1 package. - * Suggest mailx for mysql-server-5.1 - * Add mysql-testsuite package so you can run the testsuite seperately. - + debian/additions/my.cnf: - * Remove language options. Error message files are located in a different directory in Mysql - 5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0 - and 5.1 use a different value that works. (LP: #316974) - + Add apparmor profile: - + debian/apparmor-profile: apparmor-profile - + debian/rules, debian/mysql-server-5.1.files: install apparmor profile - + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain - + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge. - + debian/mysql-server-5.1.README.Debian: add apparmor documentation. - + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799) - + debian/mysql-server-5.1.postinst: reload apparmor profiles - * Convert the package from sysvinit to upstart: - + debian/mysql-server-5.1.mysql.upstart: Add upstart script. - + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart. - + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart. - + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since - we're not piping anything around logger anymore. - + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation}, - debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe - + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped - * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures. - * Add Apport hook (LP: #354188): - + debian/mysql-server-5.1.py: apport package hook - + debian/rules: Make it installable - * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before - running logrotate. (LP: #513135) - * Make the testsuite installable. (LP: #530752) - + debian/mysql-server-5.1.files, debian/rules: install apport package hook - * debian/mysql-server-5.1.preinst: Set mysql user's home directory - to /nonexistent to protect against having the /var/lib/mysql - user-writeable. If an attacker can trick mysqld into creating - dot files in the home directory, he could do .rhost-like attacks - on the system. (LP: #293258) - * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1. - (LP: #590952) - - -- Chuck Short Mon, 21 Jun 2010 15:31:05 -0400 - mysql-5.1 (5.1.48-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Thu, 17 Jun 2010 22:38:56 +0200 -mysql-5.1 (5.1.47-1ubuntu2) maverick; urgency=low - - * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1. - (LP: #590952) - * debian/mysql-server-5.1.mysql.upstart: Dont start mysqld on runlevel 1. - (LP: #559533) - - -- Chuck Short Tue, 15 Jun 2010 11:20:15 -0400 - -mysql-5.1 (5.1.47-1ubuntu1) maverick; urgency=low - - * Merge from debian unstable, remaining changes: - + debian/control: - * Update maintainer according to spec. - * Move section from "misc" to "database". - * Added libmysqlclient16-dev an empty transitional package. - * Added mysql-client-core-5.1 package. - * Suggest mailx for mysql-server-5.1 - * Add mysql-testsuite package so you can run the testsuite seperately. - + debian/additions/my.cnf: - * Remove language options. Error message files are located in a different directory in Mysql - 5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0 - and 5.1 use a different value that works. (LP: #316974) - + Add apparmor profile: - + debian/apparmor-profile: apparmor-profile - + debian/rules, debian/mysql-server-5.1.files: install apparmor profile - + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain - + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge. - + debian/mysql-server-5.1.README.Debian: add apparmor documentation. - + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799) - + debian/mysql-server-5.1.postinst: reload apparmor profiles - * Convert the package from sysvinit to upstart: - + debian/mysql-server-5.1.mysql.upstart: Add upstart script. - + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart. - + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart. - + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since - we're not piping anything around logger anymore. - + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation}, - debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe - + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped - * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures. - * Add Apport hook (LP: #354188): - + debian/mysql-server-5.1.py: apport package hook - + debian/rules: Make it installable - * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before - running logrotate. (LP: #513135) - * Make the testsuite installable. (LP: #530752) - + debian/mysql-server-5.1.files, debian/rules: install apport package hook - * debian/mysql-server-5.1.preinst: Set mysql user's home directory - to /nonexistent to protect against having the /var/lib/mysql - user-writeable. If an attacker can trick mysqld into creating - dot files in the home directory, he could do .rhost-like attacks - on the system. (LP: #293258) - * Dropped: - + debian/patches/51_ssl_test_certs: Certs have been updated up until 2015. - - -- Chuck Short Wed, 26 May 2010 09:27:48 -0400 - mysql-5.1 (5.1.47-1) unstable; urgency=low * New upstream release. (closes: #582526) @@ -4248,6 +3553,18 @@ mysql-dfsg (4.0.20-8) unstable; urgency=low + * The mysqlcheck that is started from the initscript will now be + backgrounded because it might else prevent the boot process to continue. + It also now notifies root by mail and syslog if a table is corrupt. + * The "debian-sys-maint" MySQL user now has almost full rights so that other + packages might use this account to create databases and user (thanks to + Andreas Barth). Closes: #262541 + * Added paranoid rules for logcheck. + + -- Christian Hammers Sun, 1 Aug 2004 21:00:55 +0200 + +mysql-dfsg (4.0.20-8) unstable; urgency=low + * Upload stalled. Not released. -- Christian Hammers Sun, 1 Aug 2004 20:27:55 +0200 @@ -5772,14 +5089,6 @@ -- Scott Hanson Wed, 28 Jan 1998 18:59:09 +0100 -mysql (3.21.21.beta-1) unstable; urgency=low - - * Use debhelper where possible in rules - * Split binary packages into mysql-base, mysql-client, mysql-doc - * New upstream release - - -- Scott Hanson Thu, 15 Jan 1998 08:12:17 +0100 - mysql (3.21.21a.beta-2) unstable; urgency=low * Compile with libpthreads from libc6-dev_2.0.6-3 rather than statically @@ -5795,6 +5104,14 @@ -- Scott Hanson Mon, 19 Jan 1998 07:52:48 +0100 +mysql (3.21.21.beta-1) unstable; urgency=low + + * Use debhelper where possible in rules + * Split binary packages into mysql-base, mysql-client, mysql-doc + * New upstream release + + -- Scott Hanson Thu, 15 Jan 1998 08:12:17 +0100 + mysql (3.21.19.beta-1) unstable; urgency=low * Offer to set root password in mysql_install_db diff -Nru mysql-5.5-5.5.41/debian/control mysql-5.5-5.5.41/debian/control --- mysql-5.5-5.5.41/debian/control 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/control 2014-09-01 10:24:09.000000000 +0000 @@ -1,8 +1,7 @@ Source: mysql-5.5 Section: database Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian MySQL Maintainers +Maintainer: Debian MySQL Maintainers Uploaders: Norbert Tretkowski , Clint Byrum , @@ -28,8 +27,8 @@ zlib1g-dev (>= 1:1.1.3-5) Standards-Version: 3.9.5 Homepage: http://dev.mysql.com/ -XS-Debian-Vcs-Git: git://git.debian.org/git/pkg-mysql/mysql-5.5.git -XS-Debian-Vcs-Browser: http://git.debian.org/?p=pkg-mysql/mysql-4.5.git +Vcs-Git: git://git.debian.org/git/pkg-mysql/mysql-5.5.git +Vcs-Browser: http://git.debian.org/?p=pkg-mysql/mysql-5.5.git XS-Testsuite: autopkgtest Package: libmysqlclient18 @@ -111,25 +110,6 @@ This package includes files needed by all versions of the client library, e.g. /etc/mysql/my.cnf. -Package: mysql-client-core-5.5 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Breaks: - mysql-client (<< ${source:Version}), - mysql-client-5.0, - mysql-client-core-5.1 -Replaces: - mysql-client (<< ${source:Version}), - mysql-client-5.0, - mysql-client-core-5.1 -Description: MySQL database core client binaries - MySQL is a fast, stable and true multi-user, multi-threaded SQL database - server. SQL (Structured Query Language) is the most popular database query - language in the world. The main goals of MySQL are speed, robustness and - ease of use. - . - This package includes the core client files, as used by Akonadi. - Package: mysql-client-5.5 Architecture: any Depends: @@ -137,17 +117,23 @@ libdbd-mysql-perl (>= 1.2202), libdbi-perl, libterm-readkey-perl, - mysql-client-core-5.5, mysql-common (>= ${source:Version}), ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} -Provides: mysql-client, virtual-mysql-client -Breaks: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1 +Provides: mysql-client, virtual-mysql-client, virtual-mysql-client-core +Breaks: + mysql-client (<< ${source:Version}), + mysql-client-5.0, + mysql-client-5.1, + virtual-mysql-client, + virtual-mysql-client-core Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0, - mysql-client-5.1 + mysql-client-5.1, + virtual-mysql-client, + virtual-mysql-client-core Description: MySQL database client binaries MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query @@ -164,14 +150,16 @@ mysql-client-5.1, mysql-server-5.0, mysql-server-5.1, - mysql-server-core-5.1 -Provides: mysql-server-core + mysql-server-core-5.1, + virtual-mysql-server-core +Provides: mysql-server-core, virtual-mysql-server-core Replaces: mysql-client-5.1, mysql-server-5.0, mysql-server-5.1, mysql-server-core-5.0, - mysql-server-core-5.1 + mysql-server-core-5.1, + virtual-mysql-server-core Description: MySQL database server binaries MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query @@ -183,7 +171,7 @@ Package: mysql-server-5.5 Architecture: any -Suggests: tinyca, mailx +Suggests: mailx, tinyca Recommends: libhtml-template-perl Pre-Depends: adduser (>= 3.40), debconf, mysql-common (>= ${source:Version}) Depends: @@ -201,14 +189,16 @@ libmysqlclient-dev ( << 5.5.17~), mysql-client-5.1, mysql-server (<< ${source:Version}), - mysql-server-5.1 + mysql-server-5.1, + virtual-mysql-server Provides: virtual-mysql-server Replaces: libmysqlclient-dev ( << 5.5.17~), mysql-client-5.1, mysql-server (<< ${source:Version}), mysql-server-5.0, - mysql-server-5.1 + mysql-server-5.1, + virtual-mysql-server Description: MySQL database server binaries and system database setup MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query @@ -259,6 +249,9 @@ mysql-server (= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} +Provides: virtual-mysql-testsuite +Breaks: virtual-mysql-testsuite +Replaces: virtual-mysql-testsuite Description: MySQL testsuite MySQL is a fast, stable, and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query diff -Nru mysql-5.5-5.5.41/debian/mysql-client-5.5.files mysql-5.5-5.5.41/debian/mysql-client-5.5.files --- mysql-5.5-5.5.41/debian/mysql-client-5.5.files 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-client-5.5.files 2014-01-17 21:36:14.000000000 +0000 @@ -1,3 +1,7 @@ +usr/bin/mysql +usr/bin/mysqlcheck +usr/share/man/man1/mysql.1 +usr/share/man/man1/mysqlcheck.1 usr/bin/innochecksum usr/bin/innotop usr/bin/myisam_ftdump diff -Nru mysql-5.5-5.5.41/debian/mysql-client-core-5.5.files mysql-5.5-5.5.41/debian/mysql-client-core-5.5.files --- mysql-5.5-5.5.41/debian/mysql-client-core-5.5.files 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-client-core-5.5.files 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -usr/bin/mysql -usr/bin/mysqlcheck -usr/share/man/man1/mysql.1 -usr/share/man/man1/mysqlcheck.1 diff -Nru mysql-5.5-5.5.41/debian/mysql-server-5.5.files mysql-5.5-5.5.41/debian/mysql-server-5.5.files --- mysql-5.5-5.5.41/debian/mysql-server-5.5.files 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-server-5.5.files 2014-07-21 09:56:43.000000000 +0000 @@ -56,4 +56,3 @@ usr/share/mysql/mysqld_multi.server usr/share/mysql/mysql_test_data_timezone.sql etc/apparmor.d/usr.sbin.mysqld -usr/share/apport/package-hooks/source_mysql-5.5.py diff -Nru mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.init mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.init --- mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.init 2014-02-19 21:18:21.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.init 2014-07-21 09:56:43.000000000 +0000 @@ -109,8 +109,8 @@ /usr/bin/mysqld_safe > /dev/null 2>&1 & # 6s was reported in #352070 to be too few when using ndbcluster - # 14s was reported in #736452 to be too few with large installs - for i in $(seq 1 30); do + # 14s was reported in #736452 to be too few with large installs + for i in $(seq 1 30); do sleep 1 if mysqld_status check_alive nowarn ; then break; fi log_progress_msg "." diff -Nru mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.upstart mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.upstart --- mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.upstart 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-server-5.5.mysql.upstart 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ -# MySQL Service - -description "MySQL Server" -author "Mario Limonciello " - -start on runlevel [2345] -stop on starting rc RUNLEVEL=[016] - -respawn -respawn limit 2 5 - -env HOME=/etc/mysql -umask 007 - -# The default of 5 seconds is too low for mysql which needs to flush buffers -kill timeout 300 - -pre-start script - ## Fetch a particular option from mysql's invocation. - # Usage: void mysqld_get_param option - mysqld_get_param() { - /usr/sbin/mysqld --print-defaults \ - | tr " " "\n" \ - | grep -- "--$1" \ - | tail -n 1 \ - | cut -d= -f2 - } - - # priority can be overriden and "-s" adds output to stderr - ERR_LOGGER="logger -p daemon.err -t /etc/init/mysql.conf -i" - - #Sanity checks - [ -r $HOME/my.cnf ] - [ -d /var/run/mysqld ] || install -m 755 -o mysql -g root -d /var/run/mysqld - /lib/init/apparmor-profile-load usr.sbin.mysqld - - # check for diskspace shortage - datadir=`mysqld_get_param datadir` - BLOCKSIZE=`LC_ALL=C df --portability $datadir/. | tail -n 1 | awk '{print $4}'` - if [ $BLOCKSIZE -le 4096 ] ; then - echo "$0: ERROR: The partition with $datadir is too full!" >&2 - echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER - exit 1 - fi -end script - -exec /usr/sbin/mysqld - -post-start script - for i in `seq 1 30` ; do - /usr/bin/mysqladmin --defaults-file="${HOME}"/debian.cnf ping && { - exec "${HOME}"/debian-start - # should not reach this line - exit 2 - } - statusnow=`status` - if echo $statusnow | grep -q 'stop/' ; then - exit 0 - elif echo $statusnow | grep -q 'respawn/' ; then - exit 1 - fi - sleep 1 - done - exit 1 -end script diff -Nru mysql-5.5-5.5.41/debian/mysql-server-5.5.postrm mysql-5.5-5.5.41/debian/mysql-server-5.5.postrm --- mysql-5.5-5.5.41/debian/mysql-server-5.5.postrm 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-server-5.5.postrm 2014-01-17 21:36:14.000000000 +0000 @@ -80,6 +80,6 @@ fi # (normally) End automatically added section -#DEBHELPER# +# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-5.5 is installed exit 0 diff -Nru mysql-5.5-5.5.41/debian/mysql-server-5.5.py mysql-5.5-5.5.41/debian/mysql-server-5.5.py --- mysql-5.5-5.5.41/debian/mysql-server-5.5.py 2014-02-19 21:19:52.000000000 +0000 +++ mysql-5.5-5.5.41/debian/mysql-server-5.5.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ -'''apport package hook for mysql-5.5 - -(c) 2009 Canonical Ltd. -Author: Mathias Gug -''' - -from __future__ import print_function, unicode_literals -import os, os.path - -from apport.hookutils import * - -def _add_my_conf_files(report, filename): - key = 'MySQLConf' + path_to_key(filename) - report[key] = "" - for line in read_file(filename).split('\n'): - try: - if 'password' in line.split('=')[0]: - line = "%s = @@APPORTREPLACED@@" % (line.split('=')[0]) - report[key] += line + '\n' - except IndexError: - continue - -def add_info(report): - attach_conffiles(report, 'mysql-server-5.5', conffiles=None) - key = 'Logs' + path_to_key('/var/log/daemon.log') - report[key] = "" - for line in read_file('/var/log/daemon.log').split('\n'): - try: - if 'mysqld' in line.split()[4]: - report[key] += line + '\n' - except IndexError: - continue - if os.path.exists('/var/log/mysql/error.log'): - key = 'Logs' + path_to_key('/var/log/mysql/error.log') - report[key] = "" - for line in read_file('/var/log/mysql/error.log').split('\n'): - report[key] += line + '\n' - attach_mac_events(report, '/usr/sbin/mysqld') - attach_file(report,'/etc/apparmor.d/usr.sbin.mysqld') - _add_my_conf_files(report, '/etc/mysql/my.cnf') - for f in os.listdir('/etc/mysql/conf.d'): - _add_my_conf_files(report, os.path.join('/etc/mysql/conf.d', f)) - try: - report['MySQLVarLibDirListing'] = str(os.listdir('/var/lib/mysql')) - except OSError: - report['MySQLVarLibDirListing'] = str(False) - -if __name__ == '__main__': - report = {} - add_info(report) - for key in report: - print('%s: %s' % (key, report[key].split('\n', 1)[0])) diff -Nru mysql-5.5-5.5.41/debian/repack.local mysql-5.5-5.5.41/debian/repack.local --- mysql-5.5-5.5.41/debian/repack.local 2014-02-19 21:18:21.000000000 +0000 +++ mysql-5.5-5.5.41/debian/repack.local 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -rm Docs/mysql.info diff -Nru mysql-5.5-5.5.41/debian/repack.sh mysql-5.5-5.5.41/debian/repack.sh --- mysql-5.5-5.5.41/debian/repack.sh 2014-02-19 21:18:21.000000000 +0000 +++ mysql-5.5-5.5.41/debian/repack.sh 1970-01-01 00:00:00.000000000 +0000 @@ -1,161 +0,0 @@ -#!/bin/sh - -# see the repack.stub for how to use - -# TODO: provide example watch files and repack.locals -# TODO: test suite. problems fixed that need to be tested: -# * globbing -# * whitespace and then comments in the MANIFEST -# TODO: does / in weird places work? test suite too. -# TODO: I actually broke stuff with the MANIFEST change not thinking.. -# TODO: allow for a sepearate (and multiple) MANIFEST files, then -# de-uglify libsyntax-highlight-engine-kate-perl. -# TODO: have each mv and rm check that something actually changed, and -# if not, die - -set -e -set -u - -usage() { - echo "Usage: repack.sh --upstream-version " - exit 1 -} - -if [ "$#" != "3" ]; then - usage -fi -if [ "$1" != "--upstream-version" ]; then - usage -fi -if [ ! -f "$3" ]; then - if [ -n "$3" ]; then - echo "$3 doesn't exist" - fi - usage -fi -VER="$2" -FILE="$3" -PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` - -SUFFIX="+dfsg" - -echo -echo "Repackaging $FILE" -echo - -DIR=`mktemp -d ./tmpRepackXXXXXX` -DIR=$(readlink -f "$DIR") -trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT - -# Create an extra directory to cope with rootless tarballs -UP_BASE="$DIR/unpack" -mkdir "$UP_BASE" -tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" - -if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then - # Tarball does contain a root directory - UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" -fi - -RM_OPTS="-vrf" - -real_rm(){ - /bin/rm "$@" -} - -real_mv(){ - /bin/mv "$@" -} - -rm(){ - set +f - MYOLDPWD=$(pwd) - cd "$UP_BASE" - if [ "$MANIFEST" = "1" ]; then - PERM=$(stat --format=%a "MANIFEST") - chmod u+w "MANIFEST" - fi - for i in $@; do - if [ "$MANIFEST" = "1" ]; then - PATTERN="^$i" - if [ -d "$i" ]; then - if ! { echo "$PATTERN" | grep -q "/$" ; }; then - PATTERN="${PATTERN}/" - fi - else - PATTERN="${PATTERN}\s?" - fi - grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" - real_mv "$DIR/MANIFEST" "MANIFEST" - fi - real_rm "$RM_OPTS" "$i" - done - if [ "$MANIFEST" = "1" ]; then - chmod $PERM "MANIFEST" - fi - cd $MYOLDPWD - set -f -} - -mv(){ - set +f - OLD=$(pwd) - cd $UP_BASE - real_mv "$@" - cd $OLD - if [ "$MANIFEST" = "1" ]; then - echo "MANIFEST cannot be manipulated with mv yet, patches welcome" - exit 1 - fi - set -f -} - -# bump with incompatible changes -REPACK_VERSION=3 - -requires_version(){ - if [ $REPACK_VERSION -lt $1 ]; then - echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" - exit 1 - fi -} - -MANIFEST=0 -## Remove stuff -set -f -MYORIGPWD=$(pwd) -cd "$UP_BASE" -. "$MYORIGPWD/debian/repack.local" -cd $MYORIGPWD -set +f -## End - -REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef § 6.7.8.2 -DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" - -real_mv "$UP_BASE" "$DIR/$REPACK_DIR" - -# .gz or .bz2? -FILETYPE=$(file --brief --mime-type --dereference "$FILE") -case "$FILETYPE" in - application/x-gzip|application/zip) - C_PROGRAM="gzip" - C_SUFFIX="gz" - ;; - application/x-bzip2) - C_PROGRAM="bzip2" - C_SUFFIX="bz2" - ;; - *) - echo "E: Unknown filetye $FILETYPE" - exit 1 - ;; -esac - -# Using a pipe hides tar errors! -tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" -$C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" - -real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" - -echo "*** $DFSG_TAR.$C_SUFFIX ready" diff -Nru mysql-5.5-5.5.41/debian/rules mysql-5.5-5.5.41/debian/rules --- mysql-5.5-5.5.41/debian/rules 2014-09-01 12:29:16.000000000 +0000 +++ mysql-5.5-5.5.41/debian/rules 2014-11-24 16:51:59.000000000 +0000 @@ -31,6 +31,20 @@ DISTRIBUTION := $(shell lsb_release -i -s) +# Parallel build support as adviced +# at https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + # Placeholder code to implement max cpu count value checking + # if [$(NUMJOBS) > $(shell if [ -f /proc/cpuinfo ] ; then grep -c processor.* /proc/cpuinfo ; else echo 1 ; fi)] + # then NUMJOBS = 0 + # fi + MAKEFLAGS += -j $(NUMJOBS) +endif + +# Add support for verbose builds +MAKEFLAGS += VERBOSE=1 + MAKE_TEST_TARGET:=test-force ifneq ($(findstring fulltest,$(DEB_BUILD_OPTIONS)),) # make test-bt is the testsuite run by the MySQL build team @@ -103,6 +117,7 @@ -DWITH_READLINE=OFF \ -DWITH_LIBEDIT=OFF \ $(USE_STATIC_MYSQLD) \ + -$(MAKEFLAGS) \ $(USE_LINUX_NATIVE_AIO) \ -DWITH_SSL=bundled \ -DWITH_ZLIB=system \ @@ -202,8 +217,6 @@ # install AppArmor profile install -D -m 644 debian/apparmor-profile $(TMP)/etc/apparmor.d/usr.sbin.mysqld - # install Apport hook - install -D -m 644 debian/mysql-server-5.5.py $(TMP)/usr/share/apport/package-hooks/source_mysql-5.5.py touch $@ @@ -216,9 +229,7 @@ override_dh_installlogrotate-arch: dh_installlogrotate --name mysql-server - if [ "$(DISTRIBUTION)" = "Ubuntu" ]; then \ - dh_apparmor -pmysql-server-5.5 --profile-name=usr.sbin.mysqld; \ - fi + dh_apparmor -pmysql-server-5.5 --profile-name=usr.sbin.mysqld # Start mysql in runlevel 19 before 20 where apache, proftpd etc gets # started which might depend on a running database server. diff -Nru mysql-5.5-5.5.41/debian/watch mysql-5.5-5.5.41/debian/watch --- mysql-5.5-5.5.41/debian/watch 2014-02-19 21:18:21.000000000 +0000 +++ mysql-5.5-5.5.41/debian/watch 2014-11-24 16:26:17.000000000 +0000 @@ -1,8 +1,6 @@ # See debian/README.source for more information about the DFSG repacking here. version=3 opts=dversionmangle=s/\+dfsg\d*$// \ - http://mysql.linux.cz/Downloads/MySQL-5.5/mysql-([\d\.]+).tar.gz \ - debian sh debian/repack.sh + http://mysql.linux.cz/Downloads/MySQL-5.5/mysql-([\d\.]+).tar.gz opts=dversionmangle=s/\+dfsg\d*$// \ - http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/mysql-([\d\.]+).tar.gz \ - debian sh debian/repack.sh + http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/mysql-([\d\.]+).tar.gz