Commit Graph

139 Commits

Author SHA1 Message Date
Michal Schorm
bff19eec79 [SSL] Disable option that requires all connections to be SSL encrypted by default
The MariaDB C/C++ connector requires SSL connections by default since versin 3.4.0:
  https://mariadb.com/kb/en/mariadb-connector-c-3-4-0-release-notes/

However that was made possible by creation of 'zero configuration SSL':
  https://mariadb.org/mission-impossible-zero-configuration-ssl/
The first LTS that contains it is MariaDB 11.4

Before that the SSL still can be set up, but it requires significant configuration.

The version we currently have in this distribution is MariaDB 10.11.

In order for all utilities and associated software to still work 'out of the box',
without extensive SSL configurations setup, I decided to disable this option.

--

This option is supposed to be re-enabled when MariaDB >= 11.4 is introduced
as the default MariaDB major version in the distribution.

--

Resolves: RHEL-55985 RHEL-69271 RHEL-69269
2025-02-04 09:55:52 +01:00
Michal Schorm
e15f15f503 Rebase to 3.4.3
Related: RHEL-67630
2025-01-16 17:04:45 +01:00
Troy Dawson
34dc407092 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:47:52 -07:00
Michal Schorm
81f0365333 Rebase to 3.4.1 2024-08-23 00:21:33 +02:00
Michal Schorm
8f8dec94e6 Rebase to 3.3.10
Remove LTO "warnings as errors" workaround, in favor of newly implemented upstream mechanism:
https://github.com/mariadb-corporation/mariadb-connector-c/commit/39564154
2024-08-09 16:55:40 +02:00
Michal Schorm
fc688f48bd Fix flatpak build - fix my.cnf dependency
Original commits:
77251ebce4
c9d811b6f6
2024-08-09 16:54:02 +02:00
Jakub Heger
563190b4ab Setup gating for c10s 2024-07-26 10:52:20 +02:00
Troy Dawson
f3b2592cfb Bump release for June 2024 mass rebuild 2024-06-24 09:01:36 -07:00
Fedora Release Engineering
11ab92e3fa Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 05:47:25 +00:00
Fedora Release Engineering
dddec5b444 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:54:50 +00:00
Michal Schorm
c2056a17af [LTO FTBFS] Responsible upstream code found, switch back to building with LTO
reverting the upstream change for now
2024-01-12 22:07:52 +01:00
Yaakov Selkowitz
e95c4b70f5 Fix flatpak build
mariadb-connector-c is not part of the flatpak runtime, and therefore is
built in /app as a dependency of flatpaks which require it.  Therefore,
my.cnf must respect %_sysconfdir rather than use /etc.
2024-01-08 15:04:23 -05:00
Michal Schorm
9b1f4f62a0 Rebase to 3.3.8
Since version 3.3.6, the build FTBFS with LTO flags.
Disable them as a temporary workaround, so the version 3.3.8,
which is required by mariadb-connector-odbc-3.1.20 could be built.

Reported as rhbz#2257198
2024-01-07 22:56:06 +01:00
Fedora Release Engineering
fd459754bd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 13:45:49 +00:00
Michal Schorm
ae5f3d75f5 Update the URL to the source tarball 2023-05-23 12:06:37 +02:00
Michal Schorm
d1aad75474 Rebase to 3.3.5 2023-05-23 12:06:37 +02:00
Michal Schorm
5dca3357f6 Bump release for the production build 2023-04-19 14:41:38 +02:00
Michal Schorm
fb442eb11a Added a note for future maintainers 2023-04-19 14:41:38 +02:00
Michal Schorm
c9e3805684 Fix RPM syntax: '%patchN' has been deprecated
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/
2023-04-19 14:41:38 +02:00
Michal Schorm
554da6734f Start building 'zstd.so' plugin
This feature was introduced first in 3.3.0 release:
https://mariadb.com/kb/en/mariadb-connector-c-330-release-notes/#zstandard-compresion-support
2023-04-19 14:16:21 +02:00
Michal Schorm
450c364474 Switch to the CMake out-of-source building 2023-04-19 14:16:03 +02:00
Michal Schorm
eac68a7a71 Rebase to 3.3.4
MariaDB upstream switched from using the 3.2 major version of CONC-C to using 3.3 major version CONC-C silently between MariaDB 10.6.8 and 10.6.9 in this commit:
  https://github.com/MariaDB/server/commit/c1ea55ddb0
on 08/2022. From that point on, all MariaDB versions 10.(>=6) are using the CONC-C 3.3, and the CONC-C 3.2 stopped being developed
  https://mariadb.org/connector-c/all-releases/

