net-im/py-matrix-synapse: update to 0.34.0

PR:		234244
Submitted by:	Markus Mann <freebsd-public@it64.de>
Approved by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)
This commit is contained in:
Steve Wills 2018-12-26 21:18:33 +00:00
parent 94b8da4803
commit 975474f979
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488449
3 changed files with 10 additions and 16 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= matrix-synapse
DISTVERSIONPREFIX= v
DISTVERSION= 0.33.9
DISTVERSION= 0.34.0
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -41,9 +41,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.5.1:devel/py-jsonschema@${PY_F
${PYTHON_PKGNAMEPREFIX}attrs>16.0.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR}
# Conditional requirements that aren't so conditional
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}matrix-angular-sdk>=0.6.8:devel/py-matrix-angular-sdk@${PY_FLAVOR}
# Dependencies that aren't declared in python_dependencies.py which I have discovered
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=3.10.0:devel/py-simplejson@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1542851909
SHA256 (matrix-org-synapse-v0.33.9_GH0.tar.gz) = a0870c157598a494774fd9b6faf7041f9c3d62ec10d88986232c5d404de93aa4
SIZE (matrix-org-synapse-v0.33.9_GH0.tar.gz) = 1087324
TIMESTAMP = 1545392934
SHA256 (matrix-org-synapse-v0.34.0_GH0.tar.gz) = e0e380a60668738dacb9ce944d45af19367dc3f7e502a6e649898e9b6d81b8dc
SIZE (matrix-org-synapse-v0.34.0_GH0.tar.gz) = 1124109

View file

@ -78,13 +78,9 @@ pid_file: %%PIDDIR%%/homeserver.pid
#
# cpu_affinity: 0xFFFFFFFF
# Whether to serve a web client from the HTTP/HTTPS root resource.
web_client: True
# The root directory to server for the above web client.
# If left undefined, synapse will serve the matrix-angular-sdk web client.
# Make sure matrix-angular-sdk is installed with pip if web_client is True
# and web_client_location is undefined
# The path to the web client which will be served at /_matrix/client/
# if 'webclient' is configured under the 'listeners' configuration.
#
# web_client_location: "/path/to/web/root"
# The public-facing base URL for the client API (not including _matrix/...)
@ -152,7 +148,7 @@ listeners:
# List of resources to host on this listener.
names:
- client # The client-server APIs, both v1 and v2
- webclient # The bundled webclient.
# - webclient # The bundled webclient. (no longer available)
# Should synapse compress HTTP responses to clients that support it?
# This should be disabled if running synapse behind a load balancer
@ -179,7 +175,8 @@ listeners:
x_forwarded: false
resources:
- names: [client, webclient]
- names: [client] # change to "client, webclient" to activate web client
# also set web_client_location to a correct location
compress: true
- names: [federation]
compress: false