net-im/zendrite: add 3.2.1

Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
Niklaus 'vimja' Hofer committed 2026-09-06 01:51:30 +02:00
1 parent 5870140950
commit df6a61a774
2 files changed
+63

No files matched your search

+2
View File
@@ -1,2 +1,4 @@
DIST zendrite-3.2.0-vendor.tar.xz 14934332 BLAKE2B f88a4401ca9823da25b50355b638e93705abbd68fc59ffc4ab3804dc272c1954062244e3601e5b9aa13233fd7964fc7170a0aa700c680d1c04a8a0caab6dd3a5 SHA512 de85ebdbdf6373b133a47aeb05ef666772ca401ad02e23e9e97f3ae5f28aa48054d21ef6246da76c167248535a3a2a2355cd64ed08bda9cd32d66463fceb395f
DIST zendrite-3.2.0.tar.gz 1451035 BLAKE2B 569f993180c91c14c14ca725782d3602ab6e4f45b22f0bc87b9011d566fd7c769a5f9dd422224b83fb83ff7499b21253266f00b9c2068476afa28253a7daeb67 SHA512 4233e77196bc5fb5a6ff41b1d14bc84d03e5ca149ca1af6105c0fb24d1c939fb59defa307bcbb785b24926b3c576cc92533fad1c45fa14970e6f339667971517
DIST zendrite-3.2.1-vendor.tar.xz 14380212 BLAKE2B ced1718078453da409da18d9b7e6a2dc3b2e5fe4e02de78ca6fcd4eebb7103ecdb5f558093eb50ee237d4a300b1cc1fb483db5e6777f26f60e12c0390ea91dcb SHA512 29f6ac4dd885b36de35c44c190e3e66f7b1ea6c2fe75bb8b31b01625237e8675635cd83f24baac7dcd694e81d0856d133a7c381521189eb43c24e8b63c99c414
DIST zendrite-3.2.1.tar.gz 1455252 BLAKE2B 690eba854ecc441d87b5022dd4e38f6da9e61e68528389258aad1ca31bd0e78c29523e5ea47e8d8e1c2b4dffb6dc30be7b908b1c9747b07dfff162800980e040 SHA512 5e6d3cf9a81e7d580012c8a7e51cf414140ebaa3151a7ab991e07a12d31bc33d321d3c843bb343dc65f5d34b866273420119e77de27d3b72d2a04fc3a7d97439
+61
View File
@@ -0,0 +1,61 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Zendrite is a second-generation Matrix homeserver written in Go"
HOMEPAGE="
https://zendrite.pat-s.me/
https://codefloe.com/pat-s/zendrite
"
SRC_URI="
https://codefloe.com/pat-s/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://vimja.cloud/public.php/dav/files/z59eKDyLFokW2KK/${CATEGORY}/${PN}/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}"
# https://wiki.gentoo.org/wiki/Writing_go_Ebuilds#Licenses
LICENSE="AGPL-3+ Apache-2.0 BSD MIT MPL-2.0 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
>=dev-lang/go-1.26.0
test? ( dev-libs/olm )
"
RDEPEND="
acct-user/zendrite
acct-group/zendrite
"
src_compile() {
ego build ./...
GOBIN="${S}/bin" ego install ./...
}
src_test() {
# Do not run tests that require access to a working PostgreSQL installation...
ego test ./... -skip "TestUpDropEventReferenceSHAPrevEvents|.*/postgres|.*/.*/postgres"
}
src_install() {
dobin "${S}"/bin/*
insinto /etc/zendrite
doins "${S}"/zendrite-sample.yaml
newinitd "${FILESDIR}"/init.1 zendrite
newconfd "${FILESDIR}"/conf.1 zendrite
keepdir /var/log/zendrite
keepdir /var/lib/zendrite
fowners zendrite:zendrite /var/log/zendrite
}