landry d4841d2621 net/synapse: update to 1.24.0, from maintainer Renaud Allard
There is a denial of service attack (CVE-2020-26257) against the
federation APIs in which future events will not be correctly sent to
other servers over federation. This affects all servers that participate
in open federation. (Fixed in #8776).

Synapse may be affected by OpenSSL CVE-2020-1971.  Synapse
administrators should ensure that they have the latest versions of the
cryptography Python package installed.

ok abieber@
2020-12-09 16:04:40 +00:00

72 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2020/12/09 16:04:40 landry Exp $
COMMENT = open network for secure, decentralized communication
MODPY_EGG_VERSION = 1.24.0
GH_ACCOUNT = matrix-org
GH_PROJECT = synapse
GH_TAGNAME = v${MODPY_EGG_VERSION}
CATEGORIES = net
HOMEPAGE = https://matrix.org/
MAINTAINER = Renaud Allard <renaud@allard.it>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_SETUPTOOLS = Yes
MODPY_DISTUTILS_INSTALLARGS = --install-scripts ${LOCALBASE}/share/synapse
RUN_DEPENDS = textproc/py-lxml${MODPY_FLAVOR} \
textproc/py-yaml${MODPY_FLAVOR} \
textproc/py-unpaddedbase64${MODPY_FLAVOR} \
textproc/py-signedjson${MODPY_FLAVOR} \
textproc/py-canonicaljson${MODPY_FLAVOR} \
devel/py-asn1${MODPY_FLAVOR} \
devel/py-blist${MODPY_FLAVOR} \
devel/py-jsonschema${MODPY_FLAVOR} \
devel/py-twisted${MODPY_FLAVOR} \
devel/py-simplejson${MODPY_FLAVOR} \
devel/py-typing-extensions${MODPY_FLAVOR} \
devel/py-importlib-metadata${MODPY_FLAVOR} \
devel/py-sortedcontainers${MODPY_FLAVOR} \
devel/py-constantly${MODPY_FLAVOR} \
devel/py-hamcrest${MODPY_FLAVOR} \
devel/py-incremental${MODPY_FLAVOR} \
devel/py-automat${MODPY_FLAVOR} \
devel/py-more-itertools${MODPY_FLAVOR} \
net/py-msgpack${MODPY_FLAVOR} \
net/py-netaddr${MODPY_FLAVOR} \
telephony/py-phonenumbers${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR} \
www/py-macaroons${MODPY_FLAVOR} \
www/py-treq${MODPY_FLAVOR} \
www/py-bleach${MODPY_FLAVOR} \
www/py-hyperlink${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR} \
sysutils/py-daemonize${MODPY_FLAVOR} \
sysutils/py-psutil${MODPY_FLAVOR} \
sysutils/py-prometheus_client${MODPY_FLAVOR} \
graphics/py-Pillow${MODPY_FLAVOR} \
security/py-bcrypt${MODPY_FLAVOR} \
security/py-libnacl${MODPY_FLAVOR} \
security/py-service_identity${MODPY_FLAVOR} \
security/py-PyNaCl${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS} \
devel/py-mock${MODPY_FLAVOR} \
devel/py-twisted${MODPY_FLAVOR} \
www/py-jwt${MODPY_FLAVOR}
do-test:
cd ${WRKSRC} && ${SETENV} PYTHONPATH=. ${LOCALBASE}/bin/trial-3 tests
.include <bsd.port.mk>