net-im/zendrite: add 3.4.0, drop 3.2.1

Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
Niklaus 'vimja' Hofer committed 2026-10-04 15:18:42 +02:00
1 parent fb07bcbc11
commit 7b269840ed
3 files changed
+109 -63

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
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
DIST zendrite-3.3.0-vendor.tar.xz 15393556 BLAKE2B eb1c86b6c519ffe0ba3075825dc563a1cb1ba7f9b8c94f5be11b75babfe660df6d756eb59c51dcfe55111772eea50d5eb09cc357cae64c1b1f50063bf9b4bf2a SHA512 2525ec9885c3526355028eb4fdc60012d4299b324d419bc1191e0776c3f1291ef220925b1fb406cbdd7ce086f9886c39d7ff66792cade8bc386d2a19a42abb1f
DIST zendrite-3.3.0.tar.gz 1530970 BLAKE2B 3be64bce68d1546186adafea93b9003c4f9db8ea4c64eb9fb86992e968c0833f6d1f0a761043d52754f4bdc12bdfcf7617dbaccd60b394ee2d86ae0205976ba8 SHA512 996d9d3954bad09a23e0178c9cebe0bf29bdb64863c8b4d2294f54636a04390cef04338ff13db4107ea874e6e32a797991bd9bf451ba2b4782a85a7bf44b612b
DIST zendrite-3.4.0-vendor.tar.xz 17337076 BLAKE2B 8aee1a75cdc65b9a1f9782194bbb9ff4a9890f41ecd1c4f00870a1875007439d45755caa784d9325cbb068ddba9af3a7f25542590bccff8f822498f708071d4a SHA512 9bfd83eb02f3dd47afc432832dded222d80236b1d0de9c0d321f2eac704ff8a8eac6b91947d1cc90e164382ece39a63659849bae60783eb4bd9bb419916c6a27
DIST zendrite-3.4.0.tar.gz 1908260 BLAKE2B 3ecacdafb02b9cda19df178a66bbfb32ea82e4e6757b6f655dbb527d0a8af0c35a006aa70b7104aa8268736be9cf1bfcb336dc54574e5495c25220ee25904b05 SHA512 6b7d73c0a8d21ba1ef750f7f74186a15aaf24a43b6a82a625ea74f36e63b80d7e08b0be84dcf482d81effcd42edc5a82a7ab16ec11faa76e62204792480db106
-61
View File
@@ -1,61 +0,0 @@
# 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
}
+107
View File
@@ -0,0 +1,107 @@
# 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
"
# See https://bugs.gentoo.org/981253
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.27.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...
tests_requiring_a_postgres_installation=(
TestAdvanceOwnershipBootstrapsFirstGeneration
TestAdvanceOwnershipRejectsForeignScope
TestAdvanceOwnershipRejectsRetiredGeneration
TestAdvanceOwnershipSerializesConcurrentPromoters
TestApplicationNameSurvivesPostgresTruncation
TestBackendsAfterTheHorizonAreNotFencingEvidence
TestConfirmedOwnershipIsNotAbandoned
TestConnectionManagerAppliesTheGuard
TestContractSurface
TestDispatchedTransactionsAreNotRecalled
TestFenceBackendsTerminatesRetiredActivations
TestGuardConnectionRefusesRetiredActivation
TestGuardedConnectionsCarryTheActivationMarker
TestGuardedOpenRefusesRetiredOwnership
TestGuardedPoolDiscardsRecentlyTerminatedBackend
TestGuardedPoolDiscardsRecentlyTerminatedBackend
TestGuardedReconnectRefusesRetiredOwnership
TestHeartbeatKeepsOwnershipFresh
TestHeartbeatRetiresTheOwnerAfterTakeover
TestOwnerPartitionedFromKubernetesCannotOverlap
TestOwnershipGoesStaleWithoutAHeartbeat
TestOwnershipHistoryFailsClosedWhenTampered
TestPausedOwnerIsRefusedAtEveryBoundary
TestPrepareStorageConnectionIsFenceable
TestPrepareStorageReportsWhyItWasRefused
TestRecordWithoutContractIsRefused
TestRefusedConnectionsDoNotLeakBackends
TestResumedOwnerCannotCommitAfterTakeover
TestStorageCompatibilityAndMigrationSerialization
TestSweepNeverFencesANewerGeneration
TestUncertainFencingBlocksTakeover
TestUnguardedConnectionsKeepStandaloneBehaviour
TestUpDropEventReferenceSHAPrevEvents
TestUpgradeContractRecord
TestPostgres*
TestOutputEventTimestampUpgrade/.*
.*/postgres
.*/.*/postgres
)
skip_postgres_tests=$(
echo ${tests_requiring_a_postgres_installation[@]} | sed --expression='s/ /|/g'
)
ego test ./... -skip "${skip_postgres_tests}"
}
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
}