Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 09:24:28 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302334 - in head/databases/mysql-connector-c++: . files
Message-ID:  <201208090924.q799OSTG091569@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Aug  9 09:24:28 2012
New Revision: 302334
URL: http://svn.freebsd.org/changeset/ports/302334

Log:
  - Update to 1.1.1
  
    Changes:
  
    * DatabaseMetaData::getSQLKeywords() updated to match MySQL 5.5. Note
      that C/C++, just like C/JDBC, returns the same list for every
      MySQL database version. (Ulf)
  
    * Added MySQL_Connection::getLastStatementInfo() which returns back the
      value of the mysql_info() function of libmysql / Connector/C. (Andrey)
  
    * Added new method ResultSetMetaData::isNumeric() and implemented it in
      all classes that subclass from it. (Andrey)
  
    * Fixed the bug causing compilation errors in Microsoft Visual Studio 2010 if
      stdint.h was included. See http://bugs.mysql.com/bug.php?id=60307
  
    * Fixed bug making statement that did not raise any warning to return
      warnings from previously executed statement.
  
    * Fixed stores(Lower|Mixed)Case(Quoted)Identifiers methods.
  
    * Built against libmysql 5.5.27 enabling support of authentification plugins
      and IPv6.

Modified:
  head/databases/mysql-connector-c++/Makefile   (contents, props changed)
  head/databases/mysql-connector-c++/distinfo   (contents, props changed)
  head/databases/mysql-connector-c++/files/patch-CMakeLists.txt   (contents, props changed)
  head/databases/mysql-connector-c++/files/patch-cppconn_CMakeLists.txt   (contents, props changed)
  head/databases/mysql-connector-c++/pkg-plist   (contents, props changed)

Modified: head/databases/mysql-connector-c++/Makefile
==============================================================================
--- head/databases/mysql-connector-c++/Makefile	Thu Aug  9 08:55:37 2012	(r302333)
+++ head/databases/mysql-connector-c++/Makefile	Thu Aug  9 09:24:28 2012	(r302334)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mysql-connector-c++
-PORTVERSION=	1.1.0
+PORTVERSION=	1.1.1
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_MYSQL}
 MASTER_SITE_SUBDIR=	Connector-C++

Modified: head/databases/mysql-connector-c++/distinfo
==============================================================================
--- head/databases/mysql-connector-c++/distinfo	Thu Aug  9 08:55:37 2012	(r302333)
+++ head/databases/mysql-connector-c++/distinfo	Thu Aug  9 09:24:28 2012	(r302334)
@@ -1,2 +1,2 @@
-SHA256 (mysql-connector-c++-1.1.0.tar.gz) = dfb8933dada706a1b3188b162fc5a9686b5ed46323bf09548ce291e8dd4545e2
-SIZE (mysql-connector-c++-1.1.0.tar.gz) = 467089
+SHA256 (mysql-connector-c++-1.1.1.tar.gz) = 31c3e4f637153bd270812dffc6a50708dfc686a8afa7ea1c88a9dfda0d8af52e
+SIZE (mysql-connector-c++-1.1.1.tar.gz) = 492659

Modified: head/databases/mysql-connector-c++/files/patch-CMakeLists.txt
==============================================================================
--- head/databases/mysql-connector-c++/files/patch-CMakeLists.txt	Thu Aug  9 08:55:37 2012	(r302333)
+++ head/databases/mysql-connector-c++/files/patch-CMakeLists.txt	Thu Aug  9 09:24:28 2012	(r302334)
@@ -1,21 +1,17 @@
---- CMakeLists.txt.orig	2010-09-10 11:47:48.000000000 +0200
-+++ CMakeLists.txt	2011-11-21 16:42:10.000000000 +0100
-@@ -225,7 +225,6 @@
+--- CMakeLists.txt.orig	2012-08-09 10:44:22.000000000 +0200
++++ CMakeLists.txt	2012-08-09 10:46:37.000000000 +0200
+@@ -252,14 +252,6 @@
  SET( LICENSE_FILENAME "${CPACK_RESOURCE_FILE_LICENSE}")")
  ENDIF(WIN32)
  
