diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-08 23:02:08 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-08 23:02:08 +0000 |
| commit | d158797fb371597968041baf36b014fb33c6df0a (patch) | |
| tree | f7025651dde425397f1797d88234b7aa25150033 | |
| parent | 37a4e409067a6428bd6d8078ecd8602747cf26df (diff) | |
| download | meta-virtualization-d158797fb371597968041baf36b014fb33c6df0a.tar.gz | |
cowsql: add recipe for distributed SQLite database
Distributed SQLite implementation using the Raft protocol, required
by Incus for cluster database storage.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/cowsql/cowsql_1.15.9.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-containers/cowsql/cowsql_1.15.9.bb b/recipes-containers/cowsql/cowsql_1.15.9.bb new file mode 100644 index 00000000..0436d4dd --- /dev/null +++ b/recipes-containers/cowsql/cowsql_1.15.9.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "Distributed SQLite database using the Raft protocol" | ||
| 2 | DESCRIPTION = "cowsql is a C library that implements an embeddable and \ | ||
| 3 | replicated SQL database engine with high availability and automatic \ | ||
| 4 | failover, built on top of the Raft consensus protocol." | ||
| 5 | HOMEPAGE = "https://github.com/cowsql/cowsql" | ||
| 6 | LICENSE = "LGPL-3.0-only" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=728bf7a3521f8a76af96915eae595fd4" | ||
| 8 | |||
| 9 | SRCREV = "783815b901470e27b7dfbcce3a67c888dad19e78" | ||
| 10 | SRC_URI = "git://github.com/cowsql/cowsql.git;branch=main;protocol=https" | ||
| 11 | |||
| 12 | PV = "1.15.9" | ||
| 13 | |||
| 14 | DEPENDS = "sqlite3 libuv raft" | ||
| 15 | |||
| 16 | inherit autotools-brokensep pkgconfig | ||
| 17 | |||
| 18 | EXTRA_OECONF = " \ | ||
| 19 | --disable-debug \ | ||
| 20 | --disable-sanitize \ | ||
| 21 | --disable-backtrace \ | ||
| 22 | --disable-build-sqlite \ | ||
| 23 | " | ||
| 24 | |||
| 25 | # Upstream enables -Werror; GCC 15 is stricter about const qualifiers | ||
| 26 | CFLAGS += "-Wno-error=discarded-qualifiers" | ||
| 27 | |||
