Upgrade to 8.0.16 version
(cherry picked from commit 7efd581bb37c73406f9312a8a283d05502b1ad8b)
This commit is contained in:
parent
9932c4630b
commit
d1a54299fa
BIN
8.0.15.tar.gz
BIN
8.0.15.tar.gz
Binary file not shown.
BIN
8.0.16.tar.gz
Normal file
BIN
8.0.16.tar.gz
Normal file
Binary file not shown.
@ -1,25 +0,0 @@
|
|||||||
From 7e9856cdde756339aa184c24cdb3d6a381bb5f11 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jakub Janco <jjanco@redhat.com>
|
|
||||||
Date: Fri, 22 Feb 2019 11:08:05 +0100
|
|
||||||
Subject: [PATCH] Fix version detection
|
|
||||||
|
|
||||||
---
|
|
||||||
build.xml | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/build.xml b/build.xml
|
|
||||||
index 00b2d7eb..a790ee15 100644
|
|
||||||
--- a/build.xml
|
|
||||||
+++ b/build.xml
|
|
||||||
@@ -362,7 +362,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
|
||||||
<not>
|
|
||||||
<and>
|
|
||||||
<equals arg1="${com.mysql.cj.build.jdk.exitStatus}" arg2="0" />
|
|
||||||
- <contains string="${com.mysql.cj.build.jdk.version}" substring="java version "1.8" casesensitive="true" />
|
|
||||||
+ <contains string="${com.mysql.cj.build.jdk.version}" substring="openjdk version "1.8" casesensitive="true" />
|
|
||||||
</and>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
--
|
|
||||||
2.14.4
|
|
||||||
|
|
||||||
@ -1,12 +1,11 @@
|
|||||||
Summary: Official JDBC driver for MySQL
|
Summary: Official JDBC driver for MySQL
|
||||||
Name: mysql-connector-java
|
Name: mysql-connector-java
|
||||||
Version: 8.0.15
|
Version: 8.0.16
|
||||||
Release: 1
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2 with exceptions
|
License: GPLv2 with exceptions
|
||||||
URL: http://dev.mysql.com/downloads/connector/j/
|
URL: http://dev.mysql.com/downloads/connector/j/
|
||||||
Source0: https://github.com/mysql/mysql-connector-j/archive/%{version}.tar.gz
|
Source0: https://github.com/mysql/mysql-connector-j/archive/%{version}.tar.gz
|
||||||
Patch3: java-version-detection.patch
|
|
||||||
Patch4: remove-coverage-test.patch
|
Patch4: remove-coverage-test.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -33,7 +32,6 @@ for file in README README.md; do
|
|||||||
rm $file.orig
|
rm $file.orig
|
||||||
done
|
done
|
||||||
sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
|
sed -i 's/>@.*</>%{version}</' src/build/misc/pom.xml
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -56,5 +54,9 @@ ant -Dcom.mysql.cj.build.jdk=%{java_home} \
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 25 2022 houyingchao <houyingchao@huawei.com> - 8.0.16-1
|
||||||
|
- Upgrade to 8.0.16
|
||||||
|
- Fix CVE-2019-2692
|
||||||
|
|
||||||
* Fri Jul 24 2020 leiju <leiju4@huawei.com> - 8.0.15-1
|
* Fri Jul 24 2020 leiju <leiju4@huawei.com> - 8.0.15-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,8 +1,17 @@
|
|||||||
|
From 62f1bf44f6cee0fd97500d6f761a3e03810318df Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jakub Janco <jjanco@redhat.com>
|
||||||
|
Date: Mon, 6 May 2019 15:05:17 +0200
|
||||||
|
Subject: [PATCH] Remove coverage test
|
||||||
|
|
||||||
|
---
|
||||||
|
build.xml | 133 --------------------------------------------------------------
|
||||||
|
1 file changed, 133 deletions(-)
|
||||||
|
|
||||||
diff --git a/build.xml b/build.xml
|
diff --git a/build.xml b/build.xml
|
||||||
index 03efb55f..9bf9abfe 100644
|
index 7572a4ce..fcce72be 100644
|
||||||
--- a/build.xml
|
--- a/build.xml
|
||||||
+++ b/build.xml
|
+++ b/build.xml
|
||||||
@@ -306,13 +306,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
@@ -303,14 +303,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
||||||
<pathelement location="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}" />
|
<pathelement location="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
@ -13,10 +22,11 @@ index 03efb55f..9bf9abfe 100644
|
|||||||
- </fileset>
|
- </fileset>
|
||||||
- </classpath>
|
- </classpath>
|
||||||
- </taskdef>
|
- </taskdef>
|
||||||
|
-
|
||||||
|
|
||||||
<!-- ************************* -->
|
<!-- ************************* -->
|
||||||
@@ -1182,58 +1175,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
<!-- ***** VERIFICATIONS ***** -->
|
||||||
|
@@ -1276,56 +1268,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
||||||
</condition>
|
</condition>
|
||||||
<echo>${com.mysql.cj.testsuite.message.test.mode}</echo>
|
<echo>${com.mysql.cj.testsuite.message.test.mode}</echo>
|
||||||
|
|
||||||
@ -43,9 +53,6 @@ index 03efb55f..9bf9abfe 100644
|
|||||||
- <include name="**/*.jar" />
|
- <include name="**/*.jar" />
|
||||||
- <exclude name="**/protobuf-java-2.6.0.jar" />
|
- <exclude name="**/protobuf-java-2.6.0.jar" />
|
||||||
- </fileset>
|
- </fileset>
|
||||||
- <fileset dir="${com.mysql.cj.build.dir.driver}/lib">
|
|
||||||
- <include name="**/*.jar" />
|
|
||||||
- </fileset>
|
|
||||||
- <pathelement location="${com.mysql.cj.build.dir.driver}" />
|
- <pathelement location="${com.mysql.cj.build.dir.driver}" />
|
||||||
- <pathelement location="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}" />
|
- <pathelement location="${com.mysql.cj.testsuite.build.dir}/${com.mysql.cj.build.driver.fullName}" />
|
||||||
- <pathelement path="${com.mysql.cj.testsuite.build.classpath}" />
|
- <pathelement path="${com.mysql.cj.testsuite.build.classpath}" />
|
||||||
@ -72,10 +79,11 @@ index 03efb55f..9bf9abfe 100644
|
|||||||
- </batchtest>
|
- </batchtest>
|
||||||
- </junit>
|
- </junit>
|
||||||
- </jacoco:coverage>
|
- </jacoco:coverage>
|
||||||
|
-
|
||||||
<junitreport todir="${com.mysql.cj.testsuite.junit.results}/report">
|
<junitreport todir="${com.mysql.cj.testsuite.junit.results}/report">
|
||||||
<fileset dir="${com.mysql.cj.testsuite.junit.results}">
|
<fileset dir="${com.mysql.cj.testsuite.junit.results}">
|
||||||
@@ -1253,79 +1194,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
<include name="**/TEST-*.xml" />
|
||||||
|
@@ -1344,81 +1286,6 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
@ -152,6 +160,11 @@ index 03efb55f..9bf9abfe 100644
|
|||||||
- <isset property="com.mysql.cj.coverage.report.dir" />
|
- <isset property="com.mysql.cj.coverage.report.dir" />
|
||||||
- </condition>
|
- </condition>
|
||||||
- </target>
|
- </target>
|
||||||
|
-
|
||||||
|
-
|
||||||
<!-- ***************************** -->
|
<!-- ***************************** -->
|
||||||
|
<!-- ***** RPM/DEB PACKAGING ***** -->
|
||||||
|
<!-- ***************************** -->
|
||||||
|
--
|
||||||
|
2.14.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user