Commit Graph

138 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
177de9496a 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
Dominique Leuenberger
0a961d018e 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
Dominique Leuenberger
fce2a86971 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
Dominique Leuenberger
3444a7727b 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
Dominique Leuenberger
7ded8744e1 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
Dominique Leuenberger
059a3d252c 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
Dominique Leuenberger
3ec318e2ca 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
Dominique Leuenberger
64553dabd0 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
Dominique Leuenberger
16945b65ea 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
Dominique Leuenberger
1a92b5febc 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
c8c10bcb3f Accepting request 680533 from home:kstreitova:branches:server:database
- move libmariadb.pc from /usr/lib/pkgconfig to
  /usr/lib64/pkgconfig [bsc#1126088]

OBS-URL: https://build.opensuse.org/request/show/680533
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=38
2019-03-01 16:18:26 +00:00
Stephan Kulow
f59ca1c1aa 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
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
Martin Pluskal
5f24d48627 Accepting request 674655 from home:kstreitova:branches:server:database
- New upstream version 3.0.9
  * CONC-384: Incorrect packet when a connection attribute name or
    value is equal to or greater than 251
  * CONC-388: field->def_length is always set to 0 (only used by
    deprecated function mysql_list_fields)
  * Getter should get and the setter should set 
    CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS
  * CONC-385: Removed some cmake system checks
  * CONC-387: Fix case sensitive include file names for cross
    compiling
  * Fixed cnake policy CMP007
  * Support static linking auth plugins
  * Fix build with deprecated OpenSSL API: replaced ERR_remove_state
    by ERR_remove_thread_state
  * Disable LOAD DATA LOCAL INFILE suport by default and auto-enable
    it for the duration of one query, if the query string starts with
    the word "load". In all other cases the application should enable
    LOAD DATA LOCAL INFILE support explicitly
  * Changed return code for mysql_optionv/mysql_get_optionv to 1
    (was -1) and added CR_NOT_IMPLEMENTED error message if a option
    is unknown or not supported. This will fix possible error when
    setting connection attribute failed

OBS-URL: https://build.opensuse.org/request/show/674655
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=36
2019-02-14 08:01:54 +00:00
Dominique Leuenberger
157b66b2fd 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
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
5f839cd41d Accepting request 662777 from home:kstreitova:branches:server:database
- New upstream version 3.0.8
  * mingw fix: use lowercase names for include files
  * CONC-375: Fixed handshake errors when mixing TLSv1.3 cipher
    suites with cipher suites from other TLS protocols
  * CONC-312: Added new caching_sha2_password authentication plugin
    for authentication with MySQL 8.0 
- refresh mariadb-connector-c-2.3.1_unresolved_symbols.patch
- pack caching_sha2_password.so plugin
- New upstream version 3.0.7 [bsc#1116686]
  * Build fixes when building with ASAN/TSAN
  * CONC-370: Fixed memory leak in configuration file parsing.
  * CONC-371: Incorrect fractional part conversion when converting
    datetime string to MYSQL_TIME
  * CONC-283: Fixed pkg-config configuration
  * CONC-364: Not all sockets created in pvio_socket_connect
    function are closed
  * multiple fixes in named pipe implementation
  * CONC-349: Added new parameter STMT_ATTR_STATE to retrieve
    statement status via api function mysql_stmt_attr_get 
- refresh private_library.patch and absolute_path_fix.patch
- pack libmariadb.pc

OBS-URL: https://build.opensuse.org/request/show/662777
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=34
2019-01-07 09:50:38 +00:00
Dominique Leuenberger
74ea83644b 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
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
90645df1a7 Accepting request 628004 from home:kstreitova:branches:server:database
- New upstream version 3.0.6
  * MDEV-15263: FIx IS_NUM() macro
  * CONC-297: local infile parameter must be unsigned int instead
    of my_bool
  * CONC-329: change return value of internal socket functions
    from my_bool to int
  * CONC-332: my_auth doesn't read/update server ok packet
  * CONC-344: reset internal row counter
  * CONC-345: invalid heap use after free
  * CONC-346: Remove old cmake policies
  * fixed crash in mysql_select_db if NULL parameter was provided
- refresh private_library.patch

OBS-URL: https://build.opensuse.org/request/show/628004
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=32
2018-08-09 10:28:56 +00:00
Dominique Leuenberger
098451f832 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
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
Martin Pluskal
3eeba96340 Accepting request 623451 from home:kstreitova:branches:server:database
- New upstream version 3.0.5
- 3.0.5 important changes:
  * CONC-336: Allow multiple initialization of client library
  * Fixed string to MYSQL_TIME conversion (prepared statements)
  * CONC-334: Copy all members of MYSQL_FIELD to internal
    statement structure
  * Fixed double free in dynamic column library
  * Added checks for corrupted packets in protocol
  * MDEV-15450: Added default connection attribute _server_host
  * CONC-326: fixed wrong openssl thread id callback
- 3.0.4 important changes:
  * Added option MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS for
    mysql_options()/mysql_optionsv():
  * New plugin configuration interface: The default configuration
    for a specific plugin can be specified via cmake parameter
    -DCLIENT_PLUGIN_${PLUGIN}=[DYNAMIC|STATIC|OFF].
  * Added support for linux abstract socket (MDEV-15655).
  * CONC-320: Added asynchronous/non-blocking support for
    OpenSSL and GnuTLS
  * CONC-294: Access violation in mysql_close when using
    a connection plugin.
  * MDEV-14977: If built dynamically the old_password plugin
    could not be located due to wrong filename (must be
    mysql_old_password.so instead of old_password.so).
  * CONC-315: If no default client character set was specified,
    the utf8 character set will be used by default (instead of
    setting the client character set to server character set)
  * CONC-317: Parsing of configuration file fails if key/value
    pairs contain white spaces.
  * CONC-322: Correct handling of EAGAIN and EINPROGRESS in

OBS-URL: https://build.opensuse.org/request/show/623451
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=30
2018-07-17 13:41:22 +00:00
Dominique Leuenberger
f40f4b706e 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
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
f49cd38783 Accepting request 619744 from home:adamm:branches:server:database
- Drop libmysqlclient_r Provides from the -devel package.
  (bsc#1097938)

OBS-URL: https://build.opensuse.org/request/show/619744
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=28
2018-06-29 10:05:37 +00:00
Dominique Leuenberger
7501230901 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