pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/myodbc



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Mon Jan 11 05:49:29 UTC 2021

Modified Files:
        pkgsrc/databases/myodbc: Makefile PLIST distinfo
        pkgsrc/databases/myodbc/patches: patch-CMakeLists.txt

Log Message:
myodbc:  Update to 5.3.14

5.3.14

  Security Notes:
  Functionality added or changed:
  * Unit tests will allocate/deallocate STMT/DBC/ENV for each test
  * Added processing of new UTF8MB4 collations
  Bugs fixed:
  * myodbc-installer does not show all DSN options (Bug #29753227/95290)
  * MASTER: Crash noticed in SQLSetPos (Bug #29630465)

  Built using MySQL 5.7.28

5.3.13

  Security Notes:
  * Connector/ODBC 5.3.13 Commercial upgrades the linked OpenSSL
    library to version 1.0.2r which has been publicly reported
    as not vulnerable to CVE-2019-1559
    (Bug #29489006, CVE-2019-1559)
  Functionality added or changed:
  Bugs fixed:
  * SQL_NO_DATA when fetching VARCHAR(500) with filter
    (Bug# 29512548/94545)

  Built using MySQL 5.7.26

5.3.12

  Security Notes:
  Functionality added or changed:
  * New connection option for ODBC driver to enable LOAD DATA LOCAL INFILE
  Bugs fixed:
  * Dynamic linking is broken in MyODBC 5.3.11 (Bug# 28609434/92319)
  * Crash in SQLBulkOperations when NO_SSPS is set to 0 (Bug #28289320)

  Built using MySQL 5.7.25

5.3.11

  Security Notes:
  * Fix issues found by Fortify (WL #11829)
  Functionality added or changed:
  * Fixes in ODBC 5.3 from 8.0 code merge (WL #12199)
  * Make sure ODBC 5.3 works with new 8.0 auth. mechanism. (WL #11962)
  Bugs fixed:
  * Source character set not supported by client error on SHOW TABLES command
    (Bug# 28116892/90984)
  * SQLColAttribute/SQL_DESC_TYPE_NAME text instead of longtext for
    longtext col (Bug# 11761407/53900)
  * Connector uses UTF8 charset instead of UTF8MB4 (Bug# 28204756)
  * SQLMoreResults does not set statement errors correctly
    (Bug# 11757423/49466)
  * Master: Connection fails for cache256 user when GET_SERVER_PUBLIC_KEY=1
    (Bug# 28359632)

  Built using MySQL 5.7.23

5.3.10

  Security Notes:
  Functionality added or changed:
  * Build ODBC Connector with libmysqlclient linked dynamically (WL #11105)
  Bugs fixed:
  * ODBC Driver issue with SELECT for UPDATE (Bug# 26646688/87457)
  * Contribution: Compilation fixes for MySQL 5.5 (Bug# 26633971/87413)
  * Contribution: Fix truncated "SSL Certificate Authority" label
    (Bug# 26579169/87325)
  * OpenRecordset leaking memory client side on Windows ODBC Client
    (Bug# 27155880/86473)
  * MySQL Connector/ODBC 5.2.5 - Command Timeout does not work
    (Bug# 26474362/69416)
  * Calling MySQLDrivercConnect with a NULL pcbConnStrOut causes a crash
    (Bug# 27101767/88371)

  Built using MySQL 5.7.20

5.3.9

  Security Notes:
  Functionality added or changed:
  * Added two new CMake build options. STATIC_MSVCRT to switch /MT and /MD
    compiler options in Windows. WITH_NODEFAULTLIB to specify the
    /NODEFAULTLIB linker option. (WL# 10890)
  Bugs fixed:
  * Segmentation fault in SQLFetch() when used with dynamic cursor
    (Bug# 18805392)
  * SQLExecute() after SQLFreeStmt(SQL_RESET_PARAMS) results
    in assert failure (Bug# 19148246)
  * SQLForeignKeys() crashing when SQL_MODE='ANSI_QUOTES'
    (Bug# 18641824)
  * SQLForeignKeys() returns empty result with NO_I_S=0
    (Bug# 26388694)

  Built using MySQL 5.7.19

----

5.3.8

  Security Notes:
  * Connector/ODBC 5.3.8 Commercial upgrades the linked OpenSSL
    library to version 1.0.2k which has been publicly reported
    as not vulnerable to CVE-2017-3732
    (http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3732)
    (Bug #25615448, CVE-2017-3732)
  Functionality added or changed:
  * Added a new connection option NO_DATE_OVERFLOW to control returning
    of errors when the TIMESTAMP structure used for DATE column contains
    non-zero time part (Bug# 25386024)
  Bugs fixed:
  * SQL_ATTR_MAX_ROWS applies to all result sets on the statement,
    and not connection (Bug# 17259397/69554)
  * SQLTABLES patch (Bug 13914518) has to be extended for NO_I_S case
    (Bug# 14005343)
  * Connector/ODBC does not send correct error message when 2006 error occurs
    (Bug #25671389)
  * Error in Windows Setup Wizard Custom Setup Dialog
    (Bug# 25247807/84190)
  * Contents in embedded help for myodbc-installer are outdated
    (Bug# 18896110/72852)
  * SQLGetData() with invalid column number crashes (Bug# 18636600)
  * Assert failure in SQLSetDescField() API (Bug# 18641633)
  * Metadata functions crash when the catalog/table/column name is long
    (Bug #18796005)
  * Prefetch causes syntax errors in select queries with parameters
    (Bug# 17386788)

  Built using MySQL 5.7.18

----

5.3.7

  Security Notes:
  * Connector/ODBC 5.3.7 Commercial upgrades the linked OpenSSL
    library to version 1.0.2j which has been publicly reported
    as not vulnerable to CVE-2016-6304
    (http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6304)
    (Bug #24753385, CVE-2016-6304)

  Functionality added or changed:
  * Added new options to control TLS versions for connecting:
    NO_TLS_1_0, NO_TLS_1_1, NO_TLS_1_2. By Default all TLS versions are enabled
    and options allow to disable using of a particular TLS version.
    (Bug# 23496903/81640)
  * Added a new option SSLMODE to set the SSL mode before connection is made.
    The option value can be set to any of the follwing: DISABLED, PREFERRED,
    REQUIRED, VERIFY_CA, VERIFY_IDENTITY. This option will override
    the deprecated SSLVERIFY and SSL_ENFORCE.
    (Bug# 23497043/81641)

  Bugs fixed:
  * Assertion in ODBC Driver when calling mysql_stmt_close() on a broken
    connection (Bug# 25109356/83858)
  * Connector ODBC does not build with newer CMake (Bug# 22746557)
  * Installation fails in OSX El Capitan (23123503/81113)

  Built using MySQL 5.7.17.

----

5.3.6

  Functionality added or changed:
  * Keywords specific to MySQL server 5.7 (WL#7992)
  * Implement SQL_ATTR_QUERY_TIMEOUT statement attribute (WL#7991)
  * Added DEFAULT_AUTH and PLUGIN_DIR options in connection parameters.
  * Added DISABLE_SSL_DEFAULT connection parameter to disable
    connecting through SSL by default.
  * Added SSL_ENFORCE connection parameter to enforce SSL connection.

  Bugs fixed:
  * ODBC Driver not parsing comments correctly (Bug# 16613308/53891)
  * Calling SQLGetDiagField with DIAGIDENTIFIER SQL_DIAG_ROW_COUNT always
    returns 0 (Bug #11750296/40771)
  * ADO hangs when using MySQL ODBC 5.3 ANSI Driver with French characters
    (Bug# 20526062)
  * Connector/ODBC fails to build when using libmysqlclient 5.7
    (Bug# 20685833/76261)
  * malloc/free mismatch in MySqlGetPrivateProvileStringW
    (Bug# 21074676/76984)

----

5.3.5

  Security Notes:
  * Connector/ODBC 5.3.5 Commercial upgrades the linked OpenSSL
    library to version 1.0.1m which has been publicly reported
    as not vulnerable to CVE-2015-0286
    (http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0286).

    Since the only change in Connector/ODBC 5.3.5 is the inclusion
    of OpenSSL libraries publicly reported as unaffected by
    CVE-2015-0286, and since Oracle-produced MySQL Community
    builds use YaSSL libraries which have been reported as not
    affected by CVE-2015-0286, Oracle will not produce builds for
    Connector/ODBC Community for version 5.3.5. This means the
    Community edition of Connector/ODBC will skip version 5.3.5.
    (Bug #20747740, CVE-2015-0286)

----

5.3.4

  Functionality added or changed:
  * New ODBC connection option to specify the location of RSA public key
    (WL #7911)

  Bugs fixed:
  * SSL CA Path cannot be selected in Linux GUI (Bug #18813389/72716)

----

5.3.3

  Functionality added or changed:

  Bugs fixed:
  * Seg Fault in SQLForeignKeys() when column name contains special characters
    (Bug #18286118)
  * Add NULL handle checks in ODBC API functions (WL #7807)

----


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/databases/myodbc/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/myodbc/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/myodbc/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/myodbc/Makefile
diff -u pkgsrc/databases/myodbc/Makefile:1.43 pkgsrc/databases/myodbc/Makefile:1.44
--- pkgsrc/databases/myodbc/Makefile:1.43       Sat May 23 13:08:51 2020
+++ pkgsrc/databases/myodbc/Makefile    Mon Jan 11 05:49:29 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2020/05/23 13:08:51 nia Exp $
+# $NetBSD: Makefile,v 1.44 2021/01/11 05:49:29 jnemeth Exp $
 
-DISTNAME=      mysql-connector-odbc-5.3.2-src
+DISTNAME=      mysql-connector-odbc-5.3.14-src
 PKGNAME=       ${DISTNAME:S/mysql-connector-odbc/myodbc/:S/-src$//}
-PKGREVISION=   2
+#PKGREVISION=  2
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_MYSQL:=Connector-ODBC/5.3/}
 
@@ -22,7 +22,7 @@ INSTALLATION_DIRS+=   share/mysql-connecto
 
 .include "options.mk"
 
-MYSQL_VERSIONS_ACCEPTED=       56
+MYSQL_VERSIONS_ACCEPTED=       56 57
 
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/databases/myodbc/PLIST
diff -u pkgsrc/databases/myodbc/PLIST:1.11 pkgsrc/databases/myodbc/PLIST:1.12
--- pkgsrc/databases/myodbc/PLIST:1.11  Tue Sep 26 09:40:51 2017
+++ pkgsrc/databases/myodbc/PLIST       Mon Jan 11 05:49:29 2021
@@ -1,14 +1,12 @@
-@comment $NetBSD: PLIST,v 1.11 2017/09/26 09:40:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/01/11 05:49:29 jnemeth Exp $
 bin/myodbc-installer
 lib/libmyodbc5a.so
 lib/libmyodbc5w.so
-share/doc/mysql-connector-odbc/COPYING
 share/doc/mysql-connector-odbc/ChangeLog
-share/doc/mysql-connector-odbc/INSTALL
-share/doc/mysql-connector-odbc/Licenses_for_Third-Party_Components.txt
-share/doc/mysql-connector-odbc/README
-share/doc/mysql-connector-odbc/README.debug
+share/doc/mysql-connector-odbc/LICENSE.txt
+share/doc/mysql-connector-odbc/README.txt
 share/mysql-connector-odbc/test/CTestTestfile.cmake
+share/mysql-connector-odbc/test/my_auth
 share/mysql-connector-odbc/test/my_basics
 share/mysql-connector-odbc/test/my_blob
 share/mysql-connector-odbc/test/my_bug13766
@@ -18,13 +16,13 @@ share/mysql-connector-odbc/test/my_catal
 share/mysql-connector-odbc/test/my_crash
 share/mysql-connector-odbc/test/my_curext
 share/mysql-connector-odbc/test/my_cursor
+share/mysql-connector-odbc/test/my_data
 share/mysql-connector-odbc/test/my_datetime
 share/mysql-connector-odbc/test/my_desc
 share/mysql-connector-odbc/test/my_dyn_cursor
 share/mysql-connector-odbc/test/my_error
 share/mysql-connector-odbc/test/my_info
 share/mysql-connector-odbc/test/my_keys
-share/mysql-connector-odbc/test/my_nodma
 share/mysql-connector-odbc/test/my_param
 share/mysql-connector-odbc/test/my_pooling
 share/mysql-connector-odbc/test/my_prepare

Index: pkgsrc/databases/myodbc/distinfo
diff -u pkgsrc/databases/myodbc/distinfo:1.12 pkgsrc/databases/myodbc/distinfo:1.13
--- pkgsrc/databases/myodbc/distinfo:1.12       Tue Nov  3 01:56:15 2015
+++ pkgsrc/databases/myodbc/distinfo    Mon Jan 11 05:49:29 2021
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 01:56:15 agc Exp $
+$NetBSD: distinfo,v 1.13 2021/01/11 05:49:29 jnemeth Exp $
 
-SHA1 (mysql-connector-odbc-5.3.2-src.tar.gz) = 5507903fb14aadf6b7c14f7142eef2c9fff1250c
-RMD160 (mysql-connector-odbc-5.3.2-src.tar.gz) = 0fb1343c1a1754e6c88f2ee8af480a839c7c769b
-SHA512 (mysql-connector-odbc-5.3.2-src.tar.gz) = 2804a071d0a128d7ebba45913c927fae63fda9de5c740448d84abde7505ab401641fd43ec6c6645446a5be6c0f005b0b0d96d8bb96abaaac07cac858fe8b3ade
-Size (mysql-connector-odbc-5.3.2-src.tar.gz) = 655634 bytes
-SHA1 (patch-CMakeLists.txt) = 95c05823ef706fe9344eae4606306d3abc9ab519
+SHA1 (mysql-connector-odbc-5.3.14-src.tar.gz) = 7f062b8dc7a3c0deee7de9b3d455e1bcc50c306e
+RMD160 (mysql-connector-odbc-5.3.14-src.tar.gz) = 91dc093d3a2dcc932db0973cded1a5f9e98bbd55
+SHA512 (mysql-connector-odbc-5.3.14-src.tar.gz) = f5dee3127cc9fbeeb1c855cc964fe882254056cbb2fca343b28360ac80c6dceb3b36c1e3458828a33e1a46ead5ff3e7de5157c7d30d5e806888652aab40b7980
+Size (mysql-connector-odbc-5.3.14-src.tar.gz) = 3010166 bytes
+SHA1 (patch-CMakeLists.txt) = 1021a5309ff0f051310f0b4b8ff56185ab2ab991
 SHA1 (patch-test_CMakeLists.txt) = 7d004271310243f8ccca1bfe8f7b1e8333f6ffdc

Index: pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt
diff -u pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt:1.2 pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt:1.2    Wed Jul  2 03:41:51 2014
+++ pkgsrc/databases/myodbc/patches/patch-CMakeLists.txt        Mon Jan 11 05:49:29 2021
@@ -1,8 +1,8 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2014/07/02 03:41:51 jnemeth Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2021/01/11 05:49:29 jnemeth Exp $
 
---- CMakeLists.txt.orig        2014-03-26 21:20:55.000000000 +0000
+--- CMakeLists.txt.orig        2019-10-28 17:50:32.000000000 +0000
 +++ CMakeLists.txt
-@@ -257,6 +257,8 @@ ENDIF()
+@@ -420,6 +420,8 @@ ENDIF()
  
  MESSAGE(STATUS "Installation library subdir: ${LIB_SUBDIR}")
  
@@ -11,29 +11,23 @@ $NetBSD: patch-CMakeLists.txt,v 1.2 2014
  INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
  
  ADD_SUBDIRECTORY(util)
-@@ -382,18 +384,18 @@ IF(WIN32)
+@@ -501,8 +503,8 @@ cmake/sql.*\\\\.c$
+ #------------ Installation ---------------------------
+ 
+ 
+-INSTALL(FILES LICENSE.txt   DESTINATION .)
+-INSTALL(FILES README.txt    DESTINATION .)
++INSTALL(FILES LICENSE.txt   DESTINATION ${DOC_SUBDIR})
++INSTALL(FILES README.txt    DESTINATION ${DOC_SUBDIR})
+ 
+ IF(WIN32)
+ 
+@@ -542,7 +544,7 @@ IF(WIN32)
  
  ELSE(WIN32)
  
 -  INSTALL(FILES ChangeLog    DESTINATION .)
--  INSTALL(FILES README       DESTINATION .)
--  INSTALL(FILES README.debug DESTINATION .)
--  INSTALL(FILES INSTALL      DESTINATION .)
 +  INSTALL(FILES ChangeLog    DESTINATION ${DOC_SUBDIR})
-+  INSTALL(FILES README       DESTINATION ${DOC_SUBDIR})
-+  INSTALL(FILES README.debug DESTINATION ${DOC_SUBDIR})
-+  INSTALL(FILES INSTALL      DESTINATION ${DOC_SUBDIR})
-   IF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
--    INSTALL(FILES COPYING       DESTINATION .)
-+    INSTALL(FILES COPYING       DESTINATION ${DOC_SUBDIR})
-   ELSE()
--    INSTALL(FILES LICENSE.mysql DESTINATION .)
-+    INSTALL(FILES LICENSE.mysql DESTINATION ${DOC_SUBDIR})
-   ENDIF()
  
  ENDIF(WIN32)
  
--INSTALL(FILES Licenses_for_Third-Party_Components.txt DESTINATION .)
-+INSTALL(FILES Licenses_for_Third-Party_Components.txt DESTINATION ${DOC_SUBDIR})
- 
- INCLUDE(CPack)



Home | Main Index | Thread Index | Old Index