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
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/cppdb | 0.3.1_2 |
| DragonFly | databases/cppdb | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.1_2 | 0.3.1_2 | 0.3.1_2 | 0.3.1_2 | 0.3.1_2 |
| FreeBSD:14:quarterly | 0.3.1_2 | 0.3.1_2 | n/a | 0.3.1_2 | 0.3.1_2 |
| FreeBSD:15:latest | 0.3.1_2 | 0.3.1_2 | n/a | 0.3.1_2 | 0.3.1_2 |
| FreeBSD:15:quarterly | 0.3.1_2 | 0.3.1_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.1_2 | 0.3.1_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| MYSQL_DISABLE | on | Disable MySQL backend |
| MYSQL_INTERNAL | off | Link MySQL backend into CppDB |
| MYSQL_MODULE | off | Build MySQL backend as a CppDB module |
| ODBC_DISABLE | on | Disable ODBC backend |
| ODBC_INTERNAL | off | Link ODBC backend into CppDB |
| ODBC_MODULE | off | Build ODBC backend as a CppDB module |
| PGSQL_DISABLE | on | Disable PostgreSQL backend |
| PGSQL_INTERNAL | off | Link PostgreSQL backend into CppDB |
| PGSQL_MODULE | off | Build PostgreSQL backend as a CppDB module |
| SQLITE3_DISABLE | off | Disable SQLite 3 backend |
| SQLITE3_INTERNAL | off | Link SQLite 3 backend into CppDB |
| SQLITE3_MODULE | on | Build 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
| File | Size | SHA256 |
|---|---|---|
| cppdb-0.3.1.tar.bz2 | 251449 | d60eef5a732d8f84ef5e4a2845a8cefc543a6c75bf3782589c2cf6aa150b992e |
Master sites 1
- SF/cppcms/cppdb/0.3.1