summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/rqlite/Manifest2
-rw-r--r--dev-db/rqlite/rqlite-8.36.0.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 5f798b426041..462fb7199c46 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -3,3 +3,5 @@ DIST rqlite-8.34.2.tar.gz 740318 BLAKE2B e123c45dc7160e3b142fe95888b6439c2876dd7
DIST rqlite-8.34.3.tar.gz 739889 BLAKE2B 0033b9b27811171a4cd0cee7f942c0f8abf017c4e614d5d7104bad91681cc611df115f04330dc5c28feb0fe5e2ebfb499002a14a313ef3ccec07ff7811a38c67 SHA512 5c2000bc6c5703ad495a064c65cfa5e492c060eaa8550b3c576137a18e337f618f0f802d57409aff8cad898e60e7954c09363e138eb1c543e52f8e96b2500430
DIST rqlite-8.35.0-deps.tar.xz 4360036 BLAKE2B 0c5257790148dcdd30f7f1a6b26a77f34a7b7bd2107bcd962bbc5753da13159b394ccf34ce5f8e4c70f86dcda6e11eb4c2f5e870ba391a1a4b5a1a2fb5fdcf59 SHA512 743948139d3776068deda400f5bae05cfe0f6248a673d9d35e4ac5d71b7faafa951306c547331829bcab1628affabd96a3be9503cb82adb76515fb699cf8995b
DIST rqlite-8.35.0.tar.gz 749440 BLAKE2B dd0490b8dd1749f17bbe3de3ad1893b35b3b318feebaa82b444ca0d17d99902bef584f7244618b2fc5629daeb116401cd70da46d8d4a9748e09d1ca90c7ee3d3 SHA512 b3728c16d1c1f4e9619de999fbd327cdde67dfc04024bb622256fc2647dd68717ed3a873aaef1a7f6cbe7d6569f9e4e8b74d5a902154490057b86a7ad1422992
+DIST rqlite-8.36.0-deps.tar.xz 4368152 BLAKE2B ff500d1c8dd0c6cbe65898250afebfac9c7c2a0093eefb679bf6861422670cd73705ba865dd1b8c20e119eb79409e367110148b11804d86f231d8233624ac2e9 SHA512 1f05bc1d7eea6958d1e6d86e9bd5660dc407bb8f71d8df63e05170a54ef019fd3ef65b5935c5166e8e62329413412833d24ec19ce15cfd17bbc79b745faa42fd
+DIST rqlite-8.36.0.tar.gz 749630 BLAKE2B efdc9d87e9588aabdb7d53a0aad4361c96473a717ab0a798ea2d623621378981593dc16ba1ffdc1c3bbef402bdf194d82f690893f3129facea88dab9abd14174 SHA512 4ebebc3a73699dd0012477d900e4861d8848087e3f9bb91d550cdb5633c69dcad24c8090245c76dd974884075ae9c6fcc83e4ea18e52819f7d1727958e535db7
diff --git a/dev-db/rqlite/rqlite-8.36.0.ebuild b/dev-db/rqlite/rqlite-8.36.0.ebuild
new file mode 100644
index 000000000000..a609238e0bb4
--- /dev/null
+++ b/dev-db/rqlite/rqlite-8.36.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+EGIT_COMMIT=72a2858148ca055442321676d28c7fbc187a9b94
+
+DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
+HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
+SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ default
+}
+
+src_prepare() {
+ ln -sv ../vendor ./ || die
+ default
+}
+
+src_compile() {
+ GOBIN="${S}/bin" \
+ ego install \
+ -ldflags="-X main.version=v${PV}
+ -X main.branch=master
+ -X main.commit=${EGIT_COMMIT}
+ -X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
+ ./cmd/... || die
+}
+
+src_test() {
+ GOBIN="${S}/bin" \
+ ego test ./... || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc -r *.md DOC
+}