Commit Graph

122 Commits

Author SHA1 Message Date
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
Michal Schorm
386a5aa6d7 Rebase to 3.1.5
Remove plugindir patch. Issue fixed by upstream:
https://jira.mariadb.org/browse/MDEV-20569
2019-11-12 12:41:39 +01:00
Michal Schorm
4ee332f663 Fix for #1624533 2019-11-03 13:28:57 +01:00
Michal Schorm
160c217cea Remove a misleading comment which was deprecated by commit 3228be76 2019-11-03 12:46:37 +01:00
Lukas Javorsky
3d89935a11 Rebase to 3.1.4 2019-10-04 11:37:36 +02:00
Michal Schorm
3228be7687 Enable building of the ed25519 client plugin.
It won't be shipped anymore by 'mariadb-server'
2019-09-11 13:03:58 +02:00
Michal Schorm
057d1bd06e The testsuite is now fully working
NOTE: 4th test of 'misc' suite, called "test_sslenforce", needs SSL encryption to be set up
2019-08-21 22:08:57 +02:00
Michal Schorm
8671500d5f Extract the prepared testsuite to the standalone subpackage so it can be run outside of the buildroot 2019-08-21 17:34:34 +02:00
Michal Schorm
239038b1a4 Remove glob from library version, as per Fedora Packaging Guidelines 2019-08-21 16:42:30 +02:00
Michal Schorm
1c023f4cea Rebase to 3.1.3 2019-08-02 19:04:46 +02:00
Michal Schorm
c4d9f6ff20 Fix typo 2019-07-19 17:46:53 +02:00
Michal Schorm
6cca8d740f Use macro to set the build flags
The -devel subpackage requires the main package which contains the license, so there's no need to pack the license also to the devel package.
2019-07-19 16:23:25 +02:00
Michal Schorm
0f4ddc6269 Fix the debug build 2019-07-19 15:53:56 +02:00
Michal Schorm
b2aac8038d Use macro for tarball name 2019-07-18 12:15:15 +02:00
Michal Schorm
b3eef80bec Added a debug switch 2019-07-16 14:07:33 +02:00
Michal Schorm
db2966c1ba Rebase to 3.1.2 version
Disabling the ED25519 plugin
Plugindir patch upstreamed
2019-07-16 12:54:21 +02:00
Michal Schorm
fa32028be2 Tweak SPECfile: use macros for make commands 2019-07-11 13:30:50 +02:00
Michal Schorm
ad54a14b2c Fix overlinking issues 2019-05-21 15:14:46 +02:00