pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql-connector-c++ mysql-connector-c++: upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7044ef9c8a3d
branches:  trunk
changeset: 455167:7044ef9c8a3d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 29 06:43:30 2021 +0000

description:
mysql-connector-c++: update to 8.0.25.

MySQL Connectors and other MySQL client tools and applications now
synchronize the first digit of their version number with the
(highest) MySQL server version they support. For example, MySQL
Connector/C++ 8.0.12 would be designed to support all features of
MySQL server version 8 (or lower). This change makes it easy and
intuitive to decide which client version to use for which server
version.

diffstat:

 databases/mysql-connector-c++/Makefile                                   |  15 +-
 databases/mysql-connector-c++/PLIST                                      |  62 +++++----
 databases/mysql-connector-c++/buildlink3.mk                              |   4 +-
 databases/mysql-connector-c++/distinfo                                   |  11 +-
 databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp |  16 --
 5 files changed, 46 insertions(+), 62 deletions(-)

diffs (153 lines):

diff -r bfb30cb53258 -r 7044ef9c8a3d databases/mysql-connector-c++/Makefile
--- a/databases/mysql-connector-c++/Makefile    Tue Jun 29 05:19:46 2021 +0000
+++ b/databases/mysql-connector-c++/Makefile    Tue Jun 29 06:43:30 2021 +0000
@@ -1,24 +1,21 @@
-# $NetBSD: Makefile,v 1.8 2021/06/23 20:33:08 nia Exp $
+# $NetBSD: Makefile,v 1.9 2021/06/29 06:43:30 wiz Exp $
 
