pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

matrix-synapse: Add MESSAGE



Module Name:	pkgsrc-wip
Committed By:	Jonathan Schleifer <js%nil.im@localhost>
Pushed By:	js
Date:		Sun Aug 16 22:40:48 2020 +0200
Changeset:	da500d9e14586ab34f020f42838d209ca4941480

Modified Files:
	matrix-synapse/Makefile
Added Files:
	matrix-synapse/MESSAGE

Log Message:
matrix-synapse: Add MESSAGE

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da500d9e14586ab34f020f42838d209ca4941480

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 matrix-synapse/MESSAGE  | 11 +++++++++++
 matrix-synapse/Makefile |  3 +++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/matrix-synapse/MESSAGE b/matrix-synapse/MESSAGE
new file mode 100644
index 0000000000..dae117289d
--- /dev/null
+++ b/matrix-synapse/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD$
+
+To generate a Synapse configuration, run:
+
+${PYTHONBIN} -m synapse.app.homeserver \
+	--server-name my.domain.name \
+	--config-path ${PREFIX}/etc/matrix-synapse/homeserver.yaml \
+	--generate-config \
+	--report-stats=no
+===========================================================================
diff --git a/matrix-synapse/Makefile b/matrix-synapse/Makefile
index 14adf53065..c683a0e604 100644
--- a/matrix-synapse/Makefile
+++ b/matrix-synapse/Makefile
@@ -47,5 +47,8 @@ WRKSRC=		${WRKDIR}/synapse-${DISTNAME:S,^v,,}
 USE_LANGUAGES=	# none
 REPLACE_PERL+=	scripts/sync_room_to_group.pl
 
+MESSAGE_SUBST+=	PREFIX=${PREFIX:Q}
+MESSAGE_SUBST+=	PYTHONBIN=${PYTHONBIN:Q}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index