--INSTALL(FILES ${CPACK_RESOURCE_FILE_README} ${CPACK_RESOURCE_FILE_LICENSE} "${CMAKE_SOURCE_DIR}/ANNOUNCEMENT" DESTINATION "." OPTIONAL)
- 
+-INSTALL(FILES
+-	${CPACK_RESOURCE_FILE_README}
+-	${CPACK_RESOURCE_FILE_INSTALL}
+-	${CPACK_RESOURCE_FILE_LICENSE}
+-	"${CMAKE_SOURCE_DIR}/Licenses_for_Third-Party_Components.txt"
+-	"${CMAKE_SOURCE_DIR}/ANNOUNCEMENT"
+-	DESTINATION "." OPTIONAL)
+-
  SET(COMMON_IGNORE_FILES "/CMakeFiles/" "/Testing/" "/.bzr/" "_CPack_Packages/"
      ".cmake$" "~" ".swp" ".log" ".gz" ".directory$" "CMakeCache.txt" "Makefile"
-@@ -252,6 +252,10 @@
- ENDIF(WIN32)
- MESSAGE(STATUS "Installation path is: ${CMAKE_INSTALL_PREFIX}   (overwrite with -DCMAKE_INSTALL_PREFIX=/your/path)")
- 
-+# this is where generated config.h files are placed
-+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR})
-+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR}/cppconn)
-+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR}/driver/nativeapi)
- 
- ADD_SUBDIRECTORY(cppconn)
- ADD_SUBDIRECTORY(driver)
+ 	"install_manifest.txt")

Modified: head/databases/mysql-connector-c++/files/patch-cppconn_CMakeLists.txt
==============================================================================
--- head/databases/mysql-connector-c++/files/patch-cppconn_CMakeLists.txt	Thu Aug  9 08:55:37 2012	(r302333)
+++ head/databases/mysql-connector-c++/files/patch-cppconn_CMakeLists.txt	Thu Aug  9 09:24:28 2012	(r302334)
@@ -1,6 +1,6 @@
---- cppconn/CMakeLists.txt.orig	2011-11-21 16:34:57.000000000 +0100
-+++ cppconn/CMakeLists.txt	2011-11-21 16:36:39.000000000 +0100
-@@ -55,7 +55,6 @@
+--- cppconn/CMakeLists.txt.orig	2012-08-09 10:30:25.000000000 +0200
++++ cppconn/CMakeLists.txt	2012-08-09 10:31:01.000000000 +0200
+@@ -58,7 +58,6 @@
  
  SET(MYSQLCPPCONN_INSTALL_HEADERS
  		build_config.h
@@ -8,7 +8,7 @@
  		connection.h
  		datatype.h
  		driver.h
-@@ -70,3 +69,4 @@
+@@ -73,3 +72,4 @@
  		warning.h)
  
  INSTALL(FILES ${MYSQLCPPCONN_INSTALL_HEADERS} DESTINATION include/cppconn)

Modified: head/databases/mysql-connector-c++/pkg-plist
==============================================================================
--- head/databases/mysql-connector-c++/pkg-plist	Thu Aug  9 08:55:37 2012	(r302333)
+++ head/databases/mysql-connector-c++/pkg-plist	Thu Aug  9 09:24:28 2012	(r302334)
@@ -16,6 +16,6 @@ include/mysql_connection.h
 include/mysql_driver.h
 lib/libmysqlcppconn-static.a
 lib/libmysqlcppconn.so
-lib/libmysqlcppconn.so.5.%%PORTVERSION%%
-lib/libmysqlcppconn.so.5
+lib/libmysqlcppconn.so.6.%%PORTVERSION%%
+lib/libmysqlcppconn.so.6
 @dirrm include/cppconn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208090924.q799OSTG091569>