[pkg-kolab] r341 - trunk/kolabd/debian

Noel Koethe noel at costa.debian.org
Mon Feb 27 16:47:29 UTC 2006


Author: noel
Date: 2006-02-27 16:47:27 +0000 (Mon, 27 Feb 2006)
New Revision: 341

Modified:
   trunk/kolabd/debian/README.Debian
Log:
some typos and the iCal horde patch

Modified: trunk/kolabd/debian/README.Debian
===================================================================
--- trunk/kolabd/debian/README.Debian	2006-02-27 16:31:26 UTC (rev 340)
+++ trunk/kolabd/debian/README.Debian	2006-02-27 16:47:27 UTC (rev 341)
@@ -356,8 +356,8 @@
 If you don't have the files for the options canonical_maps, virtual_maps, relocated_maps
 and/or transport_maps then remove them or create empty one:
 
-touch /etc/postfix/{canonical,virtual,relocated,transport} && \
-postmap /etc/postfix/{canonical,virtual,relocated,transport}
+# touch /etc/postfix/{canonical,virtual,relocated,transport} && \
+ postmap /etc/postfix/{canonical,virtual,relocated,transport}
 
 
 5.3 /etc/postfix/sasl/smtpd.conf
@@ -425,8 +425,40 @@
 
 we need some files from Horde and the easiest way is to create this link:
 
-ln -sf /usr/share/horde3/lib/Horde /usr/share/php/
+# ln -sf /usr/share/horde3/lib/Horde /usr/share/php/
 
+FreeBusy uses functions from Horde to parse the XML parts in the calender
+emails. You need to patch this to get this runing correctly:
+
+--- /usr/share/horde3/lib/Horde/iCalendar/vfreebusy.php.orig    2005-11-22 22:51:25.000000000 +0100
++++ /usr/share/horde3/lib/Horde/iCalendar/vfreebusy.php 2006-02-27 16:24:29.000000000 +0100
+@@ -27,16 +27,15 @@
+         parent::parsevCalendar($data, 'VFREEBUSY');
+
+         // Do something with all the busy periods.
+-        foreach ($this->_attributes as $key => $attribute) {
++        foreach ($this->_attributes as $attribute) {
+             if ($attribute['name'] == 'FREEBUSY') {
+-                foreach ($attribute['value'] as $value) {
+-                    if (array_key_exists('duration', $attribute['value'])) {
+-                       $this->addBusyPeriod('BUSY', $value['start'], null, $value['duration']);
+-                    } else {
+-                       $this->addBusyPeriod('BUSY', $value['start'], $value['end']);
+-                    }
++               $value = $attribute['value'];
++
++                if (array_key_exists('duration', $attribute['value'])) {
++                   $this->addBusyPeriod('BUSY', $value['start'], null, $value['duration']);
++                } else {
++                   $this->addBusyPeriod('BUSY', $value['start'], $value['end']);
+                 }
+-                unset($this->_attributes[$key]);
+             }
+         }
+     }
+
+This patch will be included in coming horde versions but now you need to do it manually.:(
+
 -----------------------------------------------------------------------------------------
 
 8. Apache and PHP
@@ -447,7 +479,7 @@
 
 restart Apache2: "/etc/init.d/apache2 restart"
 
-9. Webfrontend
+9. Adminfrontend
 --------------
 
 If you need it install "apt-get install kolab-webadmin" and configure




More information about the pkg-kolab-devel mailing list