-DISTNAME=      mysql-connector-c++-1.1.8
-PKGREVISION=   1
+DISTNAME=      mysql-connector-c++-8.0.25-src
+PKGNAME=       ${DISTNAME:S/-src//}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_MYSQL:=Connector-C++/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://dev.mysql.com/downloads/connector/cpp/
-COMMENT=       Standardized mysql database driver for C++ development
+COMMENT=       Standardized MySQL database driver for C++ development
 LICENSE=       gnu-gpl-v2
 
 USE_CMAKE=             yes
 USE_LANGUAGES=         c c++
 
-INSTALLATION_DIRS=     share/doc/mysql-connector-c++
-
 post-install:
-       cd ${DESTDIR}${PREFIX} && mv ANNOUNCEMENT COPYING INSTALL README \
-               Licenses_for_Third-Party_Components.txt \
-               share/doc/mysql-connector-c++/
+       ${RM} ${DESTDIR}${PREFIX}/INFO_BIN
+       ${RM} ${DESTDIR}${PREFIX}/INFO_SRC
 
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../mk/mysql.buildlink3.mk"
diff -r bfb30cb53258 -r 7044ef9c8a3d databases/mysql-connector-c++/PLIST
--- a/databases/mysql-connector-c++/PLIST       Tue Jun 29 05:19:46 2021 +0000
+++ b/databases/mysql-connector-c++/PLIST       Tue Jun 29 06:43:30 2021 +0000
@@ -1,29 +1,33 @@
-@comment $NetBSD: PLIST,v 1.3 2014/11/29 16:41:25 adam Exp $
-include/cppconn/build_config.h
-include/cppconn/config.h
-include/cppconn/connection.h
-include/cppconn/datatype.h
-include/cppconn/driver.h
-include/cppconn/exception.h
-include/cppconn/metadata.h
-include/cppconn/parameter_metadata.h
-include/cppconn/prepared_statement.h
-include/cppconn/resultset.h
-include/cppconn/resultset_metadata.h
-include/cppconn/sqlstring.h
-include/cppconn/statement.h
-include/cppconn/variant.h
-include/cppconn/version_info.h
-include/cppconn/warning.h
-include/mysql_connection.h
-include/mysql_driver.h
-include/mysql_error.h
-lib/libmysqlcppconn-static.a
-lib/libmysqlcppconn.so
-lib/libmysqlcppconn.so.7
-lib/libmysqlcppconn.so.7.${PKGVERSION}
-share/doc/mysql-connector-c++/ANNOUNCEMENT
-share/doc/mysql-connector-c++/COPYING
-share/doc/mysql-connector-c++/INSTALL
-share/doc/mysql-connector-c++/Licenses_for_Third-Party_Components.txt
-share/doc/mysql-connector-c++/README
+@comment $NetBSD: PLIST,v 1.4 2021/06/29 06:43:30 wiz Exp $
+include/mysqlx/common.h
+include/mysqlx/common/api.h
+include/mysqlx/common/error.h
+include/mysqlx/common/op_if.h
+include/mysqlx/common/settings.h
+include/mysqlx/common/util.h
+include/mysqlx/common/value.h
+include/mysqlx/common_constants.h
+include/mysqlx/devapi/collations.h
+include/mysqlx/devapi/collection_crud.h
+include/mysqlx/devapi/common.h
+include/mysqlx/devapi/crud.h
+include/mysqlx/devapi/detail/crud.h
+include/mysqlx/devapi/detail/error.h
+include/mysqlx/devapi/detail/result.h
+include/mysqlx/devapi/detail/row.h
+include/mysqlx/devapi/detail/session.h
+include/mysqlx/devapi/detail/settings.h
+include/mysqlx/devapi/document.h
+include/mysqlx/devapi/error.h
+include/mysqlx/devapi/executable.h
+include/mysqlx/devapi/mysql_charsets.h
+include/mysqlx/devapi/mysql_collations.h
+include/mysqlx/devapi/result.h
+include/mysqlx/devapi/row.h
+include/mysqlx/devapi/settings.h
+include/mysqlx/devapi/table_crud.h
+include/mysqlx/xapi.h
+include/mysqlx/xdevapi.h
+lib/debug/libmysqlcppconn8.so
+lib/debug/libmysqlcppconn8.so.2
+lib/debug/libmysqlcppconn8.so.2.${PKGVERSION}
diff -r bfb30cb53258 -r 7044ef9c8a3d databases/mysql-connector-c++/buildlink3.mk
--- a/databases/mysql-connector-c++/buildlink3.mk       Tue Jun 29 05:19:46 2021 +0000
+++ b/databases/mysql-connector-c++/buildlink3.mk       Tue Jun 29 06:43:30 2021 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2015/03/19 01:06:25 rodent Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/06/29 06:43:30 wiz Exp $
 
 BUILDLINK_TREE+=       mysql-connector-c++
 
 .if !defined(MYSQL_CONNECTOR_C++_BUILDLINK3_MK)
 MYSQL_CONNECTOR_C++_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.mysql-connector-c+++=    mysql-connector-c++>=1.1.5
+BUILDLINK_API_DEPENDS.mysql-connector-c+++=    mysql-connector-c++>=8
 BUILDLINK_PKGSRCDIR.mysql-connector-c++?=      ../../databases/mysql-connector-c++
 
 .include "../../mk/mysql.buildlink3.mk"
diff -r bfb30cb53258 -r 7044ef9c8a3d databases/mysql-connector-c++/distinfo
--- a/databases/mysql-connector-c++/distinfo    Tue Jun 29 05:19:46 2021 +0000
+++ b/databases/mysql-connector-c++/distinfo    Tue Jun 29 06:43:30 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/01/12 12:24:09 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/06/29 06:43:30 wiz Exp $
 
-SHA1 (mysql-connector-c++-1.1.8.tar.gz) = 7ddd5437f16f8f656c10317891cfa3d848dc2d8e
-RMD160 (mysql-connector-c++-1.1.8.tar.gz) = 2469ebacb4885af3d22e45d9ca64c410b176d9ec
-SHA512 (mysql-connector-c++-1.1.8.tar.gz) = c3ab5c1e805598d557a449c44f77ce44cc110e5b529075e38b4f775d3726ebd16a2155f61e47a378a375a9d9362d1520334ea25376636151ddd087291aafd85d
-Size (mysql-connector-c++-1.1.8.tar.gz) = 528954 bytes
-SHA1 (patch-driver_mysql__resultbind.cpp) = 77842cd61dd3a57956dcc5e3f382270d2e218ec1
+SHA1 (mysql-connector-c++-8.0.25-src.tar.gz) = 6a2d8cddef9c0562b3a4bf05138a30fc6f22a40f
+RMD160 (mysql-connector-c++-8.0.25-src.tar.gz) = 9ccb8deacf3fa3ba283c4933c6ec70f1d1a9b8af
+SHA512 (mysql-connector-c++-8.0.25-src.tar.gz) = 44dd7f4296d666801be55642e53cb5181d9b5c3b080306975a48eb6280e555d9b924b42b14b44dffee4c54fab3f662a7b6bb6584d9a1ed710f0026788611c525
+Size (mysql-connector-c++-8.0.25-src.tar.gz) = 3800065 bytes
diff -r bfb30cb53258 -r 7044ef9c8a3d databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp
--- a/databases/mysql-connector-c++/patches/patch-driver_mysql__resultbind.cpp  Tue Jun 29 05:19:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-driver_mysql__resultbind.cpp,v 1.2 2017/01/12 12:24:09 adam Exp $
-
-https://bugs.mysql.com/bug.php?id=80539
-
---- driver/mysql_resultbind.cpp.orig   2016-12-14 09:58:54.000000000 +0000
-+++ driver/mysql_resultbind.cpp
-@@ -88,8 +88,8 @@ static struct st_buffer_size_type
-     case MYSQL_TYPE_VAR_STRING:
- #if LIBMYSQL_VERSION_ID > 50700
-     case MYSQL_TYPE_JSON:
--      return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type);
- #endif //LIBMYSQL_VERSION_ID > 50700
-+      return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type);
- 
-     case MYSQL_TYPE_DECIMAL:
-     case MYSQL_TYPE_NEWDECIMAL:



Home | Main Index | Thread Index | Old Index