net-im/zendrite - 3.2.0 (guru)

Search

Install

Install this version:

emerge -a =net-im/zendrite-3.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-im/zendrite-3.2.0

Or alternatively:

emerge --autounmask-write -a =net-im/zendrite-3.2.0

Package Information

Description:
Zendrite is a second-generation Matrix homeserver written in Go
Homepage:
https://zendrite.pat-s.me/ https://codefloe.com/pat-s/zendrite
License:
AGPL-3+ Apache-2.0 BSD MIT MPL-2.0 ZLIB

Ebuild Details

Version EAPI Keywords Slot
3.2.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# 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.25.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
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-im/zendrite | euse -E <flag> -p net-im/zendrite | euse -D <flag> -p net-im/zendrite

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	acct-user/zendrite
	acct-group/zendrite

BDEPEND

	>=dev-lang/go-1.25.0
	test? ( dev-libs/olm )

Manifest for 3.2.0

Type File Size Source URLs
DIST zendrite-3.2.0-vendor.tar.xz 14934332 bytes https://vimja.cloud/public.php/dav/files/z59eKDyLFokW2KK//zendrite/zendrite-3.2.0-vendor.tar.xz
DIST zendrite-3.2.0.tar.gz 1451035 bytes https://codefloe.com/pat-s/zendrite/archive/v3.2.0.tar.gz