summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-12-17 14:29:24 -0800
committerZac Medico <zmedico@gentoo.org>2024-12-17 14:30:01 -0800
commit87f2c1139dd2ea62fc71125d97ade0615e6a1e86 (patch)
treea830f5389b311692f0e38d276ebb7a7ae0e58bce /dev-db
parenttoolchain-funcs.eclass: Add tc-check-min_ver() (diff)
downloadgentoo-87f2c1139dd2ea62fc71125d97ade0615e6a1e86.tar.gz
gentoo-87f2c1139dd2ea62fc71125d97ade0615e6a1e86.tar.bz2
gentoo-87f2c1139dd2ea62fc71125d97ade0615e6a1e86.zip
dev-db/rqlite: add 8.36.1
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/rqlite/Manifest2
-rw-r--r--dev-db/rqlite/rqlite-8.36.1.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 462fb7199c46..b317a2d47429 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -5,3 +5,5 @@ DIST rqlite-8.35.0-deps.tar.xz 4360036 BLAKE2B 0c5257790148dcdd30f7f1a6b26a77f34
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
+DIST rqlite-8.36.1-deps.tar.xz 4072108 BLAKE2B 6de07073b9ffe1a0cbbfee9360a87073d64b97afb245217435cf7153817055307a24de694e18fac030a5432eef698d78854bb1b1a106caa215c44b7e406217e4 SHA512 ef0d9db497ef341694fbff9c77674135679da1be9cc0dbc41862c8ba988e945b3cc7f3be307dabd657f22e1ffd29242846ad1075112061a4550454496d058647
+DIST rqlite-8.36.1.tar.gz 747436 BLAKE2B ba2b5d992c8b2fb2d0030fbeed63052ba54d5ec88e32d5252048c9f5bd7b9c32adb6000f50deb605fc41fc9e211c1e32ec7ae26e140be3f86968141743e5002a SHA512 4ae91aae1a6a81d8c4b8688d54ddd72f636581a4ebdffe9e347e1b25a7884870510482c7abb17623599d5b70499716aeb365a199664dcb7613b0b0d2edc34b8e
diff --git a/dev-db/rqlite/rqlite-8.36.1.ebuild b/dev-db/rqlite/rqlite-8.36.1.ebuild
new file mode 100644
index 000000000000..62c56f49f25b
--- /dev/null
+++ b/dev-db/rqlite/rqlite-8.36.1.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=73962d82db254da64e34ac54e85cef2e472d8d7d
+
+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
+}