1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 1.1.2

Release notes:
  http://dev.mysql.com/doc/relnotes/connector-cpp/en/ccpp-news-1-1-2.html

- Add regression-test target for maintainer
This commit is contained in:
Pietro Cerutti 2013-02-05 16:40:35 +00:00
parent 91e365d630
commit 29b93322ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311723
3 changed files with 37 additions and 5 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mysql-connector-c++
PORTVERSION= 1.1.1
PORTREVISION= 1
PORTVERSION= 1.1.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-C++
@ -22,4 +21,37 @@ CMAKE_OUTSOURCE=yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if defined(MAINTAINER_MODE)
CMAKE_ARGS+= -DMYSQLCPPCONN_TEST_NOT_IMPLEMENTED:BOOL=1 \
-DMYSQLCPPCONN_BUILD_EXAMPLES:BOOL=1
.endif
regression-test: build
# These tests assume that a database is running on localhost,
# with user:root and pass:root
(cd ${WRKDIR}/.build ; \
test/CJUnitTestsPort/CJUnitTestsPort --verbose ; \
test/driver_test --verbose ; \
test/static_test --verbose ; \
examples/connect --verbose ; \
examples/connection_meta_schemaobj --verbose ; \
examples/debug --verbose ; \
examples/dynamic_load --verbose ; \
examples/exceptions --verbose ; \
examples/prepared_statement --verbose ; \
examples/resultset --verbose ; \
examples/resultset_binary --verbose ; \
examples/resultset_meta --verbose ; \
examples/resultset_types --verbose ; \
examples/statement --verbose ; \
test/unit/classes/art_resultset --verbose ; \
test/unit/classes/connection --verbose ; \
test/unit/classes/databasemetadata --verbose ; \
test/unit/classes/parametermetadata --verbose ; \
test/unit/classes/preparedstatement --verbose ; \
test/unit/classes/resultset --verbose ; \
test/unit/classes/resultsetmetadata --verbose ; \
test/unit/classes/savepoint --verbose ; \
test/unit/classes/statement )
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mysql-connector-c++-1.1.1.tar.gz) = 31c3e4f637153bd270812dffc6a50708dfc686a8afa7ea1c88a9dfda0d8af52e
SIZE (mysql-connector-c++-1.1.1.tar.gz) = 492659
SHA256 (mysql-connector-c++-1.1.2.tar.gz) = c4e2b1016a2daaf5853dc61c5a7a9260b4db534e1d48d9291f1b0ed3fa0f7b92
SIZE (mysql-connector-c++-1.1.2.tar.gz) = 495085

View File

@ -13,4 +13,4 @@ The JDBC 4.0 API defines approximately 450 methods for the above mentioned
classes. MySQL Connector/C++ implements around 80% of these and makes them
available in the current release.
WWW: http://forge.mysql.com/wiki/Connector_C++
WWW: http://dev.mysql.com/doc/relnotes/connector-cpp/en/index.html