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} ulimit -n ${MAX_OPEN_FILES:-65535}
cd /var/lib/dendrite || exit 1 cd /var/lib/dendrite || exit 1
exec 2>&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} --config ${CONFIG_FILE:-/etc/dendrite/dendrite.yaml} ${OPTS}

View File

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