11
0

2 Commits

Author SHA256 Message Date
47d81c4fa9 Accepting request 1279651 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1279651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-MariaDB?expand=0&rev=9
2025-05-26 16:35:31 +00:00
ba5b2b1fb5 - Remove perl-DBD-MariaDB-fix_ssl_connection_test.patch: (fixed upstream)
- updated to 1.240.0 (1.24)
   see /usr/share/doc/packages/perl-DBD-MariaDB/Changes
  1.24 2025-05-04
   - Add a test for large BLOB with parameter
   - Fix Dave Labley's broken e-mail address
   - Stop parsing a column named "limits" as the LIMIT keyword
     (https://github.com/perl5-dbi/DBD-MariaDB/issues/208)
   - Various test fixes (e.g. no dead loop in t/87async.t, remembering the
     value of --testauthplugin for repeated Makefile.PL runs, support for the
     Embedded server, explicit disconnect after testing the connection)
   - Better handling of the Embedded server (e.g. fix mariadb_hostinfo and
     SQL_SERVER_NAME, no support for async queries and
     mariadb_max_allowed_packets, extended documentation of
     mariadb_embedded_options)
   - Add new Makefile.PL option --requireembsup (and a corresponding env variable
     DBD_MARIADB_REQUIREEMBSUP) to ensure the client library's support for the
     Embedded server
   - More support and fixes for new MySQL 8 features (mariadb_auto_reconnect for
     8.0.24+, SSL options for MySQL 8.3.0+, bind params for 8.3.0+)
   - Documentation of empty versus undefined password
   - Stop calling mariadb_db_reconnect when changing $dbh attributes unless it's
     really needed
   - On MSWin32, non-socket connections do not use WINAPI HANDLE
   - Fix type (MEDIMUMBLOB -> MEDIUMBLOB)
   - Handle new SSL error messages in tests
     (https://github.com/perl5-dbi/DBD-MariaDB/issues/209)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-MariaDB?expand=0&rev=18
2025-05-23 18:13:26 +00:00
6 changed files with 44 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d0c76c660ddd55570e48f3e2fdea8f621a69ac0ed48190e8cfcafcb5e9b859d
size 186522

3
DBD-MariaDB-1.24.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f977a25b4116a0a95a7c8a894fd37097abe19af9a6a9ed4d800604ec17873fe4
size 189084

View File

@@ -14,7 +14,6 @@ sources:
- 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

View File

@@ -1,11 +0,0 @@
--- a/t/92ssl_connection.t 2023-09-10 16:18:55.000000000 +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'));
}

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue May 20 12:56:54 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Remove perl-DBD-MariaDB-fix_ssl_connection_test.patch: (fixed upstream)
-------------------------------------------------------------------
Mon May 5 05:36:14 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.240.0 (1.24)
see /usr/share/doc/packages/perl-DBD-MariaDB/Changes
1.24 2025-05-04
- Add a test for large BLOB with parameter
- Fix Dave Labley's broken e-mail address
- Stop parsing a column named "limits" as the LIMIT keyword
(https://github.com/perl5-dbi/DBD-MariaDB/issues/208)
- Various test fixes (e.g. no dead loop in t/87async.t, remembering the
value of --testauthplugin for repeated Makefile.PL runs, support for the
Embedded server, explicit disconnect after testing the connection)
- Better handling of the Embedded server (e.g. fix mariadb_hostinfo and
SQL_SERVER_NAME, no support for async queries and
mariadb_max_allowed_packets, extended documentation of
mariadb_embedded_options)
- Add new Makefile.PL option --requireembsup (and a corresponding env variable
DBD_MARIADB_REQUIREEMBSUP) to ensure the client library's support for the
Embedded server
- More support and fixes for new MySQL 8 features (mariadb_auto_reconnect for
8.0.24+, SSL options for MySQL 8.3.0+, bind params for 8.3.0+)
- Documentation of empty versus undefined password
- Stop calling mariadb_db_reconnect when changing $dbh attributes unless it's
really needed
- On MSWin32, non-socket connections do not use WINAPI HANDLE
- Fix type (MEDIMUMBLOB -> MEDIUMBLOB)
- Handle new SSL error messages in tests
(https://github.com/perl5-dbi/DBD-MariaDB/issues/209)
-------------------------------------------------------------------
Mon Aug 12 11:41:03 UTC 2024 - Nathan Cutler <ncutler@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-MariaDB
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name DBD-MariaDB
Name: perl-DBD-MariaDB
Version: 1.230.0
Version: 1.240.0
Release: 0
# 1.23 -> normalize -> 1.230.0
%define cpan_version 1.23
# 1.24 -> normalize -> 1.240.0
%define cpan_version 1.24
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}
@@ -30,13 +30,11 @@ Source1: test-setup.sh
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
BuildRequires: perl(DBI::Const::GetInfoType)
BuildRequires: perl(Devel::CheckLib) >= 1.12
BuildRequires: perl(Devel::CheckLib) >= 1.120
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.90
Requires: perl(DBI) >= 1.608