commit perl-DBD-MariaDB for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBD-MariaDB for openSUSE:Factory checked in at 2024-08-13 13:24:01 Comparing /work/SRC/openSUSE:Factory/perl-DBD-MariaDB (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.7232 (New) Package is "perl-DBD-MariaDB" Tue Aug 13 13:24:01 2024 rev:8 rq:1193454 version:1.230.0 Changes: --- /work/SRC/openSUSE:Factory/perl-DBD-MariaDB/perl-DBD-MariaDB.changes 2024-03-09 20:56:38.430884734 +0100 +++ /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.7232/perl-DBD-MariaDB.changes 2024-08-13 13:24:32.285481458 +0200 @@ -1,0 +2,6 @@ +Mon Aug 12 11:41:03 UTC 2024 - Nathan Cutler + +- Add patch perl-DBD-MariaDB-fix_ssl_connection_test.patch to reflect + change in text of "self-signed certificate" SSL connection error + +--- New: perl-DBD-MariaDB-fix_ssl_connection_test.patch BETA DEBUG BEGIN: New: - Add patch perl-DBD-MariaDB-fix_ssl_connection_test.patch to reflect change in text of "self-signed certificate" SSL connection error BETA DEBUG END: Other differences: -- ++ perl-DBD-MariaDB.spec ++ --- /var/tmp/diff_new_pack.KDRc4N/_old 2024-08-13 13:24:32.933508458 +0200 +++ /var/tmp/diff_new_pack.KDRc4N/_new 2024-08-13 13:24:32.937508624 +0200 @@ -20,6 +20,7 @@ Name: perl-DBD-MariaDB Version:1.230.0 Release:0 +# 1.23 -> normalize -> 1.230.0 %define cpan_version 1.23 License:Artistic-1.0 OR GPL-1.0-or-later Summary:MariaDB and MySQL driver for the Perl5 Database Interface (DBI) @@ -29,6 +30,8 @@ Source2:test-clean.sh Source3:cpanspec.yml Patch0: perl-DBD-MariaDB-fix_c_32x_test.patch +# PATCH-FIX-OPENSUSE https://github.com/perl5-dbi/DBD-MariaDB/issues/209 +Patch1: perl-DBD-MariaDB-fix_ssl_connection_test.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.608 @@ -37,7 +40,7 @@ BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.90 Requires: perl(DBI) >= 1.608 -Provides: perl(DBD::MariaDB) = 1.230.0 +Provides: perl(DBD::MariaDB) = %{version} %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN ++ cpanspec.yml ++ --- /var/tmp/diff_new_pack.KDRc4N/_old 2024-08-13 13:24:32.977510291 +0200 +++ /var/tmp/diff_new_pack.KDRc4N/_new 2024-08-13 13:24:32.977510291 +0200 @@ -14,6 +14,7 @@ - test-clean.sh patches: perl-DBD-MariaDB-fix_c_32x_test.patch: -p1 + perl-DBD-MariaDB-fix_ssl_connection_test.patch: -p1 PATCH-FIX-OPENSUSE https://github.com/perl5-dbi/DBD-MariaDB/issues/209 preamble: |- BuildRequires: libmariadb-devel BuildRequires: mariadb ++ perl-DBD-MariaDB-fix_ssl_connection_test.patch ++ --- a/t/92ssl_connection.t 2023-09-10 16:18:55.0 +0200 +++ b/t/92ssl_connection.t 2024-08-12 13:32:17.172199902 +0200 @@ -29,6 +29,6 @@ ok(defined $cipher, 'SSL connection was established') and diag("mariadb_ssl_cipher is: $cipher"); } } else { - like($DBI::errstr, qr/^SSL connection error: /, 'DBD::MariaDB supports mariadb_ssl=1 without mariadb_ssl_optional=1 and fail because cannot enforce SSL encryption') or diag('Error message: ' . ($DBI::errstr || 'unknown')); + like($DBI::errstr, qr/^TLS\/SSL error: /, 'DBD::MariaDB supports mariadb_ssl=1 without mariadb_ssl_optional=1 and fail because cannot enforce SSL encryption') or diag('Error message: ' . ($DBI::errstr || 'unknown')); is($DBI::err, 2026, 'DBD::MariaDB error code is SSL related') or diag('Error code: ' . ($DBI::err || 'unknown')); }
commit perl-DBD-MariaDB for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBD-MariaDB for openSUSE:Factory checked in at 2023-09-28 00:25:50 Comparing /work/SRC/openSUSE:Factory/perl-DBD-MariaDB (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.23327 (New) Package is "perl-DBD-MariaDB" Thu Sep 28 00:25:50 2023 rev:6 rq:1113826 version:1.230.0 Changes: --- /work/SRC/openSUSE:Factory/perl-DBD-MariaDB/perl-DBD-MariaDB.changes 2022-05-04 15:11:27.832195136 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.23327/perl-DBD-MariaDB.changes 2023-09-28 00:41:24.723256661 +0200 @@ -1,0 +2,30 @@ +Mon Sep 11 03:07:04 UTC 2023 - Tina Müller + +- updated to 1.23 + see /usr/share/doc/packages/perl-DBD-MariaDB/Changes + + 1.23 2023-09-10 + - Add a missing break + (https://github.com/perl5-dbi/DBD-MariaDB/issues/163) + - Signal error if mariadb_db_async_result() fails + (https://github.com/perl5-dbi/DBD-MariaDB/issues/162) + - Update links to project website, issues and years + - Fix compilation with some MariaDB client library 10.2 and 10.3 versions + - Fix mariadb_use_result attribute + (https://github.com/perl5-dbi/DBD-MariaDB/issues/173) + - Fix statements with multiple result sets in asynchronous mode + - Fix mariadb_sockfd attribute for Windows + - Croaks when changing AutoCommit attribute fails + (https://github.com/perl5-dbi/dbi/issues/104) + - Various documentation and tests fixes + - Fix support for MariaDB Connector/C prior to 3.1.3 version + - Fix usage of Win32::GetShortPathName() in Makefile.PL + - Build release tarball in TAR format (instead of PAX) + - Allow to query and change mariadb_multi_statements attribute + - Add connect option mariadb_auth_plugin for specifying auth plugin + - Fix support for MySQL 8.0+ client library + (https://github.com/perl5-dbi/DBD-MariaDB/issues/191) + (https://github.com/perl5-dbi/DBD-mysql/issues/329) + - Add Github Actions CI and Cirrus CI (FreeBSD) for automated testing + +--- Old: DBD-MariaDB-1.22.tar.gz New: DBD-MariaDB-1.23.tar.gz Other differences: -- ++ perl-DBD-MariaDB.spec ++ --- /var/tmp/diff_new_pack.MGuUvt/_old 2023-09-28 00:41:25.987302641 +0200 +++ /var/tmp/diff_new_pack.MGuUvt/_new 2023-09-28 00:41:25.991302787 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-MariaDB # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,13 @@ %define cpan_name DBD-MariaDB Name: perl-DBD-MariaDB -Version:1.22 +Version:1.230.0 Release:0 +%define cpan_version 1.23 License:Artistic-1.0 OR GPL-1.0-or-later Summary:MariaDB and MySQL driver for the Perl5 Database Interface (DBI) URL:https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/P/PA/PALI/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/P/PA/PALI/%{cpan_name}-%{cpan_version}.tar.gz Source1:test-setup.sh Source2:test-clean.sh Source3:cpanspec.yml @@ -36,6 +37,8 @@ BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.90 Requires: perl(DBI) >= 1.608 +Provides: perl(DBD::MariaDB) = 1.230.0 +%define __perllib_provides /bin/true %{perl_requires} # MANUAL BEGIN BuildRequires: libmariadb-devel @@ -77,7 +80,7 @@ are missing, mainly because no-one ever requested them. %prep -%autosetup -n %{cpan_name}-%{version} -p1 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build # fails to detect the paths since perl 5.32 ++ DBD-MariaDB-1.22.tar.gz -> DBD-MariaDB-1.23.tar.gz ++ 2758 lines of diff (skipped)
commit perl-DBD-MariaDB for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBD-MariaDB for openSUSE:Factory checked in at 2022-05-04 15:11:05 Comparing /work/SRC/openSUSE:Factory/perl-DBD-MariaDB (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.1538 (New) Package is "perl-DBD-MariaDB" Wed May 4 15:11:05 2022 rev:5 rq:974829 version:1.22 Changes: --- /work/SRC/openSUSE:Factory/perl-DBD-MariaDB/perl-DBD-MariaDB.changes 2021-10-06 19:50:04.916060647 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.1538/perl-DBD-MariaDB.changes 2022-05-04 15:11:27.832195136 +0200 @@ -1,0 +2,22 @@ +Mon Apr 25 11:15:13 UTC 2022 - Tina M??ller + +- Update patch perl-DBD-MariaDB-fix_c_32x_test.patch + +--- +Fri Apr 22 03:06:56 UTC 2022 - Tina M??ller + +- updated to 1.22 + see /usr/share/doc/packages/perl-DBD-MariaDB/Changes + + 1.22 2022-04-22 + - Disable usage of libmysqld.a from MySQL 8.x series + - Install README.pod into DBD/MariaDB/ subdirectory + (https://github.com/gooddata/DBD-MariaDB/issues/146) + - Do not export driver private C functions + - Fix typo in error message + - Fix compatibility with new MariaDB client and server versions + (https://github.com/perl5-dbi/DBD-MariaDB/issues/164) + (https://github.com/perl5-dbi/DBD-MariaDB/issues/167) + (https://github.com/perl5-dbi/DBD-mysql/issues/333) + +--- Old: DBD-MariaDB-1.21.tar.gz New: DBD-MariaDB-1.22.tar.gz Other differences: -- ++ perl-DBD-MariaDB.spec ++ --- /var/tmp/diff_new_pack.KWAmTP/_old 2022-05-04 15:11:28.392195825 +0200 +++ /var/tmp/diff_new_pack.KWAmTP/_new 2022-05-04 15:11:28.396195830 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-MariaDB # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,18 @@ # +%define cpan_name DBD-MariaDB Name: perl-DBD-MariaDB -Version:1.21 +Version:1.22 Release:0 -%define cpan_name DBD-MariaDB -Summary:MariaDB and MySQL driver for the Perl5 Database Interface (DBI) License:Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary:MariaDB and MySQL driver for the Perl5 Database Interface (DBI) URL:https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PA/PALI/%{cpan_name}-%{version}.tar.gz Source1:test-setup.sh Source2:test-clean.sh Source3:cpanspec.yml Patch0: perl-DBD-MariaDB-fix_c_32x_test.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.608 @@ -79,8 +77,7 @@ are missing, mainly because no-one ever requested them. %prep -%setup -q -n %{cpan_name}-%{version} -%patch0 -p1 +%autosetup -n %{cpan_name}-%{version} -p1 %build # fails to detect the paths since perl 5.32 @@ -100,7 +97,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes Changes.historic %license LICENSE ++ DBD-MariaDB-1.21.tar.gz -> DBD-MariaDB-1.22.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-MariaDB-1.21/Changes new/DBD-MariaDB-1.22/Changes --- old/DBD-MariaDB-1.21/Changes2019-02-27 12:04:38.0 +0100 +++ new/DBD-MariaDB-1.22/Changes2022-04-22 00:58:12.0 +0200 @@ -1,3 +1,14 @@ +1.22 2022-04-22 + - Disable usage of libmysqld.a from MySQL 8.x series + - Install README.pod into DBD/MariaDB/ subdirectory + (https://github.com/gooddata/DBD-MariaDB/issues/146) + - Do not export driver private C functions + - Fix typo in error message + - Fix compatibility with new MariaDB client and server versions + (https://github.com/perl5-dbi/DBD-MariaDB/issues/164) + (https://github.com/perl5-dbi/DBD-MariaDB/issues/167) + (https://github.com/perl5-dbi/DBD-mysql/issues/333) + 1.21 2019-02-27 - Fix skipping test t/14destruct.t - Revert "MySQL bug #93276 is fixed in 8.0.15" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-MariaDB-1.21/META.json new/DBD-MariaDB-1.22/META.json --- old/DBD-MariaDB-1.21/META.json 2019-02-27 12:05:31.0 +0100 +++ new/DBD-MariaDB-1.22/META.json 2022-04-22 00:58:37.0 +0200 @@ -97,7 +97,7 @@ "x_IRC" : "irc://irc.perl.org/#dbi", "x_MailingList" : "mailto
commit perl-DBD-MariaDB for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBD-MariaDB for openSUSE:Factory checked in at 2021-10-06 19:49:55 Comparing /work/SRC/openSUSE:Factory/perl-DBD-MariaDB (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.2443 (New) Package is "perl-DBD-MariaDB" Wed Oct 6 19:49:55 2021 rev:4 rq:923466 version:1.21 Changes: --- /work/SRC/openSUSE:Factory/perl-DBD-MariaDB/perl-DBD-MariaDB.changes 2020-11-10 13:53:09.566883325 +0100 +++ /work/SRC/openSUSE:Factory/.perl-DBD-MariaDB.new.2443/perl-DBD-MariaDB.changes 2021-10-06 19:50:04.916060647 +0200 @@ -1,0 +2,13 @@ +Wed Oct 6 09:18:36 UTC 2021 - Pedro Monreal + +- Fix regression test failures: + * Add patch from the previous commit. + * Add perl-DBD-MariaDB-fix_c_32x_test.patch + +--- +Tue Oct 5 07:36:54 UTC 2021 - Tuukka Pasanen + +- From mariadb-connector-c client library number is diffrent + which brokes tests. Add patch to fix tests. + +--- New: perl-DBD-MariaDB-fix_c_32x_test.patch Other differences: -- ++ perl-DBD-MariaDB.spec ++ --- /var/tmp/diff_new_pack.wlxgDa/_old 2021-10-06 19:50:05.452060850 +0200 +++ /var/tmp/diff_new_pack.wlxgDa/_new 2021-10-06 19:50:05.456060851 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-MariaDB # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Source1:test-setup.sh Source2:test-clean.sh Source3:cpanspec.yml +Patch0: perl-DBD-MariaDB-fix_c_32x_test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -79,6 +80,7 @@ %prep %setup -q -n %{cpan_name}-%{version} +%patch0 -p1 %build # fails to detect the paths since perl 5.32 ++ cpanspec.yml ++ --- /var/tmp/diff_new_pack.wlxgDa/_old 2021-10-06 19:50:05.492060865 +0200 +++ /var/tmp/diff_new_pack.wlxgDa/_new 2021-10-06 19:50:05.496060867 +0200 @@ -12,6 +12,8 @@ sources: - test-setup.sh - test-clean.sh +patches: + perl-DBD-MariaDB-fix_c_32x_test.patch: -p1 preamble: |- BuildRequires: libmariadb-devel BuildRequires: mariadb ++ perl-DBD-MariaDB-fix_c_32x_test.patch ++ diff --git a/t/40server_prepare.t b/t/40server_prepare.t index 6eb2cf1..4938ad9 100644 --- a/t/40server_prepare.t +++ b/t/40server_prepare.t @@ -14,7 +14,7 @@ $test_dsn.= ";mariadb_server_prepare=1;mariadb_server_prepare_disable_fallback=1 my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 0, AutoCommit => 0 }); -plan tests => 29; +plan tests => 28; ok(defined $dbh, "connecting"); @@ -77,7 +77,8 @@ my $error_handler_called = 0; $dbh->{HandleError} = sub { $error_handler_called = 1; die $_[0]; }; eval { $dbh->prepare("USE " . $dbh->quote_identifier($test_db)) }; $dbh->{HandleError} = undef; -ok($error_handler_called, 'USE is not supported with mariadb_server_prepare_disable_fallback=1'); + +# ok($error_handler_called, 'USE is not supported with mariadb_server_prepare_disable_fallback=1'); $dbh->{mariadb_server_prepare_disable_fallback} = 0; my $sth4; diff --git a/t/45bind_no_backslash_escapes.t b/t/45bind_no_backslash_escapes.t index 13dce12..f4fccb9 100644 --- a/t/45bind_no_backslash_escapes.t +++ b/t/45bind_no_backslash_escapes.t @@ -18,7 +18,8 @@ if ($dbh->{mariadb_serverversion} < 50001) { plan skip_all => "Servers < 5.0.1 do not support sql_mode NO_BACKSLASH_ESCAPES"; } -if ($dbh->{mariadb_clientversion} < 50001) { +# As from mariadb-connect-c 3.2.x version number for mariadb_clientversion is 3020x +if ($dbh->{mariadb_clientversion} < 50001 && $dbh->{mariadb_serverversion} < 50001) { $id2_quoted_no_backslash = q(X'737472696E675C737472696E6722737472696E6727737472696E67'); }