aboutsummaryrefslogtreecommitdiff
path: root/net-im/py-matrix-synapse
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-12-26 21:18:33 +0000
committerSteve Wills <swills@FreeBSD.org>2018-12-26 21:18:33 +0000
commit975474f979a778769a36a6c46afab8d74a00705f (patch)
tree5e438ae4fd15c868ef2c284c50eac1364307b78f /net-im/py-matrix-synapse
parent94b8da480360475bf0756d239a2fae31e0a12890 (diff)
downloadports-975474f979a778769a36a6c46afab8d74a00705f.tar.gz
ports-975474f979a778769a36a6c46afab8d74a00705f.zip
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)
Notes
Notes: svn path=/head/; revision=488449
Diffstat (limited to 'net-im/py-matrix-synapse')
-rw-r--r--net-im/py-matrix-synapse/Makefile5
-rw-r--r--net-im/py-matrix-synapse/distinfo6
-rw-r--r--net-im/py-matrix-synapse/files/homeserver.yaml.in15
3 files changed, 10 insertions, 16 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index fbcb8a639fec..55bb5eae83e9 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -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
diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo
index 11a11df49fa1..6557af314f91 100644
--- a/net-im/py-matrix-synapse/distinfo
+++ b/net-im/py-matrix-synapse/distinfo
@@ -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
diff --git a/net-im/py-matrix-synapse/files/homeserver.yaml.in b/net-im/py-matrix-synapse/files/homeserver.yaml.in
index 3efc741c891b..82ece372cc60 100644
--- a/net-im/py-matrix-synapse/files/homeserver.yaml.in
+++ b/net-im/py-matrix-synapse/files/homeserver.yaml.in
@@ -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