Sat Jul 1 05:57:07 2017 UTC ()
Version 2.1.1 of Radicale.
This is a new package as the file storage is incompatible with 1.x.x.

Too many changes from 1.1.4.  Please see http://radicale.org/news/ for details.


(darcy)
diff -r1.1161 -r1.1162 pkgsrc/net/Makefile
diff -r0 -r1.1 pkgsrc/net/Radicale2/DESCR
diff -r0 -r1.1 pkgsrc/net/Radicale2/Makefile
diff -r0 -r1.1 pkgsrc/net/Radicale2/PLIST
diff -r0 -r1.1 pkgsrc/net/Radicale2/distinfo
diff -r0 -r1.1 pkgsrc/net/Radicale2/options.mk
diff -r0 -r1.1 pkgsrc/net/Radicale2/files/radicale.sh

cvs diff -r1.1161 -r1.1162 pkgsrc/net/Makefile (expand / switch to unified diff)

--- pkgsrc/net/Makefile 2017/06/24 14:24:45 1.1161
+++ pkgsrc/net/Makefile 2017/07/01 05:57:06 1.1162
@@ -1,28 +1,29 @@ @@ -1,28 +1,29 @@
1# $NetBSD: Makefile,v 1.1161 2017/06/24 14:24:45 tnn Exp $ 1# $NetBSD: Makefile,v 1.1162 2017/07/01 05:57:06 darcy Exp $
2# 2#
3 3
4COMMENT= Networking tools 4COMMENT= Networking tools
5 5
6SUBDIR+= 3proxy 6SUBDIR+= 3proxy
7SUBDIR+= 6tunnel 7SUBDIR+= 6tunnel
8SUBDIR+= DarwinStreamingServer 8SUBDIR+= DarwinStreamingServer
9SUBDIR+= GeoIP 9SUBDIR+= GeoIP
10SUBDIR+= Geomyidae 10SUBDIR+= Geomyidae
11SUBDIR+= IglooFTP 11SUBDIR+= IglooFTP
12SUBDIR+= LaBrea 12SUBDIR+= LaBrea
13SUBDIR+= ORBit 13SUBDIR+= ORBit
14SUBDIR+= ORBit2 14SUBDIR+= ORBit2
15SUBDIR+= Radicale 15SUBDIR+= Radicale
 16SUBDIR+= Radicale2
16SUBDIR+= SDL2_net 17SUBDIR+= SDL2_net
17SUBDIR+= SDL_net 18SUBDIR+= SDL_net
18SUBDIR+= adns 19SUBDIR+= adns
19SUBDIR+= aget 20SUBDIR+= aget
20SUBDIR+= aiccu 21SUBDIR+= aiccu
21SUBDIR+= airport2basestationconfig 22SUBDIR+= airport2basestationconfig
22SUBDIR+= airportbasestationconfig 23SUBDIR+= airportbasestationconfig
23SUBDIR+= airportmodemutility 24SUBDIR+= airportmodemutility
24SUBDIR+= amule 25SUBDIR+= amule
25SUBDIR+= aoe-vblade 26SUBDIR+= aoe-vblade
26SUBDIR+= apollo 27SUBDIR+= apollo
27SUBDIR+= argus 28SUBDIR+= argus
28SUBDIR+= aria2 29SUBDIR+= aria2

File Added: pkgsrc/net/Radicale2/DESCR
The Radicale Project is a complete CalDAV (calendar) and CardDAV
(contact) server solution.

Calendars and address books are available for both local and remote
access, possibly limited through authentication policies. They can be
viewed and edited by calendar and contact clients on mobile phones or
computers.

File Added: pkgsrc/net/Radicale2/Makefile
# $NetBSD: Makefile,v 1.1 2017/07/01 05:57:07 darcy Exp $

