[Limacute-commit] r103 - trunk/RPM/PKG

limacute at projects.linpro.no limacute at projects.linpro.no
Mon Jan 29 01:20:51 CET 2007


Author: limacute
Date: 2007-01-29 01:20:49 +0100 (Mon, 29 Jan 2007)
New Revision: 103

Added:
   trunk/RPM/PKG/UPGRADING.20-21
   trunk/RPM/PKG/kolab-horde-fbview-2.0.99-20070112.src.rpm
   trunk/RPM/PKG/kolab-resource-handlers-2.0.99-20070117.src.rpm
   trunk/RPM/PKG/kolab-webadmin-2.0.99-20070117.src.rpm
   trunk/RPM/PKG/kolabd-2.0.99-20070117.src.rpm
   trunk/RPM/PKG/openldap-2.3.29-2.20061110_kolab.src.rpm
   trunk/RPM/PKG/perl-kolab-5.8.7-20070117.src.rpm
Removed:
   trunk/RPM/PKG/kolab-horde-fbview-2.0.99-20051220.src.rpm
   trunk/RPM/PKG/kolab-resource-handlers-2.0.99-20061110.src.rpm
   trunk/RPM/PKG/openldap-2.3.27-2.20061018_kolab.src.rpm
Modified:
   trunk/RPM/PKG/1st.README
   trunk/RPM/PKG/obmtool.conf
Log:
Tracking kolab 2.1 beta4, added security fixes and bugfixes.

Modified: trunk/RPM/PKG/1st.README
===================================================================
--- trunk/RPM/PKG/1st.README	2007-01-29 00:17:26 UTC (rev 102)
+++ trunk/RPM/PKG/1st.README	2007-01-29 00:20:49 UTC (rev 103)
@@ -1,5 +1,5 @@
-Kolab2 Server Important Information
-===================================
+Kolab2 Server Install and Upgrade Information
+=============================================
 
 For more information on Kolab, see http://www.kolab.org
 
@@ -12,7 +12,7 @@
 as openpkg will want to create them: "kolab" "kolab-r" "kolab-n"
 
 Check the www.openpkg.org documentation for your platform.
-E.g. some platforms need gettext installed 
+E.g. some platforms need gettext installed
 or the locale set to C during installation, like:
         LC_ALL=C
         LC_MESSAGES=C
@@ -38,19 +38,6 @@
 and follow the instructions.
 
 
-Workaround for problem in free/busy cache generation
-----------------------------------------------------
-
-Retrieving the free/busy information isn't working, unless you use
-the following workaround on the server:
-
-  cd /kolab && ln -s . kolab
-
-See kolab/issue1490 (freebusy cache written to /kolab/kolab/...)
-for details. Be careful when creating backups of your /kolab directory
-to not follow symbolic links, because this is a recursive one.
-
-
 General update instructions
 ---------------------------
 
@@ -145,7 +132,7 @@
 You need to make two small changes are required for the openldap
 configuration file /kolab/etc/openldap/slapd.conf:
 
-  - comment out the line 
+  - comment out the line
 
      require        none
 
@@ -252,4 +239,29 @@
 for details about this topic.
 
 
-$Id: README.1st,v 1.40 2006/11/15 17:57:01 thomas Exp $
+Upgrade from 2.1-beta-3
+-----------------------
+
+1. Symlink from /kolab/kolab to /kolab no longer needed:
+
+Due to kolab/issue1490 a symbolic link was needed to fix a packaging
+problem which otherwise disturbed free/busy cache generation.
+It is no longer needed and may optionally be removed:
+
+  rm /kolab/kolab
+
+
+2. imapd: emails with identical message-id header:
+
+In all previous releases the imap server discarded emails with identical
+message-ids received within three days. This caused multiple problems
+mentioned in kolab/issue1532.
+
+This change may cause duplicate messages in mailboxes due to cross postings,
+distribution lists or possible bugs in imap clients. If you want to revert
+to the old behaviour, please comment out or remove the line
+"duplicatesuppression: 0" in /kolab/etc/kolab/templates/imapd.conf.template
+or set the value to 1.
+
+
+$Id: README.1st,v 1.43 2007/01/17 13:41:27 thomas Exp $

