BSD Ports

databases/cppdb 0.3.1_2 FreeBSD

Platform and database independent SQL connectivity library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
523e33153b
License
BSL, MIT
Categories
databases
Package size
118.3 KiB, 755.4 KiB installed

Description

CppDB is a SQL connectivity library that is designed to provide platform and database independent connectivity API similarly to what JDBC, ODBC and other connectivity libraries do. It supports Sqlite3, PostgreSQL, MySQL and as many RDBMSs as possible via cppdb-odbc bridge.

It was written with performance, simplicity in use and locale safety as the primary goals in mind. It also provides both explicit verbose API and brief and nice syntactic sugar.

In the other systems

SystemPortVersion
FreeBSDdatabases/cppdb0.3.1_2
DragonFlydatabases/cppdb0.3.1_2

Install

Binary package:

pkg install cppdb

From the ports tree:

cd /usr/ports/databases/cppdb/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cppdb>0:databases/cppdb
LIB_DEPENDS=	libcppdb.so:databases/cppdb

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.1_20.3.1_20.3.1_20.3.1_20.3.1_2
FreeBSD:14:quarterly0.3.1_20.3.1_2n/a0.3.1_20.3.1_2
FreeBSD:15:latest0.3.1_20.3.1_2n/a0.3.1_20.3.1_2
FreeBSD:15:quarterly0.3.1_20.3.1_2n/an/an/a
FreeBSD:16:latest0.3.1_20.3.1_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 4

No port depends on this one.

Configuration

Options name: databases_cppdb

OptionDefaultDescription
MYSQL_DISABLEonDisable MySQL backend
MYSQL_INTERNALoffLink MySQL backend into CppDB
MYSQL_MODULEoffBuild MySQL backend as a CppDB module
ODBC_DISABLEonDisable ODBC backend
ODBC_INTERNALoffLink ODBC backend into CppDB
ODBC_MODULEoffBuild ODBC backend as a CppDB module
PGSQL_DISABLEonDisable PostgreSQL backend
PGSQL_INTERNALoffLink PostgreSQL backend into CppDB
PGSQL_MODULEoffBuild PostgreSQL backend as a CppDB module
SQLITE3_DISABLEoffDisable SQLite 3 backend
SQLITE3_INTERNALoffLink SQLite 3 backend into CppDB
SQLITE3_MODULEonBuild SQLite 3 backend as a CppDB module
USES
cmake tar:bzip2
Service scripts
none

Files

pkg-plist 34
  • include/cppdb/atomic_counter.h
  • include/cppdb/backend.h
  • include/cppdb/conn_manager.h
  • include/cppdb/connection_specific.h
  • include/cppdb/defs.h
  • include/cppdb/driver_manager.h
  • include/cppdb/errors.h
  • include/cppdb/frontend.h
  • include/cppdb/mutex.h
  • include/cppdb/numeric_util.h
  • include/cppdb/pool.h
  • include/cppdb/ref_ptr.h
  • include/cppdb/shared_object.h
  • include/cppdb/utils.h
  • lib/libcppdb.a
  • lib/libcppdb.so
  • lib/libcppdb.so.0
  • lib/libcppdb.so.0.3.1
  • lib/libcppdb_mysql.a
  • lib/libcppdb_mysql.so
  • lib/libcppdb_mysql.so.0
  • lib/libcppdb_mysql.so.0.3.1
  • lib/libcppdb_odbc.a
  • lib/libcppdb_odbc.so
  • lib/libcppdb_odbc.so.0
  • lib/libcppdb_odbc.so.0.3.1
  • lib/libcppdb_postgresql.a
  • lib/libcppdb_postgresql.so
  • lib/libcppdb_postgresql.so.0
  • lib/libcppdb_postgresql.so.0.3.1
  • lib/libcppdb_sqlite3.a
  • lib/libcppdb_sqlite3.so
  • lib/libcppdb_sqlite3.so.0
  • lib/libcppdb_sqlite3.so.0.3.1
distinfo 1
FileSizeSHA256
cppdb-0.3.1.tar.bz2251449d60eef5a732d8f84ef5e4a2845a8cefc543a6c75bf3782589c2cf6aa150b992e
Master sites 1
  • SF/cppcms/cppdb/0.3.1

Commit history 1

DateCommitCreditsLog message
523e33153b Mamadou Babaei databases/cppdb: Fix building with CMake 4
PR: 297948