forked from pool/perl-DBD-MariaDB
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
5b002ab078 | |||
c75d2e9eed |
3
DBD-MariaDB-1.23.tar.gz
Normal file
3
DBD-MariaDB-1.23.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0d0c76c660ddd55570e48f3e2fdea8f621a69ac0ed48190e8cfcafcb5e9b859d
|
||||||
|
size 186522
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f977a25b4116a0a95a7c8a894fd37097abe19af9a6a9ed4d800604ec17873fe4
|
|
||||||
size 189084
|
|
12
README.md
12
README.md
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
## Build Results
|
|
||||||
|
|
||||||
Current state of perl in openSUSE:Factory is
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The current state of perl in the devel project build (devel:languages:perl)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
@@ -14,6 +14,7 @@ sources:
|
|||||||
- test-clean.sh
|
- test-clean.sh
|
||||||
patches:
|
patches:
|
||||||
perl-DBD-MariaDB-fix_c_32x_test.patch: -p1
|
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: |-
|
preamble: |-
|
||||||
BuildRequires: libmariadb-devel
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: mariadb
|
BuildRequires: mariadb
|
||||||
|
11
perl-DBD-MariaDB-fix_ssl_connection_test.patch
Normal file
11
perl-DBD-MariaDB-fix_ssl_connection_test.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- 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'));
|
||||||
|
}
|
||||||
|
|
@@ -1,39 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Mon Aug 12 11:41:03 UTC 2024 - Nathan Cutler <ncutler@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DBD-MariaDB
|
# spec file for package perl-DBD-MariaDB
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
%define cpan_name DBD-MariaDB
|
%define cpan_name DBD-MariaDB
|
||||||
Name: perl-DBD-MariaDB
|
Name: perl-DBD-MariaDB
|
||||||
Version: 1.240.0
|
Version: 1.230.0
|
||||||
Release: 0
|
Release: 0
|
||||||
# 1.24 -> normalize -> 1.240.0
|
# 1.23 -> normalize -> 1.230.0
|
||||||
%define cpan_version 1.24
|
%define cpan_version 1.23
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: MariaDB and MySQL driver for the Perl5 Database Interface (DBI)
|
Summary: MariaDB and MySQL driver for the Perl5 Database Interface (DBI)
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
@@ -29,13 +29,14 @@ Source0: https://cpan.metacpan.org/authors/id/P/PA/PALI/%{cpan_name}-%{cp
|
|||||||
Source1: test-setup.sh
|
Source1: test-setup.sh
|
||||||
Source2: test-clean.sh
|
Source2: test-clean.sh
|
||||||
Source3: cpanspec.yml
|
Source3: cpanspec.yml
|
||||||
Source100: README.md
|
|
||||||
Patch0: perl-DBD-MariaDB-fix_c_32x_test.patch
|
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
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(DBI) >= 1.608
|
BuildRequires: perl(DBI) >= 1.608
|
||||||
BuildRequires: perl(DBI::Const::GetInfoType)
|
BuildRequires: perl(DBI::Const::GetInfoType)
|
||||||
BuildRequires: perl(Devel::CheckLib) >= 1.120
|
BuildRequires: perl(Devel::CheckLib) >= 1.12
|
||||||
BuildRequires: perl(Test::Deep)
|
BuildRequires: perl(Test::Deep)
|
||||||
BuildRequires: perl(Test::More) >= 0.90
|
BuildRequires: perl(Test::More) >= 0.90
|
||||||
Requires: perl(DBI) >= 1.608
|
Requires: perl(DBI) >= 1.608
|
||||||
|
Reference in New Issue
Block a user