Date: Mon, 4 Feb 2013 09:57:51 +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: r311595 - in head/databases/mysql-connector-c: . files Message-ID: <201302040957.r149vpUZ080602@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Mon Feb 4 09:57:50 2013 New Revision: 311595 URL: http://svnweb.freebsd.org/changeset/ports/311595 Log: - New port: databases/mysql-connector-c MySQL Connector/C is a C client library for client/server communication. It is a standalone replacement for the MySQL Client Library shipped with the MySQL Server. WWW: http://dev.mysql.com/downloads/connector/c/ Added: head/databases/mysql-connector-c/ head/databases/mysql-connector-c/Makefile (contents, props changed) head/databases/mysql-connector-c/distinfo (contents, props changed) head/databases/mysql-connector-c/files/ head/databases/mysql-connector-c/files/patch-CMakeLists.txt (contents, props changed) head/databases/mysql-connector-c/files/patch-CMakePlatformTests.txt (contents, props changed) head/databases/mysql-connector-c/files/patch-libmysql_CMakeLists.txt (contents, props changed) head/databases/mysql-connector-c/files/patch-mysql_config_CMakeLists.txt (contents, props changed) head/databases/mysql-connector-c/files/patch-mysql_config_mysql_config.c.in (contents, props changed) head/databases/mysql-connector-c/pkg-descr (contents, props changed) head/databases/mysql-connector-c/pkg-plist (contents, props changed) Added: head/databases/mysql-connector-c/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/Makefile Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,21 @@ +# Created by: gahr +# $FreeBSD$ + +PORTNAME= mysql-connector-c +PORTVERSION= 6.0.2 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_MYSQL} +MASTER_SITE_SUBDIR= Connector-C + +MAINTAINER= gahr@FreeBSD.org +COMMENT= MySQL database connector for C + +LICENSE= GPLv2 + +USE_MYSQL= 51+ +USE_CMAKE= yes +USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} + +PLIST_SUB+= PORTVERSION=${PORTVERSION} + +.include <bsd.port.mk> Added: head/databases/mysql-connector-c/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/distinfo Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,2 @@ +SHA256 (mysql-connector-c-6.0.2.tar.gz) = 4b8cb0846d4084c77699399d017989e49c8fea70dcfdd1aac0ebdcff07b6daaa +SIZE (mysql-connector-c-6.0.2.tar.gz) = 2794254 Added: head/databases/mysql-connector-c/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/files/patch-CMakeLists.txt Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,18 @@ +--- CMakeLists.txt.orig 2009-08-07 14:31:12.000000000 +0200 ++++ CMakeLists.txt 2013-02-01 17:33:24.000000000 +0100 +@@ -318,7 +318,7 @@ + ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + + INSTALL(DIRECTORY "include/" +- DESTINATION "include" ++ DESTINATION "include/mysql-connector-c/" + FILES_MATCHING PATTERN "*.h") + + # ---------------------------------------------------------------------- +@@ -366,6 +366,4 @@ + SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") + ENDIF(WIN32) + +-INSTALL(FILES "README" "COPYING" "LICENSE.mysql" "EXCEPTIONS-CLIENT" "ChaneLog" DESTINATION "." OPTIONAL) +- + INCLUDE(CPack) Added: head/databases/mysql-connector-c/files/patch-CMakePlatformTests.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/files/patch-CMakePlatformTests.txt Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,11 @@ +--- CMakePlatformTests.txt.orig 2013-02-01 17:25:53.000000000 +0100 ++++ CMakePlatformTests.txt 2013-02-01 17:26:03.000000000 +0100 +@@ -55,7 +55,7 @@ + CHECK_INCLUDE_FILES (sys/socket.h HAVE_SYS_SOCKET_H) + CHECK_INCLUDE_FILES (sys/stat.h HAVE_SYS_STAT_H) + CHECK_INCLUDE_FILES (sys/stream.h HAVE_SYS_STREAM_H) +-CHECK_INCLUDE_FILES (sys/timeb.h HAVE_SYS_TIMEB_H) ++#CHECK_INCLUDE_FILES (sys/timeb.h HAVE_SYS_TIMEB_H) + CHECK_INCLUDE_FILES (sys/types.h HAVE_SYS_TYPES_H) + CHECK_INCLUDE_FILES (sys/un.h HAVE_SYS_UN_H) + CHECK_INCLUDE_FILES (termios.h HAVE_TERMIOS_H) Added: head/databases/mysql-connector-c/files/patch-libmysql_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/files/patch-libmysql_CMakeLists.txt Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,15 @@ +--- libmysql/CMakeLists.txt.orig 2013-02-01 17:34:32.000000000 +0100 ++++ libmysql/CMakeLists.txt 2013-02-01 17:34:57.000000000 +0100 +@@ -146,9 +146,9 @@ + ARCHIVE DESTINATION "lib") + ELSE(WIN32) + INSTALL(TARGETS libmysql mysqlclient +- LIBRARY DESTINATION "lib" +- ARCHIVE DESTINATION "lib") ++ LIBRARY DESTINATION "lib/mysql-connector-c/" ++ ARCHIVE DESTINATION "lib/mysql-connector-c/") + INSTALL(FILES ${CMAKE_SOURCE_DIR}/libmysql/libmysqlclient${CMAKE_SHARED_LIBRARY_SUFFIX} + ${CMAKE_SOURCE_DIR}/libmysql/libmysqlclient_r${CMAKE_SHARED_LIBRARY_SUFFIX} +- DESTINATION "lib") ++ DESTINATION "lib/mysql-connector-c/") + ENDIF(WIN32) Added: head/databases/mysql-connector-c/files/patch-mysql_config_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/files/patch-mysql_config_CMakeLists.txt Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,8 @@ +--- mysql_config/CMakeLists.txt.orig 2013-02-01 17:36:54.000000000 +0100 ++++ mysql_config/CMakeLists.txt 2013-02-01 17:37:06.000000000 +0100 +@@ -32,4 +32,4 @@ + # Installation + # + INSTALL(TARGETS mysql_config +- DESTINATION "bin") ++ DESTINATION "bin/mysql-connector-c/") Added: head/databases/mysql-connector-c/files/patch-mysql_config_mysql_config.c.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/files/patch-mysql_config_mysql_config.c.in Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,13 @@ +--- mysql_config/mysql_config.c.in.orig 2013-02-01 17:35:59.000000000 +0100 ++++ mysql_config/mysql_config.c.in 2013-02-01 17:36:22.000000000 +0100 +@@ -18,8 +18,8 @@ + #include <my_getopt.h> + #include <stdio.h> + +-#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/include" +-#define LIBS "-L@CMAKE_INSTALL_PREFIX@/lib -lmysql" \ ++#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/include/mysql-connector-c" ++#define LIBS "-L@CMAKE_INSTALL_PREFIX@/lib/mysql-connector-c -lmysql" \ + "@extra_dynamic_LDFLAGS@" + #define CFLAGS INCLUDE + #define VERSION "@CONNECTOR_C_VERSION@" Added: head/databases/mysql-connector-c/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/pkg-descr Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,5 @@ +MySQL Connector/C is a C client library for client/server communication. It is +a standalone replacement for the MySQL Client Library shipped with the MySQL +Server. + +WWW: http://dev.mysql.com/downloads/connector/c/ Added: head/databases/mysql-connector-c/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mysql-connector-c/pkg-plist Mon Feb 4 09:57:50 2013 (r311595) @@ -0,0 +1,78 @@ +include/mysql-connector-c/atomic/gcc_builtins.h +include/mysql-connector-c/atomic/generic-msvc.h +include/mysql-connector-c/atomic/nolock.h +include/mysql-connector-c/atomic/rwlock.h +include/mysql-connector-c/atomic/x86-gcc.h +include/mysql-connector-c/base64.h +include/mysql-connector-c/config-win.h +include/mysql-connector-c/decimal.h +include/mysql-connector-c/errmsg.h +include/mysql-connector-c/hash.h +include/mysql-connector-c/keycache.h +include/mysql-connector-c/lf.h +include/mysql-connector-c/m_ctype.h +include/mysql-connector-c/m_string.h +include/mysql-connector-c/my_aes.h +include/mysql-connector-c/my_alarm.h +include/mysql-connector-c/my_alloc.h +include/mysql-connector-c/my_atomic.h +include/mysql-connector-c/my_attribute.h +include/mysql-connector-c/my_base.h +include/mysql-connector-c/my_bit.h +include/mysql-connector-c/my_bitmap.h +include/mysql-connector-c/my_charsets.h +include/mysql-connector-c/my_dbug.h +include/mysql-connector-c/my_dir.h +include/mysql-connector-c/my_getopt.h +include/mysql-connector-c/my_global.h +include/mysql-connector-c/my_libwrap.h +include/mysql-connector-c/my_list.h +include/mysql-connector-c/my_md5.h +include/mysql-connector-c/my_net.h +include/mysql-connector-c/my_no_pthread.h +include/mysql-connector-c/my_nosys.h +include/mysql-connector-c/my_pthread.h +include/mysql-connector-c/my_stacktrace.h +include/mysql-connector-c/my_sys.h +include/mysql-connector-c/my_time.h +include/mysql-connector-c/my_tree.h +include/mysql-connector-c/my_trie.h +include/mysql-connector-c/my_uctype.h +include/mysql-connector-c/my_vle.h +include/mysql-connector-c/my_xml.h +include/mysql-connector-c/myisampack.h +include/mysql-connector-c/mysql.h +include/mysql-connector-c/mysql_com.h +include/mysql-connector-c/mysql_time.h +include/mysql-connector-c/mysqld_error.h +include/mysql-connector-c/mysys/rijndael.h +include/mysql-connector-c/mysys_err.h +include/mysql-connector-c/queues.h +include/mysql-connector-c/service_versions.h +include/mysql-connector-c/sha1.h +include/mysql-connector-c/sha2.h +include/mysql-connector-c/sql_common.h +include/mysql-connector-c/sslopt-case.h +include/mysql-connector-c/sslopt-longopts.h +include/mysql-connector-c/sslopt-vars.h +include/mysql-connector-c/t_ctype.h +include/mysql-connector-c/thr_alarm.h +include/mysql-connector-c/thr_lock.h +include/mysql-connector-c/typelib.h +include/mysql-connector-c/violite.h +include/mysql-connector-c/waiting_threads.h +include/mysql-connector-c/wqueue.h +include/mysql-connector-c/mysql_version.h +include/mysql-connector-c/my_config.h +lib/mysql-connector-c/libmysql.so.16.0.0 +lib/mysql-connector-c/libmysql.so.16 +lib/mysql-connector-c/libmysql.so +lib/mysql-connector-c/libmysqlclient.a +lib/mysql-connector-c/libmysqlclient.so +lib/mysql-connector-c/libmysqlclient_r.so +bin/mysql-connector-c/mysql_config +@dirrm lib/mysql-connector-c +@dirrm include/mysql-connector-c/atomic +@dirrm include/mysql-connector-c/mysys +@dirrm include/mysql-connector-c +@dirrm bin/mysql-connector-c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302040957.r149vpUZ080602>