DISTNAME=	Radicale-2.1.1
CATEGORIES=	net time www
MASTER_SITES=	${MASTER_SITE_PYPI:=R/Radicale/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://radicale.org/
COMMENT=	CalDAV (calendar) and CardDAV (contact) server
LICENSE=	gnu-gpl-v3

EGDIR=			share/examples/radicale

RADICALE_USER?=		www
RADICALE_GROUP?=	www
PKG_GROUPS=		${RADICALE_GROUP}
PKG_USERS=		${RADICALE_USER}:${RADICALE_GROUP}
CONFLICTS+=		Radicale-1*
PYTHON_VERSIONS_INCOMPATIBLE=	27

INSTALLATION_DIRS=	${EGDIR}
OWN_DIRS=		${PKG_SYSCONFDIR}/radicale
CONF_FILES+=		${EGDIR}/config ${PKG_SYSCONFDIR}/radicale/config
RCD_SCRIPTS=		radicale
FILES_SUBST+=		RADICALE_USER=${RADICALE_USER}
FILES_SUBST+=		RADICALE_GROUP=${RADICALE_GROUP}
FILES_SUBST+=		PYTHONBIN=${PYTHONBIN}

SUBST_CLASSES+=		config
SUBST_SED.config+=	-e 's,/etc,${PKG_SYSCONFDIR},g'
SUBST_SED.config+=	-e 's,apache2/,httpd/,g'
SUBST_FILES.config+=	radicale/config.py config logging
SUBST_STAGE.config=	pre-configure
SUBST_MESSAGE.config=	Fixing path to configuration file.

SUBST_CLASSES+=		server
SUBST_SED.server+=	-e 's,\#daemon = False,daemon = True,'
SUBST_FILES.server+=	config
SUBST_STAGE.server=	pre-configure
SUBST_MESSAGE.server=	Configure as a daemon by default.

.include "options.mk"

# for md5 htpasswd_encryption method
DEPENDS+=		${PYPKGPREFIX}-passlib-[0-9]*:../../security/py-passlib

post-install:
	${INSTALL_DATA} ${WRKSRC}/config ${DESTDIR}${PREFIX}/${EGDIR}/config

.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/net/Radicale2/PLIST
@comment $NetBSD: PLIST,v 1.1 2017/07/01 05:57:07 darcy Exp $
bin/radicale
${PYSITELIB}/${EGG_FILE}/PKG-INFO
${PYSITELIB}/${EGG_FILE}/SOURCES.txt
${PYSITELIB}/${EGG_FILE}/dependency_links.txt
${PYSITELIB}/${EGG_FILE}/requires.txt
${PYSITELIB}/${EGG_FILE}/top_level.txt
${PYSITELIB}/radicale/__init__.py
${PYSITELIB}/radicale/__main__.py
${PYSITELIB}/radicale/__init__.pyo
${PYSITELIB}/radicale/__init__.pyc
${PYSITELIB}/radicale/__main__.pyo
${PYSITELIB}/radicale/__main__.pyc
${PYSITELIB}/radicale/auth.pyo
${PYSITELIB}/radicale/auth.pyc
${PYSITELIB}/radicale/config.pyo
${PYSITELIB}/radicale/config.pyc
${PYSITELIB}/radicale/log.pyo
${PYSITELIB}/radicale/log.pyc
${PYSITELIB}/radicale/rights.pyo
${PYSITELIB}/radicale/rights.pyc
${PYSITELIB}/radicale/storage.pyo
${PYSITELIB}/radicale/storage.pyc
${PYSITELIB}/radicale/web.pyo
${PYSITELIB}/radicale/web.pyc
${PYSITELIB}/radicale/xmlutils.pyo
${PYSITELIB}/radicale/xmlutils.pyc
${PYSITELIB}/radicale/auth.py
${PYSITELIB}/radicale/config.py
${PYSITELIB}/radicale/log.py
${PYSITELIB}/radicale/rights.py
${PYSITELIB}/radicale/storage.py
${PYSITELIB}/radicale/web.py
${PYSITELIB}/radicale/web/css/icon.png
${PYSITELIB}/radicale/web/css/main.css
${PYSITELIB}/radicale/web/fn.js
${PYSITELIB}/radicale/web/index.html
${PYSITELIB}/radicale/xmlutils.py
share/examples/radicale/config

File Added: pkgsrc/net/Radicale2/distinfo
$NetBSD: distinfo,v 1.1 2017/07/01 05:57:07 darcy Exp $

SHA1 (Radicale-2.1.1.tar.gz) = e250986f11a946da7e48de189b10da61c93d2427
RMD160 (Radicale-2.1.1.tar.gz) = c950be03fd5b2edf37f4977bf4e060e544acfe8f
SHA512 (Radicale-2.1.1.tar.gz) = 3aa5aa6d6d3abfa256ab0f02a932d68daeb91ea857b68376a2bda3dae9dd8951e78a54a0657e4e827186ebb6c0d90165cb876d22ebc988cb66ba2f4617761830
Size (Radicale-2.1.1.tar.gz) = 70878 bytes

File Added: pkgsrc/net/Radicale2/options.mk
# $NetBSD: options.mk,v 1.1 2017/07/01 05:57:07 darcy Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.Radicale
PKG_SUPPORTED_OPTIONS=	ldap

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mldap)
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 # py-ldap
DEPENDS+=	${PYPKGPREFIX}-ldap-[0-9]*:../../databases/py-ldap
.endif

File Added: pkgsrc/net/Radicale2/files/radicale.sh
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: radicale.sh,v 1.1 2017/07/01 05:57:07 darcy Exp $
#
# PROVIDE: radicale
# REQUIRE: DAEMON
# KEYWORD: shutdown

$_rc_subr_loaded . /etc/rc.subr

name="radicale"
rcvar=$name
radicale_user=@RADICALE_USER@
radicale_group=@RADICALE_GROUP@
command="@PREFIX@/bin/radicale"
command_interpreter="@PYTHONBIN@"
required_files="@PKG_SYSCONFDIR@/radicale/config"

load_rc_config $name
run_rc_command "$1"