git: 845a1be56351 - main - databases/mysql++: New port: C++ wrapper for the MySQL and MariaDB C APIs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Nov 2022 23:55:12 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=845a1be56351f454d057e5d2047e86b14f704b36 commit 845a1be56351f454d057e5d2047e86b14f704b36 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-11-25 21:55:10 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-11-25 23:55:09 +0000 databases/mysql++: New port: C++ wrapper for the MySQL and MariaDB C APIs --- MOVED | 1 - databases/Makefile | 1 + databases/mysql++/Makefile | 22 +++++++++++++++ databases/mysql++/distinfo | 3 ++ databases/mysql++/files/patch-Makefile.in | 12 ++++++++ databases/mysql++/pkg-descr | 5 ++++ databases/mysql++/pkg-plist | 46 +++++++++++++++++++++++++++++++ 7 files changed, 89 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 74793f35bf8c..c61ee607aef8 100644 --- a/MOVED +++ b/MOVED @@ -2481,7 +2481,6 @@ chinese/gbscript||2011-09-01|Has expired: No more public distfiles chinese/mplayer-fonts||2011-09-01|Has expired: No more public distfiles chinese/oxford||2011-09-01|Has expired: No more public distfiles chinese/vflib||2011-09-01|Has expired: No more public distfiles -databases/mysql++||2011-09-01|Has expired: No more public distfiles databases/mysql_last_value||2011-09-01|Has expired: No Master Site databases/p5-DBIx-Table||2011-09-01|Has expired: No more public distfiles deskutils/gkrellm-gtodo||2011-09-01|Has expired: No more public distfiles diff --git a/databases/Makefile b/databases/Makefile index 692d03e255e6..909d5682b01b 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -196,6 +196,7 @@ SUBDIR += mtop SUBDIR += mydumper SUBDIR += mysac + SUBDIR += mysql++ SUBDIR += mysql-connector-c SUBDIR += mysql-connector-c++ SUBDIR += mysql-connector-java diff --git a/databases/mysql++/Makefile b/databases/mysql++/Makefile new file mode 100644 index 000000000000..9c7c229a57a6 --- /dev/null +++ b/databases/mysql++/Makefile @@ -0,0 +1,22 @@ +PORTNAME= mysql++ +DISTVERSION= 3.3.0 +CATEGORIES= databases devel +MASTER_SITES= https://tangentsoft.com/mysqlpp/releases/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ wrapper for the MySQL and MariaDB C APIs +WWW= https://tangentsoft.com/mysqlpp + +LICENSE= LGPL21 + +USES= gmake mysql +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes + +TEST_TARGET= tests # unclear how to run tests + +post-configure: + @${RM} ${WRKSRC}/version + +.include <bsd.port.mk> diff --git a/databases/mysql++/distinfo b/databases/mysql++/distinfo new file mode 100644 index 000000000000..0206dc26b917 --- /dev/null +++ b/databases/mysql++/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669410555 +SHA256 (mysql++-3.3.0.tar.gz) = 449cbc46556cc2cc9f9d6736904169a8df6415f6960528ee658998f96ca0e7cf +SIZE (mysql++-3.3.0.tar.gz) = 4635623 diff --git a/databases/mysql++/files/patch-Makefile.in b/databases/mysql++/files/patch-Makefile.in new file mode 100644 index 000000000000..b11ad758d559 --- /dev/null +++ b/databases/mysql++/files/patch-Makefile.in @@ -0,0 +1,12 @@ +--- Makefile.in.orig 2022-11-25 21:14:38 UTC ++++ Makefile.in +@@ -313,7 +313,8 @@ COND_USE_SOTWOSYMLINKS_1___mysqlpp___so_symlinks_unins + + ### Targets: ### + +-all: $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT) ssqlsxlat$(EXEEXT) test_array_index$(EXEEXT) test_cpool$(EXEEXT) test_datetime$(EXEEXT) test_inttypes$(EXEEXT) test_insertpolicy$(EXEEXT) test_manip$(EXEEXT) test_null_comparison$(EXEEXT) test_query_copy$(EXEEXT) test_qssqls$(EXEEXT) test_qstream$(EXEEXT) test_sqlstream$(EXEEXT) test_ssqls2$(EXEEXT) test_string$(EXEEXT) test_tcp$(EXEEXT) test_uds$(EXEEXT) test_wnp$(EXEEXT) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) cgi_jpeg$(EXEEXT) cpool$(EXEEXT) dbinfo$(EXEEXT) deadlock$(EXEEXT) fieldinf$(EXEEXT) for_each$(EXEEXT) load_jpeg$(EXEEXT) multiquery$(EXEEXT) resetdb$(EXEEXT) simple1$(EXEEXT) simple2$(EXEEXT) simple3$(EXEEXT) ssqls1$(EXEEXT) ssqls2$(EXEEXT) ssqls3$(EXEEXT) ssqls4$(EXEEXT) ssqls5$(EXEEXT) ssqls6$(EXEEXT) store_if$(EXEEXT) tquery1$(EXEEXT) tquery2$(EXEEXT) tquery3$(EXEEXT) tquery4$(EXEEXT) transaction$(EXEEXT) ++all: $(DLLPREFIX)mysqlpp$(__mysqlpp___targetsuf3) $(LIBPREFIX)mysqlpp_ssqls2parse$(LIBEXT) ssqlsxlat$(EXEEXT) $(LIBPREFIX)mysqlpp_excommon$(LIBEXT) cgi_jpeg$(EXEEXT) cpool$(EXEEXT) dbinfo$(EXEEXT) deadlock$(EXEEXT) fieldinf$(EXEEXT) for_each$(EXEEXT) load_jpeg$(EXEEXT) multiquery$(EXEEXT) resetdb$(EXEEXT) simple1$(EXEEXT) simple2$(EXEEXT) simple3$(EXEEXT) ssqls1$(EXEEXT) ssqls2$(EXEEXT) ssqls3$(EXEEXT) ssqls4$(EXEEXT) ssqls5$(EXEEXT) ssqls6$(EXEEXT) store_if$(EXEEXT) tquery1$(EXEEXT) tquery2$(EXEEXT) tquery3$(EXEEXT) tquery4$(EXEEXT) transaction$(EXEEXT) ++tests: test_array_index$(EXEEXT) test_cpool$(EXEEXT) test_datetime$(EXEEXT) test_inttypes$(EXEEXT) test_insertpolicy$(EXEEXT) test_manip$(EXEEXT) test_null_comparison$(EXEEXT) test_query_copy$(EXEEXT) test_qssqls$(EXEEXT) test_qstream$(EXEEXT) test_sqlstream$(EXEEXT) test_ssqls2$(EXEEXT) test_string$(EXEEXT) test_tcp$(EXEEXT) test_uds$(EXEEXT) test_wnp$(EXEEXT) + + install: install_mysqlpp + $(INSTALL_DIR) $(DESTDIR)$(prefix)/include/mysql++ diff --git a/databases/mysql++/pkg-descr b/databases/mysql++/pkg-descr new file mode 100644 index 000000000000..f688106e0923 --- /dev/null +++ b/databases/mysql++/pkg-descr @@ -0,0 +1,5 @@ +MySQL++ is a C++ wrapper for the MySQL and MariaDB C APIs. It is built on the +same principles as the Standard C++ Library to make dealing with the database +as easy as dealing with std containers. MySQL++ lets you avoid the most +repetitive sorts of SQL by providing native C++ interfaces for these common +tasks. diff --git a/databases/mysql++/pkg-plist b/databases/mysql++/pkg-plist new file mode 100644 index 000000000000..5c77b3248a76 --- /dev/null +++ b/databases/mysql++/pkg-plist @@ -0,0 +1,46 @@ +include/mysql++/autoflag.h +include/mysql++/beemutex.h +include/mysql++/cmdline.h +include/mysql++/common.h +include/mysql++/comparable.h +include/mysql++/connection.h +include/mysql++/cpool.h +include/mysql++/datetime.h +include/mysql++/dbdriver.h +include/mysql++/exceptions.h +include/mysql++/field.h +include/mysql++/field_names.h +include/mysql++/field_types.h +include/mysql++/insertpolicy.h +include/mysql++/manip.h +include/mysql++/myset.h +include/mysql++/mysql++.h +include/mysql++/mystring.h +include/mysql++/noexceptions.h +include/mysql++/null.h +include/mysql++/options.h +include/mysql++/qparms.h +include/mysql++/query.h +include/mysql++/querydef.h +include/mysql++/refcounted.h +include/mysql++/result.h +include/mysql++/row.h +include/mysql++/scopedconnection.h +include/mysql++/sql_buffer.h +include/mysql++/sql_types.h +include/mysql++/sqlstream.h +include/mysql++/ssqls.h +include/mysql++/ssqls2.h +include/mysql++/stadapter.h +include/mysql++/stream2string.h +include/mysql++/tcp_connection.h +include/mysql++/tiny_int.h +include/mysql++/transaction.h +include/mysql++/type_info.h +include/mysql++/uds_connection.h +include/mysql++/utility.h +include/mysql++/vallist.h +include/mysql++/wnp_connection.h +lib/libmysqlpp.so +lib/libmysqlpp.so.3 +lib/libmysqlpp.so.3.3.0