Package: radicale / 2.1.11-6

2001_debianize_config.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Adapt config to use snakeoil certificate.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-06-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/config
+++ b/config
@@ -36,10 +36,10 @@
 #ssl = False
 
 # SSL certificate path
-#certificate = /etc/ssl/radicale.cert.pem
+certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem
 
 # SSL private key
-#key = /etc/ssl/radicale.key.pem
+key = /etc/ssl/private/ssl-cert-snakeoil.key
 
 # CA certificate for validating clients. This can be used to secure
 # TCP traffic between Radicale and a reverse proxy
@@ -71,7 +71,7 @@
 
 # Authentication method
 # Value: none | htpasswd | remote_user | http_x_remote_user
-#type = none
+type = remote_user
 
 # Htpasswd filename
 #htpasswd_filename = /etc/radicale/users
@@ -90,10 +90,10 @@
 
 # Rights backend
 # Value: none | authenticated | owner_only | owner_write | from_file
-#type = owner_only
+type = from_file
 
 # File for rights management from_file
-#file = /etc/radicale/rights
+file = /etc/radicale/rights
 
 
 [storage]
@@ -123,7 +123,7 @@
 #filesystem_close_lock_file = False
 
 # Command that is run after changes to storage
-# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
+# Example: ([ -d .git ] || git init) && ([ -e .gitignore ] || printf '.Radicale.cache\n.Radicale.lock\n.Radicale.tmp-*\n' > .gitignore) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
 #hook =