summaryrefslogtreecommitdiff
path: root/app-office/radicale/files/radicale-0.8-config.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-09-09 17:35:53 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-09-09 17:35:53 +0200
commit262b89c03f40b6733d355f93f867ec27abd87593 (patch)
tree58f34316ed19226d4c24df39982eb66323d23ed5 /app-office/radicale/files/radicale-0.8-config.patch
parent00ba4b0af0b9d7abdcebeade3ea911531b62381a (diff)
parent176ef62d2f4898134a4f681b8415fc0d90b5913e (diff)
downloadoverlay-262b89c03f40b6733d355f93f867ec27abd87593.tar.gz
overlay-262b89c03f40b6733d355f93f867ec27abd87593.tar.bz2
overlay-262b89c03f40b6733d355f93f867ec27abd87593.zip
Merge branch 'master' of git://git.necoro.eu/gentoo/overlay
Diffstat (limited to '')
-rw-r--r--app-office/radicale/files/radicale-0.8-config.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-office/radicale/files/radicale-0.8-config.patch b/app-office/radicale/files/radicale-0.8-config.patch
new file mode 100644
index 0000000..f52894e
--- /dev/null
+++ b/app-office/radicale/files/radicale-0.8-config.patch
@@ -0,0 +1,45 @@
+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')
+---
+
+diff --git a/config b/config
+index 453a45e..96ad0e0 100644
+--- a/config
++++ b/config
+@@ -97,10 +97,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 +109,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
+
+