diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2019-12-20 21:16:08 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2019-12-20 21:16:08 +0000 |
commit | 4c6110f7bd55600d9cb16ee409fecd4f1badc115 (patch) | |
tree | 69f0e47eafa8cc0a2e8c467e312882754bfb4eac /net-im/py-matrix-synapse | |
parent | 54254290a6b6a7bf096b5c7e1446b979f59cf4d6 (diff) | |
download | ports-4c6110f7bd55600d9cb16ee409fecd4f1badc115.tar.gz ports-4c6110f7bd55600d9cb16ee409fecd4f1badc115.zip |
net-im/py-matrix-synapse:
- Update to 1.7.2
- Enable PostgreSQL support per default as recommended from upstream
- Add messages for updating
PR: 242702
Submitted by: Sascha Biberhofer <ports@skyforge.at> (maintainer)
Notes
Notes:
svn path=/head/; revision=520527
Diffstat (limited to 'net-im/py-matrix-synapse')
-rw-r--r-- | net-im/py-matrix-synapse/Makefile | 9 | ||||
-rw-r--r-- | net-im/py-matrix-synapse/distinfo | 6 | ||||
-rw-r--r-- | net-im/py-matrix-synapse/files/pkg-message.in | 12 |
3 files changed, 20 insertions, 7 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index ed194fa3afae..8daf07c89654 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= 1.6.1 +DISTVERSION= 1.7.2 CATEGORIES= net-im python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -71,12 +71,13 @@ SUB_FILES= pkg-message log.config SUB_LIST= PYTHON_CMD=${PYTHON_CMD} DBDIR=${DBDIR} LOGDIR=${LOGDIR} PIDDIR=${PIDDIR} USERS=${USERS} PLIST_FILES= "@sample ${ETCDIR}/log.config.sample" -PORTDOCS=README.rst UPGRADE.rst CHANGES.md +DOCS=README.rst UPGRADE.rst CHANGES.md docs/postgres.md +PORTDOCS=${DOCS:T} NO_ARCH= yes OPTIONS_DEFINE= LDAP PGSQL SQLITE URLPREVIEW DOCS -OPTIONS_DEFAULT= SQLITE DOCS +OPTIONS_DEFAULT= SQLITE PGSQL DOCS URLPREVIEW_DESC= Add dependencies necessary for URL previews @@ -94,6 +95,6 @@ post-install: post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo index a5aef404b305..2f3a56c62e95 100644 --- a/net-im/py-matrix-synapse/distinfo +++ b/net-im/py-matrix-synapse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1574944951 -SHA256 (matrix-org-synapse-v1.6.1_GH0.tar.gz) = 01915d8d259c5c11ab3bbbfebdc0a03f686b344f133b54a3a634b107d9752698 -SIZE (matrix-org-synapse-v1.6.1_GH0.tar.gz) = 6274696 +TIMESTAMP = 1576842989 +SHA256 (matrix-org-synapse-v1.7.2_GH0.tar.gz) = fac51aba338c443a3f4ff8c8e95abb23aee759f9df605207429e4a911a0b97be +SIZE (matrix-org-synapse-v1.7.2_GH0.tar.gz) = 6301252 diff --git a/net-im/py-matrix-synapse/files/pkg-message.in b/net-im/py-matrix-synapse/files/pkg-message.in index 0f03e7a15d15..b64ad26de53c 100644 --- a/net-im/py-matrix-synapse/files/pkg-message.in +++ b/net-im/py-matrix-synapse/files/pkg-message.in @@ -27,4 +27,16 @@ If you're upgrading from a previous release of synapse, please read the upgrade instructions at %%DOCSDIR%%/UPGRADE.rst EOM } +{ + message: <<EOM +Running synapse with the sqlite backend is only recommended for testing purposes. +Future versions of synapse will disable federation by default if sqlite is used. +EOM +} +{ type: upgrade + message: <<EOM +If you're currently using synapse with sqlite and would like to switch to postgres, +please read the instructions at %%DOCSDIR%%/postgres.md +EOM +} ] |