summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/radicale/Manifest3
-rw-r--r--app-office/radicale/files/config43
-rw-r--r--app-office/radicale/radicale-0.3.ebuild5
3 files changed, 50 insertions, 1 deletions
diff --git a/app-office/radicale/Manifest b/app-office/radicale/Manifest
index ec478d8..a0f98e1 100644
--- a/app-office/radicale/Manifest
+++ b/app-office/radicale/Manifest
@@ -1,4 +1,5 @@
+AUX config 956 RMD160 9d0dce31777f1eed5c2c1fc9f1ae190abe8fbb21 SHA1 3c1e9e9eb078180da89aea8c9f373ec670aacd3c SHA256 8f9b1fd220893f3620c8819eec031001142067029fc74cd9e91063ec490d220b
AUX radicale-0.3-foreground.patch 500 RMD160 edab3048523dffe36bdc24fa947e6bc045248194 SHA1 dfa851fc79973aac3bd62a648314ad6a9a569c47 SHA256 8ece5d5397a6f04619d7184def8bd4425f2ce5b7981a6a71e91a4053479b8631
AUX radicale.init.d 550 RMD160 f1f6aa919952b744900c781b8d6cd9283bc44534 SHA1 3c2043b9f2680b14969bd7f3727e3df85c7f9c48 SHA256 1b28de6c1bc2c6119eb654622713fdd2c16d89105940c6b55d2bc081fbb2fd2c
DIST Radicale-0.3.tar.gz 22195 RMD160 34e8d908548e216d1cc000cd9764a1b8371d1aee SHA1 53fe68e365a3055bd5c7477941e1e071272e19b8 SHA256 81cba97776409506baa86a8d5b1241ff25c8680e37fcb9ab62128953156e5223
-EBUILD radicale-0.3-r3.ebuild 761 RMD160 d1c40979d5e2e24a90ced04ea9b4cd92616aeb57 SHA1 09566656b30951c885f34188c00e13efe0478d5a SHA256 44ec4f6c945315a9a23332cfdcd9b2f7ce5b2cc23b6b03acd0291dc136f55c11
+EBUILD radicale-0.3.ebuild 836 RMD160 f92c9330154b02976b57efcbcf36b4294787bdde SHA1 2f2b72c258fd433fa4a62dcedadca086ab73ef53 SHA256 8cca4980d69449871f78f4a44a74de97f3d1310df75f91e73f2b68f8ed3f2e03
diff --git a/app-office/radicale/files/config b/app-office/radicale/files/config
new file mode 100644
index 0000000..172e488
--- /dev/null
+++ b/app-office/radicale/files/config
@@ -0,0 +1,43 @@
+# Config file for radicale - a simple calendar server
+#
+# Place it into /etc/radicale/config (global)
+# or ~/.config/radicale/config (user)
+#
+# The current values are the default ones
+
+[server]
+# CalDAV server hostname, empty for all hostnames
+host =
+# CalDAV server port
+port = 5232
+# Daemon flag
+daemon = False
+# SSL flag, enable HTTPS protocol
+ssl = False
+# SSL certificate path (if needed)
+certificate = /etc/apache2/ssl/server.crt
+# SSL private key (if needed)
+key = /etc/apache2/ssl/server.key
+
+[encoding]
+# Encoding for responding requests
+request = utf-8
+# Encoding for storing local calendars
+stock = utf-8
+
+[acl]
+# Access method
+# Value: fake | htpasswd
+type = fake
+# Htpasswd filename (if needed)
+filename = /etc/radicale/users
+# Htpasswd encryption method (if needed)
+# Value: plain | sha1 | crypt
+encryption = crypt
+
+[storage]
+# Folder for storing local calendars,
+# created if not present
+folder = ~/.config/radicale/calendars
+
+# vim:ft=cfg
diff --git a/app-office/radicale/radicale-0.3.ebuild b/app-office/radicale/radicale-0.3.ebuild
index 3e2a99e..ee8eb24 100644
--- a/app-office/radicale/radicale-0.3.ebuild
+++ b/app-office/radicale/radicale-0.3.ebuild
@@ -30,7 +30,12 @@ src_prepare() {
src_install() {
distutils_src_install
+ # init file
newinitd ${FILESDIR}/radicale.init.d radicale
+
+ # config file
+ insinto /etc/${PN}
+ doins ${FILESDIR}/config
}
pkg_postinst() {