abipkgdiff --d1 mariadb-connector-c-debuginfo-3.2.7-3.fc39.x86_64.rpm --d2 mariadb-connector-c-debuginfo-3.3.4-2.fc39.x86_64.rpm mariadb-connector-c-3.2.7-3.fc39.x86_64.rpm mariadb-connector-c-3.3.4-2.fc39.x86_64.rpm
================ changes of 'libmariadb.so.3'===============
  Functions changes summary: 0 Removed, 3 Changed (189 filtered out), 0 Added functions
  Variables changes summary: 0 Removed, 0 Changed (1 filtered out), 0 Added variable

  3 functions with some indirect sub-type change:

    [C] 'function int ma_pvio_register_callback(my_bool, void (int, MYSQL*, const uchar*, typedef size_t)*)' at ma_pvio.c:567:1 has some indirect sub-type changes:
      parameter 2 of type 'void (int, MYSQL*, const uchar*, typedef size_t)*' has sub-type changes:
        in pointed to type 'function type void (int, MYSQL*, const uchar*, typedef size_t)':
          parameter 2 of type 'MYSQL*' has sub-type changes:
            in pointed to type 'typedef MYSQL' at mysql.h:377:1:
              underlying type 'struct st_mysql' at mysql.h:337:1 changed:
                type size hasn't changed
                2 data member changes (2 filtered):
                  type of 'NET net' changed:
                    underlying type 'struct st_net' at mariadb_com.h:271:1 changed:
                      type size hasn't changed
                      2 data member changes:
                        type of 'MARIADB_PVIO* pvio' changed:
                          in pointed to type 'typedef MARIADB_PVIO' at mariadb_com.h:255:1:
                            underlying type 'struct st_ma_pvio' at ma_pvio.h:73:1 changed:
                              type size changed from 768 to 896 (in bits)
                              2 data member insertions:
                                'size_t bytes_read', at offset 768 (in bits) at ma_pvio.h:87:1
                                'size_t bytes_sent', at offset 832 (in bits) at ma_pvio.h:88:1
                              no data member changes (5 filtered);
                        type of 'st_mariadb_net_extension* extension' changed:
                          in pointed to type 'struct st_mariadb_net_extension' at ma_common.h:99:1:
                            type size changed from 64 to 192 (in bits)
                            2 data member insertions:
                              'ma_compress_ctx* compression_ctx', at offset 64 (in bits) at ma_common.h:102:1
                              'MARIADB_COMPRESSION_PLUGIN* compression_plugin', at offset 128 (in bits) at ma_common.h:103:1
                  type of 'st_mysql_options options' changed:
                    type size hasn't changed
                    1 data member changes (1 filtered):
                      type of 'st_mysql_options_extension* extension' changed:
                        in pointed to type 'struct st_mysql_options_extension' at ma_common.h:51:1:
                          type size changed from 2688 to 3008 (in bits)
                          5 data member insertions:
                            'char* restricted_auth', at offset 2688 (in bits) at ma_common.h:84:1
                            'char* rpl_host', at offset 2752 (in bits) at ma_common.h:85:1
                            'unsigned short int rpl_port', at offset 2816 (in bits) at ma_common.h:86:1
                            'void (void*, enum enum_mariadb_status_info, variadic parameter type)* status_callback', at offset 2880 (in bits) at ma_common.h:87:1
                            'void* status_data', at offset 2944 (in bits) at ma_common.h:88:1
                          1 data member changes (2 filtered):
                            type of 'mysql_async_context* async_context' changed:
                              in pointed to type 'struct mysql_async_context' at ma_context.h:171:1:
                                type size changed from 1088 to 1152 (in bits)
                                1 data member insertion:
                                  'addrinfo* pending_gai_res', at offset 384 (in bits) at ma_context.h:233:1
                                1 data member changes (2 filtered):
                                  'my_context async_context' offset changed from 384 to 448 (in bits) (by +64 bits)

    [C] 'function void mariadb_free_rpl_event(MARIADB_RPL_EVENT*)' at mariadb_rpl.c:88:1 has some indirect sub-type changes:
      parameter 1 of type 'MARIADB_RPL_EVENT*' has sub-type changes:
        in pointed to type 'typedef MARIADB_RPL_EVENT' at mariadb_rpl.h:297:1:
          underlying type 'struct st_mariadb_rpl_event' at mariadb_rpl.h:259:1 changed:
            type size changed from 1408 to 1472 (in bits)
            2 data member insertions:
              'uint8_t is_semi_sync', at offset 1408 (in bits) at mariadb_rpl.h:295:1
              'uint8_t semi_sync_flags', at offset 1416 (in bits) at mariadb_rpl.h:296:1
            1 data member change:
              type of 'mariadb_rpl_event event_type' changed:
                type size hasn't changed
                1 enumerator insertion:
                  'mariadb_rpl_event::PARTIAL_UPDATE_ROWS_EVENT' value '39'
                1 enumerator change:
                  'mariadb_rpl_event::MYSQL_EVENTS_END' from value '39' to '40' at mariadb_rpl.h:57:1

    [C] 'function void mariadb_rpl_close(MARIADB_RPL*)' at mariadb_rpl.c:555:1 has some indirect sub-type changes:
      parameter 1 of type 'MARIADB_RPL*' has sub-type changes:
        in pointed to type 'typedef MARIADB_RPL' at mariadb_rpl.h:160:1:
          underlying type 'struct st_mariadb_rpl' at mariadb_rpl.h:143:1 changed:
            type size hasn't changed
            1 data member insertion:
              'uint8_t artificial_checksun', at offset 560 (in bits) at mariadb_rpl.h:159:1
            no data member change (1 filtered);

