diff options
author | gahr <gahr@FreeBSD.org> | 2013-02-06 00:40:35 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-02-06 00:40:35 +0800 |
commit | 8593ecb4406f0e8f585c8c1e83e94d7a42a206d5 (patch) | |
tree | 44c165a6711a52a725ab345b7a049a95b870bbde | |
parent | 6e4b8b0fd5b90667404255713059908e7723b85f (diff) | |
download | freebsd-ports-gnome-8593ecb4406f0e8f585c8c1e83e94d7a42a206d5.tar.gz freebsd-ports-gnome-8593ecb4406f0e8f585c8c1e83e94d7a42a206d5.tar.zst freebsd-ports-gnome-8593ecb4406f0e8f585c8c1e83e94d7a42a206d5.zip |
- 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
-rw-r--r-- | databases/mysql-connector-c++/Makefile | 36 | ||||
-rw-r--r-- | databases/mysql-connector-c++/distinfo | 4 | ||||
-rw-r--r-- | databases/mysql-connector-c++/pkg-descr | 2 |
3 files changed, 37 insertions, 5 deletions
diff --git a/databases/mysql-connector-c++/Makefile b/databases/mysql-connector-c++/Makefile index 9b49315deb5f..a400105a702b 100644 --- a/databases/mysql-connector-c++/Makefile +++ b/databases/mysql-connector-c++/Makefile @@ -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> diff --git a/databases/mysql-connector-c++/distinfo b/databases/mysql-connector-c++/distinfo index 2a9a285bc031..44bc809802a2 100644 --- a/databases/mysql-connector-c++/distinfo +++ b/databases/mysql-connector-c++/distinfo @@ -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 diff --git a/databases/mysql-connector-c++/pkg-descr b/databases/mysql-connector-c++/pkg-descr index dc07cfaf5ea7..48be25c944ac 100644 --- a/databases/mysql-connector-c++/pkg-descr +++ b/databases/mysql-connector-c++/pkg-descr @@ -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 |