openbsd-ports/productivity/radicale/patches/patch-config

47 lines
1.5 KiB
Plaintext

$OpenBSD: patch-config,v 1.5 2012/05/23 18:02:09 sthen Exp $
--- config.orig Tue Mar 13 13:45:35 2012
+++ config Wed May 23 19:20:15 2012
@@ -22,9 +22,9 @@ pid =
# SSL flag, enable HTTPS protocol
ssl = False
# SSL certificate path
-certificate = /etc/apache2/ssl/server.crt
+certificate = ${SYSCONFDIR}/radicale/server.crt
# SSL private key
-key = /etc/apache2/ssl/server.key
+key = ${SYSCONFDIR}/radicale/private/server.key
# Reverse DNS to resolve client address in logs
dns_lookup = True
@@ -47,10 +47,10 @@ public_users = public
private_users = private
# Htpasswd filename
-htpasswd_filename = /etc/radicale/users
+htpasswd_filename = ${SYSCONFDIR}/radicale/users
# Htpasswd encryption method
# Value: plain | sha1 | crypt
-htpasswd_encryption = crypt
+htpasswd_encryption = sha1
# LDAP server URL, with protocol and port
ldap_url = ldap://localhost:389/
@@ -83,15 +83,14 @@ courier_socket =
type = filesystem
# Folder for storing local collections, created if not present
-filesystem_folder = ~/.config/radicale/collections
+filesystem_folder = /var/db/radicale/calendars
-
[logging]
# Logging configuration file
# If no config is given, simple information is printed on the standard output
# For more information about the syntax of the configuration file, see:
# http://docs.python.org/library/logging.config.html
-config = /etc/radicale/logging
+config = ${SYSCONFDIR}/radicale/logging
# Set the default logging level to debug
debug = False
# Store all environment variables (including those set in the shell)