summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--000_index.txt14
-rw-r--r--000_index.txt~334
-rw-r--r--708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch127
3 files changed, 472 insertions, 3 deletions
diff --git a/000_index.txt b/000_index.txt
index ef48fe2..be7b2fd 100644
--- a/000_index.txt
+++ b/000_index.txt
@@ -220,7 +220,7 @@
@@ dev-db/mysql: Query Logging Bypass Vulnerability (CVE-2006-0903)
@patch 202_all_embedded-library-compile-5.0.38.patch
-@ver 5.00.38.00 to 5.00.99.99
+@ver 5.00.38.00 to 5.00.39.99
@pn mysql
@pn mysql-community
@pn mysql-slotted
@@ -310,7 +310,7 @@
@@ the view.test is year dependant
@patch 706_all_fix-nullpointer-dos.patch
-@ver 5.00.26.00 to 5.00.99.99
+@ver 5.00.26.00 to 5.00.39.99
@ver 5.01.00.00 to 5.02.09.99
@pn mysql
@pn mysql-community
@@ -318,9 +318,17 @@
@@ Fix gentoo bug 171934
@patch 707_all_fix-nullpointer-dos-testcase.patch
-@ver 5.00.26.00 to 5.00.99.99
+@ver 5.00.26.00 to 5.00.39.99
@ver 5.01.00.00 to 5.02.09.99
@pn mysql
@pn mysql-community
@pn mysql-slotted
@@ Testcase for fix to gentoo bug 171934 (upstream bug #27513)
+
+@patch 708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch
+@ver 5.00.42.00 to 5.00.99.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix for pointer aliasing that breaks mysql_client_test (upstream bug #27393)
diff --git a/000_index.txt~ b/000_index.txt~
new file mode 100644
index 0000000..be7b2fd
--- /dev/null
+++ b/000_index.txt~
@@ -0,0 +1,334 @@
+@patch 010_all_mysql-4.0-my-print-defaults.patch
+@ver 4.00.00.00 to 4.00.26.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ /etc => /etc/mysql
+
+@patch 010_all_default-dir-4.0.27.patch
+@ver 4.00.27.00 to 4.00.27.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ /etc => /etc/mysql
+
+@patch 010_all_default-dir-4.0.28.patch
+@ver 4.00.28.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ /etc => /etc/mysql
+
+@patch 010_all_default-dir-4.1.15.patch
+@ver 4.01.15.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Move config directory to the gentoo default
+
+@patch 010_all_default-dir-5.0.19.patch
+@ver 5.00.19.00 to 5.00.19.99
+@ver 5.01.07.00 to 5.01.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ upstream http://lists.mysql.com/commits/3885?f=plain
+@@ fix MySQL Bug#15069
+@@ does not fix gentoo Bug#126054
+
+@patch 020_all_gentoo-nptl-4.0.18.patch
+@ver 4.00.18.00 to 4.00.27.99
+@ver 4.01.00.00 to 4.01.11.99
+@ver 5.00.00.00 to 5.00.03.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Add support for NPTL
+
+@patch 030_all_thrssl-4.0.patch
+@ver 4.00.00.00 to 4.00.27.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Link libmysqlclient_r against ssl
+# attempt to get libmysqlclient_r linked against ssl if USE="ssl" enabled
+# i would really prefer to fix this at the Makefile.am level, but can't
+# get the software to autoreconf as distributed - too many missing files
+
+@patch 030_all_thrssl-4.0.28.patch
+@ver 4.00.28.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Link libmysqlclient_r against ssl
+# attempt to get libmysqlclient_r linked against ssl if USE="ssl" enabled
+# i would really prefer to fix this at the Makefile.am level, but can't
+# get the software to autoreconf as distributed - too many missing files
+
+@patch 030_all_thrssl-4.1.21.patch
+@ver 4.01.21.00 to 4.01.22.99
+@ver 5.00.00.00 to 5.00.04.00
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Link libmysqlclient_r against ssl
+
+@patch 030_all_thrssl-4.1.23.patch
+@ver 4.01.23.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Link libmysqlclient_r against ssl
+
+@patch 035_x86_asm-pic-fixes-4.0.27.patch
+@ver 4.00.25.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ remove page relocations
+@@ _many_ thanks to pageexec@freemail.hu
+
+@patch 035_x86_asm-pic-fixes-4.1.12.patch
+@ver 4.01.12.00 to 4.01.99.99
+@ver 5.00.12.00 to 5.00.99.99
+@ver 5.01.00.00 to 5.01.10.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ remove page relocations
+@@ Most part of the original patch has already been accepted by MysQL,
+@@ here is the remaining.
+@@ _many_ thanks to pageexec@freemail.hu
+
+@patch 040_all_tcpd-vars-fix-4.0.14.patch
+@ver 4.00.14.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+
+@patch 060_all_nisam_maykeylen-4.0.27.patch
+@ver 4.00.00.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Enlarge max key lenght
+
+@patch 080_all_slot_script-4.0.patch
+@ver 4.00.26.00 to 4.00.99.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-4.1.16.patch
+@ver 4.01.16.00 to 4.01.22.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-4.1.23.patch
+@ver 4.01.23.00 to 4.01.99.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.0.17.patch
+@ver 5.01.00.00 to 5.01.08.99
+@ver 5.00.17.00 to 5.00.20.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.0.21.patch
+@ver 5.00.21.00 to 5.00.33.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.0.34.patch
+@ver 5.00.34.00 to 5.00.99.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.1.10.patch
+@ver 5.01.09.00 to 5.01.11.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.1.12.patch
+@ver 5.01.12.00 to 5.01.13.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.1.14.patch
+@ver 5.01.14.00 to 5.01.14.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 080_all_slot_script-5.1.15.patch
+@ver 5.01.15.00 to 5.02.99.99
+@pn mysql-slotted
+@@ add slot MySQL support to scripts utilities
+
+@patch 081_all_slot_manager-5.0.19.patch
+@ver 5.00.19.00 to 5.00.99.99
+@pn mysql-slotted
+@@ add slot support for mysqlmanager
+
+@patch 081_all_slot_manager-5.1.7.patch
+@ver 5.01.07.00 to 5.01.08.99
+@pn mysql-slotted
+@@ add slot support for mysqlmanager
+
+@patch 081_all_slot_manager-5.1.10.patch
+@ver 5.01.09.00 to 5.02.09.99
+@pn mysql-slotted
+@@ add slot support for mysqlmanager
+
+@patch 100_all_bug23427-abi-breakage-5.0.26.patch
+@ver 5.00.26.00 to 5.00.26.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix MySQL bug #23427
+
+@patch 101_all_bootstrap_no_plugin.patch
+@ver 5.01.13.00 to 5.02.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ prevent loading of modules from plugin table when in bootstrap mode
+@@ Thanks solar, bug #158777
+
+@patch 105_all_mysql_config_cleanup.patch
+@ver 4.01.22.00 to 4.01.99.99
+@ver 5.00.26.00 to 9.99.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ fix bug #156301 mysql_config wrongly retains too much info from CFLAGS
+
+@patch 200_all_query-logging-bypass-4.1.19.patch
+@ver 4.01.14.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix bug #128713
+@@ dev-db/mysql: Query Logging Bypass Vulnerability (CVE-2006-0903)
+
+@patch 200_all_query-logging-bypass-5.0.21.patch
+@ver 5.00.00.00 to 5.00.23.99
+@ver 5.01.00.00 to 5.01.10.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix bug #128713
+@@ dev-db/mysql: Query Logging Bypass Vulnerability (CVE-2006-0903)
+
+@patch 202_all_embedded-library-compile-5.0.38.patch
+@ver 5.00.38.00 to 5.00.39.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Compile fix for USE=embedded
+
+@patch 400_all_mysqld-safe-sh-4.0.27.patch
+@ver 4.00.00.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Change paths detection in mysqld_safe
+
+@patch 401_all_install-db-sh-4.0.27.patch
+@ver 4.00.00.00 to 4.00.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Change an output comment in mysql_install_db
+
+@patch 700_all_mysqldump-missing-cfgfile-fix-4.1.21.patch
+@ver 4.01.21.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Add configuration section for mysqldump
+
+@patch 701_all_rpl000015-portsobst-fix-4.1.21.patch
+@ver 4.01.21.00 to 4.01.22.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ normalize port 3306 in tests
+
+@patch 701_all_rpl000015-portsobst-fix-4.1.23.patch
+@ver 4.01.23.00 to 4.01.99.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ normalize port 3306 in tests
+
+@patch 701_all_rpl000015-portsobst-fix-5.0.26.patch
+@ver 5.00.26.00 to 5.00.31.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ normalize port 3306 in tests
+
+@patch 702_all_trigger-rename-fail-as-root-5.0.26.patch
+@ver 5.00.26.00 to 5.00.33.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ portage normally ran as root, MySQL tests are designed to be used
+@@ with lower priviledges
+
+@patch 702_all_trigger-rename-fail-as-root-5.0.34.patch
+@ver 5.00.34.00 to 5.00.34.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ portage normally ran as root, MySQL tests are designed to be used
+@@ with lower priviledges
+
+@patch 703_all_test-rpl_rotate_logs-5.0.21.patch
+@ver 5.00.26.00 to 5.00.99.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+
+@patch 704_all_disable_mybug_9735_test.patch
+@ver 5.00.26.00 to 5.00.99.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ disable a test that fail on longtext field lenght, the expected value is
+@@ three times the returned one, look like a multibyte character related
+@@ failure.
+
+@patch 705_all_we-are-in-2007-now.patch
+@ver 5.00.26.00 to 5.00.32.99
+@ver 5.01.14.00 to 5.01.14.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ the view.test is year dependant
+
+@patch 706_all_fix-nullpointer-dos.patch
+@ver 5.00.26.00 to 5.00.39.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix gentoo bug 171934
+
+@patch 707_all_fix-nullpointer-dos-testcase.patch
+@ver 5.00.26.00 to 5.00.39.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Testcase for fix to gentoo bug 171934 (upstream bug #27513)
+
+@patch 708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch
+@ver 5.00.42.00 to 5.00.99.99
+@ver 5.01.00.00 to 5.02.09.99
+@pn mysql
+@pn mysql-community
+@pn mysql-slotted
+@@ Fix for pointer aliasing that breaks mysql_client_test (upstream bug #27393)
diff --git a/708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch b/708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch
new file mode 100644
index 0000000..e17d113
--- /dev/null
+++ b/708_all_mysql_client_test-fix-pointer-aliasing-mysqlbug27383.patch
@@ -0,0 +1,127 @@
+Gentoo-Bug: 160284
+MySQL-Bug: 27383
+Upstream-fix: http://lists.mysql.com/commits/29168
+
+--- libmysql/libmysql-old.c 2007-06-21 11:59:51.000000000 +0000
++++ libmysql/libmysql.c 2007-06-21 11:54:31.000000000 +0000
+@@ -3670,28 +3670,28 @@
+ (See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 for details)
+ AFAIU it does not guarantee to work.
+ */
+- float data;
++ volatile float data;
+ if (is_unsigned)
+ data= (float) ulonglong2double(value);
+ else
+ data= (float) value;
+ floatstore(buffer, data);
+ *param->error= is_unsigned ?
+- ((ulonglong) value) != ((ulonglong) (*(float*) buffer)) :
+- ((longlong) value) != ((longlong) (*(float*) buffer));
++ ((ulonglong) value) != ((ulonglong) data) :
++ ((longlong) value) != ((longlong) data);
+ break;
+ }
+ case MYSQL_TYPE_DOUBLE:
+ {
+- double data;
++ volatile double data;
+ if (is_unsigned)
+ data= ulonglong2double(value);
+ else
+ data= (double)value;
+ doublestore(buffer, data);
+ *param->error= is_unsigned ?
+- ((ulonglong) value) != ((ulonglong) (*(double*) buffer)) :
+- ((longlong) value) != ((longlong) (*(double*) buffer));
++ ((ulonglong) value) != ((ulonglong) data) :
++ ((longlong) value) != ((longlong) data);
+ break;
+ }
+ case MYSQL_TYPE_TIME:
+@@ -3754,60 +3754,65 @@
+ Sic: AFAIU it does not guarantee to work.
+ */
+ if (param->is_unsigned)
+- *buffer= (uint8) value;
++ {
++ volatile uint8 data= (uint8) value;
++ *buffer= data;
++ *param->error= val64 != data;
++ }
+ else
+- *buffer= (int8) value;
+- *param->error= val64 != (param->is_unsigned ? (double)((uint8) *buffer) :
+- (double)((int8) *buffer));
++ {
++ volatile int8 data= (int8) value;
++ *buffer= data;
++ *param->error= val64 != data;
++ }
+ break;
+ case MYSQL_TYPE_SHORT:
+ if (param->is_unsigned)
+ {
+- ushort data= (ushort) value;
++ volatile ushort data= (ushort) value;
+ shortstore(buffer, data);
++ *param->error= val64 != (double) data;
+ }
+ else
+ {
+- short data= (short) value;
++ volatile short data= (short) value;
+ shortstore(buffer, data);
++ *param->error= val64 != (double) data;
+ }
+- *param->error= val64 != (param->is_unsigned ? (double) (*(ushort*) buffer):
+- (double) (*(short*) buffer));
+ break;
+ case MYSQL_TYPE_LONG:
+ if (param->is_unsigned)
+ {
+- uint32 data= (uint32) value;
++ volatile uint32 data= (uint32) value;
+ longstore(buffer, data);
++ *param->error= val64 != (double) data;
+ }
+ else
+ {
+- int32 data= (int32) value;
++ volatile int32 data= (int32) value;
+ longstore(buffer, data);
++ *param->error= val64 != (double) data;
+ }
+- *param->error= val64 != (param->is_unsigned ? (double) (*(uint32*) buffer):
+- (double) (*(int32*) buffer));
+- break;
++ break;
+ case MYSQL_TYPE_LONGLONG:
+ if (param->is_unsigned)
+ {
+- ulonglong data= (ulonglong) value;
++ volatile ulonglong data= (ulonglong) value;
+ longlongstore(buffer, data);
++ *param->error= val64 != ulonglong2double(data);
+ }
+ else
+ {
+- longlong data= (longlong) value;
++ volatile longlong data= (longlong) value;
+ longlongstore(buffer, data);
++ *param->error= val64 != (double) data;
+ }
+- *param->error= val64 != (param->is_unsigned ?
+- ulonglong2double(*(ulonglong*) buffer) :
+- (double) (*(longlong*) buffer));
+ break;
+ case MYSQL_TYPE_FLOAT:
+ {
+- float data= (float) value;
++ volatile float data= (float) value;
+ floatstore(buffer, data);
+- *param->error= (*(float*) buffer) != value;
++ *param->error= data != value;
+ break;
+ }
+ case MYSQL_TYPE_DOUBLE: