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

Collapse All | Expand All

(-)www/Makefile (-1 / +1 lines)
Lines 1912-1917 Link Here
1912
    SUBDIR += qupzilla-qt5
1912
    SUBDIR += qupzilla-qt5
1913
    SUBDIR += qutebrowser
1913
    SUBDIR += qutebrowser
1914
    SUBDIR += radicale
1914
    SUBDIR += radicale
1915
    SUBDIR += radicale2
1915
    SUBDIR += red5
1916
    SUBDIR += red5
1916
    SUBDIR += redaxo
1917
    SUBDIR += redaxo
1917
    SUBDIR += redmine
1918
    SUBDIR += redmine
Lines 2358-2364 Link Here
2358
    SUBDIR += trac-wysiwyg
2359
    SUBDIR += trac-wysiwyg
2359
    SUBDIR += trac-xmlrpc
2360
    SUBDIR += trac-xmlrpc
2360
    SUBDIR += trafficserver
2361
    SUBDIR += trafficserver
2361
    SUBDIR += transmission-web
2362
    SUBDIR += transproxy
2362
    SUBDIR += transproxy
2363
    SUBDIR += trytond28_google_maps
2363
    SUBDIR += trytond28_google_maps
2364
    SUBDIR += tt-rss
2364
    SUBDIR += tt-rss
(-)www/radicale2/Makefile (+47 lines)
Line 0 Link Here
1
# Created by: Mark Felder <feld@FreeBSD.org>
2
# $FreeBSD$
3
4
PORTNAME=	radicale2
5
PORTVERSION=	2.1.8
6
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
DISTNAME=	Radicale-${PORTVERSION}
10
11
MAINTAINER=	sunpoet@FreeBSD.org
12
COMMENT=	Python based CalDAV/CardDAV server
13
14
LICENSE=	GPLv3
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+
26
USE_PYTHON=	autoplist distutils
27
USERS=		radicale
28
GROUPS=		radicale
29
USE_RC_SUBR=	radicale
30
NO_ARCH=	yes
31
32
SUB_LIST=	USERS="${USERS}" PYTHON_CMD="${PYTHON_CMD}"
33
34
post-patch:
35
	${REINPLACE_CMD} 's,= /etc,= ${PREFIX}/etc,g' ${WRKSRC}/config
36
	${REINPLACE_CMD} 's,~/.config/radicale,${DATADIR},g' ${WRKSRC}/config
37
38
post-install:
39
	${MKDIR} ${STAGEDIR}/${ETCDIR}
40
	${MKDIR} ${STAGEDIR}/${DATADIR}
41
	${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}/${ETCDIR}/config.sample
42
	${INSTALL_DATA} ${WRKSRC}/logging ${STAGEDIR}/${ETCDIR}/logging.sample
43
44
do-test:
45
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
46
47
.include <bsd.port.mk>
(-)www/radicale2/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1521340337
2
SHA256 (Radicale-2.1.8.tar.gz) = 720d7c63faa9b9ce9f019067cb846cb2ca593a3c13af343a65cd40b4e381cde8
3
SIZE (Radicale-2.1.8.tar.gz) = 76348
(-)www/radicale2/files/radicale.in (+45 lines)
Line 0 Link Here
1
#!/bin/sh
2
# Created by: Mark Felder <feld@FreeBSD.org>
3
# $FreeBSD: head/www/radicale/files/radicale.in 440516 2017-05-09 21:25:26Z zi $
4
#
5
6
# PROVIDE: radicale
7
# REQUIRE: DAEMON
8
# BEFORE: LOGIN
9
# KEYWORD: shutdown
10
11
#
12
# Add the following lines to /etc/rc.conf to enable radicale:
13
#  radicale_enable (bool):    Set to "NO" by default.
14
#                       Set it to "YES" to enable radicale.
15
#
16
17
. /etc/rc.subr
18
19
name=radicale
20
rcvar=radicale_enable
21
22
# set defaults
23
24
load_rc_config $name
25
26
: ${radicale_enable:=NO}
27
: ${radicale_config=%%PREFIX%%/etc/radicale/config}
28
: ${radicale_user=%%USERS%%}
29
: ${radicale_group=%%GROUPS%%}
30
31
pidfile=/var/run/radicale/radicale.pid
32
command=%%PREFIX%%/bin/radicale
33
command_args="-d -p ${pidfile} -C ${radicale_config}"
34
command_interpreter=%%PYTHON_CMD%%
35
required_files=${radicale_config}
36
start_precmd=do_precmd
37
38
do_precmd()
39
{
40
	if [ ! -d ${pidfile%/*} ]; then
41
		install -d -o ${radicale_user} ${pidfile%/*}
42
	fi
43
}
44
45
run_rc_command "$1"
(-)www/radicale2/pkg-descr (+15 lines)
Line 0 Link Here
1
Radicale is a small but powerful CalDAV (calendars, todo-lists) and CardDAV
2
(contacts) server, that:
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
14
WWW: http://radicale.org/
15
WWW: https://github.com/Kozea/Radicale
(-)www/radicale2/pkg-plist (+3 lines)
Line 0 Link Here
1
@sample %%ETCDIR%%/config.sample
2
@sample %%ETCDIR%%/logging.sample
3
@dir(radicale,radicale,0755) %%DATADIR%%

Return to bug 222657