dev-db/rqlite: add 8.43.4

Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico 2025-09-12 18:05:23 -07:00
parent 211431f09b
commit b23d74ca26
No known key found for this signature in database
GPG Key ID: D075FB8C104A3D20
2 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST rqlite-8.36.10-deps.tar.xz 4080696 BLAKE2B c3903038a96065292209cd992bb368e7838ed824650d22b67ee0c85e1ccf33ed48d8a21b2be50c8044b95be514a8fcead6bc2c5bb9e53bb1e5e548c30dab72d8 SHA512 c93ddfdca210ca072f135a6639d9deb5a1493a256dcc2d18a18c6a6fa240dd6e04d4b76ab0e4dc205d550c961d42b68c5ba3abcc51f99f9948d4fb8e0bd4ba9a
DIST rqlite-8.36.10.tar.gz 775952 BLAKE2B b495ad8cdafe347e43721927380829ad2917ca8f5d51e6622b09bc571df333604641f55be8ec6e1b9c79040037bfc5d45e690dc482f63cf53bc500e730d84216 SHA512 eb0f381a0150bc94e20285a56a784270b4e4f1852edc48f82de5b2e64abfc314ed3a60f047f3fd9f3f3e503f1ebae8f5700ec5019c3fdd1b99a29d2159423bff
DIST rqlite-8.43.4-deps.tar.xz 4366076 BLAKE2B 461d84f9c11a6610717e729b58864ac9d6abd0c0495531bd8ae15bcf485fee6056cae8ce571fffa8ddf1e560615411601eb939b8241eb7c339d86287ec301419 SHA512 c40918fbbd51b0c3aff42297f55d8db6fa457611e4585e6d3cb61ae62aa8a0d5035867e95e0abfcf8394e733ceb46608372bbefa3a4f98bd23d9d896b92af2a3
DIST rqlite-8.43.4.tar.gz 848607 BLAKE2B 4304848992a62975b4f7d27cd211ceff2873b94fd9fbdd47e271e96d0ec7bce07b383ff5f2dcee09710ab3e290291265ce4f9f60ba33ad7c8d97677b5fa4d5af SHA512 09b385a3b2457ae111b996218c7446441049ee39466a89315c699fbfd7a1962d006d4eda7a7ca3c17cb3b4935777dbee758e2ff3171da7e6147abf4eb5a61aa0

View File

@ -0,0 +1,45 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
EGIT_COMMIT=a127df48fa5d8b907ce5a229e97c24e5ec3dd9ee
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
}