Added: trunk/RPM/PKG/UPGRADING.20-21
===================================================================
--- trunk/RPM/PKG/UPGRADING.20-21	2007-01-29 00:17:26 UTC (rev 102)
+++ trunk/RPM/PKG/UPGRADING.20-21	2007-01-29 00:20:49 UTC (rev 103)
@@ -0,0 +1,161 @@
+Upgrade Kolab Server from 2.0.x to 2.1
+======================================
+
+Preliminary instructions for the upgrade of a Kolab Server from version
+2.0.x to Kolab Server 2.1.
+
+NOTE: This is an early version of the upgrade instructions.  It is not
+very well tested and may not cover all problems that may occur during
+the upgrade.  Before attempting the upgrade, make sure you have a
+current and working backup of your data.
+
+
+Preparation for the Upgrade
+---------------------------
+
+1. Backup the old installation.
+
+
+2. Stop the Kolab Server
+
+    /kolab/bin/openpkg rc all stop
+
+3. Extract ldap data
+
+Copy the contents of the openldap database (use a different output
+filename if you want):
+
+    /kolab/sbin/slapcat > ~/kolab-2.0.ldif
+
+4. Prepare for berkeley db update
+
+    cd /kolab/var/imapd/db
+    /kolab/bin/db_recover
+    rm /kolab/var/imapd/db/*
+
+
+Installation
+------------
+
+The installation of the new packages is done in the normal way.  See the
+file 1st.README accompanying the 2.1 server for details.  Do not do
+anything after the installation yet.  In particular, do not start any
+part of the server again or run kolabconf.
+
+
+Configuration
+-------------
+
+1. Check custom configuration
+
+If you have custom configurations in your templates, the installation
+process renames your templates and leaves them in files with the
+extension .rpmsave.  Copy any modifications from your templates to the
+new one if they are still needed.
+
+After that the files with the extension .rpmsave must be removed or
+renamed.  There might be more files with the .rpmsave ending in
+/kolab/etc, you can find them for example using the find command:
+
+find /kolab/etc -name '*.rpmsave'
+
+Any files found must be checked and moved out of the way, in most
+cases they can just be deleted.
+
+
+2. Cyrus IMAPd
+
+The default imapd configuration has been changed to enable the
+hashimapspool option.  This means that in 2.1 the default directory
+layout of the imapd spool (/kolab/var/imapd/spool/) is different from
+the one in 2.0.  When you upgrade from 2.0 it's best to keep using the
+old structure, so remove or comment out the line "hashimapspool: yes"
+in /kolab/etc/kolab/templates/imapd.conf.template *before* running
+kolabconf.
+
+For new installations the new default setting is recommended because
+it's more efficient especially when you have many mailboxes.
+
+For some background information about this see the dicussion at
+https://intevation.de/roundup/kolab/issue1089
+
+
+3. LDAP
+
+You need to make two small changes to the configuration file
+/kolab/etc/openldap/slapd.conf:
+
+  - comment out the line
+
+     require        none
+
+  - Move the line with the suffix setting to just after the "database
+    bdb" line.
+
+These changes have already been made in the new slapd.conf.template, so
+that could be used for guidance.
+
+Convert the openldap data.  The LDAP data-structures have changed
+between 2.0 and 2.1 as described in Kolab2 Architecture Draft:
+http://kolab.org/doc/concept-draft-cvs20060921.pdf
+
+There's a Python script that can do the transformation.  The script is
+utils/admin/convert-ldif-21.py in Kolab CVS and requires python >= 2.1
+and python-ldap >= 2.0, you can download the current version from:
+
+  http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/utils/admin/convert-ldif-21.py
+
+The script works on the ldif data that was exported with slapcat earlier:
+
+   python convert-ldif-21.py ~/kolab-2.0.ldif ~/kolab-2.1.ldif
+
+
+Then restore the openldap data using the output from upgrade-ldap.py:
+
+   rm /kolab/var/openldap/openldap-data/*
+   /kolab/sbin/slapadd -l ~/kolab-2.1.ldif
+
+This will issue some warnings which can be safely ignored.
+
+
+4. kolabconf
+
+Now start the openldap server and run kolabconf
+
+    /kolab/bin/openpkg rc openldap start
+    /kolab/sbin/kolabconf
+
+
+Kolabconf will might complain about be some files ending .rpmnew under
+/kolab/etc.  Check those files and move them out of the way.  It's
+likely that you can simply remove them.
+
+
+Start the Server
+----------------
+
+Now you should be able to start the server again:
+
+    /kolab/bin/openpkg rc all start
+
+
+Final Steps
+-----------
+
+1. The internal format of the ldap records for the list of privileged
+   networks has changed, to updated these recods go to the kolab web
+   interface an log in as administrative user.  Open the "Services"
+   page and search for the "Privileged Networks" section.  Click the
+   update button for the networks list.
+
+2. Kolab 2.1 doesn't need some of the OpenPKG packages which were
+   installed for 2.0, these can be removed:
+
+   /kolab/bin/openpkg rpm -e dcron vim pth
+
+   Especially the dcron package should be removed in any case,
+   otherwise deprecated cronjobs will be run and generate mails with
+   error messages to the kolab administrator.
+
+
+$Id: kolab_2.0_to_2.1_upgrade_instructions.txt,v 1.4 2006/11/15 17:37:40 thomas Exp $

Deleted: trunk/RPM/PKG/kolab-horde-fbview-2.0.99-20051220.src.rpm
===================================================================
(Binary files differ)

Added: trunk/RPM/PKG/kolab-horde-fbview-2.0.99-20070112.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/kolab-horde-fbview-2.0.99-20070112.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Deleted: trunk/RPM/PKG/kolab-resource-handlers-2.0.99-20061110.src.rpm
===================================================================
(Binary files differ)

Added: trunk/RPM/PKG/kolab-resource-handlers-2.0.99-20070117.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/kolab-resource-handlers-2.0.99-20070117.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/RPM/PKG/kolab-webadmin-2.0.99-20070117.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/kolab-webadmin-2.0.99-20070117.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/RPM/PKG/kolabd-2.0.99-20070117.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/kolabd-2.0.99-20070117.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/RPM/PKG/obmtool.conf
===================================================================
--- trunk/RPM/PKG/obmtool.conf	2007-01-29 00:17:26 UTC (rev 102)
+++ trunk/RPM/PKG/obmtool.conf	2007-01-29 00:20:49 UTC (rev 103)
@@ -25,7 +25,7 @@
 
 %kolab
     echo "---- boot/build ${NODE} %${CMD} ----"
-    kolab_version="2.1beta3";
+    kolab_version="2.1beta4";
     PREFIX=/${CMD};
     loc='./' # '' (empty) for ftp.openpkg.org, '=' for URL, './' for CWD or absolute path
     plusloc='./'
@@ -92,7 +92,7 @@
     @trigger ${altloc}imap-2004g-2.5.0_kolab --with=annotate
     @install ${loc}procmail-3.22-2.5.0
     @install ${loc}db-4.3.29.0-2.5.0
-    @install ${altloc}openldap-2.3.27-2.20061018_kolab
+    @install ${altloc}openldap-2.3.29-2.20061110_kolab
     @install ${loc}m4-1.4.3-2.5.0
     @install ${loc}bison-2.1-2.5.0
     @install ${loc}flex-2.5.31-2.5.0
@@ -149,18 +149,15 @@
     @install ${altloc}clamav-0.88.7-20061211
 #    @install ${loc}vim-6.3.78-2.4.0
 #    @install ${plusloc}dcron-2.9-2.4.0
-#    @install ${altloc}perl-kolab-5.8.7-20061110
-    @install ${altloc}perl-kolab-5.8.7-20061110_limacute
-#   @install ${altloc}kolabd-2.0.99-20061110 --define kolab_version=$kolab_version
-    @install ${altloc}kolabd-2.0.99-20061110_limacute --define kolab_version=$kolab_version
-#   @install ${altloc}kolab-webadmin-2.0.99-20061110 --define kolab_version=$kolab_version
-    @install ${altloc}kolab-webadmin-2.0.99-20061110_limacute --define kolab_version=$kolab_version
+    @install ${altloc}perl-kolab-5.8.7-20070117_limacute
+    @install ${altloc}kolabd-2.0.99-20070117_limacute --define kolab_version=$kolab_version
+    @install ${altloc}kolab-webadmin-2.0.99-20070117_limacute --define kolab_version=$kolab_version
     @install ${altloc}kolab-horde-framework-2.0.99-20051220 --define kolab_version=$kolab_version
-    @install ${altloc}kolab-resource-handlers-2.0.99-20061110 --define kolab_version=$kolab_version
-    @install ${altloc}kolab-horde-fbview-2.0.99-20051220 --define kolab_version=$kolab_version
+    @install ${altloc}kolab-resource-handlers-2.0.99-20070117 --define kolab_version=$kolab_version
+    @install ${altloc}kolab-horde-fbview-2.0.99-20070112 --define kolab_version=$kolab_version
     @install ${altloc}squirrelmail-1.4.9a-20061203_limacute --with=plugins
     @install ${altloc}postgrey-1.27-2.20060801
-    @install ${altloc}limacute-3.0.1-20070112
+    @install ${altloc}limacute-3.0.1-20070128
 
 
     @check

Deleted: trunk/RPM/PKG/openldap-2.3.27-2.20061018_kolab.src.rpm
===================================================================
(Binary files differ)

Added: trunk/RPM/PKG/openldap-2.3.29-2.20061110_kolab.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/openldap-2.3.29-2.20061110_kolab.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/RPM/PKG/perl-kolab-5.8.7-20070117.src.rpm
===================================================================
(Binary files differ)


Property changes on: trunk/RPM/PKG/perl-kolab-5.8.7-20070117.src.rpm
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream



More information about the Limacute-commit mailing list