================ end of changes of 'libmariadb.so.3'===============

Release notes:
  https://mariadb.com/kb/en/mariadb-connector-c-330-release-notes/
  https://mariadb.com/kb/en/mariadb-connector-c-331-release-notes/
  https://mariadb.com/kb/en/mariadb-connector-c-332-release-notes/
  https://mariadb.com/kb/en/mariadb-connector-c-333-release-notes/
  https://mariadb.com/kb/en/mariadb-connector-c-334-release-notes/

Note:
  The CONC-C 3.1 is still used to this day in MariaDB 10.5.
  MariaDB 10.5.19 uses CONC-C 3.1.20
2023-04-19 12:12:34 +02:00
Lukas Javorsky
f3f62ff258 migrated to SPDX license 2023-03-30 20:39:10 +00:00
Fedora Release Engineering
284b5ef917 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:56:59 +00:00
Fedora Release Engineering
a0ef7dc960 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 20:30:41 +00:00
Michal Schorm
9ac5e2dfca Rebase to 3.2.7 2022-06-11 10:51:18 +02:00
Stephan Bergmann
d2e776b180 Fix flatpak builds
...see
<https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_uncompressed_manual_pages>
2022-05-24 14:25:29 +02:00
Michal Schorm
a3249a7676 Rebase to 3.2.6
- Introduction of a new '*-doc' subpackage

Related: #2055613 #1970502
2022-02-17 12:28:21 +01:00
Fedora Release Engineering
792a8c1169 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 18:41:34 +00:00
Sahana Prasad
b2538b7fac Rebuilt with OpenSSL 3.0.0 2021-09-14 19:07:37 +02:00
Fedora Release Engineering
c7187a7e48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:45:14 +00:00
Michal Schorm
c25421fdb3 Update RPMLint whitelist 2021-05-14 01:58:19 +02:00
Michal Schorm
74e625fc1a Rebase to 3.1.13 2021-05-14 01:58:19 +02:00
Michal Schorm
813e4ea64f Fix package Conflicts on other OS than Fedora 2021-04-27 15:46:33 +02:00
Michal Schorm
edf9f0c64c Rebase to 3.1.12 2021-02-24 04:03:00 +01:00
Fedora Release Engineering
85ef049ddb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 19:15:55 +00:00
Michal Schorm
4adfa785f4 Rebase to 3.1.11 2020-11-04 21:57:57 +01:00
Lukas Javorsky
f22b7f382e Rebase to 3.1.10 2020-09-18 08:46:59 +02:00
Michal Schorm
79208d90fd Start using %__cmake_builddir, packaging guidelines has been updated 2020-08-14 08:37:17 +02:00
Michal Schorm
b59d80d8fe - Revert the CMake change regarding the in-source builds for now
- %%cmake macro covers the %%{set_build_flags}, so they are not needed
  That also means, the debug buildchnages to the build flags must be done AFTER the
  %%cmake macro was used.
- %%cmake macro also covers the CMAKE_INSTALL_PREFIX="%%{_prefix}" option
- Default to %%cmake commands instead fo %%make commands
- Update the WITH_UNITTEST macro to the one upstream use now
- Introduce macro to enable / disable testusite (and building of the *-test subpackage)
2020-08-05 12:27:17 +02:00
Fedora Release Engineering
ccd1d1c064 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:24:09 +00:00
Fedora Release Engineering
bd8dedbbd6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:53:00 +00:00
Michal Schorm
8c95b867fc Remove completed items from TO-DO list 2020-07-14 14:52:52 +02:00
Michal Schorm
51a7c3f389 Add explicit confict between mariadb-connector-c-devel and community-mysql-devel packages 2020-07-14 14:52:20 +02:00
Lukas Javorsky
96b684599f Rebase to 3.1.9 2020-06-24 14:50:28 +02:00
Lukas Javorsky
6af15df805 Rebase to 3.1.8 2020-05-23 18:08:28 +02:00
Michal Schorm
c6882e026b Rebase to 3.1.7 latest git
Fix for: https://jira.mariadb.org/browse/CONC-441
2020-03-16 04:29:09 +01:00
Michal Schorm
ded4d906f8 Rebase to 3.1.7 2020-02-03 15:40:11 +01:00
Fedora Release Engineering
2718ac4a14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 12:04:02 +00:00
Lukas Javorsky
8f4140f3e2 Rebase to 3.1.6 2019-12-17 14:22:57 +01:00