pkgsrc-WIP-changes archive

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

Add py-matrix-synapse



Module Name:	pkgsrc-wip
Committed By:	Keke <kethzer.dr%gmail.com@localhost>
Pushed By:	kethzer.dr
Date:		Tue Aug 29 10:01:46 2017 -0400
Changeset:	59368b1a3e8960363b2c1c277bf46cc1315d83cb

Modified Files:
	Makefile
Added Files:
	py-matrix-synapse/DESCR
	py-matrix-synapse/MESSAGE
	py-matrix-synapse/Makefile
	py-matrix-synapse/PLIST
	py-matrix-synapse/distinfo
	py-matrix-synapse/files/homeserver.yaml
	py-matrix-synapse/files/log.config
	py-matrix-synapse/files/synapse.sh
	py-matrix-synapse/options.mk
	py-matrix-synapse/patches/patch-synapse_python__dependencies.py

Log Message:
Add py-matrix-synapse

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

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

diffstat:
 Makefile                                           |    1 +
 py-matrix-synapse/DESCR                            |    1 +
 py-matrix-synapse/MESSAGE                          |   23 +
 py-matrix-synapse/Makefile                         |   78 ++
 py-matrix-synapse/PLIST                            | 1036 ++++++++++++++++++++
 py-matrix-synapse/distinfo                         |    7 +
 py-matrix-synapse/files/homeserver.yaml            |  471 +++++++++
 py-matrix-synapse/files/log.config                 |   35 +
 py-matrix-synapse/files/synapse.sh                 |   54 +
 py-matrix-synapse/options.mk                       |   23 +
 .../patches/patch-synapse_python__dependencies.py  |   13 +
 11 files changed, 1742 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b05b30c9c1..963254e011 100644
--- a/Makefile
+++ b/Makefile
@@ -3306,6 +3306,7 @@ SUBDIR+=	py-markovchain
 SUBDIR+=	py-math-snappy
 SUBDIR+=	py-mathjspy
 SUBDIR+=	py-matplottheme
+SUBDIR+=	py-matrix-synapse
 SUBDIR+=	py-mave
 SUBDIR+=	py-mcerp
 SUBDIR+=	py-mcint
