pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Version 2.1.1 of Radicale.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4477e078e67
branches: trunk
changeset: 364598:e4477e078e67
user: darcy <darcy%pkgsrc.org@localhost>
date: Sat Jul 01 05:57:06 2017 +0000
description:
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.
diffstat:
net/Makefile | 3 +-
net/Radicale2/DESCR | 7 +++++
net/Radicale2/Makefile | 51 +++++++++++++++++++++++++++++++++++++++++
net/Radicale2/PLIST | 39 +++++++++++++++++++++++++++++++
net/Radicale2/distinfo | 6 ++++
net/Radicale2/files/radicale.sh | 20 ++++++++++++++++
net/Radicale2/options.mk | 11 ++++++++
7 files changed, 136 insertions(+), 1 deletions(-)
diffs (175 lines):
diff -r a7904c7bd884 -r e4477e078e67 net/Makefile
--- a/net/Makefile Sat Jul 01 05:39:45 2017 +0000
+++ b/net/Makefile Sat Jul 01 05:57:06 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1161 2017/06/24 14:24:45 tnn Exp $
+# $NetBSD: Makefile,v 1.1162 2017/07/01 05:57:06 darcy Exp $
#
COMMENT= Networking tools
@@ -13,6 +13,7 @@
SUBDIR+= ORBit
SUBDIR+= ORBit2
SUBDIR+= Radicale
+SUBDIR+= Radicale2
SUBDIR+= SDL2_net
SUBDIR+= SDL_net
SUBDIR+= adns
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/DESCR Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,7 @@
+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.
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/Makefile Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,51 @@
+# $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@localhost
+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"
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/PLIST Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,39 @@
+@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
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/distinfo Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,6 @@
+$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
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/files/radicale.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/files/radicale.sh Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,20 @@
+#!@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"
diff -r a7904c7bd884 -r e4477e078e67 net/Radicale2/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Radicale2/options.mk Sat Jul 01 05:57:06 2017 +0000
@@ -0,0 +1,11 @@
+# $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
Home |
Main Index |
Thread Index |
Old Index