View | Details | Raw Unified | Return to bug 238399
Collapse All | Expand All

(-)py-matrix-synapse/Makefile (-5 / +11 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	matrix-synapse
4
PORTNAME=	matrix-synapse
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	0.99.3
6
DISTVERSION=	0.99.5.2
7
CATEGORIES=	net-im python
7
CATEGORIES=	net-im python
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
Lines 29-35 Link Here
29
		${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \
29
		${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \
30
		${PYTHON_PKGNAMEPREFIX}daemonize>=2.4.2:devel/py-daemonize@${PY_FLAVOR} \
30
		${PYTHON_PKGNAMEPREFIX}daemonize>=2.4.2:devel/py-daemonize@${PY_FLAVOR} \
31
		${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \
31
		${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \
32
		${PYTHON_PKGNAMEPREFIX}pillow>=3.1.2:graphics/py-pillow@${PY_FLAVOR} \
32
		${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.2:security/py-pysaml2@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.2:security/py-pysaml2@${PY_FLAVOR} \
Lines 71-87 Link Here
71
71
72
NO_ARCH=	yes
72
NO_ARCH=	yes
73
73
74
OPTIONS_DEFINE=		EMAIL LDAP PGSQL SQLITE URLPREVIEW
74
OPTIONS_DEFINE=		EMAIL LDAP PGSQL SQLITE URLPREVIEW DOCS
75
OPTIONS_DEFAULT=	SQLITE
75
OPTIONS_DEFAULT=	SQLITE DOCS
76
EMAIL_DESC=		Email notifications for missed messages
76
EMAIL_DESC=		Email notifications for missed messages
77
URLPREVIEW_DESC=	Add dependencies necessary for URL previews
77
URLPREVIEW_DESC=	Add dependencies necessary for URL previews
78
URLPREVIEW_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR}
78
URLPREVIEW_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR}
79
EMAIL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
79
EMAIL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
80
			${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR}
80
			${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR}
81
LDAP_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR}
81
LDAP_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR}
82
PGSQL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}psycopg2>2.6:databases/py-psycopg2@${PY_FLAVOR}
82
PGSQL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR}
83
SQLITE_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
83
SQLITE_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
84
84
85
86
PORTDOCS=README.rst UPGRADE.rst CHANGES.md
85
post-patch:
87
post-patch:
86
	@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/synapse/python_dependencies.py
88
	@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/synapse/python_dependencies.py
87
89
Lines 91-95 Link Here
91
post-install:
93
post-install:
92
	${MKDIR} ${STAGEDIR}${ETCDIR}
94
	${MKDIR} ${STAGEDIR}${ETCDIR}
93
	${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample
95
	${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample
96
97
post-install-DOCS-on:
98
	${MKDIR} ${STAGEDIR}${DOCSDIR}
99
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
94
100
95
.include <bsd.port.mk>
101
.include <bsd.port.mk>
(-)py-matrix-synapse/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1555070432
1
TIMESTAMP = 1559912139
2
SHA256 (matrix-org-synapse-v0.99.3_GH0.tar.gz) = 60a2b4caaed3e23a8fe9b43406dbee695d60271650f332cf3df3fce675a68274
2
SHA256 (matrix-org-synapse-v0.99.5.2_GH0.tar.gz) = 0b820a1fbf81a4db2cd04f806f9a463dfcd8c0cd799701a4104e652431a6920b
3
SIZE (matrix-org-synapse-v0.99.3_GH0.tar.gz) = 1227964
3
SIZE (matrix-org-synapse-v0.99.5.2_GH0.tar.gz) = 1277988
(-)py-matrix-synapse/files/pkg-message.in (+3 lines)
Lines 12-14 Link Here
12
with previous versions will no longer suffice. Please ensure that the
12
with previous versions will no longer suffice. Please ensure that the
13
certificate specified by the "tls_certificate_path" option in your
13
certificate specified by the "tls_certificate_path" option in your
14
homeserver.yaml points to a valid certificate.
14
homeserver.yaml points to a valid certificate.
15
16
If you're upgrading from a previous release of synapse, please read the upgrade
17
instructions at %%DOCSDIR%%/UPGRADE.rst

Return to bug 238399