diff --git a/py-matrix-synapse/DESCR b/py-matrix-synapse/DESCR
new file mode 100644
index 0000000000..62c4277405
--- /dev/null
+++ b/py-matrix-synapse/DESCR
@@ -0,0 +1 @@
+Matrix is an open federated Instant Messaging and VoIP
diff --git a/py-matrix-synapse/MESSAGE b/py-matrix-synapse/MESSAGE
new file mode 100644
index 0000000000..f10ec8ec18
--- /dev/null
+++ b/py-matrix-synapse/MESSAGE
@@ -0,0 +1,23 @@
+Configuring Synapse:
+
+You may use the sample config located at @PREFIX@/etc to get started. It
+already is configured to find the configuration in that location and
+places the database in @SYNAPSE_DATADIR@ and the logs in @SYNAPSE_LOGDIR@,
+but there are some crucial values you will need to populate with unique data:
+registration_shared_secret and macaroon_secret_key. Both of these
+by default are 50 character random strings. These are by default set to
+CHANGEME_50CHAR_RANDOM in the sample homeserver.yaml.
+
+If you wish to have Synapse handle this for you including generation of
+self-signed TLS certificates and dhparams you can use the following
+command:
+
+@PYTHON_CMD@ -B -m synapse.app.homeserver -c @PREFIX@/etc/homeserver.yaml\
+ --generate-config --server-name=example.com
+
+Please note that you will still need to manually configure paths to log
+directory, database, and media storage with this method.
+
+It is also important that you deploy a TLS certificate that your
+clients accept as valid or some functionality will fail to work
+correctly (eg, media file retrieval).
diff --git a/py-matrix-synapse/Makefile b/py-matrix-synapse/Makefile
new file mode 100644
index 0000000000..0c0d20c232
--- /dev/null
+++ b/py-matrix-synapse/Makefile
@@ -0,0 +1,78 @@
+# $NetBSD$
+
+DISTNAME=	synapse-v0.22.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/v//}
+CATEGORIES=	chat
+GITHUB_PROJECT=	synapse
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=matrix-org/}
+EXTRACT_SUFX=	.zip
+
+MAINTAINER=	kethzer.dr%gmail.com@localhost
+HOMEPAGE=	https://github.com/matrix-org/
+COMMENT=	Matrix is an open federated Instant Messaging and VoIP
+LICENSE=	apache-2.0
+
+
+DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+= ${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
+DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
+DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
+DEPENDS+= ${PYPKGPREFIX}-daemonize-[0-9]*:../../devel/py-daemonize
+DEPENDS+= ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
+DEPENDS+= ${PYPKGPREFIX}-ujson-[0-9]*:../../textproc/py-ujson
+DEPENDS+= ${PYPKGPREFIX}-msgpack-[0-9]*:../../devel/py-msgpack
+DEPENDS+= ${PYPKGPREFIX}-phonenumbers-[0-9]*:../../textproc/py-phonenumbers
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+DEPENDS+= ${PYPKGPREFIX}-frozendict-[0-9]*:../../wip/py-frozendict
+DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64-[0-9]*:../../wip/py-unpaddedbase64
+DEPENDS+= ${PYPKGPREFIX}-canonicaljson-[0-9]*:../../wip/py-canonicaljson
+#DEPENDS+= ${PYPKGPREFIX}-macaroons-[0-9]*:../../wip/py-macaroons
+#DEPENDS+= ${PYPKGPREFIX}-pycryptodomex-[0-9]*:../../wip/py-pycryptodomex
+DEPENDS+= ${PYPKGPREFIX}-pydenticon-[0-9]*:../../wip/py-pydenticon
+DEPENDS+= ${PYPKGPREFIX}-pysaml2-[0-9]*:../../wip/py-pysaml2
+DEPENDS+= ${PYPKGPREFIX}-repoze.who-[0-9]*:../../wip/py-repoze.who
+DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
+
+DEPENDS+=       zip>=3.0:../../archivers/zip
+DEPENDS+=       freetype>=1.5:../../graphics/freetype
+
+WRKSRC=         ${WRKDIR}/${DISTNAME:S/v//}
+
+SYNAPSE_USER?=            synapse
+SYNAPSE_GROUP?=           synapse
+SYNAPSE_DATADIR?=         ${VARBASE}/db/synapse
+SYNAPSE_LOGDIR?=          ${VARBASE}/log/synapse
+SYNAPSE_PIDDIR?=          ${VARBASE}/run
+
+BUILD_DEFS+=            SYNAPSE_DATADIR SYNAPSE_LOGDIR SYNAPSE_PIDDIR VARBASE
+
+PKG_USERS_VARS+=        SYNAPSE_USER
+PKG_GROUPS_VARS+=       SYNAPSE_GROUP
+PKG_GROUPS=             ${SYNAPSE_GROUP}
+PKG_USERS=              ${SYNAPSE_USER}:${SYNAPSE_GROUP}
+
+PKG_GECOS.${SYNAPSE_USER}=SYNAPSE chat server user
+PKG_HOME.${SYNAPSE_USER}= ${SYNAPSE_DATADIR}
+PKG_SHELL.${SYNAPSE_USER}=${NOLOGIN}
+
+RCD_SCRIPTS=           	synapse
+
+MAKE_DIRS+=             ${SYNAPSE_PIDDIR}
+OWN_DIRS=               ${SYNAPSE_LOGDIR}
+OWN_DIRS_PERMS+=        ${SYNAPSE_DATADIR} ${SYNAPSE_USER} ${SYNAPSE_GROUP} 0700
+
+.include "options.mk"
+
+.include "../../x11/tk/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-matrix-synapse/PLIST b/py-matrix-synapse/PLIST
new file mode 100644
index 0000000000..5bf61e149d
--- /dev/null
+++ b/py-matrix-synapse/PLIST
@@ -0,0 +1,1036 @@
+@comment $NetBSD$
+bin/hash_password
+bin/register_new_matrix_user
+bin/synapse_port_db
+bin/synctl
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/requires.txt
+${PYSITELIB}/matrix_synapse-${PKGVERSION}-py${PYVERSSUFFIX}.${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/synapse/__init__.py
+${PYSITELIB}/synapse/__init__.pyc
+${PYSITELIB}/synapse/__init__.pyo
+${PYSITELIB}/synapse/api/__init__.py
+${PYSITELIB}/synapse/api/__init__.pyc
+${PYSITELIB}/synapse/api/__init__.pyo
+${PYSITELIB}/synapse/api/auth.py
+${PYSITELIB}/synapse/api/auth.pyc
+${PYSITELIB}/synapse/api/auth.pyo
+${PYSITELIB}/synapse/api/constants.py
+${PYSITELIB}/synapse/api/constants.pyc
+${PYSITELIB}/synapse/api/constants.pyo
+${PYSITELIB}/synapse/api/errors.py
+${PYSITELIB}/synapse/api/errors.pyc
+${PYSITELIB}/synapse/api/errors.pyo
+${PYSITELIB}/synapse/api/filtering.py
+${PYSITELIB}/synapse/api/filtering.pyc
+${PYSITELIB}/synapse/api/filtering.pyo
+${PYSITELIB}/synapse/api/ratelimiting.py
+${PYSITELIB}/synapse/api/ratelimiting.pyc
+${PYSITELIB}/synapse/api/ratelimiting.pyo
+${PYSITELIB}/synapse/api/urls.py
+${PYSITELIB}/synapse/api/urls.pyc
+${PYSITELIB}/synapse/api/urls.pyo
+${PYSITELIB}/synapse/app/__init__.py
+${PYSITELIB}/synapse/app/__init__.pyc
+${PYSITELIB}/synapse/app/__init__.pyo
+${PYSITELIB}/synapse/app/appservice.py
+${PYSITELIB}/synapse/app/appservice.pyc
+${PYSITELIB}/synapse/app/appservice.pyo
+${PYSITELIB}/synapse/app/client_reader.py
+${PYSITELIB}/synapse/app/client_reader.pyc
+${PYSITELIB}/synapse/app/client_reader.pyo
+${PYSITELIB}/synapse/app/federation_reader.py
+${PYSITELIB}/synapse/app/federation_reader.pyc
+${PYSITELIB}/synapse/app/federation_reader.pyo
+${PYSITELIB}/synapse/app/federation_sender.py
+${PYSITELIB}/synapse/app/federation_sender.pyc
+${PYSITELIB}/synapse/app/federation_sender.pyo
+${PYSITELIB}/synapse/app/homeserver.py
+${PYSITELIB}/synapse/app/homeserver.pyc
+${PYSITELIB}/synapse/app/homeserver.pyo
+${PYSITELIB}/synapse/app/media_repository.py
+${PYSITELIB}/synapse/app/media_repository.pyc
+${PYSITELIB}/synapse/app/media_repository.pyo
+${PYSITELIB}/synapse/app/pusher.py
+${PYSITELIB}/synapse/app/pusher.pyc
+${PYSITELIB}/synapse/app/pusher.pyo
+${PYSITELIB}/synapse/app/synchrotron.py
+${PYSITELIB}/synapse/app/synchrotron.pyc
+${PYSITELIB}/synapse/app/synchrotron.pyo
+${PYSITELIB}/synapse/app/synctl.py
+${PYSITELIB}/synapse/app/synctl.pyc
+${PYSITELIB}/synapse/app/synctl.pyo
+${PYSITELIB}/synapse/app/user_dir.py
+${PYSITELIB}/synapse/app/user_dir.pyc
+${PYSITELIB}/synapse/app/user_dir.pyo
+${PYSITELIB}/synapse/appservice/__init__.py
+${PYSITELIB}/synapse/appservice/__init__.pyc
+${PYSITELIB}/synapse/appservice/__init__.pyo
+${PYSITELIB}/synapse/appservice/api.py
+${PYSITELIB}/synapse/appservice/api.pyc
+${PYSITELIB}/synapse/appservice/api.pyo
+${PYSITELIB}/synapse/appservice/scheduler.py
+${PYSITELIB}/synapse/appservice/scheduler.pyc
+${PYSITELIB}/synapse/appservice/scheduler.pyo
+${PYSITELIB}/synapse/config/__init__.py
+${PYSITELIB}/synapse/config/__init__.pyc
+${PYSITELIB}/synapse/config/__init__.pyo
+${PYSITELIB}/synapse/config/__main__.py
+${PYSITELIB}/synapse/config/__main__.pyc
+${PYSITELIB}/synapse/config/__main__.pyo
+${PYSITELIB}/synapse/config/_base.py
+${PYSITELIB}/synapse/config/_base.pyc
+${PYSITELIB}/synapse/config/_base.pyo
+${PYSITELIB}/synapse/config/api.py
+${PYSITELIB}/synapse/config/api.pyc
+${PYSITELIB}/synapse/config/api.pyo
+${PYSITELIB}/synapse/config/appservice.py
+${PYSITELIB}/synapse/config/appservice.pyc
+${PYSITELIB}/synapse/config/appservice.pyo
+${PYSITELIB}/synapse/config/captcha.py
+${PYSITELIB}/synapse/config/captcha.pyc
+${PYSITELIB}/synapse/config/captcha.pyo
+${PYSITELIB}/synapse/config/cas.py
+${PYSITELIB}/synapse/config/cas.pyc
+${PYSITELIB}/synapse/config/cas.pyo
+${PYSITELIB}/synapse/config/database.py
+${PYSITELIB}/synapse/config/database.pyc
+${PYSITELIB}/synapse/config/database.pyo
+${PYSITELIB}/synapse/config/emailconfig.py
+${PYSITELIB}/synapse/config/emailconfig.pyc
+${PYSITELIB}/synapse/config/emailconfig.pyo
+${PYSITELIB}/synapse/config/homeserver.py
+${PYSITELIB}/synapse/config/homeserver.pyc
+${PYSITELIB}/synapse/config/homeserver.pyo
+${PYSITELIB}/synapse/config/jwt.py
+${PYSITELIB}/synapse/config/jwt.pyc
+${PYSITELIB}/synapse/config/jwt.pyo
+${PYSITELIB}/synapse/config/key.py
+${PYSITELIB}/synapse/config/key.pyc
+${PYSITELIB}/synapse/config/key.pyo
+${PYSITELIB}/synapse/config/logger.py
+${PYSITELIB}/synapse/config/logger.pyc
+${PYSITELIB}/synapse/config/logger.pyo
+${PYSITELIB}/synapse/config/metrics.py
+${PYSITELIB}/synapse/config/metrics.pyc
+${PYSITELIB}/synapse/config/metrics.pyo
+${PYSITELIB}/synapse/config/password.py
+${PYSITELIB}/synapse/config/password.pyc
+${PYSITELIB}/synapse/config/password.pyo
+${PYSITELIB}/synapse/config/password_auth_providers.py
+${PYSITELIB}/synapse/config/password_auth_providers.pyc
+${PYSITELIB}/synapse/config/password_auth_providers.pyo
+${PYSITELIB}/synapse/config/push.py
+${PYSITELIB}/synapse/config/push.pyc
+${PYSITELIB}/synapse/config/push.pyo
+${PYSITELIB}/synapse/config/ratelimiting.py
+${PYSITELIB}/synapse/config/ratelimiting.pyc
+${PYSITELIB}/synapse/config/ratelimiting.pyo
+${PYSITELIB}/synapse/config/registration.py
+${PYSITELIB}/synapse/config/registration.pyc
+${PYSITELIB}/synapse/config/registration.pyo
+${PYSITELIB}/synapse/config/repository.py
+${PYSITELIB}/synapse/config/repository.pyc
+${PYSITELIB}/synapse/config/repository.pyo
+${PYSITELIB}/synapse/config/saml2.py
+${PYSITELIB}/synapse/config/saml2.pyc
+${PYSITELIB}/synapse/config/saml2.pyo
+${PYSITELIB}/synapse/config/server.py
+${PYSITELIB}/synapse/config/server.pyc
+${PYSITELIB}/synapse/config/server.pyo
+${PYSITELIB}/synapse/config/tls.py
+${PYSITELIB}/synapse/config/tls.pyc
+${PYSITELIB}/synapse/config/tls.pyo
+${PYSITELIB}/synapse/config/voip.py
+${PYSITELIB}/synapse/config/voip.pyc
+${PYSITELIB}/synapse/config/voip.pyo
+${PYSITELIB}/synapse/config/workers.py
+${PYSITELIB}/synapse/config/workers.pyc
+${PYSITELIB}/synapse/config/workers.pyo
+${PYSITELIB}/synapse/crypto/__init__.py
+${PYSITELIB}/synapse/crypto/__init__.pyc
+${PYSITELIB}/synapse/crypto/__init__.pyo
+${PYSITELIB}/synapse/crypto/context_factory.py
+${PYSITELIB}/synapse/crypto/context_factory.pyc
+${PYSITELIB}/synapse/crypto/context_factory.pyo
+${PYSITELIB}/synapse/crypto/event_signing.py
+${PYSITELIB}/synapse/crypto/event_signing.pyc
+${PYSITELIB}/synapse/crypto/event_signing.pyo
+${PYSITELIB}/synapse/crypto/keyclient.py
+${PYSITELIB}/synapse/crypto/keyclient.pyc
+${PYSITELIB}/synapse/crypto/keyclient.pyo
+${PYSITELIB}/synapse/crypto/keyring.py
+${PYSITELIB}/synapse/crypto/keyring.pyc
+${PYSITELIB}/synapse/crypto/keyring.pyo
+${PYSITELIB}/synapse/event_auth.py
+${PYSITELIB}/synapse/event_auth.pyc
+${PYSITELIB}/synapse/event_auth.pyo
+${PYSITELIB}/synapse/events/__init__.py
+${PYSITELIB}/synapse/events/__init__.pyc
+${PYSITELIB}/synapse/events/__init__.pyo
+${PYSITELIB}/synapse/events/builder.py
+${PYSITELIB}/synapse/events/builder.pyc
+${PYSITELIB}/synapse/events/builder.pyo
+${PYSITELIB}/synapse/events/snapshot.py
+${PYSITELIB}/synapse/events/snapshot.pyc
+${PYSITELIB}/synapse/events/snapshot.pyo
+${PYSITELIB}/synapse/events/utils.py
+${PYSITELIB}/synapse/events/utils.pyc
+${PYSITELIB}/synapse/events/utils.pyo
+${PYSITELIB}/synapse/events/validator.py
+${PYSITELIB}/synapse/events/validator.pyc
+${PYSITELIB}/synapse/events/validator.pyo
+${PYSITELIB}/synapse/federation/__init__.py
+${PYSITELIB}/synapse/federation/__init__.pyc
+${PYSITELIB}/synapse/federation/__init__.pyo
+${PYSITELIB}/synapse/federation/federation_base.py
+${PYSITELIB}/synapse/federation/federation_base.pyc
+${PYSITELIB}/synapse/federation/federation_base.pyo
+${PYSITELIB}/synapse/federation/federation_client.py
+${PYSITELIB}/synapse/federation/federation_client.pyc
+${PYSITELIB}/synapse/federation/federation_client.pyo
+${PYSITELIB}/synapse/federation/federation_server.py
+${PYSITELIB}/synapse/federation/federation_server.pyc
+${PYSITELIB}/synapse/federation/federation_server.pyo
+${PYSITELIB}/synapse/federation/persistence.py
+${PYSITELIB}/synapse/federation/persistence.pyc
+${PYSITELIB}/synapse/federation/persistence.pyo
+${PYSITELIB}/synapse/federation/replication.py
+${PYSITELIB}/synapse/federation/replication.pyc
+${PYSITELIB}/synapse/federation/replication.pyo
+${PYSITELIB}/synapse/federation/send_queue.py
+${PYSITELIB}/synapse/federation/send_queue.pyc
+${PYSITELIB}/synapse/federation/send_queue.pyo
+${PYSITELIB}/synapse/federation/transaction_queue.py
+${PYSITELIB}/synapse/federation/transaction_queue.pyc
+${PYSITELIB}/synapse/federation/transaction_queue.pyo
+${PYSITELIB}/synapse/federation/transport/__init__.py
+${PYSITELIB}/synapse/federation/transport/__init__.pyc
+${PYSITELIB}/synapse/federation/transport/__init__.pyo
+${PYSITELIB}/synapse/federation/transport/client.py
+${PYSITELIB}/synapse/federation/transport/client.pyc
+${PYSITELIB}/synapse/federation/transport/client.pyo
+${PYSITELIB}/synapse/federation/transport/server.py
+${PYSITELIB}/synapse/federation/transport/server.pyc
+${PYSITELIB}/synapse/federation/transport/server.pyo
+${PYSITELIB}/synapse/federation/units.py
+${PYSITELIB}/synapse/federation/units.pyc
+${PYSITELIB}/synapse/federation/units.pyo
+${PYSITELIB}/synapse/handlers/__init__.py
+${PYSITELIB}/synapse/handlers/__init__.pyc
+${PYSITELIB}/synapse/handlers/__init__.pyo
+${PYSITELIB}/synapse/handlers/_base.py
+${PYSITELIB}/synapse/handlers/_base.pyc
+${PYSITELIB}/synapse/handlers/_base.pyo
+${PYSITELIB}/synapse/handlers/account_data.py
+${PYSITELIB}/synapse/handlers/account_data.pyc
+${PYSITELIB}/synapse/handlers/account_data.pyo
+${PYSITELIB}/synapse/handlers/admin.py
+${PYSITELIB}/synapse/handlers/admin.pyc
+${PYSITELIB}/synapse/handlers/admin.pyo
+${PYSITELIB}/synapse/handlers/appservice.py
+${PYSITELIB}/synapse/handlers/appservice.pyc
+${PYSITELIB}/synapse/handlers/appservice.pyo
+${PYSITELIB}/synapse/handlers/auth.py
+${PYSITELIB}/synapse/handlers/auth.pyc
+${PYSITELIB}/synapse/handlers/auth.pyo
+${PYSITELIB}/synapse/handlers/device.py
+${PYSITELIB}/synapse/handlers/device.pyc
+${PYSITELIB}/synapse/handlers/device.pyo
+${PYSITELIB}/synapse/handlers/devicemessage.py
+${PYSITELIB}/synapse/handlers/devicemessage.pyc
+${PYSITELIB}/synapse/handlers/devicemessage.pyo
+${PYSITELIB}/synapse/handlers/directory.py
+${PYSITELIB}/synapse/handlers/directory.pyc
+${PYSITELIB}/synapse/handlers/directory.pyo
+${PYSITELIB}/synapse/handlers/e2e_keys.py
+${PYSITELIB}/synapse/handlers/e2e_keys.pyc
+${PYSITELIB}/synapse/handlers/e2e_keys.pyo
+${PYSITELIB}/synapse/handlers/events.py
+${PYSITELIB}/synapse/handlers/events.pyc
+${PYSITELIB}/synapse/handlers/events.pyo
+${PYSITELIB}/synapse/handlers/federation.py
+${PYSITELIB}/synapse/handlers/federation.pyc
+${PYSITELIB}/synapse/handlers/federation.pyo
+${PYSITELIB}/synapse/handlers/identity.py
+${PYSITELIB}/synapse/handlers/identity.pyc
+${PYSITELIB}/synapse/handlers/identity.pyo
+${PYSITELIB}/synapse/handlers/initial_sync.py
+${PYSITELIB}/synapse/handlers/initial_sync.pyc
+${PYSITELIB}/synapse/handlers/initial_sync.pyo
+${PYSITELIB}/synapse/handlers/message.py
+${PYSITELIB}/synapse/handlers/message.pyc
+${PYSITELIB}/synapse/handlers/message.pyo
+${PYSITELIB}/synapse/handlers/presence.py
+${PYSITELIB}/synapse/handlers/presence.pyc
+${PYSITELIB}/synapse/handlers/presence.pyo
+${PYSITELIB}/synapse/handlers/profile.py
+${PYSITELIB}/synapse/handlers/profile.pyc
+${PYSITELIB}/synapse/handlers/profile.pyo
+${PYSITELIB}/synapse/handlers/read_marker.py
+${PYSITELIB}/synapse/handlers/read_marker.pyc
+${PYSITELIB}/synapse/handlers/read_marker.pyo
+${PYSITELIB}/synapse/handlers/receipts.py
+${PYSITELIB}/synapse/handlers/receipts.pyc
+${PYSITELIB}/synapse/handlers/receipts.pyo
+${PYSITELIB}/synapse/handlers/register.py
+${PYSITELIB}/synapse/handlers/register.pyc
+${PYSITELIB}/synapse/handlers/register.pyo
+${PYSITELIB}/synapse/handlers/room.py
+${PYSITELIB}/synapse/handlers/room.pyc
+${PYSITELIB}/synapse/handlers/room.pyo
+${PYSITELIB}/synapse/handlers/room_list.py
+${PYSITELIB}/synapse/handlers/room_list.pyc
+${PYSITELIB}/synapse/handlers/room_list.pyo
+${PYSITELIB}/synapse/handlers/room_member.py
+${PYSITELIB}/synapse/handlers/room_member.pyc
+${PYSITELIB}/synapse/handlers/room_member.pyo
+${PYSITELIB}/synapse/handlers/search.py
+${PYSITELIB}/synapse/handlers/search.pyc
+${PYSITELIB}/synapse/handlers/search.pyo
+${PYSITELIB}/synapse/handlers/sync.py
+${PYSITELIB}/synapse/handlers/sync.pyc
+${PYSITELIB}/synapse/handlers/sync.pyo
+${PYSITELIB}/synapse/handlers/typing.py
+${PYSITELIB}/synapse/handlers/typing.pyc
+${PYSITELIB}/synapse/handlers/typing.pyo
+${PYSITELIB}/synapse/handlers/user_directory.py
+${PYSITELIB}/synapse/handlers/user_directory.pyc
+${PYSITELIB}/synapse/handlers/user_directory.pyo
+${PYSITELIB}/synapse/http/__init__.py
+${PYSITELIB}/synapse/http/__init__.pyc
+${PYSITELIB}/synapse/http/__init__.pyo
+${PYSITELIB}/synapse/http/client.py
+${PYSITELIB}/synapse/http/client.pyc
+${PYSITELIB}/synapse/http/client.pyo
+${PYSITELIB}/synapse/http/endpoint.py
+${PYSITELIB}/synapse/http/endpoint.pyc
+${PYSITELIB}/synapse/http/endpoint.pyo
+${PYSITELIB}/synapse/http/matrixfederationclient.py
+${PYSITELIB}/synapse/http/matrixfederationclient.pyc
+${PYSITELIB}/synapse/http/matrixfederationclient.pyo
+${PYSITELIB}/synapse/http/server.py
+${PYSITELIB}/synapse/http/server.pyc
+${PYSITELIB}/synapse/http/server.pyo
+${PYSITELIB}/synapse/http/servlet.py
+${PYSITELIB}/synapse/http/servlet.pyc
+${PYSITELIB}/synapse/http/servlet.pyo
+${PYSITELIB}/synapse/http/site.py
+${PYSITELIB}/synapse/http/site.pyc
+${PYSITELIB}/synapse/http/site.pyo
+${PYSITELIB}/synapse/metrics/__init__.py
+${PYSITELIB}/synapse/metrics/__init__.pyc
+${PYSITELIB}/synapse/metrics/__init__.pyo
+${PYSITELIB}/synapse/metrics/metric.py
+${PYSITELIB}/synapse/metrics/metric.pyc
+${PYSITELIB}/synapse/metrics/metric.pyo
+${PYSITELIB}/synapse/metrics/process_collector.py
+${PYSITELIB}/synapse/metrics/process_collector.pyc
+${PYSITELIB}/synapse/metrics/process_collector.pyo
+${PYSITELIB}/synapse/metrics/resource.py
+${PYSITELIB}/synapse/metrics/resource.pyc
+${PYSITELIB}/synapse/metrics/resource.pyo
+${PYSITELIB}/synapse/notifier.py
+${PYSITELIB}/synapse/notifier.pyc
+${PYSITELIB}/synapse/notifier.pyo
+${PYSITELIB}/synapse/push/__init__.py
+${PYSITELIB}/synapse/push/__init__.pyc
+${PYSITELIB}/synapse/push/__init__.pyo
+${PYSITELIB}/synapse/push/action_generator.py
+${PYSITELIB}/synapse/push/action_generator.pyc
+${PYSITELIB}/synapse/push/action_generator.pyo
+${PYSITELIB}/synapse/push/baserules.py
+${PYSITELIB}/synapse/push/baserules.pyc
+${PYSITELIB}/synapse/push/baserules.pyo
+${PYSITELIB}/synapse/push/bulk_push_rule_evaluator.py
+${PYSITELIB}/synapse/push/bulk_push_rule_evaluator.pyc
+${PYSITELIB}/synapse/push/bulk_push_rule_evaluator.pyo
+${PYSITELIB}/synapse/push/clientformat.py
+${PYSITELIB}/synapse/push/clientformat.pyc
+${PYSITELIB}/synapse/push/clientformat.pyo
+${PYSITELIB}/synapse/push/emailpusher.py
+${PYSITELIB}/synapse/push/emailpusher.pyc
+${PYSITELIB}/synapse/push/emailpusher.pyo
+${PYSITELIB}/synapse/push/httppusher.py
+${PYSITELIB}/synapse/push/httppusher.pyc
+${PYSITELIB}/synapse/push/httppusher.pyo
+${PYSITELIB}/synapse/push/mailer.py
+${PYSITELIB}/synapse/push/mailer.pyc
+${PYSITELIB}/synapse/push/mailer.pyo
+${PYSITELIB}/synapse/push/presentable_names.py
+${PYSITELIB}/synapse/push/presentable_names.pyc
+${PYSITELIB}/synapse/push/presentable_names.pyo
+${PYSITELIB}/synapse/push/push_rule_evaluator.py
+${PYSITELIB}/synapse/push/push_rule_evaluator.pyc
+${PYSITELIB}/synapse/push/push_rule_evaluator.pyo
+${PYSITELIB}/synapse/push/push_tools.py
+${PYSITELIB}/synapse/push/push_tools.pyc
+${PYSITELIB}/synapse/push/push_tools.pyo
+${PYSITELIB}/synapse/push/pusher.py
+${PYSITELIB}/synapse/push/pusher.pyc
+${PYSITELIB}/synapse/push/pusher.pyo
+${PYSITELIB}/synapse/push/pusherpool.py
+${PYSITELIB}/synapse/push/pusherpool.pyc
+${PYSITELIB}/synapse/push/pusherpool.pyo
+${PYSITELIB}/synapse/push/rulekinds.py
+${PYSITELIB}/synapse/push/rulekinds.pyc
+${PYSITELIB}/synapse/push/rulekinds.pyo
+${PYSITELIB}/synapse/python_dependencies.py
+${PYSITELIB}/synapse/python_dependencies.pyc
+${PYSITELIB}/synapse/python_dependencies.pyo
+${PYSITELIB}/synapse/replication/__init__.py
+${PYSITELIB}/synapse/replication/__init__.pyc
+${PYSITELIB}/synapse/replication/__init__.pyo
+${PYSITELIB}/synapse/replication/slave/__init__.py
+${PYSITELIB}/synapse/replication/slave/__init__.pyc
+${PYSITELIB}/synapse/replication/slave/__init__.pyo
+${PYSITELIB}/synapse/replication/slave/storage/__init__.py
+${PYSITELIB}/synapse/replication/slave/storage/__init__.pyc
+${PYSITELIB}/synapse/replication/slave/storage/__init__.pyo
+${PYSITELIB}/synapse/replication/slave/storage/_base.py
+${PYSITELIB}/synapse/replication/slave/storage/_base.pyc
+${PYSITELIB}/synapse/replication/slave/storage/_base.pyo
+${PYSITELIB}/synapse/replication/slave/storage/_slaved_id_tracker.py
+${PYSITELIB}/synapse/replication/slave/storage/_slaved_id_tracker.pyc
+${PYSITELIB}/synapse/replication/slave/storage/_slaved_id_tracker.pyo
+${PYSITELIB}/synapse/replication/slave/storage/account_data.py
+${PYSITELIB}/synapse/replication/slave/storage/account_data.pyc
+${PYSITELIB}/synapse/replication/slave/storage/account_data.pyo
+${PYSITELIB}/synapse/replication/slave/storage/appservice.py
+${PYSITELIB}/synapse/replication/slave/storage/appservice.pyc
+${PYSITELIB}/synapse/replication/slave/storage/appservice.pyo
+${PYSITELIB}/synapse/replication/slave/storage/client_ips.py
+${PYSITELIB}/synapse/replication/slave/storage/client_ips.pyc
+${PYSITELIB}/synapse/replication/slave/storage/client_ips.pyo
+${PYSITELIB}/synapse/replication/slave/storage/deviceinbox.py
+${PYSITELIB}/synapse/replication/slave/storage/deviceinbox.pyc
+${PYSITELIB}/synapse/replication/slave/storage/deviceinbox.pyo
+${PYSITELIB}/synapse/replication/slave/storage/devices.py
+${PYSITELIB}/synapse/replication/slave/storage/devices.pyc
+${PYSITELIB}/synapse/replication/slave/storage/devices.pyo
+${PYSITELIB}/synapse/replication/slave/storage/directory.py
+${PYSITELIB}/synapse/replication/slave/storage/directory.pyc
+${PYSITELIB}/synapse/replication/slave/storage/directory.pyo
+${PYSITELIB}/synapse/replication/slave/storage/events.py
+${PYSITELIB}/synapse/replication/slave/storage/events.pyc
+${PYSITELIB}/synapse/replication/slave/storage/events.pyo
+${PYSITELIB}/synapse/replication/slave/storage/filtering.py
+${PYSITELIB}/synapse/replication/slave/storage/filtering.pyc
+${PYSITELIB}/synapse/replication/slave/storage/filtering.pyo
+${PYSITELIB}/synapse/replication/slave/storage/keys.py
+${PYSITELIB}/synapse/replication/slave/storage/keys.pyc
+${PYSITELIB}/synapse/replication/slave/storage/keys.pyo
+${PYSITELIB}/synapse/replication/slave/storage/presence.py
+${PYSITELIB}/synapse/replication/slave/storage/presence.pyc
+${PYSITELIB}/synapse/replication/slave/storage/presence.pyo
+${PYSITELIB}/synapse/replication/slave/storage/push_rule.py
+${PYSITELIB}/synapse/replication/slave/storage/push_rule.pyc
+${PYSITELIB}/synapse/replication/slave/storage/push_rule.pyo
+${PYSITELIB}/synapse/replication/slave/storage/pushers.py
+${PYSITELIB}/synapse/replication/slave/storage/pushers.pyc
+${PYSITELIB}/synapse/replication/slave/storage/pushers.pyo
+${PYSITELIB}/synapse/replication/slave/storage/receipts.py
+${PYSITELIB}/synapse/replication/slave/storage/receipts.pyc
+${PYSITELIB}/synapse/replication/slave/storage/receipts.pyo
+${PYSITELIB}/synapse/replication/slave/storage/registration.py
+${PYSITELIB}/synapse/replication/slave/storage/registration.pyc
+${PYSITELIB}/synapse/replication/slave/storage/registration.pyo
+${PYSITELIB}/synapse/replication/slave/storage/room.py
+${PYSITELIB}/synapse/replication/slave/storage/room.pyc
+${PYSITELIB}/synapse/replication/slave/storage/room.pyo
+${PYSITELIB}/synapse/replication/slave/storage/transactions.py
+${PYSITELIB}/synapse/replication/slave/storage/transactions.pyc
+${PYSITELIB}/synapse/replication/slave/storage/transactions.pyo
+${PYSITELIB}/synapse/replication/tcp/__init__.py
+${PYSITELIB}/synapse/replication/tcp/__init__.pyc
+${PYSITELIB}/synapse/replication/tcp/__init__.pyo
+${PYSITELIB}/synapse/replication/tcp/client.py
+${PYSITELIB}/synapse/replication/tcp/client.pyc
+${PYSITELIB}/synapse/replication/tcp/client.pyo
+${PYSITELIB}/synapse/replication/tcp/commands.py
+${PYSITELIB}/synapse/replication/tcp/commands.pyc
+${PYSITELIB}/synapse/replication/tcp/commands.pyo
+${PYSITELIB}/synapse/replication/tcp/protocol.py
+${PYSITELIB}/synapse/replication/tcp/protocol.pyc
+${PYSITELIB}/synapse/replication/tcp/protocol.pyo
+${PYSITELIB}/synapse/replication/tcp/resource.py
+${PYSITELIB}/synapse/replication/tcp/resource.pyc
+${PYSITELIB}/synapse/replication/tcp/resource.pyo
+${PYSITELIB}/synapse/replication/tcp/streams.py
+${PYSITELIB}/synapse/replication/tcp/streams.pyc
+${PYSITELIB}/synapse/replication/tcp/streams.pyo
+${PYSITELIB}/synapse/rest/__init__.py
+${PYSITELIB}/synapse/rest/__init__.pyc
+${PYSITELIB}/synapse/rest/__init__.pyo
+${PYSITELIB}/synapse/rest/client/__init__.py
+${PYSITELIB}/synapse/rest/client/__init__.pyc
+${PYSITELIB}/synapse/rest/client/__init__.pyo
+${PYSITELIB}/synapse/rest/client/transactions.py
+${PYSITELIB}/synapse/rest/client/transactions.pyc
+${PYSITELIB}/synapse/rest/client/transactions.pyo
+${PYSITELIB}/synapse/rest/client/v1/__init__.py
+${PYSITELIB}/synapse/rest/client/v1/__init__.pyc
+${PYSITELIB}/synapse/rest/client/v1/__init__.pyo
+${PYSITELIB}/synapse/rest/client/v1/admin.py
+${PYSITELIB}/synapse/rest/client/v1/admin.pyc
+${PYSITELIB}/synapse/rest/client/v1/admin.pyo
+${PYSITELIB}/synapse/rest/client/v1/base.py
+${PYSITELIB}/synapse/rest/client/v1/base.pyc
+${PYSITELIB}/synapse/rest/client/v1/base.pyo
+${PYSITELIB}/synapse/rest/client/v1/directory.py
+${PYSITELIB}/synapse/rest/client/v1/directory.pyc
+${PYSITELIB}/synapse/rest/client/v1/directory.pyo
+${PYSITELIB}/synapse/rest/client/v1/events.py
+${PYSITELIB}/synapse/rest/client/v1/events.pyc
+${PYSITELIB}/synapse/rest/client/v1/events.pyo
+${PYSITELIB}/synapse/rest/client/v1/initial_sync.py
+${PYSITELIB}/synapse/rest/client/v1/initial_sync.pyc
+${PYSITELIB}/synapse/rest/client/v1/initial_sync.pyo
+${PYSITELIB}/synapse/rest/client/v1/login.py
+${PYSITELIB}/synapse/rest/client/v1/login.pyc
+${PYSITELIB}/synapse/rest/client/v1/login.pyo
+${PYSITELIB}/synapse/rest/client/v1/logout.py
+${PYSITELIB}/synapse/rest/client/v1/logout.pyc
+${PYSITELIB}/synapse/rest/client/v1/logout.pyo
+${PYSITELIB}/synapse/rest/client/v1/presence.py
+${PYSITELIB}/synapse/rest/client/v1/presence.pyc
+${PYSITELIB}/synapse/rest/client/v1/presence.pyo
+${PYSITELIB}/synapse/rest/client/v1/profile.py
+${PYSITELIB}/synapse/rest/client/v1/profile.pyc
+${PYSITELIB}/synapse/rest/client/v1/profile.pyo
+${PYSITELIB}/synapse/rest/client/v1/push_rule.py
+${PYSITELIB}/synapse/rest/client/v1/push_rule.pyc
+${PYSITELIB}/synapse/rest/client/v1/push_rule.pyo
+${PYSITELIB}/synapse/rest/client/v1/pusher.py
+${PYSITELIB}/synapse/rest/client/v1/pusher.pyc
+${PYSITELIB}/synapse/rest/client/v1/pusher.pyo
+${PYSITELIB}/synapse/rest/client/v1/register.py
+${PYSITELIB}/synapse/rest/client/v1/register.pyc
+${PYSITELIB}/synapse/rest/client/v1/register.pyo
+${PYSITELIB}/synapse/rest/client/v1/room.py
+${PYSITELIB}/synapse/rest/client/v1/room.pyc
+${PYSITELIB}/synapse/rest/client/v1/room.pyo
+${PYSITELIB}/synapse/rest/client/v1/voip.py
+${PYSITELIB}/synapse/rest/client/v1/voip.pyc
+${PYSITELIB}/synapse/rest/client/v1/voip.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/__init__.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/__init__.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/__init__.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/_base.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/_base.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/_base.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/account.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/account.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/account.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/account_data.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/account_data.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/account_data.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/auth.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/auth.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/auth.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/devices.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/devices.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/devices.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/filter.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/filter.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/filter.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/keys.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/keys.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/keys.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/notifications.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/notifications.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/notifications.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/openid.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/openid.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/openid.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/read_marker.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/read_marker.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/read_marker.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/receipts.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/receipts.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/receipts.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/register.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/register.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/register.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/report_event.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/report_event.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/report_event.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/sendtodevice.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/sendtodevice.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/sendtodevice.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/sync.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/sync.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/sync.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/tags.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/tags.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/tags.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/thirdparty.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/thirdparty.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/thirdparty.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/tokenrefresh.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/tokenrefresh.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/tokenrefresh.pyo
+${PYSITELIB}/synapse/rest/client/v2_alpha/user_directory.py
+${PYSITELIB}/synapse/rest/client/v2_alpha/user_directory.pyc
+${PYSITELIB}/synapse/rest/client/v2_alpha/user_directory.pyo
+${PYSITELIB}/synapse/rest/client/versions.py
+${PYSITELIB}/synapse/rest/client/versions.pyc
+${PYSITELIB}/synapse/rest/client/versions.pyo
+${PYSITELIB}/synapse/rest/key/__init__.py
+${PYSITELIB}/synapse/rest/key/__init__.pyc
+${PYSITELIB}/synapse/rest/key/__init__.pyo
+${PYSITELIB}/synapse/rest/key/v1/__init__.py
+${PYSITELIB}/synapse/rest/key/v1/__init__.pyc
+${PYSITELIB}/synapse/rest/key/v1/__init__.pyo
+${PYSITELIB}/synapse/rest/key/v1/server_key_resource.py
+${PYSITELIB}/synapse/rest/key/v1/server_key_resource.pyc
+${PYSITELIB}/synapse/rest/key/v1/server_key_resource.pyo
+${PYSITELIB}/synapse/rest/key/v2/__init__.py
+${PYSITELIB}/synapse/rest/key/v2/__init__.pyc
+${PYSITELIB}/synapse/rest/key/v2/__init__.pyo
+${PYSITELIB}/synapse/rest/key/v2/local_key_resource.py
+${PYSITELIB}/synapse/rest/key/v2/local_key_resource.pyc
+${PYSITELIB}/synapse/rest/key/v2/local_key_resource.pyo
+${PYSITELIB}/synapse/rest/key/v2/remote_key_resource.py
+${PYSITELIB}/synapse/rest/key/v2/remote_key_resource.pyc
+${PYSITELIB}/synapse/rest/key/v2/remote_key_resource.pyo
+${PYSITELIB}/synapse/rest/media/__init__.py
+${PYSITELIB}/synapse/rest/media/__init__.pyc
+${PYSITELIB}/synapse/rest/media/__init__.pyo
+${PYSITELIB}/synapse/rest/media/v0/__init__.py
+${PYSITELIB}/synapse/rest/media/v0/__init__.pyc
+${PYSITELIB}/synapse/rest/media/v0/__init__.pyo
+${PYSITELIB}/synapse/rest/media/v0/content_repository.py
+${PYSITELIB}/synapse/rest/media/v0/content_repository.pyc
+${PYSITELIB}/synapse/rest/media/v0/content_repository.pyo
+${PYSITELIB}/synapse/rest/media/v1/__init__.py
+${PYSITELIB}/synapse/rest/media/v1/__init__.pyc
+${PYSITELIB}/synapse/rest/media/v1/__init__.pyo
+${PYSITELIB}/synapse/rest/media/v1/_base.py
+${PYSITELIB}/synapse/rest/media/v1/_base.pyc
+${PYSITELIB}/synapse/rest/media/v1/_base.pyo
+${PYSITELIB}/synapse/rest/media/v1/download_resource.py
+${PYSITELIB}/synapse/rest/media/v1/download_resource.pyc
+${PYSITELIB}/synapse/rest/media/v1/download_resource.pyo
+${PYSITELIB}/synapse/rest/media/v1/filepath.py
+${PYSITELIB}/synapse/rest/media/v1/filepath.pyc
+${PYSITELIB}/synapse/rest/media/v1/filepath.pyo
+${PYSITELIB}/synapse/rest/media/v1/identicon_resource.py
+${PYSITELIB}/synapse/rest/media/v1/identicon_resource.pyc
+${PYSITELIB}/synapse/rest/media/v1/identicon_resource.pyo
+${PYSITELIB}/synapse/rest/media/v1/media_repository.py
+${PYSITELIB}/synapse/rest/media/v1/media_repository.pyc
+${PYSITELIB}/synapse/rest/media/v1/media_repository.pyo
+${PYSITELIB}/synapse/rest/media/v1/preview_url_resource.py
+${PYSITELIB}/synapse/rest/media/v1/preview_url_resource.pyc
+${PYSITELIB}/synapse/rest/media/v1/preview_url_resource.pyo
+${PYSITELIB}/synapse/rest/media/v1/thumbnail_resource.py
+${PYSITELIB}/synapse/rest/media/v1/thumbnail_resource.pyc
+${PYSITELIB}/synapse/rest/media/v1/thumbnail_resource.pyo
+${PYSITELIB}/synapse/rest/media/v1/thumbnailer.py
+${PYSITELIB}/synapse/rest/media/v1/thumbnailer.pyc
+${PYSITELIB}/synapse/rest/media/v1/thumbnailer.pyo
+${PYSITELIB}/synapse/rest/media/v1/upload_resource.py
+${PYSITELIB}/synapse/rest/media/v1/upload_resource.pyc
+${PYSITELIB}/synapse/rest/media/v1/upload_resource.pyo
+${PYSITELIB}/synapse/server.py
+${PYSITELIB}/synapse/server.pyc
+${PYSITELIB}/synapse/server.pyi
+${PYSITELIB}/synapse/server.pyo
+${PYSITELIB}/synapse/state.py
+${PYSITELIB}/synapse/state.pyc
+${PYSITELIB}/synapse/state.pyo
+${PYSITELIB}/synapse/static/client/login/index.html
+${PYSITELIB}/synapse/static/client/login/js/jquery-2.1.3.min.js
+${PYSITELIB}/synapse/static/client/login/js/login.js
+${PYSITELIB}/synapse/static/client/login/spinner.gif
+${PYSITELIB}/synapse/static/client/login/style.css
+${PYSITELIB}/synapse/static/client/register/index.html
+${PYSITELIB}/synapse/static/client/register/js/jquery-2.1.3.min.js
+${PYSITELIB}/synapse/static/client/register/js/recaptcha_ajax.js
+${PYSITELIB}/synapse/static/client/register/js/register.js
+${PYSITELIB}/synapse/static/client/register/register_config.sample.js
+${PYSITELIB}/synapse/static/client/register/style.css
+${PYSITELIB}/synapse/storage/__init__.py
+${PYSITELIB}/synapse/storage/__init__.pyc
+${PYSITELIB}/synapse/storage/__init__.pyo
+${PYSITELIB}/synapse/storage/_base.py
+${PYSITELIB}/synapse/storage/_base.pyc
+${PYSITELIB}/synapse/storage/_base.pyo
+${PYSITELIB}/synapse/storage/account_data.py
+${PYSITELIB}/synapse/storage/account_data.pyc
+${PYSITELIB}/synapse/storage/account_data.pyo
+${PYSITELIB}/synapse/storage/appservice.py
+${PYSITELIB}/synapse/storage/appservice.pyc
+${PYSITELIB}/synapse/storage/appservice.pyo
+${PYSITELIB}/synapse/storage/background_updates.py
+${PYSITELIB}/synapse/storage/background_updates.pyc
+${PYSITELIB}/synapse/storage/background_updates.pyo
+${PYSITELIB}/synapse/storage/client_ips.py
+${PYSITELIB}/synapse/storage/client_ips.pyc
+${PYSITELIB}/synapse/storage/client_ips.pyo
+${PYSITELIB}/synapse/storage/deviceinbox.py
+${PYSITELIB}/synapse/storage/deviceinbox.pyc
+${PYSITELIB}/synapse/storage/deviceinbox.pyo
+${PYSITELIB}/synapse/storage/devices.py
+${PYSITELIB}/synapse/storage/devices.pyc
+${PYSITELIB}/synapse/storage/devices.pyo
+${PYSITELIB}/synapse/storage/directory.py
+${PYSITELIB}/synapse/storage/directory.pyc
+${PYSITELIB}/synapse/storage/directory.pyo
+${PYSITELIB}/synapse/storage/end_to_end_keys.py
+${PYSITELIB}/synapse/storage/end_to_end_keys.pyc
+${PYSITELIB}/synapse/storage/end_to_end_keys.pyo
+${PYSITELIB}/synapse/storage/engines/__init__.py
+${PYSITELIB}/synapse/storage/engines/__init__.pyc
+${PYSITELIB}/synapse/storage/engines/__init__.pyo
+${PYSITELIB}/synapse/storage/engines/_base.py
+${PYSITELIB}/synapse/storage/engines/_base.pyc
+${PYSITELIB}/synapse/storage/engines/_base.pyo
+${PYSITELIB}/synapse/storage/engines/postgres.py
+${PYSITELIB}/synapse/storage/engines/postgres.pyc
+${PYSITELIB}/synapse/storage/engines/postgres.pyo
+${PYSITELIB}/synapse/storage/engines/sqlite3.py
+${PYSITELIB}/synapse/storage/engines/sqlite3.pyc
+${PYSITELIB}/synapse/storage/engines/sqlite3.pyo
+${PYSITELIB}/synapse/storage/event_federation.py
+${PYSITELIB}/synapse/storage/event_federation.pyc
+${PYSITELIB}/synapse/storage/event_federation.pyo
+${PYSITELIB}/synapse/storage/event_push_actions.py
+${PYSITELIB}/synapse/storage/event_push_actions.pyc
+${PYSITELIB}/synapse/storage/event_push_actions.pyo
+${PYSITELIB}/synapse/storage/events.py
+${PYSITELIB}/synapse/storage/events.pyc
+${PYSITELIB}/synapse/storage/events.pyo
+${PYSITELIB}/synapse/storage/filtering.py
+${PYSITELIB}/synapse/storage/filtering.pyc
+${PYSITELIB}/synapse/storage/filtering.pyo
+${PYSITELIB}/synapse/storage/keys.py
+${PYSITELIB}/synapse/storage/keys.pyc
+${PYSITELIB}/synapse/storage/keys.pyo
+${PYSITELIB}/synapse/storage/media_repository.py
+${PYSITELIB}/synapse/storage/media_repository.pyc
+${PYSITELIB}/synapse/storage/media_repository.pyo
+${PYSITELIB}/synapse/storage/openid.py
+${PYSITELIB}/synapse/storage/openid.pyc
+${PYSITELIB}/synapse/storage/openid.pyo
+${PYSITELIB}/synapse/storage/prepare_database.py
+${PYSITELIB}/synapse/storage/prepare_database.pyc
+${PYSITELIB}/synapse/storage/prepare_database.pyo
+${PYSITELIB}/synapse/storage/presence.py
+${PYSITELIB}/synapse/storage/presence.pyc
+${PYSITELIB}/synapse/storage/presence.pyo
+${PYSITELIB}/synapse/storage/profile.py
+${PYSITELIB}/synapse/storage/profile.pyc
+${PYSITELIB}/synapse/storage/profile.pyo
+${PYSITELIB}/synapse/storage/push_rule.py
+${PYSITELIB}/synapse/storage/push_rule.pyc
+${PYSITELIB}/synapse/storage/push_rule.pyo
+${PYSITELIB}/synapse/storage/pusher.py
+${PYSITELIB}/synapse/storage/pusher.pyc
+${PYSITELIB}/synapse/storage/pusher.pyo
+${PYSITELIB}/synapse/storage/receipts.py
+${PYSITELIB}/synapse/storage/receipts.pyc
+${PYSITELIB}/synapse/storage/receipts.pyo
+${PYSITELIB}/synapse/storage/registration.py
+${PYSITELIB}/synapse/storage/registration.pyc
+${PYSITELIB}/synapse/storage/registration.pyo
+${PYSITELIB}/synapse/storage/rejections.py
+${PYSITELIB}/synapse/storage/rejections.pyc
+${PYSITELIB}/synapse/storage/rejections.pyo
+${PYSITELIB}/synapse/storage/room.py
+${PYSITELIB}/synapse/storage/room.pyc
+${PYSITELIB}/synapse/storage/room.pyo
+${PYSITELIB}/synapse/storage/roommember.py
+${PYSITELIB}/synapse/storage/roommember.pyc
+${PYSITELIB}/synapse/storage/roommember.pyo
+${PYSITELIB}/synapse/storage/schema/delta/11/v11.sql
+${PYSITELIB}/synapse/storage/schema/delta/12/v12.sql
+${PYSITELIB}/synapse/storage/schema/delta/13/v13.sql
+${PYSITELIB}/synapse/storage/schema/delta/14/upgrade_appservice_db.py
+${PYSITELIB}/synapse/storage/schema/delta/14/upgrade_appservice_db.pyc
+${PYSITELIB}/synapse/storage/schema/delta/14/upgrade_appservice_db.pyo
+${PYSITELIB}/synapse/storage/schema/delta/14/v14.sql
+${PYSITELIB}/synapse/storage/schema/delta/15/appservice_txns.sql
+${PYSITELIB}/synapse/storage/schema/delta/15/presence_indices.sql
+${PYSITELIB}/synapse/storage/schema/delta/15/v15.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/events_order_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/remote_media_cache_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/remove_duplicates.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/room_alias_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/unique_constraints.sql
+${PYSITELIB}/synapse/storage/schema/delta/16/users.sql
+${PYSITELIB}/synapse/storage/schema/delta/17/drop_indexes.sql
+${PYSITELIB}/synapse/storage/schema/delta/17/server_keys.sql
+${PYSITELIB}/synapse/storage/schema/delta/17/user_threepids.sql
+${PYSITELIB}/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
+${PYSITELIB}/synapse/storage/schema/delta/19/event_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/20/dummy.sql
+${PYSITELIB}/synapse/storage/schema/delta/20/pushers.py
+${PYSITELIB}/synapse/storage/schema/delta/20/pushers.pyc
+${PYSITELIB}/synapse/storage/schema/delta/20/pushers.pyo
+${PYSITELIB}/synapse/storage/schema/delta/21/end_to_end_keys.sql
+${PYSITELIB}/synapse/storage/schema/delta/21/receipts.sql
+${PYSITELIB}/synapse/storage/schema/delta/22/receipts_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/22/user_threepids_unique.sql
+${PYSITELIB}/synapse/storage/schema/delta/23/drop_state_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/23/refresh_tokens.sql
+${PYSITELIB}/synapse/storage/schema/delta/24/stats_reporting.sql
+${PYSITELIB}/synapse/storage/schema/delta/25/00background_updates.sql
+${PYSITELIB}/synapse/storage/schema/delta/25/fts.py
+${PYSITELIB}/synapse/storage/schema/delta/25/fts.pyc
+${PYSITELIB}/synapse/storage/schema/delta/25/fts.pyo
+${PYSITELIB}/synapse/storage/schema/delta/25/guest_access.sql
+${PYSITELIB}/synapse/storage/schema/delta/25/history_visibility.sql
+${PYSITELIB}/synapse/storage/schema/delta/25/tags.sql
+${PYSITELIB}/synapse/storage/schema/delta/26/account_data.sql
+${PYSITELIB}/synapse/storage/schema/delta/27/account_data.sql
+${PYSITELIB}/synapse/storage/schema/delta/27/forgotten_memberships.sql
+${PYSITELIB}/synapse/storage/schema/delta/27/ts.py
+${PYSITELIB}/synapse/storage/schema/delta/27/ts.pyc
+${PYSITELIB}/synapse/storage/schema/delta/27/ts.pyo
+${PYSITELIB}/synapse/storage/schema/delta/28/event_push_actions.sql
+${PYSITELIB}/synapse/storage/schema/delta/28/events_room_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/28/public_roms_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/28/receipts_user_id_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/28/upgrade_times.sql
+${PYSITELIB}/synapse/storage/schema/delta/28/users_is_guest.sql
+${PYSITELIB}/synapse/storage/schema/delta/29/push_actions.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/alias_creator.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/as_users.py
+${PYSITELIB}/synapse/storage/schema/delta/30/as_users.pyc
+${PYSITELIB}/synapse/storage/schema/delta/30/as_users.pyo
+${PYSITELIB}/synapse/storage/schema/delta/30/deleted_pushers.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/presence_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/public_rooms.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/push_rule_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/state_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/30/threepid_guest_access_tokens.sql
+${PYSITELIB}/synapse/storage/schema/delta/31/invites.sql
+${PYSITELIB}/synapse/storage/schema/delta/31/local_media_repository_url_cache.sql
+${PYSITELIB}/synapse/storage/schema/delta/31/pushers.py
+${PYSITELIB}/synapse/storage/schema/delta/31/pushers.pyc
+${PYSITELIB}/synapse/storage/schema/delta/31/pushers.pyo
+${PYSITELIB}/synapse/storage/schema/delta/31/pushers_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/31/search_update.py
+${PYSITELIB}/synapse/storage/schema/delta/31/search_update.pyc
+${PYSITELIB}/synapse/storage/schema/delta/31/search_update.pyo
+${PYSITELIB}/synapse/storage/schema/delta/32/events.sql
+${PYSITELIB}/synapse/storage/schema/delta/32/openid.sql
+${PYSITELIB}/synapse/storage/schema/delta/32/pusher_throttle.sql
+${PYSITELIB}/synapse/storage/schema/delta/32/remove_indices.sql
+${PYSITELIB}/synapse/storage/schema/delta/32/reports.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/access_tokens_device_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/devices.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/devices_for_e2e_keys.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/devices_for_e2e_keys_clear_unknown_device.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/event_fields.py
+${PYSITELIB}/synapse/storage/schema/delta/33/event_fields.pyc
+${PYSITELIB}/synapse/storage/schema/delta/33/event_fields.pyo
+${PYSITELIB}/synapse/storage/schema/delta/33/refreshtoken_device.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/refreshtoken_device_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/33/remote_media_ts.py
+${PYSITELIB}/synapse/storage/schema/delta/33/remote_media_ts.pyc
+${PYSITELIB}/synapse/storage/schema/delta/33/remote_media_ts.pyo
+${PYSITELIB}/synapse/storage/schema/delta/33/user_ips_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/34/appservice_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/34/cache_stream.py
+${PYSITELIB}/synapse/storage/schema/delta/34/cache_stream.pyc
+${PYSITELIB}/synapse/storage/schema/delta/34/cache_stream.pyo
+${PYSITELIB}/synapse/storage/schema/delta/34/device_inbox.sql
+${PYSITELIB}/synapse/storage/schema/delta/34/push_display_name_rename.sql
+${PYSITELIB}/synapse/storage/schema/delta/34/received_txn_purge.py
+${PYSITELIB}/synapse/storage/schema/delta/34/received_txn_purge.pyc
+${PYSITELIB}/synapse/storage/schema/delta/34/received_txn_purge.pyo
+${PYSITELIB}/synapse/storage/schema/delta/34/sent_txn_purge.py
+${PYSITELIB}/synapse/storage/schema/delta/34/sent_txn_purge.pyc
+${PYSITELIB}/synapse/storage/schema/delta/34/sent_txn_purge.pyo
+${PYSITELIB}/synapse/storage/schema/delta/35/add_state_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/contains_url.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/device_outbox.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/device_stream_id.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/event_push_actions_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/public_room_list_change_stream.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/state.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/state_dedupe.sql
+${PYSITELIB}/synapse/storage/schema/delta/35/stream_order_to_extrem.sql
+${PYSITELIB}/synapse/storage/schema/delta/36/readd_public_rooms.sql
+${PYSITELIB}/synapse/storage/schema/delta/37/remove_auth_idx.py
+${PYSITELIB}/synapse/storage/schema/delta/37/remove_auth_idx.pyc
+${PYSITELIB}/synapse/storage/schema/delta/37/remove_auth_idx.pyo
+${PYSITELIB}/synapse/storage/schema/delta/37/user_threepids.sql
+${PYSITELIB}/synapse/storage/schema/delta/38/postgres_fts_gist.sql
+${PYSITELIB}/synapse/storage/schema/delta/39/appservice_room_list.sql
+${PYSITELIB}/synapse/storage/schema/delta/39/device_federation_stream_idx.sql
+${PYSITELIB}/synapse/storage/schema/delta/39/event_push_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/39/federation_out_position.sql
+${PYSITELIB}/synapse/storage/schema/delta/39/membership_profile.sql
+${PYSITELIB}/synapse/storage/schema/delta/40/current_state_idx.sql
+${PYSITELIB}/synapse/storage/schema/delta/40/device_inbox.sql
+${PYSITELIB}/synapse/storage/schema/delta/40/device_list_streams.sql
+${PYSITELIB}/synapse/storage/schema/delta/40/event_push_summary.sql
+${PYSITELIB}/synapse/storage/schema/delta/40/pushers.sql
+${PYSITELIB}/synapse/storage/schema/delta/41/device_list_stream_idx.sql
+${PYSITELIB}/synapse/storage/schema/delta/41/device_outbound_index.sql
+${PYSITELIB}/synapse/storage/schema/delta/41/event_search_event_id_idx.sql
+${PYSITELIB}/synapse/storage/schema/delta/41/ratelimit.sql
+${PYSITELIB}/synapse/storage/schema/delta/42/current_state_delta.sql
+${PYSITELIB}/synapse/storage/schema/delta/42/device_list_last_id.sql
+${PYSITELIB}/synapse/storage/schema/delta/42/event_auth_state_only.sql
+${PYSITELIB}/synapse/storage/schema/delta/42/user_dir.py
+${PYSITELIB}/synapse/storage/schema/delta/42/user_dir.pyc
+${PYSITELIB}/synapse/storage/schema/delta/42/user_dir.pyo
+${PYSITELIB}/synapse/storage/schema/delta/43/blocked_rooms.sql
+${PYSITELIB}/synapse/storage/schema/delta/43/quarantine_media.sql
+${PYSITELIB}/synapse/storage/schema/delta/43/url_cache.sql
+${PYSITELIB}/synapse/storage/schema/delta/43/user_share.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/event_edges.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/event_signatures.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/im.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/keys.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/media_repository.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/presence.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/profiles.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/redactions.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/room_aliases.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/state.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/transactions.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/11/users.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/application_services.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/event_edges.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/event_signatures.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/im.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/keys.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/media_repository.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/presence.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/profiles.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/push.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/redactions.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/room_aliases.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/state.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/transactions.sql
+${PYSITELIB}/synapse/storage/schema/full_schemas/16/users.sql
+${PYSITELIB}/synapse/storage/schema/schema_version.sql
+${PYSITELIB}/synapse/storage/search.py
+${PYSITELIB}/synapse/storage/search.pyc
+${PYSITELIB}/synapse/storage/search.pyo
+${PYSITELIB}/synapse/storage/signatures.py
+${PYSITELIB}/synapse/storage/signatures.pyc
+${PYSITELIB}/synapse/storage/signatures.pyo
+${PYSITELIB}/synapse/storage/state.py
+${PYSITELIB}/synapse/storage/state.pyc
+${PYSITELIB}/synapse/storage/state.pyo
+${PYSITELIB}/synapse/storage/stream.py
+${PYSITELIB}/synapse/storage/stream.pyc
+${PYSITELIB}/synapse/storage/stream.pyo
+${PYSITELIB}/synapse/storage/tags.py
+${PYSITELIB}/synapse/storage/tags.pyc
+${PYSITELIB}/synapse/storage/tags.pyo
+${PYSITELIB}/synapse/storage/transactions.py
+${PYSITELIB}/synapse/storage/transactions.pyc
+${PYSITELIB}/synapse/storage/transactions.pyo
+${PYSITELIB}/synapse/storage/user_directory.py
+${PYSITELIB}/synapse/storage/user_directory.pyc
+${PYSITELIB}/synapse/storage/user_directory.pyo
+${PYSITELIB}/synapse/storage/util/__init__.py
+${PYSITELIB}/synapse/storage/util/__init__.pyc
+${PYSITELIB}/synapse/storage/util/__init__.pyo
+${PYSITELIB}/synapse/storage/util/id_generators.py
+${PYSITELIB}/synapse/storage/util/id_generators.pyc
+${PYSITELIB}/synapse/storage/util/id_generators.pyo
+${PYSITELIB}/synapse/streams/__init__.py
+${PYSITELIB}/synapse/streams/__init__.pyc
+${PYSITELIB}/synapse/streams/__init__.pyo
+${PYSITELIB}/synapse/streams/config.py
+${PYSITELIB}/synapse/streams/config.pyc
+${PYSITELIB}/synapse/streams/config.pyo
+${PYSITELIB}/synapse/streams/events.py
+${PYSITELIB}/synapse/streams/events.pyc
+${PYSITELIB}/synapse/streams/events.pyo
+${PYSITELIB}/synapse/types.py
+${PYSITELIB}/synapse/types.pyc
+${PYSITELIB}/synapse/types.pyo
+${PYSITELIB}/synapse/util/__init__.py
+${PYSITELIB}/synapse/util/__init__.pyc
+${PYSITELIB}/synapse/util/__init__.pyo
+${PYSITELIB}/synapse/util/async.py
+${PYSITELIB}/synapse/util/async.pyc
+${PYSITELIB}/synapse/util/async.pyo
+${PYSITELIB}/synapse/util/caches/__init__.py
+${PYSITELIB}/synapse/util/caches/__init__.pyc
+${PYSITELIB}/synapse/util/caches/__init__.pyo
+${PYSITELIB}/synapse/util/caches/descriptors.py
+${PYSITELIB}/synapse/util/caches/descriptors.pyc
+${PYSITELIB}/synapse/util/caches/descriptors.pyo
+${PYSITELIB}/synapse/util/caches/dictionary_cache.py
+${PYSITELIB}/synapse/util/caches/dictionary_cache.pyc
+${PYSITELIB}/synapse/util/caches/dictionary_cache.pyo
+${PYSITELIB}/synapse/util/caches/expiringcache.py
+${PYSITELIB}/synapse/util/caches/expiringcache.pyc
+${PYSITELIB}/synapse/util/caches/expiringcache.pyo
+${PYSITELIB}/synapse/util/caches/lrucache.py
+${PYSITELIB}/synapse/util/caches/lrucache.pyc
+${PYSITELIB}/synapse/util/caches/lrucache.pyo
+${PYSITELIB}/synapse/util/caches/response_cache.py
+${PYSITELIB}/synapse/util/caches/response_cache.pyc
+${PYSITELIB}/synapse/util/caches/response_cache.pyo
+${PYSITELIB}/synapse/util/caches/snapshot_cache.py
+${PYSITELIB}/synapse/util/caches/snapshot_cache.pyc
+${PYSITELIB}/synapse/util/caches/snapshot_cache.pyo
+${PYSITELIB}/synapse/util/caches/stream_change_cache.py
+${PYSITELIB}/synapse/util/caches/stream_change_cache.pyc
+${PYSITELIB}/synapse/util/caches/stream_change_cache.pyo
+${PYSITELIB}/synapse/util/caches/treecache.py
+${PYSITELIB}/synapse/util/caches/treecache.pyc
+${PYSITELIB}/synapse/util/caches/treecache.pyo
+${PYSITELIB}/synapse/util/distributor.py
+${PYSITELIB}/synapse/util/distributor.pyc
+${PYSITELIB}/synapse/util/distributor.pyo
+${PYSITELIB}/synapse/util/frozenutils.py
+${PYSITELIB}/synapse/util/frozenutils.pyc
+${PYSITELIB}/synapse/util/frozenutils.pyo
+${PYSITELIB}/synapse/util/httpresourcetree.py
+${PYSITELIB}/synapse/util/httpresourcetree.pyc
+${PYSITELIB}/synapse/util/httpresourcetree.pyo
+${PYSITELIB}/synapse/util/jsonobject.py
+${PYSITELIB}/synapse/util/jsonobject.pyc
+${PYSITELIB}/synapse/util/jsonobject.pyo
+${PYSITELIB}/synapse/util/logcontext.py
+${PYSITELIB}/synapse/util/logcontext.pyc
+${PYSITELIB}/synapse/util/logcontext.pyo
+${PYSITELIB}/synapse/util/logutils.py
+${PYSITELIB}/synapse/util/logutils.pyc
+${PYSITELIB}/synapse/util/logutils.pyo
+${PYSITELIB}/synapse/util/manhole.py
+${PYSITELIB}/synapse/util/manhole.pyc
+${PYSITELIB}/synapse/util/manhole.pyo
+${PYSITELIB}/synapse/util/metrics.py
+${PYSITELIB}/synapse/util/metrics.pyc
+${PYSITELIB}/synapse/util/metrics.pyo
+${PYSITELIB}/synapse/util/msisdn.py
+${PYSITELIB}/synapse/util/msisdn.pyc
+${PYSITELIB}/synapse/util/msisdn.pyo
+${PYSITELIB}/synapse/util/ratelimitutils.py
+${PYSITELIB}/synapse/util/ratelimitutils.pyc
+${PYSITELIB}/synapse/util/ratelimitutils.pyo
+${PYSITELIB}/synapse/util/retryutils.py
+${PYSITELIB}/synapse/util/retryutils.pyc
+${PYSITELIB}/synapse/util/retryutils.pyo
+${PYSITELIB}/synapse/util/rlimit.py
+${PYSITELIB}/synapse/util/rlimit.pyc
+${PYSITELIB}/synapse/util/rlimit.pyo
+${PYSITELIB}/synapse/util/stringutils.py
+${PYSITELIB}/synapse/util/stringutils.pyc
+${PYSITELIB}/synapse/util/stringutils.pyo
+${PYSITELIB}/synapse/util/versionstring.py
+${PYSITELIB}/synapse/util/versionstring.pyc
+${PYSITELIB}/synapse/util/versionstring.pyo
+${PYSITELIB}/synapse/util/wheel_timer.py
+${PYSITELIB}/synapse/util/wheel_timer.pyc
+${PYSITELIB}/synapse/util/wheel_timer.pyo
+${PYSITELIB}/synapse/visibility.py
+${PYSITELIB}/synapse/visibility.pyc
+${PYSITELIB}/synapse/visibility.pyo
diff --git a/py-matrix-synapse/distinfo b/py-matrix-synapse/distinfo
new file mode 100644
index 0000000000..9413dc2c05
--- /dev/null
+++ b/py-matrix-synapse/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (synapse-v0.22.1.zip) = b203acb6f921713a35649d6fe49b86b465bad781
+RMD160 (synapse-v0.22.1.zip) = f5c7dae3b3c4afe1cc59ea3fc45fa6499d846ef2
+SHA512 (synapse-v0.22.1.zip) = 313094b2b0cbd8b9e5f84fca90f514e1561902ee072f4a22395b28586b71d62a946d2edbb539c6838ad375666bced4fbb605c6524fac46e32e6b0e0c2f094af1
+Size (synapse-v0.22.1.zip) = 1282036 bytes
+SHA1 (patch-synapse_python__dependencies.py) = 9319dda78ff46c1c375c283307a0a82c93dc9dbd
diff --git a/py-matrix-synapse/files/homeserver.yaml b/py-matrix-synapse/files/homeserver.yaml
new file mode 100644
index 0000000000..660717b8aa
--- /dev/null
+++ b/py-matrix-synapse/files/homeserver.yaml
@@ -0,0 +1,471 @@
+# vim:ft=yaml
+# PEM encoded X509 certificate for TLS.
+# You can replace the self-signed certificate that synapse
+# autogenerates on launch with your own SSL certificate + key pair
+# if you like.  Any required intermediary certificates can be
+# appended after the primary certificate in hierarchical order.
+tls_certificate_path: "@PREFIX@/etc/example.com.tls.crt"
+
+# PEM encoded private key for TLS
+tls_private_key_path: "@PREFIX@/etc/example.com.tls.key"
+
+# PEM dh parameters for ephemeral keys
+tls_dh_params_path: "@PREFIX@/etc/example.com.tls.dh"
+
+# Don't bind to the https port
+no_tls: False
+
+# List of allowed TLS fingerprints for this server to publish along
+# with the signing keys for this server. Other matrix servers that
+# make HTTPS requests to this server will check that the TLS
+# certificates returned by this server match one of the fingerprints.
+#
+# Synapse automatically adds its the fingerprint of its own certificate
+# to the list. So if federation traffic is handle directly by synapse
+# then no modification to the list is required.
+#
+# If synapse is run behind a load balancer that handles the TLS then it
+# will be necessary to add the fingerprints of the certificates used by
+# the loadbalancers to this list if they are different to the one
+# synapse is using.
+#
+# Homeservers are permitted to cache the list of TLS fingerprints
+# returned in the key responses up to the "valid_until_ts" returned in
+# key. It may be necessary to publish the fingerprints of a new
+# certificate and wait until the "valid_until_ts" of the previous key
+# responses have passed before deploying it.
+tls_fingerprints: []
+# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
+
+
+## Server ##
+
+# The domain name of the server, with optional explicit port.
+# This is used by remote servers to connect to this server,
+# e.g. matrix.org, localhost:8080, etc.
+# This is also the last part of your UserID.
+server_name: "example.com"
+
+# When running as a daemon, the file to store the pid in
+pid_file: @SYNAPSE_PIDDIR@/homeserver.pid
+
+# Whether to serve a web client from the HTTP/HTTPS root resource.
+web_client: True
+
+# The public-facing base URL for the client API (not including _matrix/...)
+# public_baseurl: https://example.com:8448/
+
+# Set the soft limit on the number of file descriptors synapse can use
+# Zero is used to indicate synapse should set the soft limit to the
+# hard limit.
+soft_file_limit: 0
+
+# The GC threshold parameters to pass to `gc.set_threshold`, if defined
+# gc_thresholds: [700, 10, 10]
+
+# List of ports that Synapse should listen on, their purpose and their
+# configuration.
+listeners:
+  # Main HTTPS listener
+  # For when matrix traffic is sent directly to synapse.
+  -
+    # The port to listen for HTTPS requests on.
+    port: 8448
+
+    # Local interface to listen on.
+    # The empty string will cause synapse to listen on all interfaces.
+    bind_address: ''
+
+    # This is a 'http' listener, allows us to specify 'resources'.
+    type: http
+
+    tls: true
+
+    # Use the X-Forwarded-For (XFF) header as the client IP and not the
+    # actual client IP.
+    x_forwarded: false
+
+    # List of HTTP resources to serve on this listener.
+    resources:
+      -
+        # List of resources to host on this listener.
+        names:
+          - client     # The client-server APIs, both v1 and v2
+          - webclient  # The bundled webclient.
+
+        # Should synapse compress HTTP responses to clients that support it?
+        # This should be disabled if running synapse behind a load balancer
+        # that can do automatic compression.
+        compress: true
+
+      - names: [federation]  # Federation APIs
+        compress: false
+
+  # Unsecure HTTP listener,
+  # For when matrix traffic passes through loadbalancer that unwraps TLS.
+  - port: 8008
+    tls: false
+    bind_address: ''
+    type: http
+
+    x_forwarded: false
+
+    resources:
+      - names: [client, webclient]
+        compress: true
+      - names: [federation]
+        compress: false
+
+  # Turn on the twisted ssh manhole service on localhost on the given
+  # port.
+  # - port: 9000
+  #   bind_address: 127.0.0.1
+  #   type: manhole
+
+
+# Database configuration
+database:
+  # The database engine name
+  name: "sqlite3"
+  # Arguments to pass to the engine
+  args:
+    # Path to the database
+    database: "@SYNAPSE_DATADIR@/homeserver.db"
+
+# Number of events to cache in memory.
+event_cache_size: "10K"
+
+
+
+# Logging verbosity level.
+verbose: 0
+
+# File to write logging to
+log_file: "@SYNAPSE_LOGDIR@/homeserver.log"
+
+# A yaml python logging config file
+log_config: "@PREFIX@/etc/log.config"
+
+# Stop twisted from discarding the stack traces of exceptions in
+# deferreds by waiting a reactor tick before running a deferred's
+# callbacks.
+# full_twisted_stacktraces: true
+
+
+## Ratelimiting ##
+
+# Number of messages a client can send per second
+rc_messages_per_second: 0.2
+
+# Number of message a client can send before being throttled
+rc_message_burst_count: 10.0
+
+# The federation window size in milliseconds
+federation_rc_window_size: 1000
+
+# The number of federation requests from a single server in a window
+# before the server will delay processing the request.
+federation_rc_sleep_limit: 10
+
+# The duration in milliseconds to delay processing events from
+# remote servers by if they go over the sleep limit.
+federation_rc_sleep_delay: 500
+
+# The maximum number of concurrent federation requests allowed
+# from a single server
+federation_rc_reject_limit: 50
+
+# The number of federation requests to concurrently process from a
+# single server
+federation_rc_concurrent: 3
+
+
+
+# Directory where uploaded images and attachments are stored.
+media_store_path: "@SYNAPSE_DATADIR@/media_store"
+
+# Directory where in-progress uploads are stored.
+uploads_path: "@SYNAPSE_DATADIR@/uploads"
+
+# The largest allowed upload size in bytes
+max_upload_size: "10M"
+
+# Maximum number of pixels that will be thumbnailed
+max_image_pixels: "32M"
+
+# Whether to generate new thumbnails on the fly to precisely match
+# the resolution requested by the client. If true then whenever
+# a new resolution is requested by the client the server will
+# generate a new thumbnail. If false the server will pick a thumbnail
+# from a precalculated list.
+dynamic_thumbnails: false
+
+# List of thumbnail to precalculate when an image is uploaded.
+thumbnail_sizes:
+- width: 32
+  height: 32
+  method: crop
+- width: 96
+  height: 96
+  method: crop
+- width: 320
+  height: 240
+  method: scale
+- width: 640
+  height: 480
+  method: scale
+- width: 800
+  height: 600
+  method: scale
+
+# Is the preview URL API enabled?  If enabled, you *must* specify
+# an explicit url_preview_ip_range_blacklist of IPs that the spider is
+# denied from accessing.
+url_preview_enabled: False
+
+# List of IP address CIDR ranges that the URL preview spider is denied
+# from accessing.  There are no defaults: you must explicitly
+# specify a list for URL previewing to work.  You should specify any
+# internal services in your network that you do not want synapse to try
+# to connect to, otherwise anyone in any Matrix room could cause your
+# synapse to issue arbitrary GET requests to your internal services,
+# causing serious security issues.
+#
+# url_preview_ip_range_blacklist:
+# - '127.0.0.0/8'
+# - '10.0.0.0/8'
+# - '172.16.0.0/12'
+# - '192.168.0.0/16'
+# - '100.64.0.0/10'
+# - '169.254.0.0/16'
+#
+# List of IP address CIDR ranges that the URL preview spider is allowed
+# to access even if they are specified in url_preview_ip_range_blacklist.
+# This is useful for specifying exceptions to wide-ranging blacklisted
+# target IP ranges - e.g. for enabling URL previews for a specific private
+# website only visible in your network.
+#
+# url_preview_ip_range_whitelist:
+# - '192.168.1.1'
+
+# Optional list of URL matches that the URL preview spider is
+# denied from accessing.  You should use url_preview_ip_range_blacklist
+# in preference to this, otherwise someone could define a public DNS
+# entry that points to a private IP address and circumvent the blacklist.
+# This is more useful if you know there is an entire shape of URL that
+# you know that will never want synapse to try to spider.
+#
+# Each list entry is a dictionary of url component attributes as returned
+# by urlparse.urlsplit as applied to the absolute form of the URL.  See
+# https://docs.python.org/2/library/urlparse.html#urlparse.urlsplit
+# The values of the dictionary are treated as an filename match pattern
+# applied to that component of URLs, unless they start with a ^ in which
+# case they are treated as a regular expression match.  If all the
+# specified component matches for a given list item succeed, the URL is
+# blacklisted.
+#
+# url_preview_url_blacklist:
+# # blacklist any URL with a username in its URI
+# - username: '*'
+#
+# # blacklist all *.google.com URLs
+# - netloc: 'google.com'
+# - netloc: '*.google.com'
+#
+# # blacklist all plain HTTP URLs
+# - scheme: 'http'
+#
+# # blacklist http(s)://www.acme.com/foo
+# - netloc: 'www.acme.com'
+#   path: '/foo'
+#
+# # blacklist any URL with a literal IPv4 address
+# - netloc: '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
+
+# The largest allowed URL preview spidering size in bytes
+max_spider_size: "10M"
+
+
+
+
+## Captcha ##
+# See docs/CAPTCHA_SETUP for full details of configuring this.
+
+# This Home Server's ReCAPTCHA public key.
+recaptcha_public_key: "YOUR_PUBLIC_KEY"
+
+# This Home Server's ReCAPTCHA private key.
+recaptcha_private_key: "YOUR_PRIVATE_KEY"
+
+# Enables ReCaptcha checks when registering, preventing signup
+# unless a captcha is answered. Requires a valid ReCaptcha
+# public/private key.
+enable_registration_captcha: False
+
+# A secret key used to bypass the captcha test entirely.
+#captcha_bypass_secret: "YOUR_SECRET_HERE"
+
+# The API endpoint to use for verifying m.login.recaptcha responses.
+recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify";
+
+
+## Turn ##
+
+# The public URIs of the TURN server to give to clients
+turn_uris: []
+
+# The shared secret used to compute passwords for the TURN server
+turn_shared_secret: "YOUR_SHARED_SECRET"
+
+# How long generated TURN credentials last
+turn_user_lifetime: "1h"
+
+
+## Registration ##
+
+# Enable registration for new users.
+enable_registration: False
+
+# If set, allows registration by anyone who also has the shared
+# secret, even if registration is otherwise disabled.
+registration_shared_secret: "CHANGEME_50CHAR_RANDOM"
+
+# Set the number of bcrypt rounds used to generate password hash.
+# Larger numbers increase the work factor needed to generate the hash.
+# The default number of rounds is 12.
+bcrypt_rounds: 12
+
+# Allows users to register as guests without a password/email/etc, and
+# participate in rooms hosted on this server which have been made
+# accessible to anonymous users.
+allow_guest_access: False
+
+# The list of identity servers trusted to verify third party
+# identifiers by this server.
+trusted_third_party_id_servers:
+    - matrix.org
+    - vector.im
+
+
+## Metrics ###
+
+# Enable collection and rendering of performance metrics
+enable_metrics: False
+report_stats: False
+
+
+## API Configuration ##
+
+# A list of event types that will be included in the room_invite_state
+room_invite_state_types:
+    - "m.room.join_rules"
+    - "m.room.canonical_alias"
+    - "m.room.avatar"
+    - "m.room.name"
+
+
+# A list of application service config file to use
+app_service_config_files: []
+
+
+macaroon_secret_key: "CHANGEME_50CHAR_RANDOM"
+
+# Used to enable access token expiration.
+expire_access_token: False
+
+## Signing Keys ##
+
+# Path to the signing key to sign messages with
+signing_key_path: "@PREFIX@/example.com.signing.key"
+
+# The keys that the server used to sign messages with but won't use
+# to sign new messages. E.g. it has lost its private key
+old_signing_keys: {}
+#  "ed25519:auto":
+#    # Base64 encoded public key
+#    key: "The public part of your old signing key."
+#    # Millisecond POSIX timestamp when the key expired.
+#    expired_ts: 123456789123
+
+# How long key response published by this server is valid for.
+# Used to set the valid_until_ts in /key/v2 APIs.
+# Determines how quickly servers will query to check which keys
+# are still valid.
+key_refresh_interval: "1d" # 1 Day.
+
+# The trusted servers to download signing keys from.
+perspectives:
+  servers:
+    "matrix.org":
+      verify_keys:
+        "ed25519:auto":
+          key: "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
+
+
+
+# Enable SAML2 for registration and login. Uses pysaml2
+# config_path:      Path to the sp_conf.py configuration file
+# idp_redirect_url: Identity provider URL which will redirect
+#                   the user back to /login/saml2 with proper info.
+# See pysaml2 docs for format of config.
+#saml2_config:
+#   enabled: true
+#   config_path: "@PREFIX@/etc/sp_conf.py"
+#   idp_redirect_url: "http://example.com/idp";
+
+
+
+# Enable CAS for registration and login.
+#cas_config:
+#   enabled: true
+#   server_url: "https://cas-server.com";
+#   service_url: "https://homesever.domain.com:8448";
+#   #required_attributes:
+#   #    name: value
+
+
+# The JWT needs to contain a globally unique "sub" (subject) claim.
+#
+# jwt_config:
+#    enabled: true
+#    secret: "a secret"
+#    algorithm: "HS256"
+
+
+
+# Enable password for login.
+password_config:
+   enabled: true
+   # Uncomment and change to a secret random string for extra security.
+   # DO NOT CHANGE THIS AFTER INITIAL SETUP!
+   #pepper: ""
+
+
+
+# Enable sending emails for notification events
+#email:
+#   enable_notifs: false
+#   smtp_host: "localhost"
+#   smtp_port: 25
+#   notif_from: "Your Friendly %(app)s Home Server <noreply%example.com@localhost>"
+#   app_name: Matrix
+#   template_dir: res/templates
+#   notif_template_html: notif_mail.html
+#   notif_template_text: notif_mail.txt
+#   notif_for_new_users: True
+
+
+# password_providers:
+#     - module: "ldap_auth_provider.LdapAuthProvider"
+#       config:
+#         enabled: true
+#         uri: "ldap://ldap.example.com:389";
+#         start_tls: true
+#         base: "ou=users,dc=example,dc=com"
+#         attributes:
+#            uid: "cn"
+#            mail: "email"
+#            name: "givenName"
+#         #bind_dn:
+#         #bind_password:
+#         #filter: "(objectClass=posixAccount)"
diff --git a/py-matrix-synapse/files/log.config b/py-matrix-synapse/files/log.config
new file mode 100644
index 0000000000..69a03aed16
--- /dev/null
+++ b/py-matrix-synapse/files/log.config
@@ -0,0 +1,35 @@
+
+version: 1
+
+formatters:
+  precise:
+   format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s- %(message)s'
+
+filters:
+  context:
+    (): synapse.util.logcontext.LoggingContextFilter
+    request: ""
+
+handlers:
+  file:
+    class: logging.handlers.RotatingFileHandler
+    formatter: precise
+    filename: @SYNAPSE_LOGDIR@/homeserver.log
+    maxBytes: 104857600
+    backupCount: 10
+    filters: [context]
+    level: INFO
+  console:
+    class: logging.StreamHandler
+    formatter: precise
+
+loggers:
+    synapse:
+        level: INFO
+
+    synapse.storage.SQL:
+        level: INFO
+
+root:
+    level: INFO
+    handlers: [file, console]
diff --git a/py-matrix-synapse/files/synapse.sh b/py-matrix-synapse/files/synapse.sh
new file mode 100644
index 0000000000..c287fa677f
--- /dev/null
+++ b/py-matrix-synapse/files/synapse.sh
@@ -0,0 +1,54 @@
+#!/bin/sh
+#
+# Created by: Mark Felder <feld%FreeBSD.org@localhost>
+# $FreeBSD$
+#
+
+# PROVIDE: synapse
+# REQUIRE: LOGIN postgresql
+# KEYWORD: shutdown
+
+#
+# Add the following line to /etc/rc.conf to enable `synapse':
+#
+# synapse_enable="YES"
+
+. /etc/rc.subr
+name=synapse
+
+rcvar=$name
+load_rc_config ${name}
+synapse_user="@SYNAPSE_SYNAPSE_USERS@"
+synapse_conf="@PREFIX@/etc/homeserver.yaml"
+synapse_dbdir="@SYNAPSE_DATADIR@"
+synapse_logdir="@SYNAPSE_LOGDIR@"
+synapse_pidfile="@SYNAPSE_PIDDIR@/homeserver.pid"
+
+pidfile="${synapse_pidfile}"
+procname="@PYTHONBIN@"
+command="@PYTHONBIN@"
+command_args="-m synapse.app.homeserver --daemonize -c ${synapse_conf}"
+start_precmd=start_precmd
+
+start_precmd()
+{
+	if [ ! -d ${synapse_pidfile%/*} ] ; then
+		install -d -o @SYNAPSE_USERS@ -g wheel ${synapse_pidfile%/*};
+	fi
+
+	if [ ! -d ${synapse_dbdir} ] ; then
+		install -d -o @SYNAPSE_USERS@ -g wheel ${synapse_dbdir};
+	fi
+
+	if [ ! -d ${synapse_logdir} ] ; then
+		install -d -o @SYNAPSE_USERS@ -g wheel ${synapse_logdir};
+	fi
+
+	if $(grep -q CHANGEME ${synapse_conf}) ; then
+		echo "Error: Default secret values in config."
+		echo "Please replace the CHANGEME values in ${synapse_conf}"
+		exit 1
+	fi
+}
+
+run_rc_command "$1"
diff --git a/py-matrix-synapse/options.mk b/py-matrix-synapse/options.mk
new file mode 100644
index 0000000000..138503a6d8
--- /dev/null
+++ b/py-matrix-synapse/options.mk
@@ -0,0 +1,23 @@
+PKG_OPTIONS_VAR=		PKG_OPTIONS.synapse
+PKG_SUPPORTED_OPTIONS=		email ldap pgsql sqlite
+
+PKG_SUGGESTED_OPTIONS=	email sqlite
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Memail)
+DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-bleach-[0-9]*:../../www/py-bleach
+.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
+.endif
+
+.if !empty(PKG_OPTIONS:Msqlite)
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+.endif
diff --git a/py-matrix-synapse/patches/patch-synapse_python__dependencies.py b/py-matrix-synapse/patches/patch-synapse_python__dependencies.py
new file mode 100644
index 0000000000..04edda9bf9
--- /dev/null
+++ b/py-matrix-synapse/patches/patch-synapse_python__dependencies.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- synapse/python_dependencies.py.orig	2017-07-06 17:11:49.000000000 +0000
++++ synapse/python_dependencies.py
+@@ -24,7 +24,7 @@ REQUIREMENTS = {
+     "unpaddedbase64>=1.1.0": ["unpaddedbase64>=1.1.0"],
+     "canonicaljson>=1.0.0": ["canonicaljson>=1.0.0"],
+     "signedjson>=1.0.0": ["signedjson>=1.0.0"],
+-    "pynacl==0.3.0": ["nacl==0.3.0", "nacl.bindings"],
++    "pynacl>=0.3.0": ["nacl>=0.3.0", "nacl.bindings"],
+     "service_identity>=1.0.0": ["service_identity>=1.0.0"],
+     "Twisted>=16.0.0": ["twisted>=16.0.0"],
+     "pyopenssl>=0.14": ["OpenSSL>=0.14"],


Home | Main Index | Thread Index | Old Index