View | Details | Raw Unified | Return to bug 222657 | Differences between
and this patch

Collapse All | Expand All

(-)www/radicale/Makefile (-18 / +16 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	radicale
4
PORTNAME=	radicale
5
PORTVERSION=	1.1.6
5
PORTVERSION=	2.1.8
6
CATEGORIES=	www python
6
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 13-41 Link Here
13
13
14
LICENSE=	GPLv3
14
LICENSE=	GPLv3
15
15
16
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${FLAVOR}
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}vobject>=0:deskutils/py-vobject@${FLAVOR}
20
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${FLAVOR}
24
25
USES=		python:3.3+
16
USE_PYTHON=	autoplist distutils
26
USE_PYTHON=	autoplist distutils
17
18
NO_ARCH=	yes
19
20
USERS=		radicale
27
USERS=		radicale
21
GROUPS=		radicale
28
GROUPS=		radicale
22
USE_RC_SUBR=	radicale
29
USE_RC_SUBR=	radicale
30
NO_ARCH=	yes
31
23
SUB_LIST=	USERS="${USERS}" PYTHON_CMD="${PYTHON_CMD}"
32
SUB_LIST=	USERS="${USERS}" PYTHON_CMD="${PYTHON_CMD}"
24
33
25
OPTIONS_DEFINE=	HTTP LDAP
26
HTTP_DESC=	HTTP authentication support
27
28
HTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests1>=0:www/py-requests1@${FLAVOR}
29
LDAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap>=0:net/py-ldap@${FLAVOR}
30
31
.include <bsd.port.options.mk>
32
33
.if ${PORT_OPTIONS:MHTTP} || ${PORT_OPTIONS:MLDAP}
34
USES+=		python:2.7
35
.else
36
USES+=		python
37
.endif
38
39
post-patch:
34
post-patch:
40
	${REINPLACE_CMD} 's,= /etc,= ${PREFIX}/etc,g' ${WRKSRC}/config
35
	${REINPLACE_CMD} 's,= /etc,= ${PREFIX}/etc,g' ${WRKSRC}/config
41
	${REINPLACE_CMD} 's,~/.config/radicale,${DATADIR},g' ${WRKSRC}/config
36
	${REINPLACE_CMD} 's,~/.config/radicale,${DATADIR},g' ${WRKSRC}/config
Lines 46-49 Link Here
46
	${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}/${ETCDIR}/config.sample
41
	${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}/${ETCDIR}/config.sample
47
	${INSTALL_DATA} ${WRKSRC}/logging ${STAGEDIR}/${ETCDIR}/logging.sample
42
	${INSTALL_DATA} ${WRKSRC}/logging ${STAGEDIR}/${ETCDIR}/logging.sample
48
43
44
do-test:
45
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
46
49
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)www/radicale/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1501318583
1
TIMESTAMP = 1521340337
2
SHA256 (Radicale-1.1.6.tar.gz) = c007198ea45ef797344672c681d4c13f8b4aa85c15c41a1156225767a405c92b
2
SHA256 (Radicale-2.1.8.tar.gz) = 720d7c63faa9b9ce9f019067cb846cb2ca593a3c13af343a65cd40b4e381cde8
3
SIZE (Radicale-1.1.6.tar.gz) = 48280
3
SIZE (Radicale-2.1.8.tar.gz) = 76348
(-)www/radicale/pkg-descr (-2 / +12 lines)
Lines 1-5 Link Here
1
The Radicale Project is a complete CalDAV (calendar) and CardDAV (contact)
1
Radicale is a small but powerful CalDAV (calendars, todo-lists) and CardDAV
2
server solution.
2
(contacts) server, that:
3
3
4
    Shares calendars through CalDAV, WebDAV and HTTP.
5
    Shares contacts through CardDAV, WebDAV and HTTP.
6
    Supports events, todos, journal entries and business cards.
7
    Works out-of-the-box, no installation nor configuration required.
8
    Can warn users on concurrent editing.
9
    Can limit access by authentication.
10
    Can secure connections.
11
    Works with many CalDAV and CardDAV clients.
12
    Is GPLv3-licensed free software. 
13
4
WWW: http://radicale.org/
14
WWW: http://radicale.org/
5
WWW: https://github.com/Kozea/Radicale
15
WWW: https://github.com/Kozea/Radicale

Return to bug 222657