Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/matrix-synapse Add chat/matrix-synapse



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72e1cdae4e10
branches:  trunk
changeset: 438114:72e1cdae4e10
user:      js <js%pkgsrc.org@localhost>
date:      Fri Sep 04 20:34:11 2020 +0000

description:
Add chat/matrix-synapse

diffstat:

 chat/matrix-synapse/DESCR                   |     5 +
 chat/matrix-synapse/MESSAGE                 |    16 +
 chat/matrix-synapse/Makefile                |    71 +
 chat/matrix-synapse/PLIST                   |  1634 +++++++++++++++++++++++++++
 chat/matrix-synapse/distinfo                |     6 +
 chat/matrix-synapse/files/matrix-synapse.sh |    23 +
 6 files changed, 1755 insertions(+), 0 deletions(-)

diffs (truncated from 1779 to 300 lines):

diff -r 54ffb498cbaa -r 72e1cdae4e10 chat/matrix-synapse/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/matrix-synapse/DESCR Fri Sep 04 20:34:11 2020 +0000
@@ -0,0 +1,5 @@
+Synapse is a reference "homeserver" implementation of Matrix from the core
+development team at matrix.org, written in Python/Twisted.  It is intended to
+showcase the concept of Matrix and let folks see the spec in the context of a
+codebase and let you run your own homeserver and generally help bootstrap the
+ecosystem.
diff -r 54ffb498cbaa -r 72e1cdae4e10 chat/matrix-synapse/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/matrix-synapse/MESSAGE       Fri Sep 04 20:34:11 2020 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2020/09/04 20:34:11 js Exp $
+
+To generate a Synapse configuration, run:
+
+cd ${SYNAPSE_DATA} &&
+${PYTHONBIN} -m synapse.app.homeserver \
+       --server-name my.domain.name \
+       --config-path ${PKG_SYSCONFDIR}/matrix-synapse/homeserver.yaml \
+       --config-directory ${PKG_SYSCONFDIR}/matrix-synapse \
+       --generate-config \
+       --report-stats=no
+
+If you want to use Synapse with SQLite3 on NetBSD, you need to add
+PREFER_PKGSRC+= sqlite3 to mk.conf and rebuild databases/py-sqlite3.
+===========================================================================
diff -r 54ffb498cbaa -r 72e1cdae4e10 chat/matrix-synapse/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/matrix-synapse/Makefile      Fri Sep 04 20:34:11 2020 +0000
@@ -0,0 +1,71 @@
+# $NetBSD: Makefile,v 1.1 2020/09/04 20:34:11 js Exp $
+
+DISTNAME=      matrix-synapse-1.19.1
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=matrix-org/}
+EGG_NAME=      matrix_synapse-${PKGVERSION_NOREV}
+GITHUB_PROJECT=        synapse
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    js%pkgsrc.org@localhost
+HOMEPAGE=      https://github.com/matrix-org/synapse/
+COMMENT=       Reference homeserver for the Matrix decentralised comms protocol
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
+DEPENDS+=      ${PYPKGPREFIX}-frozendict>=1:../../devel/py-frozendict
+DEPENDS+=      ${PYPKGPREFIX}-unpaddedbase64>=1.1.0:../../devel/py-unpaddedbase64
+DEPENDS+=      ${PYPKGPREFIX}-canonicaljson>=1.2.0:../../devel/py-canonicaljson
+DEPENDS+=      ${PYPKGPREFIX}-signedjson>=1.1.0:../../security/py-signedjson
+DEPENDS+=      ${PYPKGPREFIX}-nacl>=1.2.1:../../security/py-nacl
+DEPENDS+=      ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
+DEPENDS+=      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
+DEPENDS+=      ${PYPKGPREFIX}-twisted>=18.9.0:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-treq>=15.1:../../devel/py-treq
+DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=16.0.0:../../security/py-OpenSSL
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.11:../../textproc/py-yaml
+DEPENDS+=      ${PYPKGPREFIX}-asn1>=0.1.9:../../security/py-asn1
+DEPENDS+=      ${PYPKGPREFIX}-asn1-modules>=0.0.7:../../security/py-asn1-modules
+DEPENDS+=      ${PYPKGPREFIX}-daemonize>=2.3.1:../../devel/py-daemonize
+DEPENDS+=      ${PYPKGPREFIX}-bcrypt>=3.1.0:../../security/py-bcrypt
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=4.3.0:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=1.4.4:../../devel/py-sortedcontainers
+DEPENDS+=      ${PYPKGPREFIX}-macaroons>=0.13.0:../../devel/py-macaroons
+DEPENDS+=      ${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
+DEPENDS+=      ${PYPKGPREFIX}-phonenumbers>=8.2.0:../../textproc/py-phonenumbers
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-prometheus_client>=0.8.0:../../net/py-prometheus_client
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-netaddr>=0.7.18:../../net/py-netaddr
+DEPENDS+=      ${PYPKGPREFIX}-jinja2>=2.9:../../textproc/py-jinja2
+DEPENDS+=      ${PYPKGPREFIX}-bleach>=1.4.3:../../www/py-bleach
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-psycopg2>=2.7:../../databases/py-psycopg2
+
+USE_LANGUAGES= # none
+REPLACE_PERL+= scripts/sync_room_to_group.pl
+
+SYNAPSE_USER?= synapse
+SYNAPSE_GROUP?=        ${SYNAPSE_USER}
+SYNAPSE_DATA?= ${VARBASE}/db/matrix-synapse
+
+OWN_DIRS_PERMS+=       ${SYNAPSE_DATA} ${SYNAPSE_USER} ${SYNAPSE_GROUP} 0770
+
+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 daemon user
+PKG_HOME.${SYNAPSE_USER}=      ${SYNAPSE_DATA}
+PKG_SHELL.${SYNAPSE_USER}=     ${NOLOGIN}
+
+RCD_SCRIPTS=   matrix-synapse
+
+FILES_SUBST+=  SYNAPSE_DATA=${SYNAPSE_DATA:Q}
+FILES_SUBST+=  SYNAPSE_USER=${SYNAPSE_USER:Q}
+MESSAGE_SUBST+=        PYTHONBIN=${PYTHONBIN:Q}
+MESSAGE_SUBST+=        SYNAPSE_DATA=${SYNAPSE_DATA:Q}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 54ffb498cbaa -r 72e1cdae4e10 chat/matrix-synapse/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/matrix-synapse/PLIST Fri Sep 04 20:34:11 2020 +0000
@@ -0,0 +1,1634 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/04 20:34:11 js Exp $
+bin/export_signing_key
+bin/generate_config
+bin/generate_log_config
+bin/generate_signing_key.py
+bin/hash_password
+bin/move_remote_media_to_new_store.py
+bin/register_new_matrix_user
+bin/synapse_port_db
+bin/sync_room_to_group.pl
+bin/synctl
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/synapse/__init__.py
+${PYSITELIB}/synapse/__init__.pyc
+${PYSITELIB}/synapse/__init__.pyo
+${PYSITELIB}/synapse/_scripts/__init__.py
+${PYSITELIB}/synapse/_scripts/__init__.pyc
+${PYSITELIB}/synapse/_scripts/__init__.pyo
+${PYSITELIB}/synapse/_scripts/register_new_matrix_user.py
+${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyc
+${PYSITELIB}/synapse/_scripts/register_new_matrix_user.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/auth_blocking.py
+${PYSITELIB}/synapse/api/auth_blocking.pyc
+${PYSITELIB}/synapse/api/auth_blocking.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/room_versions.py
+${PYSITELIB}/synapse/api/room_versions.pyc
+${PYSITELIB}/synapse/api/room_versions.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/_base.py
+${PYSITELIB}/synapse/app/_base.pyc
+${PYSITELIB}/synapse/app/_base.pyo
+${PYSITELIB}/synapse/app/admin_cmd.py
+${PYSITELIB}/synapse/app/admin_cmd.pyc
+${PYSITELIB}/synapse/app/admin_cmd.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/event_creator.py
+${PYSITELIB}/synapse/app/event_creator.pyc
+${PYSITELIB}/synapse/app/event_creator.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/frontend_proxy.py
+${PYSITELIB}/synapse/app/frontend_proxy.pyc
+${PYSITELIB}/synapse/app/frontend_proxy.pyo
+${PYSITELIB}/synapse/app/generic_worker.py
+${PYSITELIB}/synapse/app/generic_worker.pyc
+${PYSITELIB}/synapse/app/generic_worker.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/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.pyi
+${PYSITELIB}/synapse/config/_base.pyo
+${PYSITELIB}/synapse/config/_util.py
+${PYSITELIB}/synapse/config/_util.pyc
+${PYSITELIB}/synapse/config/_util.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/cache.py
+${PYSITELIB}/synapse/config/cache.pyc
+${PYSITELIB}/synapse/config/cache.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/consent_config.py
+${PYSITELIB}/synapse/config/consent_config.pyc
+${PYSITELIB}/synapse/config/consent_config.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/federation.py
+${PYSITELIB}/synapse/config/federation.pyc
+${PYSITELIB}/synapse/config/federation.pyo
+${PYSITELIB}/synapse/config/groups.py
+${PYSITELIB}/synapse/config/groups.pyc
+${PYSITELIB}/synapse/config/groups.pyo
+${PYSITELIB}/synapse/config/homeserver.py
+${PYSITELIB}/synapse/config/homeserver.pyc
+${PYSITELIB}/synapse/config/homeserver.pyo
+${PYSITELIB}/synapse/config/jwt_config.py
+${PYSITELIB}/synapse/config/jwt_config.pyc
+${PYSITELIB}/synapse/config/jwt_config.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/oidc_config.py
+${PYSITELIB}/synapse/config/oidc_config.pyc
+${PYSITELIB}/synapse/config/oidc_config.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/redis.py
+${PYSITELIB}/synapse/config/redis.pyc
+${PYSITELIB}/synapse/config/redis.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/room.py
+${PYSITELIB}/synapse/config/room.pyc
+${PYSITELIB}/synapse/config/room.pyo



Home | Main Index | Thread Index | Old Index