databases/trilogy 2.13.0 FreeBSD
Client library for MySQL-compatible database servers
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
78181d62fc- License
- MIT
- Categories
- databases
- Package size
- 57.9 KiB, 358.8 KiB installed
Description
Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.
It's currently in production use on github.com.
Features:
- Supports the most frequently used parts of the text protocol
- Handshake
- Password authentication
- Query, ping, and quit commands
- Support prepared statements (binary protocol)
- Low-level protocol API completely decoupled from IO
- Non-blocking client API wrapping the protocol API
- Blocking client API wrapping the non-blocking API
- No dependencies outside of POSIX, the C standard library & OpenSSL
- Minimal dynamic allocation
- MIT licensed
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/trilogy | 2.13.0 |
| MidnightBSD | databases/rubygem-trilogy | 2.9.0_1 |
Install
Binary package:
pkg install trilogy
From the ports tree:
cd /usr/ports/databases/trilogy/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= trilogy>0:databases/trilogy
LIB_DEPENDS= libtrilogy.so:databases/trilogy
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 | 2.13.0 | 2.13.0 | - | 2.9.0 | 2.13.0 |
| FreeBSD:14:quarterly | 2.13.0 | 2.13.0 | n/a | 2.9.0 | 2.13.0 |
| FreeBSD:15:latest | 2.13.0 | 2.13.0 | n/a | 2.9.0 | 2.9.0 |
| FreeBSD:15:quarterly | 2.13.0 | 2.13.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.13.0 | 2.13.0 | 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 3
No port depends on this one.
Configuration
No options to configure.
- USES
- cpe gmake ssl
- Service scripts
- none
Files
pkg-plist 17
- bin/trilogy_query
- include/trilogy.h
- include/trilogy/allocator.h
- include/trilogy/blocking.h
- include/trilogy/buffer.h
- include/trilogy/builder.h
- include/trilogy/charset.h
- include/trilogy/client.h
- include/trilogy/error.h
- include/trilogy/packet_parser.h
- include/trilogy/protocol.h
- include/trilogy/reader.h
- include/trilogy/socket.h
- include/trilogy/vendor/curl_hostcheck.h
- include/trilogy/vendor/openssl_hostname_validation.h
- lib/libtrilogy.a
- lib/libtrilogy.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| trilogy-libraries-trilogy-v2.13.0_GH0.tar.gz | 133934 | 0ca4299b14985f5d7af39dc326b344b847df07aa7fed20395d64ff3b0b9d1722 |