[packages/mysql] - up to 5.7.22

arekm arekm at pld-linux.org
Sat Jun 2 01:04:34 CEST 2018


commit cf0970d0fe77f136b7cb15dcffaa4dbeb4b62e08
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jun 2 01:04:25 2018 +0200

    - up to 5.7.22

 lz4.patch  | 66 +++++++++-----------------------------------------------------
 mysql.spec | 12 +++---------
 2 files changed, 12 insertions(+), 66 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index ff981c1..ecc4260 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -34,12 +34,12 @@ Summary(ru.UTF-8):	MySQL - быстрый SQL-сервер
 Summary(uk.UTF-8):	MySQL - швидкий SQL-сервер
 Summary(zh_CN.UTF-8):	MySQL数据库服务器
 Name:		mysql
-Version:	5.7.21
-Release:	3
+Version:	5.7.22
+Release:	1
 License:	GPL + MySQL FLOSS Exception
 Group:		Applications/Databases
 Source0:	http://cdn.mysql.com/Downloads/MySQL-5.7/%{name}-%{version}.tar.gz
-# Source0-md5:	e26523b174bdc3fd0fde6f36791ce17e
+# Source0-md5:	269935a8b72dcba2c774d8d63a8bd1dd
 Source100:	http://www.sphinxsearch.com/files/sphinx-2.2.11-release.tar.gz
 # Source100-md5:	5cac34f3d78a9d612ca4301abfcbd666
 %if %{without system_boost}
@@ -624,10 +624,6 @@ mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysqlcheck
 # we don't package those (we have no -test or -testsuite pkg) and some of them just segfault
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/{mysql_client_test,mysqlxtest}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/plugin/test_udf_services.so
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_client_test.1*
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_client_test_embedded.1*
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql-stress-test.pl.1*
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql-test-run.pl.1*
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/mysql-test
 # libmysqld examples
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/mysql{_client_test_embedded,_embedded,test_embedded}
@@ -1078,8 +1074,6 @@ done
 #%{_datadir}/sql-bench/[CDRl]*
 #%attr(755,root,root) %{_datadir}/sql-bench/[bcgirst]*
 %{_mandir}/man1/mysqlslap.1*
-%{_mandir}/man1/mysqltest.1*
-%{_mandir}/man1/mysqltest_embedded.1*
 
 #%files doc
 #%defattr(644,root,root,755)
diff --git a/lz4.patch b/lz4.patch
index 792e278..7b60e84 100644
--- a/lz4.patch
+++ b/lz4.patch
@@ -1,59 +1,11 @@
-this sucks, in .c files they use "lz4" prefix, but in cmake no prefix
-
-and should really just use pkgconfig
-
-and it's iconsistent as well!
-
---- mysql-5.7.16/cmake/lz4.cmake~	2016-09-28 20:02:44.000000000 +0300
-+++ mysql-5.7.16/cmake/lz4.cmake	2016-12-12 11:37:18.923456466 +0200
-@@ -17,7 +17,7 @@
- # bundled is the default
- 
- MACRO (FIND_SYSTEM_LZ4)
--  FIND_PATH(PATH_TO_LZ4 NAMES lz4frame.h)
-+  FIND_PATH(PATH_TO_LZ4 NAMES lz4/lz4frame.h)
-   FIND_LIBRARY(LZ4_SYSTEM_LIBRARY NAMES lz4)
-   IF (PATH_TO_LZ4 AND LZ4_SYSTEM_LIBRARY)
-     SET(SYSTEM_LZ4_FOUND 1)
---- mysql-5.7.16/storage/innobase/os/os0file.cc~	2016-09-28 20:02:44.000000000 +0300
-+++ mysql-5.7.16/storage/innobase/os/os0file.cc	2016-12-12 12:12:43.810635067 +0200
-@@ -70,7 +70,7 @@
- # include <linux/falloc.h>
- #endif /* HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE */
- 
--#include <lz4.h>
-+#include <lz4/lz4.h>
- #include <zlib.h>
- 
- #ifdef UNIV_DEBUG
-@@ -8435,7 +8435,7 @@
- #include "fil0fil.h"
- #include "os0file.h"
- 
--#include <lz4.h>
-+#include <lz4/lz4.h>
- #include <zlib.h>
- 
- #include <my_aes.h>
---- mysql-5.7.16/client/dump/compression_lz4_writer.h~	2016-09-28 20:02:44.000000000 +0300
-+++ mysql-5.7.16/client/dump/compression_lz4_writer.h	2016-12-12 12:17:53.912464632 +0200
-@@ -21,7 +21,7 @@
- #include "i_output_writer.h"
- #include "abstract_output_writer_wrapper.h"
- #include "i_callable.h"
--#include <lz4frame.h>
-+#include <lz4/lz4frame.h>
- #include "base/mutex.h"
+--- mysql-5.7.22/extra/lz4_decompress.cc~	2018-03-04 14:40:40.000000000 +0100
++++ mysql-5.7.22/extra/lz4_decompress.cc	2018-06-02 00:47:44.437818669 +0200
+@@ -18,7 +18,7 @@
+ #include <my_global.h>
+ #include <welcome_copyright_notice.h>
+ 
+-#include "lz4/lz4frame.h"
++#include <lz4frame.h>
  #include <string.h>
  
---- mysql-5.7.17/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_message_stage_lz4.cc~	2016-11-28 15:32:52.000000000 +0200
-+++ mysql-5.7.17/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_message_stage_lz4.cc	2016-12-14 16:39:53.124878289 +0200
-@@ -15,7 +15,7 @@
- 
- #include "gcs_internal_message.h"
- #include "gcs_message_stage_lz4.h"
--#include <lz4.h>
-+#include <lz4/lz4.h>
- #include <mysql/gcs/xplatform/byteorder.h>
- #include "gcs_logging.h"
- #include <string.h>
+ static void usage()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/cf0970d0fe77f136b7cb15dcffaa4dbeb4b62e08



More information about the pld-cvs-commit mailing list