* Calendar depth * iPhone support * MacOS and Windows support * HEAD requests management * htpasswd user from calendar path ok ian@
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
$OpenBSD: patch-radicale_config_py,v 1.3 2011/05/06 15:35:47 sthen Exp $
|
|
--- radicale/config.py.orig Sun Jan 9 16:45:29 2011
|
|
+++ radicale/config.py Fri May 6 16:24:23 2011
|
|
@@ -43,18 +43,18 @@ INITIAL_CONFIG = {
|
|
"port": "5232",
|
|
"daemon": "False",
|
|
"ssl": "False",
|
|
- "certificate": "/etc/apache2/ssl/server.crt",
|
|
- "key": "/etc/apache2/ssl/server.key"},
|
|
+ "certificate": "${SYSCONFDIR}/radicale/server.crt",
|
|
+ "key": "${SYSCONFDIR}/radicale/private/server.key"},
|
|
"encoding": {
|
|
"request": "utf-8",
|
|
"stock": "utf-8"},
|
|
"acl": {
|
|
"type": "fake",
|
|
"personal": "False",
|
|
- "filename": "/etc/radicale/users",
|
|
+ "filename": "${SYSCONFDIR}/radicale/users",
|
|
"encryption": "crypt"},
|
|
"storage": {
|
|
- "folder": os.path.expanduser("~/.config/radicale/calendars")}}
|
|
+ "folder": "/var/db/radicale/calendars"}}
|
|
|
|
# Create a ConfigParser and configure it
|
|
_CONFIG_PARSER = ConfigParser()
|
|
@@ -64,7 +64,7 @@ for section, values in INITIAL_CONFIG.items():
|
|
for key, value in values.items():
|
|
_CONFIG_PARSER.set(section, key, value)
|
|
|
|
-_CONFIG_PARSER.read("/etc/radicale/config")
|
|
+_CONFIG_PARSER.read("${SYSCONFDIR}/radicale/config")
|
|
_CONFIG_PARSER.read(os.path.expanduser("~/.config/radicale/config"))
|
|
|
|
# Wrap config module into ConfigParser instance
|