mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-05 12:31:12 +02:00
dev-libs/cowsql: new package
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
56eda53b35
commit
dc26fec945
1
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST cowsql-1.15.7.tar.gz 364592 BLAKE2B d3cd4e399d029c63743cee081cd32c19fe364f4dd093c40f62162a2387a9a0da956b19f2f75dc9e556e18c8d957edcbee5c9fe449e3ba9961eb556cdc981a6e5 SHA512 d01fe084d911f13be4d21997f3ec4ba1b11d15198dbad404d55962abd4924dcc95d48eb7d8d94d3f65c512194d25acf761954994c5ffece78a27eff438441fda
|
53
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/cowsql-1.15.7.ebuild
vendored
Normal file
53
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/cowsql-1.15.7.ebuild
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine (fork of dqlite)"
|
||||
HOMEPAGE="https://cowsql.dev/ https://github.com/cowsql/cowsql"
|
||||
SRC_URI="https://github.com/cowsql/cowsql/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-db/sqlite:3
|
||||
dev-libs/libuv:=
|
||||
>=dev-libs/raft-0.18.1:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/raft[lz4,test] )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-backtrace
|
||||
--disable-debug
|
||||
--disable-sanitize
|
||||
--disable-static
|
||||
|
||||
# Will build a bundled libsqlite3.so.
|
||||
--enable-build-sqlite=no
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
diff -Naur a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2022-11-18 16:44:34.000000000 +0200
|
||||
+++ b/configure.ac 2022-11-19 09:21:24.157589426 +0200
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR([ac])
|
||||
|
||||
-AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror -Wno-portability foreign])
|
||||
+AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-portability foreign])
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
AC_PROG_CC_STDC
|
||||
@@ -82,7 +82,6 @@
|
||||
-Wdate-time \
|
||||
-Wnested-externs \
|
||||
-Wconversion \
|
||||
- -Werror \
|
||||
])
|
||||
# To enable:
|
||||
#
|
25
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/metadata.xml
vendored
Normal file
25
sdk_container/src/third_party/portage-stable/dev-libs/cowsql/metadata.xml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>juippis@gentoo.org</email>
|
||||
<name>Joonas Niilola</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>virtualization@gentoo.org</email>
|
||||
<name>Gentoo Virtualization Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
cowsql is a C library that implements an embeddable and replicated SQL
|
||||
database engine with high-availability and automatic failover.
|
||||
|
||||
Cowsql is a fork from dqlite.
|
||||
The acronym "dqlite" stands for "distributed SQLite", meaning that dqlite
|
||||
extends SQLite with a network protocol that can connect together various
|
||||
instances of your application and have them act as a highly-available
|
||||
cluster, with no dependency on external databases.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">cowsql/cowsql</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user