BSD Ports

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

SystemPortVersion
FreeBSDdatabases/trilogy2.13.0
MidnightBSDdatabases/rubygem-trilogy2.9.0_1
HardenedBSDdatabases/trilogy2.13.0
GhostBSDdatabases/trilogy2.13.0

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.13.02.13.0-2.9.02.13.0
FreeBSD:14:quarterly2.13.02.13.0n/a2.9.02.13.0
FreeBSD:15:latest2.13.02.13.0n/a2.9.02.9.0
FreeBSD:15:quarterly2.13.02.13.0n/an/an/a
FreeBSD:16:latest2.13.02.13.0n/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 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
FileSizeSHA256
trilogy-libraries-trilogy-v2.13.0_GH0.tar.gz1339340ca4299b14985f5d7af39dc326b344b847df07aa7fed20395d64ff3b0b9d1722

Commit history 2

DateCommitCreditsLog message
78181d62fc Po-Chuan Hsieh databases/trilogy: Update to 2.13.0
Changes: https://github.com/trilogy-libraries/trilogy/releases
e761a1a4eb Po-Chuan Hsieh databases/trilogy: Update to 2.12.6
Changes: https://github.com/trilogy-libraries/trilogy/releases