summaryrefslogtreecommitdiff
path: root/app-office/radicale
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2016-06-26 21:46:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2016-06-26 21:46:28 +0200
commit6b15776b292ce9142d9a70e41e483551e0a411c4 (patch)
tree16b1f2aeb83fc306dc60be34dc01f12485cbab8c /app-office/radicale
parent53942af30a96bb460e6536ddb446cd3d1b7bf8fd (diff)
downloadoverlay-6b15776b292ce9142d9a70e41e483551e0a411c4.tar.gz
overlay-6b15776b292ce9142d9a70e41e483551e0a411c4.tar.bz2
overlay-6b15776b292ce9142d9a70e41e483551e0a411c4.zip
Remove outdated radicale
Diffstat (limited to '')
-rw-r--r--app-office/radicale/Manifest1
-rw-r--r--app-office/radicale/files/radicale-0.8-config.patch77
-rw-r--r--app-office/radicale/files/radicale.init.d27
-rw-r--r--app-office/radicale/metadata.xml8
-rw-r--r--app-office/radicale/radicale-0.8.ebuild75
5 files changed, 0 insertions, 188 deletions
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
deleted file mode 100644
index 996da46..0000000
--- a/app-office/radicale/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Radicale-0.8.tar.gz 39813 SHA256 e8c0df5239c22f2687a09eca7d53c318706648aff72b620849ed3f7540bc1941 SHA512 8b4db28b1fedc78e6d638a8e00dbbe0f37ada39686aae4afdf427461bbd7189d8222adf417fa5e546d9f6a6c7ff0c08eb3aa8609e9fb57c17a9e30161eabba85 WHIRLPOOL c705914db79503215f86e40545950e0fb07d439bc89372849865fece597eb863c28bd13255206a6e298308ba0a819b2e065ca05b592fc7bbb0c2c44896322138
diff --git a/app-office/radicale/files/radicale-0.8-config.patch b/app-office/radicale/files/radicale-0.8-config.patch
deleted file mode 100644
index aa867bc..0000000
--- a/app-office/radicale/files/radicale-0.8-config.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 6887e996ad771d22659c0eb8cbca94c936fdb10a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= <gentoo@necoro.eu>
-Date: Sun, 15 Sep 2013 14:02:32 +0200
-Subject: Fix the config for Gentoo's default needs.
-
- * Set pathes
- * Set rights.type to 'owner_only' to model pre-0.8 behavior
- (None means 'everyone is allowed everything')
- * Remove 'public_users' and 'private_users' as they are obsolete.
----
- config | 13 ++++---------
- logging | 2 +-
- 2 files changed, 5 insertions(+), 10 deletions(-)
-
-diff --git a/config b/config
-index 453a45e..10c1595 100644
---- a/config
-+++ b/config
-@@ -30,7 +30,7 @@ dns_lookup = True
- # Root URL of Radicale (starting and ending with a slash)
- base_prefix = /
- # Message displayed in the client when a password is needed
--realm = Radicale - Password Required lol
-+realm = Radicale - Password Required
-
-
- [encoding]
-@@ -45,11 +45,6 @@ stock = utf-8
- # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http
- type = None
-
--# Usernames used for public collections, separated by a comma
--public_users = public
--# Usernames used for private collections, separated by a comma
--private_users = private
--
- # Htpasswd filename
- htpasswd_filename = /etc/radicale/users
- # Htpasswd encryption method
-@@ -97,10 +92,10 @@ http_password_parameter =
- [rights]
- # Rights management method
- # Value: None | owner_only | owner_write | from_file
--type = None
-+type = owner_only
-
- # File for rights management from_file
--file = ~/.config/radicale/rights
-+file = /etc/radicale/rights
-
-
- [storage]
-@@ -109,7 +104,7 @@ file = ~/.config/radicale/rights
- type = filesystem
-
- # Folder for storing local collections, created if not present
--filesystem_folder = ~/.config/radicale/collections
-+filesystem_folder = /var/lib/radicale/
-
- # Database URL for SQLAlchemy
- # dialect+driver://user:password@host/dbname[?key=value..]
-diff --git a/logging b/logging
-index f4efb88..b10f88c 100644
---- a/logging
-+++ b/logging
-@@ -45,7 +45,7 @@ formatter = simple
- [handler_file]
- # File handler
- class = FileHandler
--args = ('/var/log/radicale',)
-+args = ('/var/log/radicale/radicale.log',)
- formatter = full
-
-
---
-1.8.1.5
-
diff --git a/app-office/radicale/files/radicale.init.d b/app-office/radicale/files/radicale.init.d
deleted file mode 100644
index b0290d3..0000000
--- a/app-office/radicale/files/radicale.init.d
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-PIDFILE=/var/run/radicale.pid
-
-depend() {
- use net
- need localmount
-}
-
-start() {
- ebegin "Starting radicale"
- start-stop-daemon --start --quiet --background \
- --user radicale \
- --pidfile ${PIDFILE} --make-pidfile \
- --exec /usr/bin/radicale -- --foreground
- eend $?
-}
-
-stop() {
- ebegin "Stopping radicale"
- start-stop-daemon --stop --quiet \
- --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/app-office/radicale/metadata.xml b/app-office/radicale/metadata.xml
deleted file mode 100644
index 595e65a..0000000
--- a/app-office/radicale/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
-<use>
- <flag name='sql'>Enable database backend.</flag>
-</use>
-</pkgmetadata>
diff --git a/app-office/radicale/radicale-0.8.ebuild b/app-office/radicale/radicale-0.8.ebuild
deleted file mode 100644
index 9881005..0000000
--- a/app-office/radicale/radicale-0.8.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-# radicale also supports python3_{2,3}
-# but python-ldap and flup are blocking here
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="ssl?"
-
-inherit distutils-r1 user
-
-MY_PN="Radicale"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A simple CalDAV calendar server"
-HOMEPAGE="http://www.radicale.org/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="fastcgi ldap sql ssl"
-
-RDEPEND="ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- fastcgi? ( dev-python/flup[${PYTHON_USEDEP}] )
- sql? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )"
-
-# radicale's authentication against PAM is not possible here:
-# Gentoo has not included the package
-# also it seems old, which is bad with respect to
-# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1502
-
-S=${WORKDIR}/${MY_P}
-
-RDIR=/var/lib/radicale
-LDIR=/var/log/radicale
-
-PATCHES=( "${FILESDIR}"/${P}-config.patch )
-
-pkg_setup() {
- enewgroup radicale
- enewuser radicale -1 -1 ${RDIR} radicale
-}
-
-python_install_all() {
- # delete the useless .rst, so that it is not installed
- rm README.rst
-
- # init file
- newinitd "${FILESDIR}"/radicale.init.d radicale || die
-
- # directories
- diropts -m0750
- dodir ${RDIR}; fowners radicale:radicale ${RDIR}
- dodir ${LDIR}; fowners radicale:radicale ${LDIR}
-
- # config file
- insinto /etc/${PN}
- doins config logging || die
-
- # fcgi and wsgi files
- insinto /usr/share/${PN}
- doins radicale.wsgi
- use fastcgi && doins radicale.fcgi
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- einfo "Radicale now supports WSGI."
- einfo "A sample wsgi-script has been put into ${ROOT}usr/share/${PN}."
- use fastcgi && einfo "You will also find there an example fcgi-script."
-}