90 Commits

Author SHA256 Message Date
Stephan Kulow
29310cf743 Accepting request 674868 from server:database
OBS-URL: https://build.opensuse.org/request/show/674868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=15
2019-02-28 20:23:08 +00:00
Dominique Leuenberger
abce85c6ad Accepting request 663311 from server:database
OBS-URL: https://build.opensuse.org/request/show/663311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=14
2019-02-13 09:15:14 +00:00
Dominique Leuenberger
3a61e4e830 Accepting request 628376 from server:database
OBS-URL: https://build.opensuse.org/request/show/628376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=13
2018-08-17 21:57:24 +00:00
Dominique Leuenberger
571fa78bb0 Accepting request 625058 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/625058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=12
2018-08-02 12:48:49 +00:00
Dominique Leuenberger
198b3f702f Accepting request 619745 from server:database
OBS-URL: https://build.opensuse.org/request/show/619745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=11
2018-07-02 21:29:17 +00:00
Dominique Leuenberger
79de480528 Accepting request 598533 from server:database
OBS-URL: https://build.opensuse.org/request/show/598533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=10
2018-04-25 07:57:37 +00:00
Dominique Leuenberger
5d9785ed7e Accepting request 544049 from server:database
- Use more cmake macros
- Run spec-cleaner
- 0334aa48.patch: Backported implementation and testcase for
  skipping particular paramset in bulk operation/. This is needed
  to get current stable MariaDB connector/ODBC actually compilable.
