dendrite: update to 0.12.0.

This commit is contained in:
Joel Beckmeyer 2023-03-14 14:54:28 -04:00 committed by Michal Vasilek
parent 77f4e0a85f
commit 4bc6552aef
2 changed files with 7 additions and 7 deletions

View File

@ -3,5 +3,5 @@
ulimit -n ${MAX_OPEN_FILES:-65535}
cd /var/lib/dendrite || exit 1
exec 2>&1
exec chpst -u _dendrite:_dendrite dendrite-monolith-server \
exec chpst -u _dendrite:_dendrite dendrite \
--config ${CONFIG_FILE:-/etc/dendrite/dendrite.yaml} ${OPTS}

View File

@ -1,18 +1,18 @@
# Template file for 'dendrite'
pkgname=dendrite
version=0.11.1
version=0.12.0
revision=1
build_style=go
go_import_path="github.com/matrix-org/dendrite"
go_package="./cmd/create-account ./cmd/dendrite-monolith-server
./cmd/generate-config ./cmd/generate-keys"
go_package="./cmd/create-account ./cmd/dendrite ./cmd/generate-config
./cmd/generate-keys"
short_desc="Dendrite is a second-generation Matrix homeserver written in Go"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="Apache-2.0"
homepage="https://matrix.org/docs/projects/server/dendrite"
changelog="https://raw.githubusercontent.com/matrix-org/dendrite/main/CHANGES.md"
distfiles="https://github.com/matrix-org/dendrite/archive/v${version}.tar.gz"
checksum=ca7b19e5285b634747052aaa22a9adcb010d0d3f041fccce11c9cc77d7f66fba
checksum=858a3650d957431da4e78f82d801eba6eb963fbc4e6d1dd0ecce3d5c244b265d
system_accounts="_dendrite"
_dendrite_homedir="/var/lib/dendrite"
@ -25,11 +25,11 @@ make_dirs="
pre_configure() {
vsed -e 's,\./logs,/var/log/dendrite,' \
-e 's,: matrix_key.pem,: /etc/dendrite/matrix_key.pem,' \
-i dendrite-sample.monolith.yaml
-i dendrite-sample.yaml
}
post_install() {
vsconf dendrite-sample.monolith.yaml
vsconf dendrite-sample.yaml
vsv dendrite-monolith-server
cd "${DESTDIR}"/usr/bin