Index | Thread | Search

From:
Stefan Hagen <sh+openbsd-ports@codevoid.de>
Subject:
[fix] net/synapse update README
To:
ports@openbsd.org
Cc:
Renaud Allard <renaud@allard.it>
Date:
Mon, 8 Jan 2024 10:46:45 +0100

Download raw body.

Thread
Hi,

while setting up a synapse instance, I saw that the command below
doesn't work anymore. You can either supply --generate-config OR
--generate-keys, but not both.

When doing a --generate-config, the keys are generated as well,
so this switch can simply be left out.

Maintainer on CC.

OK?

Best regards,
Stefan

Index: net/synapse/Makefile
===================================================================
RCS file: /cvs/ports/net/synapse/Makefile,v
diff -u -p -u -p -r1.69 Makefile
--- net/synapse/Makefile	1 Jan 2024 14:14:49 -0000	1.69
+++ net/synapse/Makefile	8 Jan 2024 09:40:19 -0000
@@ -7,6 +7,8 @@ GH_PROJECT =	synapse
 GH_TAGNAME =	v${MODPY_EGG_VERSION}
 CATEGORIES =	net
 
+REVISION =	0
+
 HOMEPAGE =	https://matrix.org/
 
 MAINTAINER =	Renaud Allard <renaud@allard.it>
Index: net/synapse/pkg/README
===================================================================
RCS file: /cvs/ports/net/synapse/pkg/README,v
diff -u -p -u -p -r1.4 README
--- net/synapse/pkg/README	21 Nov 2022 14:03:29 -0000	1.4
+++ net/synapse/pkg/README	8 Jan 2024 09:40:19 -0000
@@ -9,7 +9,7 @@ As root (or _synapse), go into ${LOCALST
 doas -u _synapse ${MODPY_BIN} -m synapse.app.homeserver \
 	-c ${LOCALSTATEDIR}/synapse/homeserver.yaml --generate-config \
 	--server-name matrix.example.com --report-stats=no \
-	--generate-keys --keys-directory ${LOCALSTATEDIR}/synapse
+	--keys-directory ${LOCALSTATEDIR}/synapse
 
 Register a user
 ===============