- Install missing header (bsc#1067904)
- mariadb-connector-c is now a provider of the libmariadb library
  for mariadb and others
- add compatibility symlinks
- change LIBDIR, INCLUDEDIR and PLUGINDIR paths to be the same as
  it was in the mariadb package (compatibility reasons)
- add baselibs.conf
- add %{mariadb_version} macro that should correspond with the
  current version of the mariadb package
- refresh absolute_path_fix.patch and private_library.patch

OBS-URL: https://build.opensuse.org/request/show/544049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=9
2017-11-30 11:43:48 +00:00
Dominique Leuenberger
aa53767dea Revert, needs to be in parallel to mariadb upgrade
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=8
2017-11-07 10:43:12 +00:00
Dominique Leuenberger
b6b55121fa Accepting request 539333 from server:database
OBS-URL: https://build.opensuse.org/request/show/539333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=7
2017-11-07 09:04:39 +00:00
Dominique Leuenberger
fec2be8f6c Accepting request 529952 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/529952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=6
2017-10-03 21:17:30 +00:00
Dominique Leuenberger
ebe6371f15 Accepting request 515189 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/515189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=5
2017-08-16 14:13:07 +00:00
Dominique Leuenberger
fe7908aad8 Accepting request 510115 from server:database
- New upstream version 2.3.3:
  * Fixed build for big-endian platforms. Obsoletes
    bigendian_type_fixes.patch
  * Changed parameter type for parameter reconnect in
    mysql_optionsv from uint to my_bool 
- absolute_path_fix.patch: refreshed

- Remove unused gnutls from buildrequires

OBS-URL: https://build.opensuse.org/request/show/510115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=4
2017-07-17 07:10:59 +00:00
Dominique Leuenberger
f9b5cf7fe1 Accepting request 494402 from server:database
1

OBS-URL: https://build.opensuse.org/request/show/494402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=3
2017-05-16 12:43:12 +00:00
Dominique Leuenberger
65237fcccb Accepting request 489021 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/489021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=2
2017-04-20 18:57:52 +00:00
Yuchen Lin
e90a5ee629 Accepting request 482634 from server:database
new package

OBS-URL: https://build.opensuse.org/request/show/482634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=1
2017-04-11 07:33:06 +00:00
Dominique Leuenberger
ad83438339 Accepting request 910254 from server:database
OBS-URL: https://build.opensuse.org/request/show/910254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=31
2021-08-06 20:44:25 +00:00
Dominique Leuenberger
f3706690c3 Accepting request 901337 from server:database
bugnumber ref added only

OBS-URL: https://build.opensuse.org/request/show/901337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=30
2021-07-02 11:26:58 +00:00
e9aa0bfae5 (properly setting INSTALL_LAYOUT and libdir) [bsc#1187459]
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=71
2021-06-22 13:22:07 +00:00
Dominique Leuenberger
0349f0cbb0 Accepting request 900575 from server:database
OBS-URL: https://build.opensuse.org/request/show/900575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=29
2021-06-21 18:34:55 +00:00
Martin Pluskal
b2c9ce7217 Accepting request 900561 from home:dirkmueller:Factory
- drop absolute_path_fix.patch: obsolete after previous change
  (properly setting INSTALL_LAYOUT and libdir)

OBS-URL: https://build.opensuse.org/request/show/900561
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=69
2021-06-17 12:25:39 +00:00
Martin Pluskal
eae9b5c259 Accepting request 895835 from home:kstreitova:branches:server:database
- set INSTALL_LAYOUT=RPM and adjust libdir, includedir, plugindir
  and pcdir values to fix mariadb_config output. Also fix the
  missing "%s" in private_library.patch so it shows the correct
  path for plugindir [bsc#1179921] [bsc#1183878]

OBS-URL: https://build.opensuse.org/request/show/895835
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=68
2021-05-28 07:35:43 +00:00
ce9f01eb7c Accepting request 895737 from home:kstreitova:branches:server:database
- Update to release 3.1.13 [bsc#1185870], [bsc#1185872], [bsc#1185868]
  * CONC-537: Only read from MYSQL_HOME if MARIADB_HOME was not set
  * CONC-548: Symbol conflict with libsodium
  * CONC-490: Handshake error when CLIENT_CONNECT_WITH_DB flag was
    set without specifying database
  * CONC-543: Hash functions conflict with GnuTLS
  * CONC-539: Added cipher suites ECDHE-RSA-AES128-SHA256 (0xC027)
    and ECDHE-RSA-AES256-SHA384 (0xC028) to the cipher map which
    maps cipher suite names to the corresponding algorithm ids
    (Windows Schannel)
  * CONC-535: Disabled checksum ignored in events (replication/
    binlog API)
- Remove mariadb-connector-c-cmake-3.20.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/895737
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=67
2021-05-27 10:56:47 +00:00
Dominique Leuenberger
af709c912b Accepting request 889355 from server:database
OBS-URL: https://build.opensuse.org/request/show/889355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=28
2021-04-30 22:46:20 +00:00
Martin Pluskal
05fa7d6feb Accepting request 889284 from home:dimstar:Factory
- Add mariadb-connector-c-cmake-3.20.patch: Fix build with cmake
  3.20.

Fixes build error in Staging:D / cmake 3.20.1

OBS-URL: https://build.opensuse.org/request/show/889284
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=65
2021-04-29 15:14:14 +00:00
Richard Brown
225151eb3d Accepting request 879103 from server:database
OBS-URL: https://build.opensuse.org/request/show/879103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=27
2021-03-16 14:42:46 +00:00
Martin Pluskal
901b1aa272 Accepting request 878644 from home:kstreitova:branches:server:database
- Update to release 3.1.12 [bsc#1182739]:
  * MDEV-24577: Fix warnings generated during compilation of
    plugin/auth_pam/testing/pam_mariadb_mtr.c on FreeBSD
  * CONC-521: Fixed warning on MacOS when including ucontext.h
  * CONC-518: Check if mysql->options.extension was allocated before
    checking async_context
  * CONC-517: C/C looks for plugins in wrong location on Windows

OBS-URL: https://build.opensuse.org/request/show/878644
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=63
2021-03-15 08:20:49 +00:00
Dominique Leuenberger
983d34b4cf Accepting request 846503 from server:database
- Update to release 3.1.11:
  * CONC-513: MSAN use-of-uninitialized-value in strstr()
  * CONC-512: truncation check for float values fails on i386 due
  * to Intel FPU optimization bug in gcc
  * CONC-510: Fix crash when loading plugins in mysql_server_init()
  * CONC-508: Added support for passwords > 255 characters
  * CONC-507: Fixed race condition in ma_net_init
  * CONC-501: Added support for TLS v1.3 cipher suites
  * MDEV-21612: Removed unused command COM_MULTI
- changes in release 3.1.10:
  * CONC-500: Fixed error when loading intermediate chained certificates
  * MDEV-18818: Fixed wrong zlib in mariadb_config when building
    inside server package
  * CONC-498: MYSQL_UNIX_ADDR and MYSQL_PORT are now defined
  * Added new build option WIITH_ICONV=ON/OFF. When set to OFF (default)
    API function mariadb_convert_string will always return -1 and
    sets errorcode to ENOTSUP.
  * mariadb_config now tries to determine the path of execution or
    uses MARIADB_CONFIG environment variable before falling back and
    using CMAKE_INSTALL_PREFIX for location of libraries and include files
  * added --variables option for mariadb_config.
    Supported values are pkgincludedir, pkglibdir and pkgplugindir.
- absolute_path_fix.patch, private_library.patch: refreshed

OBS-URL: https://build.opensuse.org/request/show/846503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=26
2020-11-09 12:57:13 +00:00
cbfed5d97f Accepting request 846502 from home:adamm:branches:server:database
Fix broken directories in mysql_config

OBS-URL: https://build.opensuse.org/request/show/846502
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=61
2020-11-06 15:43:00 +00:00
5771d08f2a Add compatibility symlink mariadb->mysql
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=60
2020-11-05 16:09:13 +00:00
b74fa8e0a7 - Update to release 3.1.11:
* CONC-513: MSAN use-of-uninitialized-value in strstr()
  * CONC-512: truncation check for float values fails on i386 due
  * to Intel FPU optimization bug in gcc
  * CONC-510: Fix crash when loading plugins in mysql_server_init()
  * CONC-508: Added support for passwords > 255 characters
  * CONC-507: Fixed race condition in ma_net_init
  * CONC-501: Added support for TLS v1.3 cipher suites
  * MDEV-21612: Removed unused command COM_MULTI
- changes in release 3.1.10:
  * CONC-500: Fixed error when loading intermediate chained certificates
  * MDEV-18818: Fixed wrong zlib in mariadb_config when building
    inside server package
  * CONC-498: MYSQL_UNIX_ADDR and MYSQL_PORT are now defined
  * Added new build option WIITH_ICONV=ON/OFF. When set to OFF (default)
    API function mariadb_convert_string will always return -1 and
    sets errorcode to ENOTSUP.
  * mariadb_config now tries to determine the path of execution or
    uses MARIADB_CONFIG environment variable before falling back and
    using CMAKE_INSTALL_PREFIX for location of libraries and include files
  * added --variables option for mariadb_config.
    Supported values are pkgincludedir, pkglibdir and pkgplugindir.
- absolute_path_fix.patch, private_library.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=59
2020-11-05 15:57:23 +00:00
Dominique Leuenberger
00be78f90e Accepting request 818996 from server:database
OBS-URL: https://build.opensuse.org/request/show/818996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=25
2020-07-09 15:49:01 +00:00
c1647b379a Accepting request 818572 from home:kstreitova:branches:server:database
- Update to release 3.1.9
  * CONC-469: Use servers preferred authentication method unless
    another plugin was specified.
  * Added support for kFreeBSD builds
  * Fixed memory leak in GnuTLS if connection couldn't be established.
- refresh private_library.patch

OBS-URL: https://build.opensuse.org/request/show/818572
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=57
2020-07-06 12:48:44 +00:00
Dominique Leuenberger
79871149f6 Accepting request 808309 from server:database
OBS-URL: https://build.opensuse.org/request/show/808309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=24
2020-06-03 18:30:25 +00:00
2b90bc66f3 Accepting request 808293 from home:kstreitova:branches:server:database
- Update to release 3.1.8 [bsc#1171550]
  * CONC-304: Rename the static library to libmariadb.a and other
    libmariadb files in a consistent manner
  * CONC-441: Default user name for C/C is wrong if login user
    is different from effective user
  * CONC-449: Check $MARIADB_HOME/my.cnf in addition to
    $MYSQL_HOME/my.cnf
  * CONC-457: mysql_list_processes crashes in unpack_fields
  * CONC-458: mysql_get_timeout_value crashes when used improperly
  * CONC-464: Fix static build for auth_gssapi_client plugin
  * Fixes for the following security vulnerabilities:
    CVE-2020-13249
- refresh absolute_path_fix.patch and private_library.patch

OBS-URL: https://build.opensuse.org/request/show/808293
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=55
2020-05-22 19:50:54 +00:00
Dominique Leuenberger
b08284f3aa Accepting request 770773 from server:database
OBS-URL: https://build.opensuse.org/request/show/770773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=23
2020-02-15 21:23:12 +00:00
Martin Pluskal
1daae9e999 Accepting request 770709 from home:kstreitova:branches:server:database
- Update to release 3.1.7
  * TLS/SSL: when the client doesn't procide a CA file and the
    option ssl_verify_server_cert was set, the peer cerificate
    will be validated against the system CA.

OBS-URL: https://build.opensuse.org/request/show/770709
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=53
2020-02-07 06:34:08 +00:00
Dominique Leuenberger
e5c93f0b4d Accepting request 758454 from server:database
OBS-URL: https://build.opensuse.org/request/show/758454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=22
2020-01-01 13:56:51 +00:00
Martin Pluskal
ad39d0a456 Accepting request 758361 from home:jengelh:branches:server:database
- Update to release 3.1.6

OBS-URL: https://build.opensuse.org/request/show/758361
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=51
2019-12-20 08:52:41 +00:00
Dominique Leuenberger
937b6841b2 Accepting request 751755 from server:database
OBS-URL: https://build.opensuse.org/request/show/751755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=21
2019-12-07 14:19:01 +00:00
Martin Pluskal
0441913851 Accepting request 751666 from home:kstreitova:branches:server:database
- New upstream version 3.1.5 [bsc#1156669]
  * MDEV-20469: Plugin dialog could not be loaded (wrong path)
  * ODBC-440: Fixed typo in sha256_password cmake configuration
  * CONC-418: For unknown/not handled schannel error codes
    FormatMessage function will be used instead of returning
    "Unknown error" message.

OBS-URL: https://build.opensuse.org/request/show/751666
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=49
2019-11-29 08:48:00 +00:00
Dominique Leuenberger
51e6238be6 Accepting request 732948 from server:database
OBS-URL: https://build.opensuse.org/request/show/732948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=20
2019-09-30 13:51:57 +00:00
59afc5a427 Accepting request 732923 from home:kstreitova:branches:server:database
- New upstream version 3.1.4
  * CONC-431: Use windows crypto libraries on Windows platforms
  * Included in MariaDB 10.4.8, MariaDB 10.3.18, and MariaDB 10.2.27
- refresh mariadb-connector-c-2.3.1_unresolved_symbols.patch and
  private_library.patch

OBS-URL: https://build.opensuse.org/request/show/732923
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=47
2019-09-24 13:09:44 +00:00
Dominique Leuenberger
a05c94af2f Accepting request 721052 from server:database
OBS-URL: https://build.opensuse.org/request/show/721052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=19
2019-08-15 10:25:31 +00:00
Martin Pluskal
d3a5a03ace Accepting request 721026 from home:kstreitova:branches:server:database
- New upstream version 3.1.3
  * CONC-380: Fix CMake warnings
  * CONC-345: heap-use-after-free in client_mpvio_read_packet
  * CONC-423: Fix GnuTLS error with TLSv1.3
  * CONC-424: Ignore SERVER_STATUS_CURSOR_EXISTS if client didn't
    open a cursor before
  * CONC-421: Fixed crash in GnuTLS when key and certificate are
    in the same file
  * CONC-429: Don't allow invalid characters in plugin names
  * MDEV-19807: Fixed Location of PLUGINDIR if Connector/C is a
    subproject
- refresh absolute_path_fix.patch and private_library.patch

OBS-URL: https://build.opensuse.org/request/show/721026
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=45
2019-08-05 12:19:52 +00:00
Dominique Leuenberger
9f8b25c151 Accepting request 713453 from server:database
OBS-URL: https://build.opensuse.org/request/show/713453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=18
2019-07-08 13:04:41 +00:00
Martin Pluskal
96638a133c Accepting request 713442 from home:kstreitova:branches:server:database
- New upstream version 3.1.2 [bsc#1136035]
  * CONC-383: client plugins can't be loaded due to missing prefix
  * Fixed version setting in GnuTLS by moving "NORMAL" at the end
    of priority string
  * CONC-386: Added support for pem files which contain certificate
    and private key.
  * Replication/Binlog API: The main mechanism used in replication
    is the binary log.
  * CONC-395: Dashes and underscores are not interchangeable in
    options in my.cnf
- refresh mariadb-connector-c-2.3.1_unresolved_symbols.patch and
  private_library.patch
- pack client_ed25519.so

OBS-URL: https://build.opensuse.org/request/show/713442
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=43
2019-07-04 15:05:50 +00:00
Dominique Leuenberger
60edd649ac Accepting request 703402 from server:database
OBS-URL: https://build.opensuse.org/request/show/703402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=17
2019-05-16 19:57:41 +00:00
207692c8b2 Accepting request 703290 from home:illuusio
Small fix to make it compile

OBS-URL: https://build.opensuse.org/request/show/703290
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=41
2019-05-16 07:51:11 +00:00
893348699b Accepting request 702774 from home:dimstar:Factory
- Add pkgconfig(zlib) Requires to the -devel package: the .pc file
  lists -lz in the Libs, but does not mention any requires
  explicitly. So let's do our consumers a favor and pull in what we
  require.

This was masked so far by the fact that openssl pulled in zlib, which
it no longer does. But since our .pc file claims we need to link libz.so,
we also should pull it in ourselves.

OBS-URL: https://build.opensuse.org/request/show/702774
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=40
2019-05-14 10:40:12 +00:00
Dominique Leuenberger
7369986f8a Accepting request 680555 from server:database
OBS-URL: https://build.opensuse.org/request/show/680555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-connector-c?expand=0&rev=16
2019-03-04 08:14:26 +00:00