diff options
author | Sascha Biberhofer <sascha.biberhofer@skyforge.at> | 2022-06-28 19:31:14 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2022-06-29 04:14:56 +0000 |
commit | 46b9a76d82a03461de14551e9cdd89ce784ce409 (patch) | |
tree | effcd621207ce7c93ec12f071dd9dc7da9a2fff5 /net-im/py-matrix-synapse/Makefile | |
parent | 8dc81a4e498270961c806e64f1ed07596d6424b9 (diff) | |
download | ports-46b9a76d82a03461de14551e9cdd89ce784ce409.tar.gz ports-46b9a76d82a03461de14551e9cdd89ce784ce409.zip |
net-im/py-matrix-synapse: Update to 1.61.1
This minor update contains a security fix for GHSA-22p3-qrh9-cx32 /
CVE-2022-31052.
While we're at it, switch to pypi as package source. This not only
follows general python port guidelines but also eliminates the
need for poetry2setup, hopefully fixing #264178[0].
Changes: https://github.com/matrix-org/synapse/releases/tag/v1.61.1
Signed-off-by: Sascha Biberhofer <sascha.biberhofer@skyforge.at>
PR: 264178
MFH: 2022Q2
Security: 07c0d782-f758-11ec-acaa-901b0e9408dc
Security: CVE-2022-31052
(cherry picked from commit c4501a503083e9de1d8cfd936cfb244642884434)
Diffstat (limited to 'net-im/py-matrix-synapse/Makefile')
-rw-r--r-- | net-im/py-matrix-synapse/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index 23022e00f29b..7eb0f06b23d4 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -1,9 +1,9 @@ # Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net> PORTNAME= matrix-synapse -DISTVERSIONPREFIX= v -DISTVERSION= 1.61.0 +DISTVERSION= 1.61.1 CATEGORIES= net-im python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@skyforge.at @@ -12,8 +12,7 @@ COMMENT= Matrix protocol reference homeserver LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}poetry2setup>=1.0.0:devel/py-poetry2setup@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} # Keep the RUN_DEPENDS layout similar to the master/synapse/python_dependencies.py file RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_FLAVOR} \ @@ -55,9 +54,6 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_F ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} USES= python:3.7+ -USE_GITHUB= yes -GH_ACCOUNT= matrix-org -GH_PROJECT= synapse USE_PYTHON= autoplist distutils USE_RC_SUBR= synapse @@ -100,9 +96,6 @@ URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0:devel/py-lxml@${PY_FL RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4:devel/py-importlib-metadata@${PY_FLAVOR} .endif -pre-configure: - cd ${WRKSRC} && poetry2setup > setup.py - post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample |