commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2020-07-06 16:14:08 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new.3060 (New) Package is "mysql-connector-java" Mon Jul 6 16:14:08 2020 rev:32 rq:818249 version:5.1.49 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2019-10-03 16:15:42.740846397 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new.3060/mysql-connector-java.changes 2020-07-06 16:14:16.820395201 +0200 @@ -1,0 +2,36 @@ +Wed Jul 1 16:22:25 UTC 2020 - Pedro Monreal Gonzalez + +- Update to 5.1.49 [bsc#1173600, CVE-2020-2875, CVE-2020-2933, CVE-2020-2934] +- Changes in 5.1.49: + * INSERT..VALUE..lead to invalidation of batch insert. + * CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME. + * Remove third-party libraries from sources and bundles. + * PREPAREDSTATEMENT.SETOBJECT(I, "FALSE", TYPES.BOOLEAN) ALWAYS SETS TRUE OR 1. + * Not recommended default for 'allowLoadLocalInfile'. + * Disable external entities in Fabric's XML parser. + * INCORRECT DATE ERROR WHEN CALLING GETMETADATA ON PREPARED STATEMENT. +- Changes in 5.1.48: + * COMMUNITY README AND README.TXT FILES HAS THE WRONG YEAR (2018). + * REGRESSION UNIT TESTS FAILS WHEN THE 8.0 SERVER'S CHARSET IS SET TO DEFAULT UTF8MB4. + * Update README.md and add new CONTRIBUTING.md. + * Improve DatabaseMetaData.getSQLKeywords() to include new reserved words. + * Parameter metadata inferred incorrectly when procedure or function doesn't exist. + * Can't execute a stored procedure if exists function with same name. + * PSTMT.EXECUTEUPDATE() FAILS WHEN SQL MODE IS NO_BACKSLASH_ESCAPES. + * SYNTAX ERROR ON RESULTSET.UPDATEROW() WITH SQL_MODE NO_BACKSLASH_ESCAPES. + * PREPAREDSTATEMENT.SETTIMESTAMP NULLPOINTEREXCEPTION. + * Support new utf8mb4 bin collation. + * GETTABLENAME() RETURNS NULL FOR A QUERY HAVING COUNT(*) WITH JDBC DRIVER V8.0.12. + * SETTING LOGSLOWQUERIES SHOULD NOT AUTOMATICALLY ENABLE PROFILESQL FOR QUERIES. + * PROFILEREVENT HOSTNAME HAS NO GETTER(). + * CONNECTOR J WITH PROFILESQL - LOG CONTAINS LOTS OF STACKTRACE DATA. + * PROFILEREVENT.PACK() THROWS ARRAYINDEXOUTOFBOUNDSEXCEPTION. + * CHARACTERS GET GARBLED IN CONCAT() IN PS WHEN USECURSORFETCH=TRUE. + * javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify. + * PLEASE AVOID SHOW PROCESSLIST IF POSSIBLE. + * Wrong defaults on collation mappings. + * ADD MAPPING FOR UTF8MB4_ZH_0900_AS_CS COLLATION. + * mysql-connector in bootclasspath causing memory leak. +- Update mysql-connector-java-jdbc-4.1.patch + +--- Old: mysql-connector-java-5.1.47-suse.tar.xz New: mysql-connector-java-5.1.49-suse.tar.xz Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.KzVlAS/_old 2020-07-06 16:14:17.496397273 +0200 +++ /var/tmp/diff_new_pack.KzVlAS/_new 2020-07-06 16:14:17.500397286 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: mysql-connector-java -Version:5.1.47 +Version:5.1.49 Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0-or-later ++ mysql-connector-java-5.1.47-suse.tar.xz -> mysql-connector-java-5.1.49-suse.tar.xz ++ 6023 lines of diff (skipped) ++ mysql-connector-java-jdbc-4.1.patch ++ --- /var/tmp/diff_new_pack.KzVlAS/_old 2020-07-06 16:14:17.940398635 +0200 +++ /var/tmp/diff_new_pack.KzVlAS/_new 2020-07-06 16:14:17.944398647 +0200 @@ -23,13 +23,13 @@ .../jdbc2/optional/SuspendableXAConnection.java| 8 + 17 files changed, 822 insertions(+), 2 deletions(-) -Index: mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java +Index: mysql-connector-java-5.1.49/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java === mysql-connector-java-5.1.47.orig/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java -+++ mysql-connector-java-5.1.47/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java -@@ -3069,4 +3069,36 @@ public class FabricMySQLConnectionProxy - public boolean isServerTruncatesFracSecs() { - return
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2019-10-03 16:15:41 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new.2352 (New) Package is "mysql-connector-java" Thu Oct 3 16:15:41 2019 rev:31 rq:734257 version:5.1.47 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2018-11-10 16:47:32.400633023 +0100 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new.2352/mysql-connector-java.changes 2019-10-03 16:15:42.740846397 +0200 @@ -1,0 +2,6 @@ +Tue Oct 1 09:15:34 UTC 2019 - Fridrich Strba + +- Build against the new compatibility packages log4j12/log4j12-mini +- Clean the spec file by spec-cleaner + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.Cah9B0/_old 2019-10-03 16:15:43.304844959 +0200 +++ /var/tmp/diff_new_pack.Cah9B0/_new 2019-10-03 16:15:43.308844949 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,8 +21,7 @@ Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0-or-later -Group: Development/Libraries/Java -Url:http://dev.mysql.com/downloads/connector/j/ +URL:https://dev.mysql.com/downloads/connector/j/ Source0:%{name}-%{version}-suse.tar.xz # Script to repack upstream tarball # ./generate-tarball.sh VERSION @@ -41,11 +40,11 @@ BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit -BuildRequires: log4j-mini +BuildRequires: log4j12-mini BuildRequires: slf4j BuildRequires: xz Requires: jta >= 1.0 -Requires: log4j +Requires: log4j12 Requires: slf4j Provides: mm.mysql = %{version} Obsoletes: mm.mysql < %{version} @@ -101,8 +100,8 @@ jdbc-stdext\ jta \ junit \ -log4j) -ant \ +log4j12/log4j-12) +%{ant} \ -Dcom.mysql.jdbc.jdk5.javac=%javac \ -Dcom.mysql.jdbc.jdk8.javac=%javac \ -Dsnapshot.version= \ @@ -127,14 +126,8 @@ %add_maven_depmap JPP-%{name}.pom %{name}.jar -%files -%doc CHANGES COPYING README.txt -%attr(0644,root,root) %{_javadir}/%{name}.jar -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/* -%else -%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml* -%endif -%{_mavenpomdir}/*.pom +%files -f .mfiles +%license COPYING +%doc CHANGES README.txt %changelog
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2018-11-10 16:47:29 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Sat Nov 10 16:47:29 2018 rev:30 rq:646511 version:5.1.47 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-10-10 11:39:57.127463212 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2018-11-10 16:47:32.400633023 +0100 @@ -1,0 +2,45 @@ +Mon Nov 5 15:22:11 UTC 2018 - Pedro Monreal Gonzalez + +- Updated to 5.1.47 + - Bug#28449601, MASTER : UNITTEST FOR BUG#22305979 (TESTBUG22305979) STILL FAILS ON QA SETUP. + - Bug#81063 (23098159), w/ rewriteBatchedStatements, when 2 tables involved, the rewriting not correct. + - Bug#84813 (25501750), rewriteBatchedStatements fails in INSERT. + - Fix for Bug#81196 (23227334), CONNECTOR/J NOT FOLLOWING DATABASE CHARACTER SET. + - Bug#72609 (18749544), SETDATE() NOT USING A PROLEPTIC GREGORIAN CALENDAR. + - Bug#87534 (26730196), UNION ALL query fails when useServerPrepStmts=true +on database connection. Test case only. Base bug fixed in MySQL 5.7.22. + - Bug#89948 (27658489), Batched statements are not committed for useLocalTransactionState=true. + - BUG#80532 (22847443), ENCODING OF RESULTSET.UPDATEROW IS BROKEN FOR NON ASCII CHARCTERS. + - BUG#22305979, WRONG RECORD UPDATED IF SENDFRACTIONALSECONDS=FALSE AND SMT IS SCROLLABLE. + - BUG#90024 (27677574), SOME TESTS FAILED AGAINST MYSQL 8.0.5 BECAUSE OF DEPRECATED FEATURES REMOVAL. + +- Updated to 5.1.46 + - WL#11629, Change caching_sha2_password padding. + - Bug#86741 (26314325), Multi-Host connection with autocommit=0 getAutoCommit maybe wrong. + - Bug#27231383, PROVIDE MAVEN-FRIENDLY COMMERCIAL PACKAGES WITHOUT "-BIN". + - Bug#26819691, SETTING PACKETDEBUGBUFFERSIZE=0 RESULTS IN CONNECTION FAILURE. + - WL#11200, Add caching_sha2_password support. + - Bug#88227 (27029657), Connector/J 5.1.44 cannot be used against MySQL 5.7.20 without warnings. + - Bug#27374581, CONNECTION FAILS WHEN GPL SERVER STARTED WITH TLS-VERSION=TLSV1.2. + - Bug#79612 (22362474), CONNECTION ATTRIBUTES LOST WHEN CONNECTING WITHOUT DEFAULT DATABASE. + +- Updated to 5.1.45 + - Bug#27131768, NULL POINTER EXCEPTION IN CONNECTION. + - Bug#88232 (27047676), c/J does not rollback transaction when autoReconnect=true. + - Bug#88242 (27040063), autoReconnect and socketTimeout JDBC option makes wrong order of client packet. + - Bug#88021 (26939943), High GC pressure when driver configured with serversideprepared statements. + - Bug#26724085, CHARSET MAPPING TO BE UPDATED FOR MYSQL 8.0.3. + - Bug#26794652, TEST FAILING DUE TO BINARY LOGGING ENABLED BY DEFAULT IN MYSQL 8.0.3. + - Bug#26794602, TESTS FAILING DUE TO CHANGE IN INFORMATION_SCHEMA.INNODB_SYS_* NAMING. + - Bug#87704 (26771560), THE STREAM GETS THE RESULT SET ?THE DRIVER SIDE GET WRONG ABOUT GETLONG(). + +- Updated to 5.1.44 + - Bug#87429 (26633984), repeated close of ServerPreparedStatement causes memory leak. + - Bug#87379 (26646676), Perform actual TLS capabilities check when restricting TLSv1.2. + - Bug#85601 (25777822), Unit notation is missing in the description of the property involved in the time. + - Bug#87153 (26501245), INCORRECT RESULT OF DBMD.GETVERSIONCOLUMNS() AGAINST MYSQL 8.0.2+. + - Bug#26440544, CONNECTOR/J SHOULD NOT USE TX_{READ_ONLY,ISOLATION} WHICH IS PLANNED FOR REMOVAL. + +- Rebased patch mysql-connector-java-jdbc-4.1.patch + +--- Old: mysql-connector-java-5.1.43-suse.tar.xz New: mysql-connector-java-5.1.47-suse.tar.xz Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.pcYapG/_old 2018-11-10 16:47:33.040632209 +0100 +++ /var/tmp/diff_new_pack.pcYapG/_new 2018-11-10 16:47:33.044632205 +0100 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,15 +12,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mysql-connector-java -Version:5.1.43
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2017-10-10 11:39:54 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Tue Oct 10 11:39:54 2017 rev:29 rq:532197 version:5.1.43 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-09-13 22:22:38.280624564 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2017-10-10 11:39:57.127463212 +0200 @@ -1,0 +2,15 @@ +Fri Oct 6 08:13:05 UTC 2017 - fst...@suse.com + +- Fix build with jdk9 +- Added patch: + * mysql-connector-java-sourcetarget.patch ++ Don't hardcode java source and target levels; specify them + on command-line. + +--- +Fri Sep 29 06:45:22 UTC 2017 - fst...@suse.com + +- Don't condition the maven defines on release version, but on + _maven_repository being defined + +--- New: mysql-connector-java-sourcetarget.patch Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.itw9rY/_old 2017-10-10 11:39:58.091420904 +0200 +++ /var/tmp/diff_new_pack.itw9rY/_new 2017-10-10 11:39:58.095420728 +0200 @@ -32,11 +32,12 @@ Patch2: mysql-connector-java-jdbc-4.1.patch Patch3: disable-testsuite.patch Patch4: compile-jdk7.patch +Patch5: mysql-connector-java-sourcetarget.patch BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging BuildRequires: geronimo-jta-1_1-api -BuildRequires: java-devel = 1.8.0 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit @@ -51,7 +52,6 @@ # manual is no longer distributed Provides: %{name}-manual = %{version} Obsoletes: %{name}-manual < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -70,6 +70,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 # dup rm -f README @@ -106,9 +107,9 @@ -Dcom.mysql.jdbc.jdk8.javac=%javac \ -Dsnapshot.version= \ -Dcom.mysql.jdbc.extra.libs=lib \ --Dant.java.version=1.5 \ +-Dant.java.version=1.6 \ -Dant.build.javac.source=1.6 \ --Dant.build.javac.target=1.7 \ +-Dant.build.javac.target=1.6 \ dist %install @@ -127,13 +128,12 @@ %add_maven_depmap JPP-%{name}.pom %{name}.jar %files -%defattr(0644,root,root,0755) %doc CHANGES COPYING README.txt %attr(0644,root,root) %{_javadir}/%{name}.jar -%if %{?suse_version} > 1320 -%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml* -%else +%if %{defined _maven_repository} %config(noreplace) %{_mavendepmapfragdir}/* +%else +%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml* %endif %{_mavenpomdir}/*.pom ++ mysql-connector-java-sourcetarget.patch ++ --- mysql-connector-java-5.1.43/build.xml 2017-07-06 21:42:45.0 +0200 +++ mysql-connector-java-5.1.43/build.xml 2017-10-06 10:08:59.178208898 +0200 @@ -856,9 +856,7 @@ fork="yes" executable="${com.mysql.jdbc.jdk5.javac}" compiler="modern" - includeantruntime="false" - source="1.5" - target="1.5"> + includeantruntime="false"> @@ -930,9 +928,7 @@ fork="yes" executable="${com.mysql.jdbc.jdk5.javac}" compiler="modern" - includeantruntime="false" - source="1.5" - target="1.5"> + includeantruntime="false"> @@ -993,9 +989,7 @@ fork="yes" executable="${com.mysql.jdbc.jdk5.javac}" compiler="modern" - includeantruntime="false" - source="1.5" - target="1.5"> + includeantruntime="false"> @@ -1014,9 +1008,7 @@ fork="yes" executable="${com.mysql.jdbc.jdk5.javac}" compiler="modern" - includeantruntime="false" - source="1.5" - target="1.5"> + includeantruntime="false"> @@ -1035,9 +1027,7 @@ fork="yes" executable="${com.mysql.jdbc.jdk5.javac}" compiler="modern" - includeantruntime="false" -
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2017-09-13 22:22:37 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Wed Sep 13 22:22:37 2017 rev:28 rq:522893 version:5.1.43 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-08-24 18:22:34.521468520 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2017-09-13 22:22:38.280624564 +0200 @@ -1,0 +2,6 @@ +Sun Sep 10 13:49:02 UTC 2017 - fst...@suse.com + +- Require for building java-devel = 1.8.0, since this package needs + a javac compiler able to build with source and target level 1.5 + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.BMqo7d/_old 2017-09-13 22:22:40.264345294 +0200 +++ /var/tmp/diff_new_pack.BMqo7d/_new 2017-09-13 22:22:40.264345294 +0200 @@ -36,7 +36,7 @@ BuildRequires: ant-contrib BuildRequires: apache-commons-logging BuildRequires: geronimo-jta-1_1-api -BuildRequires: java-devel >= 1.8.0 +BuildRequires: java-devel = 1.8.0 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2017-08-24 18:22:33 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Thu Aug 24 18:22:33 2017 rev:27 rq:517973 version:5.1.43 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-05-31 13:29:39.705041042 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2017-08-24 18:22:34.521468520 +0200 @@ -1,0 +2,13 @@ +Mon Aug 21 11:06:28 UTC 2017 - pmonrealgonza...@suse.com + +- Update to version 5.1.43 + * Fixed problems connecting to MYSQL 8.0.3. + * Deprecating COM_SHUTDOWN + * GETDATE(),GETTIME() AND GETTIMESTAMP() called with NULL +calendar returs NPE + * C/J 5.1 GIS tests are failing with MYSQL 8.0.1C/J 5.1 GIS + * Updated time zone mappings with latest TZ databases + * For a full list of fixed issues see CHANGES or: +http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html + +--- Old: mysql-connector-java-5.1.42-suse.tar.xz New: mysql-connector-java-5.1.43-suse.tar.xz Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.uzrH3n/_old 2017-08-24 18:22:35.461336183 +0200 +++ /var/tmp/diff_new_pack.uzrH3n/_new 2017-08-24 18:22:35.461336183 +0200 @@ -17,7 +17,7 @@ Name: mysql-connector-java -Version:5.1.42 +Version:5.1.43 Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0+ ++ mysql-connector-java-5.1.42-suse.tar.xz -> mysql-connector-java-5.1.43-suse.tar.xz ++ 20523 lines of diff (skipped)
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2017-05-31 13:29:37 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Wed May 31 13:29:37 2017 rev:26 rq:496681 version:5.1.42 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2017-05-06 18:24:52.307693352 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2017-05-31 13:29:39.705041042 +0200 @@ -1,0 +2,39 @@ +Fri May 19 11:34:06 UTC 2017 - dziolkow...@suse.com + +- New build dependency: javapackages-local +- cleaned spec using spec-cleaner + +--- +Thu May 18 12:40:03 UTC 2017 - tchva...@suse.com + +- Hardcode requirement for java 1.8 or newer to build + +--- +Thu May 18 11:55:03 UTC 2017 - tchva...@suse.com + +- Drop patch use-classpath-in-tests.patch +- Add patch disabling testsuite: + * disable-testsuite.patch +- Drop patch extra-libs-build.patch: + * Rather use the thing to propagate some wrongly found libs +- Drop patch no-jdk5-requirement.patch: + * Simply override the value in ant command +- Add patch hibernate-check.patch to remove hibernate check +- Add patch compile-jdk7.patch to compile with old JDK versions + +--- +Thu May 18 10:42:07 UTC 2017 - tchva...@suse.com + +- Version update to 5.1.42 bsc#1035210 bsc#1035697 bsc#1035211: + * CVE-2017-3589 CVE-2017-3523 CVE-2017-3586 + * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html +- Remove upstreamed mysql-connector-java-5.1.35-CVE-2017-3523.patch +- Refresh patch extra-libs-build.patch +- Drop obsolete patch jdk6-check-use-jdk7.patch +- Refresh patch no-jdk5-requirement.patch +- Attempt to refresh mysql-connector-java-jdbc-4.1.patch + * Partialy merged by upstream, many conflicts +- Add patch to relax compiler check: + * javac-check.patch + +--- Old: extra-libs-build.patch jdk6-check-use-jdk7.patch mysql-connector-java-5.1.35-CVE-2017-3523.patch mysql-connector-java-5.1.35-suse.tar.xz no-jdk5-requirement.patch use-classpath-in-tests.patch New: compile-jdk7.patch disable-testsuite.patch hibernate-check.patch javac-check.patch mysql-connector-java-5.1.42-suse.tar.xz Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.OCBqKb/_old 2017-05-31 13:29:40.404942389 +0200 +++ /var/tmp/diff_new_pack.OCBqKb/_new 2017-05-31 13:29:40.404942389 +0200 @@ -17,7 +17,7 @@ Name: mysql-connector-java -Version:5.1.35 +Version:5.1.42 Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0+ @@ -27,24 +27,17 @@ # Script to repack upstream tarball # ./generate-tarball.sh VERSION Source99: generate-tarball.sh -# PATCH-FIX-UPSTREAM: do not strictly require jdk6 to compile -Patch0: jdk6-check-use-jdk7.patch -# PATCH-FIX-UPSTREAM: do not require hibernate4 to actually just build -Patch1: extra-libs-build.patch -# PATCH-FIX-SUSE: do not build jdbc3 driver needing too old java -Patch2: no-jdk5-requirement.patch -# PATCH-FIX-UPSTREAM: build with jdbc4.1 and also with new javac -Patch3: mysql-connector-java-jdbc-4.1.patch -# PATCH-FIX-UPSTREAM: do not lose classpath during tests build -Patch4: use-classpath-in-tests.patch -# PATCH_FIX-UPSTREAM: CVE-2017-3523 Oracle MySQL <=5.1.40 Connector/J -# Remote Code Execution Vulnerability -Patch5: mysql-connector-java-5.1.35-CVE-2017-3523.patch +Patch0: javac-check.patch +Patch1: hibernate-check.patch +Patch2: mysql-connector-java-jdbc-4.1.patch +Patch3: disable-testsuite.patch +Patch4: compile-jdk7.patch BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging BuildRequires: geronimo-jta-1_1-api -BuildRequires: java-devel >= 1.6.0 +BuildRequires: java-devel >= 1.8.0 +BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: log4j-mini @@ -77,13 +70,18 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 # dup rm -f README # wrong end of line encoding sed -i -e 's/.$//' README.txt +# extra libs +mkdir -p lib +mkdir -p src/lib +ln -f -s %{_datadir}/java/ant/ant-contrib.jar lib/ant-contrib.jar +ln -f -s %{_datadir}/java/slf4j/api.jar lib/slf4j-api.jar + %build #
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2017-05-06 18:24:51 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is "mysql-connector-java" Sat May 6 18:24:51 2017 rev:25 rq:492576 version:5.1.35 Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2015-06-17 16:14:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2017-05-06 18:24:52.307693352 +0200 @@ -1,0 +2,9 @@ +Tue May 2 15:20:16 UTC 2017 - pmonrealgonza...@suse.com + +- Fix for CVE-2017-3523 (bsc#1035697) + * Unexpected automatic deserialisation of Java objects + * Affected software: MySQL Connector/J + * Remote Code Execution Vulnerability +- Added patch: mysql-connector-java-5.1.35-CVE-2017-3523.patch + +--- New: mysql-connector-java-5.1.35-CVE-2017-3523.patch Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.Wpm0dx/_old 2017-05-06 18:24:53.163572582 +0200 +++ /var/tmp/diff_new_pack.Wpm0dx/_new 2017-05-06 18:24:53.171571454 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,6 +37,9 @@ Patch3: mysql-connector-java-jdbc-4.1.patch # PATCH-FIX-UPSTREAM: do not lose classpath during tests build Patch4: use-classpath-in-tests.patch +# PATCH_FIX-UPSTREAM: CVE-2017-3523 Oracle MySQL <=5.1.40 Connector/J +# Remote Code Execution Vulnerability +Patch5: mysql-connector-java-5.1.35-CVE-2017-3523.patch BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging @@ -74,6 +77,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 # dup rm -f README ++ mysql-connector-java-5.1.35-CVE-2017-3523.patch ++ --- mysql-connector-java-5.1.35.orig/src/com/mysql/jdbc/ResultSetImpl.java +++ mysql-connector-java-5.1.35/src/com/mysql/jdbc/ResultSetImpl.java @@ -3436,27 +3436,26 @@ public class ResultSetImpl implements Re byte[] data = getBytes(columnIndex); Object obj = data; -if ((data != null) && (data.length >= 2)) { -if ((data[0] == -84) && (data[1] == -19)) { -// Serialized object? -try { -ByteArrayInputStream bytesIn = new ByteArrayInputStream(data); -ObjectInputStream objIn = new ObjectInputStream(bytesIn); -obj = objIn.readObject(); -objIn.close(); -bytesIn.close(); -} catch (ClassNotFoundException cnfe) { -throw SQLError.createSQLException( - Messages.getString("ResultSet.Class_not_found___91") + cnfe.toString() -+ Messages.getString("ResultSet._while_reading_serialized_object_92"), getExceptionInterceptor()); -} catch (IOException ex) { -obj = data; // not serialized? +if (this.connection.getAutoDeserialize()) { + if ((data != null) && (data.length >= 2)) { +if ((data[0] == -84) && (data[1] == -19)) { +// Serialized object? +try { +ByteArrayInputStream bytesIn = new ByteArrayInputStream(data); +ObjectInputStream objIn = new ObjectInputStream(bytesIn); +obj = objIn.readObject(); +objIn.close(); +bytesIn.close(); +} catch (ClassNotFoundException cnfe) { +throw SQLError.createSQLException(Messages.getString("ResultSet.Class_not_found___91") + cnfe.toString() ++ Messages.getString("ResultSet._while_reading_serialized_object_92"),
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2015-06-17 16:14:49 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2015-05-16 07:12:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2015-06-17 16:14:50.0 +0200 @@ -1,0 +2,7 @@ +Thu Jun 11 15:11:55 UTC 2015 - tchva...@suse.com + +- Fix the patches to allow jdbc3 build and reenable it: + * mysql-connector-java-jdbc-4.1.patch + * no-jdk5-requirement.patch + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.AYkMrz/_old 2015-06-17 16:14:51.0 +0200 +++ /var/tmp/diff_new_pack.AYkMrz/_new 2015-06-17 16:14:51.0 +0200 @@ -104,7 +104,8 @@ -DbuildDir=build-mysql-jdbc \ -DdistDir=dist-mysql-jdbc \ -Dcom.mysql.jdbc.jdk6.javac=%{javac} \ --Dcom.mysql.jdbc.jdk6.java=%{java} +-Dcom.mysql.jdbc.jdk6.java=%{java} \ +dist %install install -d -m 755 %{buildroot}%{_javadir} ++ mysql-connector-java-jdbc-4.1.patch ++ --- /var/tmp/diff_new_pack.AYkMrz/_old 2015-06-17 16:14:51.0 +0200 +++ /var/tmp/diff_new_pack.AYkMrz/_new 2015-06-17 16:14:51.0 +0200 @@ -272,15 +272,17 @@ /** * The Java SQL framework allows for multiple database drivers. Each driver should supply a class that implements the Driver interface -@@ -62,3 +64,8 @@ public class Driver extends NonRegisteri +@@ -61,4 +63,10 @@ public class Driver extends NonRegisteri + public Driver() throws SQLException { // Required for Class.forName().newInstance() } - } + + @Override + public Logger getParentLogger() throws SQLFeatureNotSupportedException { + throw new SQLFeatureNotSupportedException(Not supported); + } ++ + } Index: mysql-connector-java-5.1.35/src/com/mysql/jdbc/JDBC4Connection.java === --- mysql-connector-java-5.1.35.orig/src/com/mysql/jdbc/JDBC4Connection.java @@ -1502,10 +1504,10 @@ pStmt.executeUpdate(); } finally { if (pStmt != null) { -@@ -5277,6 +5283,271 @@ public class StatementRegressionTest ext - - Connection conn1 = null; - +@@ -4606,6 +4612,271 @@ public class StatementRegressionTest ext + public int getBytesSize() throws SQLException { + return 0; + } + @Override + public T T getObject(int columnIndex, ClassT type) throws SQLException { + throw new SQLFeatureNotSupportedException(Not supported); @@ -1771,8 +1773,8 @@ + public T T unwrap(java.lang.ClassT iface) throws java.sql.SQLException { +throw new SQLFeatureNotSupportedException(Not supported); +} - try { - assertEquals(1, this.stmt.executeUpdate(INSERT INTO bug43196 (a) VALUES (1), Statement.RETURN_GENERATED_KEYS)); + }; + } @@ -6911,6 +7182,7 @@ public class StatementRegressionTest ext expectedUpdCountBatchPStmt = expectedUpdCountBatchPStmtRW; ++ no-jdk5-requirement.patch ++ --- /var/tmp/diff_new_pack.AYkMrz/_old 2015-06-17 16:14:51.0 +0200 +++ /var/tmp/diff_new_pack.AYkMrz/_new 2015-06-17 16:14:51.0 +0200 @@ -11,43 +11,21 @@ !-- Check for required JDK5 for compilation of JDBC3 implementation. -- -@@ -756,7 +756,7 @@ Java 6 (for JDBC4+ implementation) is al - !-- Compile the driver including JDBC3 and JDBC4+ implementations only. -- - target name=compile-driver - description=Compiles driver including JDBC3 and JDBC4+ implementations only. --depends=-compile-driver-jdbc3, -compile-driver-jdbc4 / -+depends=-compile-driver-jdbc4 / - - - !-- Compile JDBC3 implementation. -- -@@ -787,7 +787,7 @@ Java 6 (for JDBC4+ implementation) is al - - - !-- Compile JDBC4+ implementation. -- --target name=-compile-driver-jdbc4 depends=-compile-driver-jdbc3 -+target name=-compile-driver-jdbc4 depends=init, -clean-output - echoCompiling MySQL Connector/J JDBC4+ implementation with '${com.mysql.jdbc.jdk6}' to '${compiler.output}'/echo - - javac sourcepath= -@@ -816,21 +816,6 @@ Java 6 (for JDBC4+ implementation) is al - - javac sourcepath= -srcdir=${buildDir}/${fullProdName} -- destdir=${compiler.output} --
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2015-05-16 07:12:51 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2015-04-02 15:58:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2015-05-16 07:12:53.0 +0200 @@ -1,0 +2,19 @@ +Tue Apr 21 15:22:44 UTC 2015 - tchva...@suse.com + +- Update to 5.1.35 (see CHANGES for full list of issues) + bnc#927981 CVE-2015-2575: + * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html +- Remove not applicable patch: + * mysql-connector-java-7-jdbc-4.1.patch +- Do not explicitely check for jdk6 but be happy with 7 and 8: + * jdk6-check-use-jdk7.patch +- Do not require hibernate4 to actually build: + * extra-libs-build.patch +- Do not build jdk5 depending jdbc3: + * no-jdk5-requirement.patch +- Add and rebase jdbc4.1 patch: + * mysql-connector-java-jdbc-4.1.patch +- Add new patch to build tests: + * use-classpath-in-tests.patch + +--- Old: mysql-connector-java-5.1.25-suse.tar.xz mysql-connector-java-7-jdbc-4.1.patch New: extra-libs-build.patch generate-tarball.sh jdk6-check-use-jdk7.patch mysql-connector-java-5.1.35-suse.tar.xz mysql-connector-java-jdbc-4.1.patch no-jdk5-requirement.patch use-classpath-in-tests.patch Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.UVy0kO/_old 2015-05-16 07:12:54.0 +0200 +++ /var/tmp/diff_new_pack.UVy0kO/_new 2015-05-16 07:12:54.0 +0200 @@ -17,32 +17,33 @@ Name: mysql-connector-java -Version:5.1.25 +Version:5.1.35 Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0+ Group: Development/Libraries/Java -Url:http://www.mysql.com/downloads/api-jdbc-stable.html -# url-for-download: http://dev.mysql.com/get/Downloads/Connector-J/%{name}-%{version}.zip/from/pick#mirrors -# docs are now under very strict proprietary license by Oracle, so lets not distribute them -# remove bundled jars as well -# tar -xf %{name}-%{version}.tar.gz -# rm -rf %{name}-%{version}/docs -# find %{name}-%{version} -name '*jar' -delete -# tar -xJf %{name}-%{version}-suse.tar.xz +Url:http://dev.mysql.com/downloads/connector/j/ Source0:%{name}-%{version}-suse.tar.xz -# Patch to build Java 7/jdbc 4.1 -Patch0: mysql-connector-java-7-jdbc-4.1.patch +# Script to repack upstream tarball +# ./generate-tarball.sh VERSION +Source99: generate-tarball.sh +# PATCH-FIX-UPSTREAM: do not strictly require jdk6 to compile +Patch0: jdk6-check-use-jdk7.patch +# PATCH-FIX-UPSTREAM: do not require hibernate4 to actually just build +Patch1: extra-libs-build.patch +# PATCH-FIX-SUSE: do not build jdbc3 driver needing too old java +Patch2: no-jdk5-requirement.patch +# PATCH-FIX-UPSTREAM: build with jdbc4.1 and also with new javac +Patch3: mysql-connector-java-jdbc-4.1.patch +# PATCH-FIX-UPSTREAM: do not lose classpath during tests build +Patch4: use-classpath-in-tests.patch BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging -#BuildRequires: jta = 1.0 BuildRequires: geronimo-jta-1_1-api -#BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: java-devel = 1.6.0 BuildRequires: javapackages-tools BuildRequires: junit -#!BuildIgnore: maven2-bootstrap BuildRequires: log4j-mini BuildRequires: slf4j BuildRequires: xz @@ -69,6 +70,10 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 # dup rm -f README @@ -76,13 +81,15 @@ sed -i -e 's/.$//' README.txt %build - # disable jboss integration rm -rf src/com/mysql/jdbc/integration/jboss rm src/testsuite/regression/ConnectionRegressionTest.java rm src/testsuite/regression/DataSourceRegressionTest.java rm src/testsuite/simple/ReadOnlyCallableStatementTest.java rm src/testsuite/simple/jdbc4/StatementsTest.java +# disable hibernate4 integration +rm -rf src/com/mysql/fabric/hibernate +rm -rf src/demo export CLASSPATH=$(build-classpath \ ant-contrib \ @@ -92,17 +99,12 @@ jta \ junit \ log4j) - -# we need jdk5 for jdbc3.0 -# XXX: JAVA_HOME must be setup **after** CLASSPATH -#export JAVA_HOME=%{_libdir}/jvm/java-1.5.0-gcj ant \ -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2015-04-02 15:58:11 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2014-06-30 22:50:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2015-04-02 15:58:12.0 +0200 @@ -1,0 +2,5 @@ +Wed Mar 18 09:46:18 UTC 2015 - tchva...@suse.com + +- Fix build with new javapackages-tools + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.GqOJG7/_old 2015-04-02 15:58:12.0 +0200 +++ /var/tmp/diff_new_pack.GqOJG7/_new 2015-04-02 15:58:12.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -123,7 +123,7 @@ %defattr(0644,root,root,0755) %doc CHANGES COPYING README.txt %attr(0644,root,root) %{_javadir}/%{name}.jar -%config(noreplace) %{_mavendepmapfragdir}/* +%config(noreplace) %{_datadir}/maven-metadata/%{name}.xml* %{_mavenpomdir}/*.pom %changelog
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2014-06-30 22:50:07 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2013-09-23 15:25:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2014-06-30 22:50:11.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 27 12:33:20 UTC 2014 - tchva...@suse.com + +- Cleanup with spec-cleaner +- Try to build on SLE_11 + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.o4HQRm/_old 2014-06-30 22:50:13.0 +0200 +++ /var/tmp/diff_new_pack.o4HQRm/_new 2014-06-30 22:50:13.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,7 +14,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# icecream 0 Name: mysql-connector-java @@ -24,7 +23,6 @@ License:GPL-2.0+ Group: Development/Libraries/Java Url:http://www.mysql.com/downloads/api-jdbc-stable.html - # url-for-download: http://dev.mysql.com/get/Downloads/Connector-J/%{name}-%{version}.zip/from/pick#mirrors # docs are now under very strict proprietary license by Oracle, so lets not distribute them # remove bundled jars as well @@ -35,33 +33,29 @@ Source0:%{name}-%{version}-suse.tar.xz # Patch to build Java 7/jdbc 4.1 Patch0: mysql-connector-java-7-jdbc-4.1.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging -#BuildRequires: java-1_5_0-gcj-compat-devel -BuildRequires: java-devel = 1.6.0 #BuildRequires: jta = 1.0 BuildRequires: geronimo-jta-1_1-api +#BuildRequires: java-1_5_0-gcj-compat-devel +BuildRequires: java-devel = 1.6.0 BuildRequires: javapackages-tools BuildRequires: junit -BuildRequires: slf4j #!BuildIgnore: maven2-bootstrap BuildRequires: log4j-mini - +BuildRequires: slf4j +BuildRequires: xz Requires: jta = 1.0 Requires: log4j Requires: slf4j - Provides: mm.mysql = %{version} Obsoletes: mm.mysql %{version} - # manual is no longer distributed Provides: %{name}-manual = %{version} Obsoletes: %{name}-manual %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description MySQL Connector/J is a native Java driver that converts JDBC (Java @@ -73,7 +67,7 @@ set that supports the capabilities of MySQL. %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 # dup @@ -102,7 +96,9 @@ # we need jdk5 for jdbc3.0 # XXX: JAVA_HOME must be setup **after** CLASSPATH #export JAVA_HOME=%{_libdir}/jvm/java-1.5.0-gcj -ant -DbuildDir=build-mysql-jdbc \ +ant \ +-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ +-DbuildDir=build-mysql-jdbc \ -DdistDir=dist-mysql-jdbc \ -Dcom.mysql.jdbc.java6.javac=%{javac} \ -Dcom.mysql.jdbc.java6.java=%{java} \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2013-09-23 15:25:33 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2013-08-25 13:32:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2013-09-23 15:25:34.0 +0200 @@ -1,0 +2,35 @@ +Thu Sep 19 14:12:57 UTC 2013 - mvysko...@suse.com + +- update to 5.1.25 (see CHANGES for full list) + * support for Connection Attributes when used with MySQL Server versions (5.6+). + 5.1.24 + * support of password expiration protocol. This introduces new boolean +connection property disconnectOnExpiredPasswords. + 5.1.23 + * added support of password expiration protocol. + * driver now allows the mechanism for caching MySQL server configuration +values replaceable at runtime. + * Connection.setReadOnly() will take advantage of server-side support for +read-only transactions present in MySQL-5.6 and newer. Calling .isReadOnly() +will incur a round-trip if useLocalSessionState. + 5.1.22 + * support of ON UPDATE CURRENT_TIMESTAMP for TIMESTAMP and DATETIME fields. + 5.1.21 + * new built-in authentication plugin +com.mysql.jdbc.authentication.Sha256PasswordPlugin (sha256_password). + * Added new built-in authentication plugin +com.mysql.jdbc.authentication.MysqlClearPasswordPlugin (mysql_clear_password). +It allows C/J based clients to connect to MySQL accounts. + * the ability to add new client-side prepared statement parse info caches + * implemented several JDBC-4.1 methods from Java-7: + 5.1.19: + * Added support for pluggable authentication via the com.mysql.jdbc.AuthenticationPlugin +- rebase and rename mysql-connector-java-5.1.19-java7.patch to + * mysql-connector-java-7-jdbc-4.1.patch + +--- +Fri Sep 13 09:04:23 UTC 2013 - pgaj...@suse.com + +- add jpackages-tools to buildrequires + +--- Old: mysql-connector-java-5.1.19-java7.patch mysql-connector-java-5.1.19-suse.tar.xz New: mysql-connector-java-5.1.25-suse.tar.xz mysql-connector-java-7-jdbc-4.1.patch Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.SZFtKH/_old 2013-09-23 15:25:35.0 +0200 +++ /var/tmp/diff_new_pack.SZFtKH/_new 2013-09-23 15:25:35.0 +0200 @@ -18,13 +18,14 @@ Name: mysql-connector-java -Version:5.1.19 +Version:5.1.25 Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0+ Group: Development/Libraries/Java Url:http://www.mysql.com/downloads/api-jdbc-stable.html +# url-for-download: http://dev.mysql.com/get/Downloads/Connector-J/%{name}-%{version}.zip/from/pick#mirrors # docs are now under very strict proprietary license by Oracle, so lets not distribute them # remove bundled jars as well # tar -xf %{name}-%{version}.tar.gz @@ -32,8 +33,8 @@ # find %{name}-%{version} -name '*jar' -delete # tar -xJf %{name}-%{version}-suse.tar.xz Source0:%{name}-%{version}-suse.tar.xz -# Patch to build with JDBC 4.1/Java 7 -Patch0: mysql-connector-java-5.1.19-java7.patch +# Patch to build Java 7/jdbc 4.1 +Patch0: mysql-connector-java-7-jdbc-4.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -41,9 +42,11 @@ BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging -BuildRequires: java-1_5_0-gcj-compat-devel +#BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: java-devel = 1.6.0 -BuildRequires: jta +#BuildRequires: jta = 1.0 +BuildRequires: geronimo-jta-1_1-api +BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: slf4j #!BuildIgnore: maven2-bootstrap @@ -98,7 +101,7 @@ # we need jdk5 for jdbc3.0 # XXX: JAVA_HOME must be setup **after** CLASSPATH -export JAVA_HOME=%{_libdir}/jvm/java-1.5.0-gcj +#export JAVA_HOME=%{_libdir}/jvm/java-1.5.0-gcj ant -DbuildDir=build-mysql-jdbc \ -DdistDir=dist-mysql-jdbc \ -Dcom.mysql.jdbc.java6.javac=%{javac} \ ++ mysql-connector-java-5.1.19-suse.tar.xz - mysql-connector-java-5.1.25-suse.tar.xz ++ 37260 lines of diff (skipped) ++ mysql-connector-java-7-jdbc-4.1.patch ++ 1978 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands,
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2013-08-25 13:32:17 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2012-06-25 12:41:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2013-08-25 13:32:18.0 +0200 @@ -1,0 +2,5 @@ +Fri Aug 23 09:48:13 UTC 2013 - mvysko...@suse.com + +- use add_maven_depmap provided by javapackages-tools + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.CbV8u1/_old 2013-08-25 13:32:19.0 +0200 +++ /var/tmp/diff_new_pack.CbV8u1/_new 2013-08-25 13:32:19.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package mysql-connector-java # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,16 +118,7 @@ install -pm 644 src/doc/sources/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom sed -i 's/@.*/%{version}/' %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom -%add_to_maven_depmap mysql %{name} %{version} JPP %{name} - -%post -%update_maven_depmap - -%postun -%update_maven_depmap - -%clean -%{__rm} -rf $RPM_BUILD_ROOT +%add_maven_depmap JPP-%{name}.pom %{name}.jar %files %defattr(0644,root,root,0755) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2012-06-25 12:41:13 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java, Maintainer is bnc-team-j...@forge.provo.novell.com Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2012-06-18 16:33:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2012-06-25 12:41:14.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 20 08:13:10 UTC 2012 - mvysko...@suse.cz + +- build require java-devel = 1.6.0 as well + +--- Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.Z983Ys/_old 2012-06-25 12:41:16.0 +0200 +++ /var/tmp/diff_new_pack.Z983Ys/_new 2012-06-25 12:41:16.0 +0200 @@ -42,7 +42,7 @@ BuildRequires: ant-contrib BuildRequires: apache-commons-logging BuildRequires: java-1_5_0-gcj-compat-devel -BuildRequires: java-devel +BuildRequires: java-devel = 1.6.0 BuildRequires: jta BuildRequires: junit BuildRequires: slf4j -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2012-06-18 16:33:45 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java, Maintainer is bnc-team-j...@forge.provo.novell.com Changes: --- /work/SRC/openSUSE:Factory/mysql-connector-java/mysql-connector-java.changes 2012-05-21 08:06:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.mysql-connector-java.new/mysql-connector-java.changes 2012-06-18 16:33:46.0 +0200 @@ -1,0 +2,7 @@ +Mon Jun 18 13:16:57 UTC 2012 - mvysko...@suse.cz + +- fix a build with jdk7 (build jdbc 3.0 with gcj) +- remove some obsoleted macros (gcj, jboss) +- remove jars from source file as well + +--- Old: mysql-connector-java-5.1.6-disableJDBC4.patch mysql-connector-java-5.1.6-java6-compatibility.patch mysql-connector-java-suse-docs.patch New: mysql-connector-java-5.1.19-java7.patch Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.hCfws8/_old 2012-06-18 16:33:48.0 +0200 +++ /var/tmp/diff_new_pack.hCfws8/_new 2012-06-18 16:33:48.0 +0200 @@ -17,45 +17,45 @@ # icecream 0 -%define section free -%define builddir build-mysql-jdbc -%define distdir dist-mysql-jdbc -%define with_jboss4 0 - Name: mysql-connector-java +Version:5.1.19 +Release:0 Summary:Official JDBC Driver for MySQL License:GPL-2.0+ Group: Development/Libraries/Java -Version:5.1.19 -Release:0 +Url:http://www.mysql.com/downloads/api-jdbc-stable.html + # docs are now under very strict proprietary license by Oracle, so lets not distribute them +# remove bundled jars as well # tar -xf %{name}-%{version}.tar.gz -# rm -rf %{name}-%{version}/docs %{name}-%{version}/%{name}-%{version}-bin.jar +# rm -rf %{name}-%{version}/docs +# find %{name}-%{version} -name '*jar' -delete # tar -xJf %{name}-%{version}-suse.tar.xz Source0:%{name}-%{version}-suse.tar.xz -Patch2: %{name}-5.1.6-java6-compatibility.patch -Patch3: %{name}-5.1.6-disableJDBC4.patch -#PATCH-FIX-SUSE: inform users about fact the documentation is not distributed anymore -Patch4: mysql-connector-java-suse-docs.patch -Url:http://www.mysql.com/downloads/api-jdbc-stable.html +# Patch to build with JDBC 4.1/Java 7 +Patch0: mysql-connector-java-5.1.19-java7.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch + BuildRequires: ant BuildRequires: ant-contrib BuildRequires: apache-commons-logging +BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: java-devel +BuildRequires: jta +BuildRequires: junit BuildRequires: slf4j #!BuildIgnore: maven2-bootstrap -%if %{with_jboss4} -BuildRequires: jboss4-common -BuildRequires: jboss4-connector -%endif -BuildRequires: jpackage-utils -BuildRequires: junit BuildRequires: log4j-mini + +Requires: jta = 1.0 Requires: log4j +Requires: slf4j + Provides: mm.mysql = %{version} Obsoletes: mm.mysql %{version} + # manual is no longer distributed Provides: %{name}-manual = %{version} Obsoletes: %{name}-manual %{version} @@ -71,18 +71,7 @@ %prep %setup -q -n %{name}-%{version} -# patch only for javac 1.6.0 -if [[ $(javac -version 21 | grep '1\.6\.0') != ]]; then -%patch2 -b .sav2 -fi -%patch3 -%patch4 -p1 -# remove all binary libs -find . \( -name *.jar -o -name *.class \) | xargs -t %{__rm} -f -%if ! %{with_jboss4} -rm -r src/com/mysql/jdbc/integration/jboss/ -rm -r src/testsuite/regression/DataSourceRegressionTest.java -%endif +%patch0 -p1 # dup rm -f README @@ -90,34 +79,38 @@ sed -i -e 's/.$//' README.txt %build -# jboss jars needed for test suite -export CLASSPATH=$(build-classpath ant-contrib \ -commons-logging slf4j \ -%if %{with_jboss4} -jboss4/jboss-common-jdbc-wrapper \ -%endif -jdbc-stdext jta \ -junit log4j xml-commons-jaxp-1.3-apis) -ant -Dant.build.javac.source=1.6 \ --Dant.build.javac.target=1.6 \ --DbuildDir=%{builddir} \ --DdistDir=%{distdir} \ + +# disable jboss integration +rm -rf src/com/mysql/jdbc/integration/jboss +rm src/testsuite/regression/ConnectionRegressionTest.java +rm src/testsuite/regression/DataSourceRegressionTest.java +rm src/testsuite/simple/ReadOnlyCallableStatementTest.java +rm src/testsuite/simple/jdbc4/StatementsTest.java + +export CLASSPATH=$(build-classpath \ +ant-contrib \ +commons-logging \ +slf4j \ +jdbc-stdext\ +jta \ +
commit mysql-connector-java for openSUSE:Factory
Hello community, here is the log from the commit of package mysql-connector-java for openSUSE:Factory checked in at 2011-12-06 18:30:41 Comparing /work/SRC/openSUSE:Factory/mysql-connector-java (Old) and /work/SRC/openSUSE:Factory/.mysql-connector-java.new (New) Package is mysql-connector-java, Maintainer is bnc-team-j...@forge.provo.novell.com Changes: Other differences: -- ++ mysql-connector-java.spec ++ --- /var/tmp/diff_new_pack.rdHZWG/_old 2011-12-06 18:52:22.0 +0100 +++ /var/tmp/diff_new_pack.rdHZWG/_new 2011-12-06 18:52:22.0 +0100 @@ -27,7 +27,7 @@ Summary:Official JDBC Driver for MySQL Version:5.1.6 Release:1 -License:GPL v2 or later +License:GPL-2.0+ Group: Development/Libraries/Java Source0:%{name}-%{version}.tar.bz2 Patch1: %{name}-target-javadoc.patch @@ -63,7 +63,7 @@ %package javadoc -License:GPL v2 or later +License:GPL-2.0+ Summary:Official JDBC Driver for MySQL Group: Development/Libraries/Java Requires(post): /bin/ln @@ -82,7 +82,7 @@ %package manual -License:GPL v2 or later +License:GPL-2.0+ Summary:Official JDBC Driver for MySQL Group: Development/Libraries/Java Requires(post): /bin/ln -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org