From cvs at kolab.org Mon Oct 2 19:27:02 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 2 Oct 2006 19:27:02 +0200 (CEST)
Subject: bh: doc/www/src index.html.m4,1.92,1.93
Message-ID: <20061002172702.1A4BA1005CB@lists.intevation.de>
Author: bh
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv2072
Modified Files:
index.html.m4
Log Message:
add security advisory 11 and corresponding news item
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- index.html.m4 22 Aug 2006 13:20:34 -0000 1.92
+++ index.html.m4 2 Oct 2006 17:27:00 -0000 1.93
@@ -46,6 +46,20 @@
+
October 2nd, 2006
+
»
+ Security Advisory 11 for Kolab Server (openssl)
+
+
+
+ Several critical problems were discovered in in the cryptography
+ toolkit OpenSSL. A new OpenSSL RPM is available. See
+ the Kolab Security
+ Advisory 11 for details.
+
+
+
+
August 22th, 2006
»
New version 2.1.4 of proko2 KDE client is available
From cvs at kolab.org Mon Oct 2 19:27:02 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 2 Oct 2006 19:27:02 +0200 (CEST)
Subject: bh: doc/www/src/security kolab-vendor-notice-11.txt,NONE,1.1
Message-ID: <20061002172702.101441005C3@lists.intevation.de>
Author: bh
Update of /kolabrepository/doc/www/src/security
In directory doto:/tmp/cvs-serv2072/security
Added Files:
kolab-vendor-notice-11.txt
Log Message:
add security advisory 11 and corresponding news item
--- NEW FILE: kolab-vendor-notice-11.txt ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kolab Security Issue 11 20061002
================================
Package: openssl
Vulnerability: denial of service
Kolab Specific: no
Dependent Packages: apache curl imap imapd openldap perl perl-crypto
php postfix proftpd
Summary
- -------
According to a vendor security advisory, four security issues were
discovered in the cryptography toolkit OpenSSL: two denial of service
attacks when parsing ASN.1 structures, a buffer overflow when processing
a list of ciphers and an ssl client crash.
Affected Versions
- -----------------
OpenPKG packages of openssl-0.9.8a-2.5.2 or earlier are affected.
Kolab Server 2.0.4 and previous releases of the 2.0 branch as well as
Kolab Server 2.1 beta 2 and previous releases of the 2.1 branch are
affected.
You can check the installed version with:
/kolab/bin/openpkg rpm -q openssl
Fixes
- -----
Note: The fix described here is for Kolab server 2.0.4 and 2.1 beta 2.
If you still run an older version, please upgrade to 2.0.1 or 2.1 beta 2
depending on the branch you are using.
Updated OpenPKG package for openssl are available from the usual kolab
mirrors under the directory security-updates/20061002/ . While the
mirrors are catching up, you can also get the files via rsync:
# rsync -tzvr rsync://rsync.kolab.org/kolab/server/security-updates/20061002/ .
Under that directory you'll find the following directory tree:
./2.0/sources/
./2.0/ix86-debian3.1/
./2.0/ix86-debian3.0/
./2.1/sources/
./2.1/ix86-debian3.1/
There is one branch for the Kolab server 2.0 updates and one for the 2.1
updates. In each branch is a sources directory and one or more binary
directories.
If you installed the Kolab server from sources, download the sources
directory for your kolab server branch. If you installed from binaries,
download the appropriate binaries directory for your kolab server
branch.
All directories contain the new OpenSSL package plus obmtool and
obmtool.conf files like a kolab release. In addition, the binaries
directories contain updated binaries of the dependent packages.
In any case, download all files in the appropriate directory, chdir into
the downloaded directory and run
/kolab/bin/openpkg rc all stop
./obmtool kolab
This will install the new openssl package and rebuild/reinstall the
dependent packages. Afterwards start the server again, making sure to
regenerate the config files as you would for a normal Kolab server
update.
For the Kolab server 2.1 branch, the upgrade of the postfix RPM requires
an additional manual step. After the upgrade, the permissions of some
files in /kolab/etc/postfix are wrong and some .db files are missing.
An easy way to fix this after running kolabconf is to run the following
commands (as root):
cd /kolab/etc/postfix
chown root:kolab transport virtual
make
Details
- -------
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.021-openssl.html
OpenPKG Security Advisory OpenPKG-SA-2006.021
http://www.openssl.org/news/secadv_20060928.txt
OpenSSL Security Advisory on the vendor's site
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2937
Common Vulnerabilities and Exposures (CVE): CAN-2006-2937
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2940
Common Vulnerabilities and Exposures (CVE): CAN-2006-2940
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3738
Common Vulnerabilities and Exposures (CVE): CAN-2006-3738
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4343
Common Vulnerabilities and Exposures (CVE): CAN-2006-4343
Timeline
- --------
20060928 OpenSSL vendor released patch and new versions containing the fix
20060928 OpenPKG created new package containing the fix
20061002 Kolab update and security advisory published
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFIUob0vCiU5+ISsgRAp08AKD4tKqIEswPYI74aJ4NoIg4VJB9cwCeKA20
6q+dFN2jZ5ZYLsEJ7TPjG68=
=mIOs
-----END PGP SIGNATURE-----
From cvs at kolab.org Mon Oct 2 19:32:01 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 2 Oct 2006 19:32:01 +0200 (CEST)
Subject: marcus: server/kolabd/kolabd/templates slapd.conf.template.in, 1.7,
1.8
Message-ID: <20061002173201.698441005C3@lists.intevation.de>
Author: marcus
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv2235/templates
Modified Files:
slapd.conf.template.in
Log Message:
fixed issue1426
Index: slapd.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/slapd.conf.template.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- slapd.conf.template.in 22 Sep 2006 11:48:58 -0000 1.7
+++ slapd.conf.template.in 2 Oct 2006 17:31:59 -0000 1.8
@@ -74,8 +74,6 @@
index kolabHomeServer pres,eq
index kolabDeleteflag pres,eq
index member pres,eq
-index kolabDelegate approx,sub,pres,eq
-index kolabDeleteflag pres,eq
include @ldapserver_confdir@/slapd.access
From cvs at kolab.org Tue Oct 3 12:50:56 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 3 Oct 2006 12:50:56 +0200 (CEST)
Subject: bernhard: doc/www/src/security kolab-vendor-notice-11.txt,1.1,1.2
Message-ID: <20061003105056.93E301005D8@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src/security
In directory doto:/tmp/cvs-serv1640
Modified Files:
kolab-vendor-notice-11.txt
Log Message:
New revision of kolab-vendor-notice-11, upgrade to lastest version 2.0.4.
Index: kolab-vendor-notice-11.txt
===================================================================
RCS file: /kolabrepository/doc/www/src/security/kolab-vendor-notice-11.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- kolab-vendor-notice-11.txt 2 Oct 2006 17:26:59 -0000 1.1
+++ kolab-vendor-notice-11.txt 3 Oct 2006 10:50:54 -0000 1.2
@@ -7,7 +7,7 @@
Package: openssl
Vulnerability: denial of service
Kolab Specific: no
-Dependent Packages: apache curl imap imapd openldap perl perl-crypto
+Dependent Packages: apache curl imap imapd openldap perl perl-crypto
php postfix proftpd
@@ -24,7 +24,7 @@
Affected Versions
- -----------------
-OpenPKG packages of openssl-0.9.8a-2.5.2 or earlier are affected.
+OpenPKG packages of openssl-0.9.8a-2.5.2 or earlier are affected.
Kolab Server 2.0.4 and previous releases of the 2.0 branch as well as
Kolab Server 2.1 beta 2 and previous releases of the 2.1 branch are
affected.
@@ -37,12 +37,12 @@
- -----
Note: The fix described here is for Kolab server 2.0.4 and 2.1 beta 2.
-If you still run an older version, please upgrade to 2.0.1 or 2.1 beta 2
+If you still run an older version, please upgrade to 2.0.4 or 2.1 beta 2
depending on the branch you are using.
Updated OpenPKG package for openssl are available from the usual kolab
mirrors under the directory security-updates/20061002/ . While the
-mirrors are catching up, you can also get the files via rsync:
+mirrors are catching up, you can also get the files via rsync:
# rsync -tzvr rsync://rsync.kolab.org/kolab/server/security-updates/20061002/ .
Under that directory you'll find the following directory tree:
@@ -95,7 +95,7 @@
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.021-openssl.html
OpenPKG Security Advisory OpenPKG-SA-2006.021
-http://www.openssl.org/news/secadv_20060928.txt
+http://www.openssl.org/news/secadv_20060928.txt
OpenSSL Security Advisory on the vendor's site
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2937
@@ -117,9 +117,9 @@
20060928 OpenPKG created new package containing the fix
20061002 Kolab update and security advisory published
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFFIUob0vCiU5+ISsgRAp08AKD4tKqIEswPYI74aJ4NoIg4VJB9cwCeKA20
-6q+dFN2jZ5ZYLsEJ7TPjG68=
-=mIOs
+iD8DBQFFIkALh9ag3dpKERYRAuPBAJ9F9WoPFDVUjecfQTQpLk0cULzowQCfT6K1
+MXFi0VGEpWLldAlndKb2vcw=
+=bX/R
-----END PGP SIGNATURE-----
From cvs at kolab.org Tue Oct 3 14:49:44 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 3 Oct 2006 14:49:44 +0200 (CEST)
Subject: marcus: server/kolabd/kolabd ChangeLog,1.80,1.81
Message-ID: <20061003124944.6E4641006B0@lists.intevation.de>
Author: marcus
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv3793
Modified Files:
ChangeLog
Log Message:
sorry - forgot changelog entry
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- ChangeLog 27 Sep 2006 16:48:30 -0000 1.80
+++ ChangeLog 3 Oct 2006 12:49:42 -0000 1.81
@@ -1,3 +1,7 @@
+2006-10-02 Marcus Hüwe
+ * templates/slapd.conf.template.in: fixed issue1426 - thanks
+ Gunnar!
+
2006-09-27 Bernhard Reiter
* DB_CONFIG.slapd.template.in: Fixing set_lk_detect setting,
also adding the meaning from the documentation. Thanks
From cvs at kolab.org Mon Oct 9 14:35:06 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 9 Oct 2006 14:35:06 +0200 (CEST)
Subject: bernhard: doc/www/src mirrors.html.m4,1.16,1.17
Message-ID: <20061009123506.906531005A3@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv17897
Modified Files:
mirrors.html.m4
Log Message:
* Sorted alphabetical now.
* Added University of Belgrade etf again.
Index: mirrors.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/mirrors.html.m4,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mirrors.html.m4 22 May 2006 09:19:22 -0000 1.16
+++ mirrors.html.m4 9 Oct 2006 12:35:04 -0000 1.17
@@ -5,10 +5,7 @@
+ University of Belgrade
+ via http |
+ ftp
+ |
+ rsync://mirror.etf.bg.ac.yu/kolab
+
How to become a mirror?
From cvs at kolab.org Mon Oct 9 18:47:05 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 9 Oct 2006 18:47:05 +0200 (CEST)
Subject: bh: doc/www/src index.html.m4,1.93,1.94
Message-ID: <20061009164705.608FC1005A8@lists.intevation.de>
Author: bh
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv25867/www/src
Modified Files:
index.html.m4
Log Message:
Added Kolab Security Issue 11 and corresponding news item.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- index.html.m4 2 Oct 2006 17:27:00 -0000 1.93
+++ index.html.m4 9 Oct 2006 16:47:03 -0000 1.94
@@ -46,6 +46,21 @@
+
October 9th, 2006
+
»
+ Security Advisory 12 for Kolab Server (openssl)
+
+
+
+ The last Kolab Security Advisory contained an incorrect fix for one of
+ the OpenSSL problems. A new OpenSSL RPM for Kolab Server 2.0.4 is
+ available. The 2.1 branch update is not affected. See
+ the Kolab Security
+ Advisory 12 for details.
+
»
+ Security Advisory 13 for Kolab Server (ClamAV)
+
+
+
+ Two remotely exploitable vulnerabilities were found in the Clam AntiVirus package.
+ A new ClamAV RPM with a fix is available. See the
+ Kolab Security
+ Issue 13 for details.
+
»
+ Kolab-based UGS at Systems 2006 in Munich, Germany
+
+
+
+ Univention,
+ business partner of Kolab-Konsortium,
+ shows the Kolab-based Univention Groupware Server (UGS).
+ (hall 3 - booth A3.441-12)
+
+
+
+
October 19th, 2006
»
Security Advisory 13 for Kolab Server (ClamAV)
From cvs at kolab.org Wed Oct 25 04:28:59 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 25 Oct 2006 04:28:59 +0200 (CEST)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/resmgr
resmgr.php.in, 1.9, 1.10
Message-ID: <20061025022859.AA9251006A6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv30232/kolab-resource-handlers/resmgr
Modified Files:
resmgr.php.in
Log Message:
freebusy imap caching from Martin
Index: resmgr.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/resmgr.php.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- resmgr.php.in 25 Aug 2006 16:51:23 -0000 1.9
+++ resmgr.php.in 25 Oct 2006 02:28:57 -0000 1.10
@@ -1234,7 +1234,7 @@
" and ends on <$fbend>" .iCalDate2Kolab($vfbend), RM_LOG_DEBUG);
$outofperiod=0;
- if ($dtstart > convert2epoch ($vfbend)) {
+ if ($vfbstart && $dtstart > convert2epoch ($vfbend)) {
$outofperiod=1;
} else {
// Check whether we are busy or not
From cvs at kolab.org Wed Oct 25 04:28:59 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 25 Oct 2006 04:28:59 +0200 (CEST)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers
Makefile.am, 1.8, 1.9
Message-ID: <20061025022859.A81F91005D4@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv30232/kolab-resource-handlers
Modified Files:
Makefile.am
Log Message:
freebusy imap caching from Martin
Index: Makefile.am
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile.am 28 Mar 2006 18:53:41 -0000 1.8
+++ Makefile.am 25 Oct 2006 02:28:57 -0000 1.9
@@ -18,7 +18,9 @@
freebusy_FILES = freebusy/misc.php \
freebusy/freebusycollector.class.php \
freebusy/freebusyldap.class.php \
- freebusy/recurrence.class.php
+ freebusy/recurrence.class.php \
+ freebusy/freebusyimapcache.class.php \
+ freebusy/freebusyldap_dummy.class.php
freebusydir = $(phplibdir2)/$(kolab_php_module_prefix)freebusy
freebusy_DATA = $(freebusy_FILES) \
From cvs at kolab.org Wed Oct 25 04:28:59 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 25 Oct 2006 04:28:59 +0200 (CEST)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusyimapcache.class.php, NONE,
1.1 freebusyldap_dummy.class.php, NONE,
1.1 freebusy.class.php.in, 1.5, 1.6 freebusy.conf, 1.2,
1.3 freebusy.php.in, 1.3, 1.4 freebusycache.class.php.in, 1.5,
1.6 misc.php, 1.6, 1.7 pfb.php.in, 1.5, 1.6
Message-ID: <20061025022859.A94CC1006A5@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv30232/kolab-resource-handlers/freebusy
Modified Files:
freebusy.class.php.in freebusy.conf freebusy.php.in
freebusycache.class.php.in misc.php pfb.php.in
Added Files:
freebusyimapcache.class.php freebusyldap_dummy.class.php
Log Message:
freebusy imap caching from Martin
--- NEW FILE: freebusyimapcache.class.php ---
* Written by Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You can view the GNU General Public License, online, at the GNU
* Project's homepage; see .
*/
/* Class to efficently cache kolab events stored on an IMAP server */
class FreeBusyIMAPCache {
var $version; // internal version of format
var $store_prefix; // prefix to prepend to all file operations
var $owner; // folder owner
var $foldername; // folder name
var $cache_modified; // indicates if we have to writeout the cache
var $cache; // cache data
function FreeBusyIMAPCache($store_prefix, &$owner, &$foldername) {
$this->store_prefix = $store_prefix;
$this->owner = $owner;
$this->foldername = $foldername;
$this->version = 1;
$this->reset_cache();
}
function reset_cache() {
$this->cache = array();
$this->cache["version"] = $this->version;
$this->cache["uidvalidity"] = -1;
$this->cache["uidnext"] = -1;
$this->cache["incidences-for"] = "";
$this->cache["imap2fb"] = array();
$this->cache_modified = true;
}
function check_folder_changed($uidvalidity, $uidnext, $incidences_for, &$new_uids) {
$changed = false;
// uidvalidity changed?
if ($uidvalidity != $this->cache["uidvalidity"]) {
myLog("uidvalidity changed (old: ".$this->cache["uidvalidity"].", new: $uidvalidity), clearing cache", RM_LOG_DEBUG);
$this->reset_cache();
$changed = true;
}
// uidnext changed?
if ($uidnext != $this->cache["uidnext"]) {
myLog("uidnext on folder changed (old: ".$this->cache["uidnext"].", new: ".$uidnext.")", RM_LOG_DEBUG);
$changed = true;
}
// incidences-for changed?
if ($incidences_for != $this->cache["incidences-for"]) {
myLog("incidences-for changed (old: ".$this->cache["incidences-for"].", new: $incidences_for), clearing cache", RM_LOG_DEBUG);
$this->reset_cache();
$changed = true;
}
$this->cache["uidvalidity"] = $uidvalidity;
$this->cache["uidnext"] = $uidnext;
$this->cache["incidences-for"] = $incidences_for;
// deleted a message?
$old_uids = array_keys($this->cache["imap2fb"]);
while(list($key, $old_uid) = each($old_uids)) {
if (!in_array($old_uid, $new_uids)) {
unset($this->cache["imap2fb"][$old_uid]);
$this->cache_modified = true;
$changed = true;
}
}
if (!$changed)
myLog("check_changed: folder didn't change", RM_LOG_DEBUG);
return $changed;
}
function check_uid_exists($uid) {
return array_key_exists($uid, $this->cache["imap2fb"]);
}
function add_empty_imap2fb(&$imap_uid) {
$this->cache["imap2fb"][$imap_uid] = array();
$this->cache_modified = true;
}
function add_imap2fb(&$imap_uid, $fb_start, $fb_end, $fb_duration, $fb_extra) {
/*
Internal imap2fb array structure:
0..n IMAP uid
|----------- 0..n free/busy periods
|----------- start
|----------- end
|----------- duration
|----------- extra
*/
myLog("added event to store: uid: $imap_uid, start: $fb_start, end: $fb_end, duration: $fb_duration", RM_LOG_DEBUG);
$store = array();
$store["start"] = $fb_start;
$store["end"] = $fb_end;
$store["duration"] = $fb_duration;
$store["extra"] = $fb_extra;
$this->cache["imap2fb"][$imap_uid][] = $store;
$this->cache_modified = true;
}
function output_fb(&$vFb) {
reset($this->cache["imap2fb"]);
while(list($uid, $periods) = each($this->cache["imap2fb"]))
while(list($key, $period) = each($periods))
$vFb->addBusyPeriod('BUSY', $period["start"], $period["end"], $period["duration"], $period["extra"]);
}
function compute_filename() {
$folder_parts = explode('/', $this->foldername);
unset($folder_parts[0]);
$folder_storename = join('/', $folder_parts);
$folder_storename = str_replace(".", "^", $folder_storename);
$folder_storename = str_replace("\0", "", $folder_storename);
$full_path = $this->store_prefix.$folder_storename.".imapcache";
return $full_path;
}
function cache_load() {
$filename = $this->compute_filename();
myLog("Trying to load file: $filename", RM_LOG_DEBUG);
if (!is_readable($filename))
return false;
$this->cache = unserialize(file_get_contents($filename));
// Delete disc cache if it's from an old version
if ($this->cache["version"] != $this->version) {
myLog("Version mismatch (got: ".$this->cache["version"].", current: ".$this->version.", dropping cache", RM_LOG_WARN);
$this->reset_cache();
}
else $this->cache_modified = false;
return true;
}
function cache_store($force=false) {
if ($this->cache_modified || $force) {
$filename = $this->compute_filename();
myLog("Trying to save cache to file: $filename", RM_LOG_DEBUG);
if (!$this->mkdirhier(dirname($filename))) {
myLog("can't create director hierachy: ".dirname($filename), RM_LOG_ERROR);
return;
}
$tmpname = tempnam(dirname($this->store_prefix), 'imapcache');
$fp = fopen($tmpname, 'w');
if(!$fp) return false;
if (fwrite($fp, serialize($this->cache)) === false) {
fclose ($fp);
myLog("can't write to file: $tmpname. Out of discspace?", RM_LOG_ERROR);
return;
}
if(!rename($tmpname, $filename)) {
myLog("can't rename $tmpname to $filename", RM_LOG_ERROR);
return false;
}
fclose($fp);
$this->cache_modified = false;
}
else {
myLog("IMAPcache unmodified, not saving", RM_LOG_DEBUG);
}
}
function cache_delete() {
unlink($this->compute_filename());
$this->reset_cache();
}
function mkdirhier( $dirname ) {
$base = substr($dirname,0,strrpos($dirname,'/'));
$base = str_replace(".", "^", $base);
if( !empty( $base ) && !is_dir( $base ) ) {
if( !$this->mkdirhier( $base ) ) return false;
}
if( !file_exists( $dirname ) ) return mkdir( $dirname, 0755 );
return true;
}
};
?>
--- NEW FILE: freebusyldap_dummy.class.php ---
* Written by Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You can view the GNU General Public License, online, at the GNU
* Project's homepage; see .
*/
class FreeBusyLDAP {
function FreeBusyLDAP( $uri, $base ) {
return true;
}
function error() {
return "LDAP::error not implemented";
}
function close() {
return true;
}
function bind( $dn = false , $pw = '' ) {
return true;
}
function freeBusyPast() {
return 0; // Default
}
// Return a hash of info about a user
function userInfo( $uid ) {
$rtn = array();
$rtn["MAIL"] = $uid;
$rtn["HOMESERVER"] = "";
$rtn["FBFUTURE"] = 60;
return $rtn;
}
function mailForUid( $uid ) {
return $uid;
}
function homeServer( $uid ) {
return "localhost";
}
function dn( $uid ) {
return "";
}
function distlists( $dn ) {
return array();
}
};
?>
Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- freebusy.class.php.in 30 Apr 2006 02:35:47 -0000 1.5
+++ freebusy.class.php.in 25 Oct 2006 02:28:57 -0000 1.6
@@ -1,8 +1,11 @@
+ * Thomas Jarosch
+ * Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -18,75 +21,104 @@
* Project's homepage; see .
*/
+ /*
+ TODO: Looks like we don't get called for deleted folders.
+ Best thing would be to have a cron script which deletes
+ unmodified pfbs/caches after 2 months.
+ */
+
+
+require_once '@kolab_php_module_prefix at freebusy/freebusycache.class.php';
+require_once '@kolab_php_module_prefix at freebusy/freebusyimapcache.class.php';
require_once '@kolab_php_module_prefix at freebusy/recurrence.class.php';
class FreeBusyRecurrence extends Recurrence {
- function FreeBusyRecurrence( &$vfb, &$extra ) {
+ function FreeBusyRecurrence( &$imapcache, &$imapuid, &$vfb, &$extra ) {
+ $this->imapcache =& $imapcache;
+ $this->imapuid =& $imapuid;
$this->vfb =& $vfb;
$this->extra =& $extra;
}
function setBusy( $start, $end, $duration ) {
- $this->vfb->addBusyPeriod('BUSY', $start, null, $duration, $this->extra);
+ $this->imapcache->add_imap2fb($this->imapuid, $start, null, $duration, $this->extra);
}
+ var $imapcache;
var $vfb;
var $extra;
};
class FreeBusy {
- function FreeBusy( $username,
+ function FreeBusy( $cache_dir,
+ $username,
$password,
$imaphost,
+ $imapoptions,
$fbfuture=60,
$fbpast=0 ) {
+ $this->cache_dir = $cache_dir;
$this->username = $username;
$this->password = $password;
$this->imaphost = $imaphost;
+ $this->imapoptions = $imapoptions;
$this->fbfuture = $fbfuture;
$this->fbpast = $fbpast;
+ $this->relevance = null;
}
function imapConnect() {
- require_once('Net/IMAP.php');
- $this->imap = &new Net_IMAP( $this->imaphost, $this->imapport );
- #$this->imap->setDebug(true);
+ $this->imap_serverstring = "{".$this->imaphost.":".$this->imapport.$this->imapoptions."}";
+ $this->imap = imap_open( $this->imap_serverstring, $this->username, $this->password );
+
return $this->imap;
}
function imapDisconnect() {
- return $this->imap->disconnect();
- }
-
- function imapLogin() {
- return $this->imap->login($this->username,$this->password, true, false);
+ return imap_close($this->imap);
}
function imapOpenMailbox($foldername = 'INBOX') {
$this->foldername = $foldername;
- $rc = $this->imap->selectMailbox( $foldername );
- $a = $this->imap->getAnnotation( '/vendor/kolab/folder-type', '*' );
- //myLog( "$folder has annotation: ".print_r($a,true), RM_LOG_DEBUG);
+
+ $rc = imap_reopen($this->imap, $this->imap_serverstring . $this->foldername);
+ // PHP only returns false for imap_reopen() if we use an HALF_OPEN connection. doh!
+ if (imap_last_error() !== false)
+ $rc = false;
+
+ // $a = $this->imap->getAnnotation( '/vendor/kolab/folder-type', '*' );
+ // myLog( "$folder has annotation: ".print_r($a,true), RM_LOG_DEBUG);
+
return $rc;
}
function getACL() {
- return $this->imap->getACL();
+ $imap_acls = imap_getacl($this->imap, $this->foldername);
+
+ $rtn = array();
+ while (list($user, $rights) = each($imap_acls))
+ $rtn[] = array("USER" => $user, "RIGHTS" => $rights);
+
+ return $rtn;
}
function getRelevance() {
- $val = $this->imap->getAnnotation( '/vendor/kolab/incidences-for', 'value.shared' );
- if( PEAR::isError($val) || empty($val) ) {
+ // cached?
+ if (isset($this->relevance))
+ return $this->relevance;
+
+ $val = imap_getannotation( $this->imap, $this->foldername, '/vendor/kolab/incidences-for', 'value.shared' );
+ if( $val === false || empty($val) ) {
myLog("No /vendor/kolab/incidences-for found for ".$this->foldername, RM_LOG_DEBUG);
- return 'admins';
+ $this->relevance = "admins";
} else {
myLog("/vendor/kolab/incidences-for = ".print_r($val,true)." for ".$this->foldername, RM_LOG_DEBUG);
- return $val;
}
+
+ return $this->relevance;
}
function &generateFreeBusy($startstamp = NULL, $endstamp = NULL ) {
-
require_once 'PEAR.php';
require_once 'Horde/iCalendar.php';
require_once 'Horde/MIME.php';
@@ -102,7 +134,8 @@
$startstamp = strtotime( '-'.$this->fbpast.' days', mktime(0, 0, 0, $month, $day, $year) );
}
- // Default the end date to the start date + freebusy_days.
+ // Default the end date to the start date + fbfuture.
+
if (is_null($endstamp) || $endstamp < $startstamp) {
$endstamp = strtotime( '+'.$this->fbfuture.' days', $startstamp );
}
@@ -124,7 +157,9 @@
// URL is not required, so out it goes...
//$vFb->setAttribute('URL', 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
- if( $this->imap->getNumberOfMessages() == 0 ) {
+ $status = imap_status_current($this->imap, SA_MESSAGES | SA_UIDVALIDITY | SA_UIDNEXT);
+
+ if( $status->messages == 0 ) {
$vFb->setAttribute('DTSTART', 0, array(), false );
$vFb->setAttribute('DTEND', 0, array(), false );
$vFb->setAttribute('COMMENT', 'This is a dummy vfreebusy that indicates an empty calendar');
@@ -138,15 +173,53 @@
$retval = array($vCal->exportvCalendar(),$vCal->exportvCalendar());
return $retval;
}
- myLog("Reading messagelist", RM_LOG_DEBUG);
- $getMessages_start = microtime_float();
- $msglist = $this->imap->getMessagesList();
- //$msglist = &$this->imap->getMessages();
- myLog("FreeBusy::imap->getMessagesList() took ".(microtime_float()-$getMessages_start)." secs.", RM_LOG_DEBUG);
- if( PEAR::isError( $msglist ) ) return array( $msglist, null);
- foreach ($msglist as $msginfo) {
- //myLog("Reading message ".$msginfo['msg_id'], RM_LOG_DEBUG);
- $textmsg = $this->imap->getMsg($msginfo['msg_id']);
+ myLog("Reading messagelist", RM_LOG_DEBUG);
+ $getMessages_start = microtime_float();
+// $msglist = $this->imap->getMessagesList();
+ //$msglist = &$this->imap->getMessages();
+ myLog("FreeBusy::imap->getMessagesList() took ".(microtime_float()-$getMessages_start)." secs.", RM_LOG_DEBUG);
+// if( PEAR::isError( $msglist ) ) return array( $msglist, null);
+// foreach ($msglist as $msginfo) {
+
+ // This only happens in php standalone mode and is needed
+ // to make the debug log quiet
+ if (!isset($_SERVER["SERVER_NAME"]))
+ $_SERVER["SERVER_NAME"] = "localhost";
+
+ $imapcache = new FreeBusyIMAPCache($this->cache_dir."/", $this->username, $this->foldername);
+ $imapcache->cache_load();
+
+ $uids = imap_search($this->imap, "UNDELETED", SE_UID);
+
+ if ($imapcache->check_folder_changed($status->uidvalidity, $status->uidnext, $this->getRelevance(), $uids)) {
+ reset ($uids);
+ while(list($key, $uid) = each($uids))
+ if (!$imapcache->check_uid_exists($uid))
+ $this->process_imap_message($imapcache, $uid, $startstamp, $endstamp);
+ }
+
+ // store cache and output free busy list
+ $imapcache->cache_store();
+ $imapcache->output_fb($vFb);
+
+ $xvCal = $vCal;
+ $xvCal->addComponent($vFb);
+ $vCal->addComponent($this->clearExtra($vFb));
+
+ // Generate the vCal file.
+ $result = array( $vCal->exportvCalendar(), $xvCal->exportvCalendar() );
+ return $result;
+ }
+
+ /********************** Private API below this line ********************/
+
+ function process_imap_message(&$imapcache, &$imapuid, &$startstamp, &$endstamp)
+ {
+ myLog("Processing new message $imapuid", RM_LOG_DEBUG);
+ $imapcache->add_empty_imap2fb($imapuid);
+
+ $textmsg = imap_fetchheader($this->imap, $imapuid, FT_UID).imap_body($this->imap, $imapuid, FT_UID);
+
$mimemsg = &MIME_Structure::parseTextMIMEMessage($textmsg);
// Read in a Kolab event object, if one exists
@@ -166,21 +239,14 @@
if ($event === false) {
myLog("No x-vnd.kolab.events at all ", RM_LOG_DEBUG);
- continue;
+ return;
}
$uid = $event['uid'];
- /*
- // See if we need to ignore this event
- if (isset($params['ignore'][$uid])) {
- trigger_error("Ignoring event with uid=$uid", E_USER_NOTICE);
- continue;
- }
- */
if( array_key_exists( 'show-time-as', $event ) &&
strtolower(trim($event['show-time-as'])) == 'free' ) {
- continue;
+ return;
}
$summary = ($event['sensitivity'] == 'public' ? $event['summary'] : '');
@@ -205,7 +271,7 @@
if( array_key_exists( 'recurrence', $event ) ) {
myLog("Detected recurring event $uid", RM_LOG_DEBUG);
$rec = $event['recurrence'];
- $recurrence =& new FreeBusyRecurrence( $vFb, $extra );
+ $recurrence =& new FreeBusyRecurrence( $imapcache, $imapuid, $vFb, $extra );
$recurrence->setStartDate( $initial_start );
$recurrence->setEndDate( $initial_end );
$recurrence->setCycletype( $rec['cycle'] );
@@ -231,25 +297,15 @@
// Don't bother adding the initial event if it's outside our free/busy window
if ($initial_start < $startstamp || $initial_end > $endstamp) {
- continue;
+ return;
}
-
- $vFb->addBusyPeriod('BUSY', $initial_start/* + FreeBusy::tzOffset($initial_start)*/,
- $initial_end/* + FreeBusy::tzOffset($initial_end)*/, null, $extra);
+
+ // $initial_start/* + FreeBusy::tzOffset($initial_start)
+ $imapcache->add_imap2fb($imapuid, $initial_start, $initial_end, null, $extra);
+
}
- }
-
- $xvCal = $vCal;
- $xvCal->addComponent($vFb);
- $vCal->addComponent($this->clearExtra($vFb));
-
- // Generate the vCal file.
- $result = array( $vCal->exportvCalendar(), $xvCal->exportvCalendar() );
- return $result;
}
- /********************** Private API below this line ********************/
-
function tzOffset( $ts ) {
$dstr = date('O',$ts);
return 3600 * substr( $dstr, 0, 3) + 60 * substr( $dstr, 3, 2);
@@ -408,12 +464,15 @@
$vFb->_extraParams = array();
return $vFb;
}
-
+
+ var $cache_dir;
var $username;
var $password;
var $imaphost;
var $imapport = 143;
+ var $imapoptions;
var $foldername;
+ var $relevance;
// Settings
var $fbfuture;
@@ -422,6 +481,8 @@
var $week_starts_on_sunday = false;
var $imap;
+ var $imap_serverstring;
};
?>
+
Index: freebusy.conf
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- freebusy.conf 3 Feb 2006 07:05:11 -0000 1.2
+++ freebusy.conf 25 Oct 2006 02:28:57 -0000 1.3
@@ -65,3 +65,21 @@
// What db type to use for freebusy caches
$params['dbtype'] = 'gdbm';
+
+// Logging
+$params['log'] = "syslog:";
+$params['log_level'] = 2;
+
+// IMAP options passed to imap_open
+$params['imap_options'] = "/notls/secure/readonly";
+
+// Directory prefixes
+$params['kolab_prefix'] = "";
+$params['cache_dir'] = "/datastore/freebusy"; // default: /var/kolab/www/freebusy/cache
+
+$params['pfb_dbformat'] = ""; // default: gdbm
+
+// don't change this if you don't have to
++$params['ldap_uri'] = "";
++$params['ldap_classname_suffix'] = "_dummy";
+
Index: freebusy.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- freebusy.php.in 5 Feb 2006 20:15:10 -0000 1.3
+++ freebusy.php.in 25 Oct 2006 02:28:57 -0000 1.4
@@ -1,8 +1,12 @@
+ * Thomas Jarosch
+ * Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -18,12 +22,12 @@
* Project's homepage; see .
*/
+require_once('@resmgr_confdir@/freebusy.conf');
require_once('@kolab_php_module_prefix at freebusy/freebusycache.class.php');
require_once('@kolab_php_module_prefix at freebusy/freebusycollector.class.php');
-require_once('@kolab_php_module_prefix at freebusy/freebusyldap.class.php');
-require_once('@kolab_php_module_prefix at freebusy/misc.php');
+require_once('@kolab_php_module_prefix at freebusy/freebusyldap'.$params['ldap_classname_suffix'].'.class.php');
-require_once('@resmgr_confdir@/freebusy.conf');
+require_once('@kolab_php_module_prefix at freebusy/misc.php');
logInit( 'freebusy' );
@@ -68,7 +72,8 @@
}
$user = strtolower($user);
-$cache =& new FreeBusyCache( '@freebusy_cachedir@', $req_extended );
+$cache =& new FreeBusyCache( '@freebusy_cachedir@', $params['pfb_dbformat'], $req_extended );
+
$collector =& new FreeBusyCollector( $user );
$groups = $ldap->distlists( $ldap->dn( $user ) );
@@ -128,3 +133,4 @@
echo $vfb;
?>
+
Index: freebusycache.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusycache.class.php.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- freebusycache.class.php.in 9 Apr 2006 18:28:35 -0000 1.5
+++ freebusycache.class.php.in 25 Oct 2006 02:28:57 -0000 1.6
@@ -1,8 +1,12 @@
+ * Written by Thomas Jarosch
+ * Written by Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -25,8 +29,9 @@
require_once('@resmgr_confdir@/freebusy.conf');
class FreeBusyCache {
- function FreeBusyCache( $basedir, $extended = false ) {
+ function FreeBusyCache( $basedir, $dbformat, $extended = false ) {
$this->basedir = $basedir;
+ $this->dbformat = $dbformat;
$this->extended = $extended;
/* make sure that a database really exists before accessing it */
if( !file_exists( $this->basedir.'/pfbcache.db' ) ) {
@@ -37,10 +42,6 @@
function store( $filename, $fbdata, $acl, $relevance ) {
global $params;
- if( ereg( '\.\.', $filename ) ) {
- $this->error = $filename._(' is not absolute');
- return false;
- }
$fbfilename = $this->mkfbfilename($filename);
myLog("FreeBusyCache::store( file=$fbfilename, acl=[ "
@@ -150,6 +151,7 @@
."] )", RM_LOG_DEBUG);
return file_get_contents($fbfilename);
}
+ myLog("FreeBusyCache: file $fbfilename does not exist", RM_LOG_ERROR);
return false;
}
@@ -203,8 +205,10 @@
}
/*************** Private API below this line *************/
+ // a copy of this function exists in freebusyimapcache.class.php
function mkdirhier( $dirname ) {
$base = substr($dirname,0,strrpos($dirname,'/'));
+ $base = str_replace(".", "^", $base);
if( !empty( $base ) && !is_dir( $base ) ) {
if( !$this->mkdirhier( $base ) ) return false;
}
@@ -213,13 +217,14 @@
}
function mkfbfilename( $fbfilename ) {
- $fbfilename = str_replace( '..', '', $fbfilename );
+ $fbfilename = str_replace( '.', '^', $fbfilename );
+
$fbfilename = str_replace( "\0", '', $fbfilename );
return $this->basedir.'/'.$fbfilename.($this->extended?'.xpfb':'.pfb');
}
function mkaclfilename( $fbfilename ) {
- $fbfilename = str_replace( '..', '', $fbfilename );
+ $fbfilename = str_replace( '.', '^', $fbfilename );
$fbfilename = str_replace( "\0", '', $fbfilename );
return $this->basedir.'/'.$fbfilename.($this->extended?'.xpfb':'.pfb').'.acl';
}
@@ -339,7 +344,9 @@
}
var $basedir;
+ var $dbformat;
var $error;
};
?>
+
Index: misc.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/misc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- misc.php 16 Jan 2005 08:17:49 -0000 1.6
+++ misc.php 25 Oct 2006 02:28:57 -0000 1.7
@@ -256,4 +256,4 @@
return assembleUri($parsed);
}
-?>
\ No newline at end of file
+?>
Index: pfb.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pfb.php.in 23 Oct 2006 21:37:50 -0000 1.5
+++ pfb.php.in 25 Oct 2006 02:28:57 -0000 1.6
@@ -1,8 +1,12 @@
+ * Thomas Jarosch
+ * Martin Konold
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -30,11 +34,11 @@
$max_execution_time = ini_get('max_execution_time');
if( $max_execution_time < 200 ) ini_set('max_execution_time', '200');
-require_once('@kolab_php_module_prefix at freebusy/freebusyldap.class.php');
-require_once('@kolab_php_module_prefix at freebusy/freebusycache.class.php');
require_once('@kolab_php_module_prefix at freebusy/misc.php');
-
require_once('@resmgr_confdir@/freebusy.conf');
+require_once('@kolab_php_module_prefix at freebusy/freebusyldap'.$params['ldap_classname_suffix'].'.class.php');
+
+require_once('@kolab_php_module_prefix at freebusy/freebusycache.class.php');
logInit('pfb');
@@ -43,6 +47,18 @@
$req_cache = isset($_REQUEST['cache'])?(bool)$_REQUEST['cache']:false;
$req_folder = isset($_REQUEST['folder'])?$_REQUEST['folder']:false;
$req_extended = isset($_REQUEST['extended'])?(bool)$_REQUEST['extended']:false;
+// convert character encoding (stores utf7 folder names also on disc)
+require_once "Horde/Util.php";
+require_once "Horde/String.php";
+$req_folder = String::convertCharset($req_folder, "UTF-8", "UTF7-IMAP");
+/*
+// Debug test values
+$imapuser = "groupware";
+$imappw = "groupware";
+$req_cache = 0;
+$req_folder = "groupware/Kalender";
+$req_extended = 0;
+*/
myLog("pfb.php starting up: user=$imapuser, folder=$req_folder, extended=$req_extended",
RM_LOG_DEBUG);
@@ -59,7 +75,8 @@
//$homeserver = $userinfo['HOMESERVER'];
}
-$folder = array_values(array_filter(explode('/', $req_folder )));
+$folder = explode('/', $req_folder);
+
if( count($folder) < 1 ) {
// error
notFound( _('No such folder ').htmlentities($req_folder) );
@@ -101,10 +118,11 @@
exit;
}
-$cache =& new FreeBusyCache( '@freebusy_cachedir@',
- false );
-$xcache =& new FreeBusyCache( '@freebusy_cachedir@',
- true );
+$full_cache_dir = $params['kolab_prefix'] . $params['cache_dir'];
+
+$cache =& new FreeBusyCache( $full_cache_dir, $params['pfb_dbformat'], false );
+$xcache =& new FreeBusyCache( $full_cache_dir, $params['pfb_dbformat'], true );
+
if( $req_cache ) {
$acl = false;
@@ -143,35 +161,18 @@
unset($folder[0]);
$folder = join('/', $folder);
$fbpast = $ldap->freeBusyPast();
- $fb =& new FreeBusy( $imapuser, $imappw, 'localhost', $uinfo['FBFUTURE'], $fbpast );
- $fb->freebusy_days = $params['freebusy_days'];
+ $fb =& new FreeBusy( $full_cache_dir, $imapuser, $imappw, 'localhost', $params['imap_options'], $uinfo['FBFUTURE'], $fbpast );
+
$fb->default_domain = $params['email_domain'];
$rc = $fb->imapConnect();
- if( PEAR::isError( $rc ) ) {
- unauthorized($rc->toString());
- return false;
- }
- $rc = $fb->imapLogin();
- if( PEAR::isError( $rc ) ) {
- unauthorized("Access denied for user $imapuser: ".$rc->toString());
+ if( $rc === false ) {
+ unauthorized(imap_last_error());
return false;
}
$rc = $fb->imapOpenMailbox(FreeBusy::imapFolderName( $imapuser, $owner,
$folder, $params['email_domain']));
- if( PEAR::isError( $rc ) ) {
- // folder doesn't exist (anymore)
- $cache->store( $owner.'/'.$folder, false, array(), "delete folder");
- $xcache->store( $owner.'/'.$folder, false, array(), "delete folder");
-
- // clear IMAP cache
- $imapcache = new FreeBusyIMAPCache($full_cache_dir."/", $owner, $fb->foldername);
- $imapcache->cache_delete();
-
- // try to unlink (parent) directory, works only if empty
- $parent_folder = $full_cache_dir."/".str_replace(".", "^", $owner."/".$folder);
- @rmdir($parent_folder);
-
- notfound( "Folder: ".$fb->foldername.', '.$rc->toString());
+ if( $rc === false ) {
+ notfound( "Folder: ".$fb->foldername.', '.imap_last_error());
return false;
}
$relevance = $fb->getRelevance();
From cvs at kolab.org Wed Oct 25 04:29:53 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 25 Oct 2006 04:29:53 +0200 (CEST)
Subject: steffen: server/kolabd/kolabd/templates freebusy.conf.template.in, 1.2,
1.3
Message-ID: <20061025022953.1B4A21005D4@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv30337/kolabd/templates
Modified Files:
freebusy.conf.template.in
Log Message:
freebusy imap caching from Martin
Index: freebusy.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/freebusy.conf.template.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- freebusy.conf.template.in 3 Apr 2006 18:18:39 -0000 1.2
+++ freebusy.conf.template.in 25 Oct 2006 02:29:51 -0000 1.3
@@ -87,3 +87,15 @@
// What level of output should we log? Higher levels give more verbose output.
// One of: RM_LOG_SILENT; RM_LOG_ERROR; RM_LOG_WARN; RM_LOG_INFO or RM_LOG_DEBUG.
$params['log_level'] = RM_LOG_DEBUG;
+
+// IMAP options passed to imap_open
+//$params['imap_options'] = "/notls/secure/readonly";
+$params['imap_options'] = "/notls/readonly";
+
+$params['pfb_dbformat'] = ""; // default: gdbm
+
+// Location of the cache files
+$params['cache_dir'] = '/var/kolab/www/freebusy/cache';
+
+// don't change this if you don't have to
+//$params['ldap_classname_suffix'] = "_dummy";
From cvs at kolab.org Tue Oct 31 02:30:44 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 31 Oct 2006 02:30:44 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusycollector.class.php, 1.6, 1.7
Message-ID: <20061031013044.C74F81005CA@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv13095
Modified Files:
freebusycollector.class.php
Log Message:
applied change from issue1422
Index: freebusycollector.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusycollector.class.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freebusycollector.class.php 12 Jan 2005 02:51:04 -0000 1.6
+++ freebusycollector.class.php 31 Oct 2006 01:30:42 -0000 1.7
@@ -95,8 +95,6 @@
/* No busy periods in fb list. We have to add a
* dummy one to be standards compliant
*/
- $vFb->setAttribute('DTSTART', 0, array(), false );
- $vFb->setAttribute('DTEND', 0, array(), false );
$vFb->setAttribute('COMMENT', 'This is a dummy vfreebusy that indicates an empty calendar');
$vFb->addBusyPeriod( 'BUSY', 0,0, null );
}
@@ -111,4 +109,4 @@
var $vCal;
};
-?>
\ No newline at end of file
+?>
From cvs at kolab.org Tue Oct 31 03:19:11 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 31 Oct 2006 03:19:11 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusycollector.class.php, 1.6, 1.6.2.1
Message-ID: <20061031021911.8A4731005CA@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv13849
Modified Files:
Tag: kolab_2_0_branch
freebusycollector.class.php
Log Message:
applied change from issue1422
Index: freebusycollector.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusycollector.class.php,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- freebusycollector.class.php 12 Jan 2005 02:51:04 -0000 1.6
+++ freebusycollector.class.php 31 Oct 2006 02:19:09 -0000 1.6.2.1
@@ -95,8 +95,6 @@
/* No busy periods in fb list. We have to add a
* dummy one to be standards compliant
*/
- $vFb->setAttribute('DTSTART', 0, array(), false );
- $vFb->setAttribute('DTEND', 0, array(), false );
$vFb->setAttribute('COMMENT', 'This is a dummy vfreebusy that indicates an empty calendar');
$vFb->addBusyPeriod( 'BUSY', 0,0, null );
}
@@ -111,4 +109,4 @@
var $vCal;
};
-?>
\ No newline at end of file
+?>
From cvs at kolab.org Tue Oct 31 05:14:57 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 31 Oct 2006 05:14:57 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.class.php.in, 1.6, 1.7 freebusyimapcache.class.php, 1.1,
1.2 pfb.php.in, 1.6, 1.7
Message-ID: <20061031041457.A8FAB1005CA@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv15636
Modified Files:
freebusy.class.php.in freebusyimapcache.class.php pfb.php.in
Log Message:
include domain in path for cache files
Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freebusy.class.php.in 25 Oct 2006 02:28:57 -0000 1.6
+++ freebusy.class.php.in 31 Oct 2006 04:14:55 -0000 1.7
@@ -51,6 +51,7 @@
class FreeBusy {
function FreeBusy( $cache_dir,
+ $owner_email,
$username,
$password,
$imaphost,
@@ -58,6 +59,7 @@
$fbfuture=60,
$fbpast=0 ) {
$this->cache_dir = $cache_dir;
+ $this->owner_email = $owner_email;
$this->username = $username;
$this->password = $password;
$this->imaphost = $imaphost;
@@ -186,7 +188,7 @@
if (!isset($_SERVER["SERVER_NAME"]))
$_SERVER["SERVER_NAME"] = "localhost";
- $imapcache = new FreeBusyIMAPCache($this->cache_dir."/", $this->username, $this->foldername);
+ $imapcache = new FreeBusyIMAPCache($this->cache_dir."/", $this->owner_email, $this->foldername);
$imapcache->cache_load();
$uids = imap_search($this->imap, "UNDELETED", SE_UID);
Index: freebusyimapcache.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyimapcache.class.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- freebusyimapcache.class.php 25 Oct 2006 02:28:57 -0000 1.1
+++ freebusyimapcache.class.php 31 Oct 2006 04:14:55 -0000 1.2
@@ -129,15 +129,21 @@
function compute_filename() {
- $folder_parts = explode('/', $this->foldername);
- unset($folder_parts[0]);
- $folder_storename = join('/', $folder_parts);
-
- $folder_storename = str_replace(".", "^", $folder_storename);
- $folder_storename = str_replace("\0", "", $folder_storename);
+ $folder_parts = explode('/', $this->foldername);
+ unset($folder_parts[0]);
+ $folder_storename = join('/', $folder_parts);
+
+ $folder_storename = str_replace(".", "^", $folder_storename);
+ $folder_storename = str_replace("\0", "", $folder_storename);
- $full_path = $this->store_prefix.$folder_storename.".imapcache";
- return $full_path;
+ if( ereg( '(.*)@(.*)', $this->owner, $regs ) ) {
+ $domain = $regs[2].'/';
+ $domain = str_replace(".", "^", $domain);
+ $domain = str_replace("\0", "", $domain);
+ } else $domain = '';
+
+ $full_path = $this->store_prefix.$domain.$folder_storename.".imapcache";
+ return $full_path;
}
function cache_load() {
Index: pfb.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pfb.php.in 25 Oct 2006 02:28:57 -0000 1.6
+++ pfb.php.in 31 Oct 2006 04:14:55 -0000 1.7
@@ -161,7 +161,7 @@
unset($folder[0]);
$folder = join('/', $folder);
$fbpast = $ldap->freeBusyPast();
- $fb =& new FreeBusy( $full_cache_dir, $imapuser, $imappw, 'localhost', $params['imap_options'], $uinfo['FBFUTURE'], $fbpast );
+ $fb =& new FreeBusy( $full_cache_dir, $owner, $imapuser, $imappw, 'localhost', $params['imap_options'], $uinfo['FBFUTURE'], $fbpast );
$fb->default_domain = $params['email_domain'];
$rc = $fb->imapConnect();
@@ -181,6 +181,10 @@
if( PEAR::isError( $vfb ) ) {
unauthorized($vfb->toString());
return false;
+ }
+
+ if(ereg('(.*)@(.*)',$owner,$regs)) {
+ $owner = $regs[2].'/'.$regs[1];
}
$acl = $fb->getACL();
From cvs at kolab.org Tue Oct 31 11:45:29 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 31 Oct 2006 11:45:29 +0100 (CET)
Subject: bernhard: doc/www/src index.html.m4, 1.96, 1.97 newsarchive.html.m4,
1.11, 1.12
Message-ID: <20061031104529.BE09A1005B0@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv28000
Modified Files:
index.html.m4 newsarchive.html.m4
Log Message:
* Moved remaining new from 2005 into the newsarchive.
* index.html: Refocussed lastest news to the four news of october.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- index.html.m4 24 Oct 2006 16:48:33 -0000 1.96
+++ index.html.m4 31 Oct 2006 10:45:27 -0000 1.97
@@ -102,6 +102,13 @@
+
+
+
+
+
+
+
August 22th, 2006
»
@@ -156,14 +163,6 @@
-
-
-
-
-
-
-
-
June 26th, 2006
»
@@ -354,153 +353,6 @@
is now available from your favourite mirror.
-
-
-
December 22nd, 2005
-
»
- Security Advisory 07 for Kolab Server
-
-
-
- Under special circumstances emails are changed by the Kolabfiler,
- leading to broken email-signatures or attachments.
- A patch fixing the problem is available.
- See the
- Kolab Security
- Advisory 07 for details.
-
-
-
-
-
November 15th, 2005
-
»
- Kolab wins "Best Groupware Server" Award
-
-
-
-Kolab has been given the Linux New Media Award 2005
-in the category 'Best Groupware Server'. The jury
-chose Kolab on top of contenders like Openexchange,
-OpenGroupware, GroupWise, eGroupWare, Scalix and Lotus Notes.
-This was revealed during a ceremony Tuesday evening
-at the LinuxWorld Expo 2005 in Frankfurt, Germany.
-
-
- The Clam AntiVirus package contains a boundary condition error and
- fails to handle exceptional conditions, which can be exploited
- remotely. A new ClamAV RPM with a fix is available. See the
- Kolab Security
- Advisory 06 for details.
-
-
-
-
-
-
October 20th, 2005
-
»
- Security Advisory 05 for Kolab Server
-
-
-
- The obmtool.conf file distributed with Kolab Security Issue 04
- may cause a downgrade of clamav to a vulnerable version.
- See the Kolab Security
- Advisory 05 for details.
-
-
-
-
-
October 14th, 2005
-
»
- Security Advisory 04 for Kolab Server
-
-
-
- A potential SSL 2.0 protocol rollback attack vulnerability
- exists in the cryptography toolkit OpenSSL. The vulnerability
- potentially affects applications that use the SSL/TLS server
- implementation provided by OpenSSL. A new OpenSSL RPM is
- available. See the Kolab Security
- Advisory 04 for details.
-
-
-
-
-
September 21st, 2005
-
»
- Security Advisory 03 for Kolab Server
-
-
-
- The Clam AntiVirus package contains a boundary condition error and
- fails to handle exceptional conditions, which can be exploited
- remotely. A new ClamAV RPM with a fix is available. See the
- Kolab Security
- Advisory 03 for details.
-
-
-
-
-
September 14th, 2005
-
»
- Kolab Server update: 2.0.1 fixes bugs and security
-
-
-
- The now published 2.0.1 edition of the Kolab Server is based on
- OpenPKG 2.4 and contains a few security updates from OpenPKG.
- In addition a few bugs have been fixed.
- We recommend to update!
-
-
-
-
-
July 27th, 2005
-
»
- Security Advisory 02 for Kolab Server
-
-
-
- The Clam AntiVirus package contains several buffer overflows
- that can be exploited remotely. A new ClamAV RPM with a fix is
- available. See
- the Kolab Security
- Advisory 02 for details.
-
-
-
-
-
June 20th, 2005
-
»
- Kolab 2 Groupware released!
-
-
-
- Almost two years after the stable release of Kolab 1,
- the Kolab team is proud to present the stable releases
- of Kolab Server 2.0 and KDE Kolab Client 2.0!
-
-
- Check out the
- official press release,
- get the packages from the mirrors
- and watch out for Kolab at Linuxtag2005 starting Wednesday
- in Karlsruhe.
-
+ Under special circumstances emails are changed by the Kolabfiler,
+ leading to broken email-signatures or attachments.
+ A patch fixing the problem is available.
+ See the
+ Kolab Security
+ Advisory 07 for details.
+
+
+
+
+
November 15th, 2005
+
»
+ Kolab wins "Best Groupware Server" Award
+
+
+
+Kolab has been given the Linux New Media Award 2005
+in the category 'Best Groupware Server'. The jury
+chose Kolab on top of contenders like Openexchange,
+OpenGroupware, GroupWise, eGroupWare, Scalix and Lotus Notes.
+This was revealed during a ceremony Tuesday evening
+at the LinuxWorld Expo 2005 in Frankfurt, Germany.
+
+
+ The Clam AntiVirus package contains a boundary condition error and
+ fails to handle exceptional conditions, which can be exploited
+ remotely. A new ClamAV RPM with a fix is available. See the
+ Kolab Security
+ Advisory 06 for details.
+
+
+
+
+
+
October 20th, 2005
+
»
+ Security Advisory 05 for Kolab Server
+
+
+
+ The obmtool.conf file distributed with Kolab Security Issue 04
+ may cause a downgrade of clamav to a vulnerable version.
+ See the Kolab Security
+ Advisory 05 for details.
+
+
+
+
+
October 14th, 2005
+
»
+ Security Advisory 04 for Kolab Server
+
+
+
+ A potential SSL 2.0 protocol rollback attack vulnerability
+ exists in the cryptography toolkit OpenSSL. The vulnerability
+ potentially affects applications that use the SSL/TLS server
+ implementation provided by OpenSSL. A new OpenSSL RPM is
+ available. See the Kolab Security
+ Advisory 04 for details.
+
+
+
+
+
September 21st, 2005
+
»
+ Security Advisory 03 for Kolab Server
+
+
+
+ The Clam AntiVirus package contains a boundary condition error and
+ fails to handle exceptional conditions, which can be exploited
+ remotely. A new ClamAV RPM with a fix is available. See the
+ Kolab Security
+ Advisory 03 for details.
+
+
+
+
+
September 14th, 2005
+
»
+ Kolab Server update: 2.0.1 fixes bugs and security
+
+
+
+ The now published 2.0.1 edition of the Kolab Server is based on
+ OpenPKG 2.4 and contains a few security updates from OpenPKG.
+ In addition a few bugs have been fixed.
+ We recommend to update!
+
+
+
+
+
July 27th, 2005
+
»
+ Security Advisory 02 for Kolab Server
+
+
+
+ The Clam AntiVirus package contains several buffer overflows
+ that can be exploited remotely. A new ClamAV RPM with a fix is
+ available. See
+ the Kolab Security
+ Advisory 02 for details.
+
+
+
+
+
June 20th, 2005
+
»
+ Kolab 2 Groupware released!
+
+
+
+ Almost two years after the stable release of Kolab 1,
+ the Kolab team is proud to present the stable releases
+ of Kolab Server 2.0 and KDE Kolab Client 2.0!
+
+
+ Check out the
+ official press release,
+ get the packages from the mirrors
+ and watch out for Kolab at Linuxtag2005 starting Wednesday
+ in Karlsruhe.
+
+
+
June 17th, 2005
From cvs at kolab.org Wed Nov 1 10:20:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:20:47 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/resmgr
kolabfilter.php.in, 1.11, 1.12
Message-ID: <20061101092047.CD891101EF4@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv28886/kolab-resource-handlers/resmgr
Modified Files:
kolabfilter.php.in
Log Message:
* resmgr/kolabfilter.php.in ($addrs):
Fixed kolabfilter script for PHP5 (array_merge problems).
Index: kolabfilter.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/kolabfilter.php.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- kolabfilter.php.in 19 Oct 2006 20:56:26 -0000 1.11
+++ kolabfilter.php.in 1 Nov 2006 09:20:45 -0000 1.12
@@ -134,7 +134,7 @@
}
unset($entries[0]['mail']['count']);
unset($entries[0]['alias']['count']);
- $addrs = array_merge($entries[0]['mail'],$entries[0]['alias']);
+ $addrs = array_merge((array) $entries[0]['mail'],(array) $entries[0]['alias']);
$mail = $entries[0]['mail'][0];
ldap_free_result($result);
@@ -153,7 +153,7 @@
foreach( $entries as $adr ) {
if( $adr['mail']['count'] > 0 ) {
unset($adr['mail']['count']);
- $addrs = array_merge($addrs,$adr['mail']);
+ $addrs = array_merge((array) $addrs,(array) $adr['mail']);
}
}
ldap_free_result($result);
From cvs at kolab.org Wed Nov 1 10:20:48 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:20:48 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.18, 1.19
Message-ID: <20061101092048.0A5BB101EF5@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv28886/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* resmgr/kolabfilter.php.in ($addrs):
Fixed kolabfilter script for PHP5 (array_merge problems).
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ChangeLog 25 Aug 2006 16:51:23 -0000 1.18
+++ ChangeLog 1 Nov 2006 09:20:45 -0000 1.19
@@ -1,3 +1,9 @@
+2006-11-01 Gunnar Wrobel
+
+ * resmgr/kolabfilter.php.in ($addrs):
+
+ Fixed kolabfilter script for PHP5 (array_merge problems).
+
2006-08-25 Bernhard Herzog
* resmgr/resmgr.php.in: Apply patch to fix Issue1352.
From cvs at kolab.org Wed Nov 1 10:23:26 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:23:26 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/resmgr
misc.php, 1.5, 1.6
Message-ID: <20061101092326.90B53101EF5@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv28966/kolab-resource-handlers/resmgr
Modified Files:
misc.php
Log Message:
* resmgr/misc.php:
Fixed misc.php helper for PHP5 (array_merge problems).
Index: misc.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/misc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- misc.php 22 May 2006 10:49:29 -0000 1.5
+++ misc.php 1 Nov 2006 09:23:24 -0000 1.6
@@ -178,7 +178,7 @@
$i++;
}
$i--;
- if( array_key_exists($arg[1],$ret) && is_array( $ret[$arg[1]] ) ) $ret[$arg[1]] = array_merge($ret[$arg[1]] ,$val);
+ if( array_key_exists($arg[1],$ret) && is_array( $ret[$arg[1]] ) ) $ret[$arg[1]] = array_merge((array)$ret[$arg[1]] ,(array)$val);
else if( count($val) == 1 ) $ret[$arg[1]] = $val[0];
else $ret[$arg[1]] = $val;
}
From cvs at kolab.org Wed Nov 1 10:23:26 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:23:26 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.19, 1.20
Message-ID: <20061101092326.92C30101EF7@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv28966/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* resmgr/misc.php:
Fixed misc.php helper for PHP5 (array_merge problems).
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ChangeLog 1 Nov 2006 09:20:45 -0000 1.19
+++ ChangeLog 1 Nov 2006 09:23:24 -0000 1.20
@@ -1,5 +1,9 @@
2006-11-01 Gunnar Wrobel
+ * resmgr/misc.php:
+
+ Fixed misc.php helper for PHP5 (array_merge problems).
+
* resmgr/kolabfilter.php.in ($addrs):
Fixed kolabfilter script for PHP5 (array_merge problems).
From cvs at kolab.org Wed Nov 1 10:32:29 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:32:29 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.20, 1.21
Message-ID: <20061101093229.516781006C2@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv29325/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusycache.class.php.in:
Fixed freebusycache class for PHP5 (array_merge problems).
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- ChangeLog 1 Nov 2006 09:23:24 -0000 1.20
+++ ChangeLog 1 Nov 2006 09:32:27 -0000 1.21
@@ -1,5 +1,9 @@
2006-11-01 Gunnar Wrobel
+ * freebusy/freebusycache.class.php.in:
+
+ Fixed freebusycache class for PHP5 (array_merge problems).
+
* resmgr/misc.php:
Fixed misc.php helper for PHP5 (array_merge problems).
From cvs at kolab.org Wed Nov 1 10:32:29 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 10:32:29 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusycache.class.php.in, 1.6, 1.7
Message-ID: <20061101093229.4E7DF1005C6@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv29325/kolab-resource-handlers/freebusy
Modified Files:
freebusycache.class.php.in
Log Message:
* freebusy/freebusycache.class.php.in:
Fixed freebusycache class for PHP5 (array_merge problems).
Index: freebusycache.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusycache.class.php.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freebusycache.class.php.in 25 Oct 2006 02:28:57 -0000 1.6
+++ freebusycache.class.php.in 1 Nov 2006 09:32:27 -0000 1.7
@@ -192,7 +192,7 @@
if( dba_exists( $uid, $db ) ) {
$tmplst = dba_fetch( $uid, $db );
myLog("Found ".$uid." := $tmplst", RM_LOG_DEBUG);
- $lst = array_merge( $lst, $this->decodeList( $tmplst ) );
+ $lst = array_merge((array) $lst,(array) $this->decodeList( $tmplst ) );
} else {
myLog("$uid not found", RM_LOG_DEBUG);
}
@@ -334,7 +334,7 @@
if($file=='.' || $file=='..') continue;
if( !ereg( ($this->extended?'/.*\.xpfb$/':'/.*\.pfb$/'), $file ) ) continue;
$tmp = $this->recursivedir( $dir.'/'.$file );
- if( $tmp !== false ) $dirs = array_merge( $dirs, $tmp );
+ if( $tmp !== false ) $dirs = array_merge((array) $dirs,(array) $tmp );
} else if( is_file($dir.'/'.$file) ) {
$dirs[] = $dir.'/'.$file;
}
From cvs at kolab.org Wed Nov 1 12:10:52 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 12:10:52 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.class.php.in, 1.7, 1.8
Message-ID: <20061101111052.19F28101EF3@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv31299/kolab-resource-handlers/freebusy
Modified Files:
freebusy.class.php.in
Log Message:
Fixed typo in date.
Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- freebusy.class.php.in 31 Oct 2006 04:14:55 -0000 1.7
+++ freebusy.class.php.in 1 Nov 2006 11:10:50 -0000 1.8
@@ -1,6 +1,6 @@
From cvs at kolab.org Wed Nov 1 15:00:09 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 15:00:09 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd ChangeLog,1.81,1.82
Message-ID: <20061101140009.1E299101F04@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv4616
Modified Files:
ChangeLog
Log Message:
* templates/freebusy.conf.template.in:
Commit
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
leads to resmgr/misc.php not being imported before
freebusy.conf. Consequently RM_LOG_DEBUG remains undefined and
results in an error. Either the order of the include statements in
kolab-resource-handlers/freebusy/freebusy.php.in is being changed
or the template uses integer values for the log_level. Chose the
second option for now.
In addition $params['cache_dir'] was set to @freebusy_cachedir@ in
order to get the correct path under all distributions.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- ChangeLog 3 Oct 2006 12:49:42 -0000 1.81
+++ ChangeLog 1 Nov 2006 14:00:07 -0000 1.82
@@ -1,3 +1,20 @@
+2006-11-01 Gunnar Wrobel
+
+ * templates/freebusy.conf.template.in:
+
+ Commit
+ http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
+ leads to resmgr/misc.php not being imported before
+ freebusy.conf. Consequently RM_LOG_DEBUG remains undefined an
+ results in an error. Either the order of the include statements in
+ kolab-resource-handlers/freebusy/freebusy.php.in is being changed
+ or the template uses integer values for the log_level. Chose the
+ second option for now.
+
+ In addition $params['cache_dir'] was set to @freebusy_cachedir@ in
+ order to get the correct path under all distributions.
+
+
2006-10-02 Marcus Hüwe
* templates/slapd.conf.template.in: fixed issue1426 - thanks
Gunnar!
From cvs at kolab.org Wed Nov 1 15:00:09 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 1 Nov 2006 15:00:09 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd/templates freebusy.conf.template.in, 1.3,
1.4
Message-ID: <20061101140009.1688E101EFD@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv4616/templates
Modified Files:
freebusy.conf.template.in
Log Message:
* templates/freebusy.conf.template.in:
Commit
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
leads to resmgr/misc.php not being imported before
freebusy.conf. Consequently RM_LOG_DEBUG remains undefined and
results in an error. Either the order of the include statements in
kolab-resource-handlers/freebusy/freebusy.php.in is being changed
or the template uses integer values for the log_level. Chose the
second option for now.
In addition $params['cache_dir'] was set to @freebusy_cachedir@ in
order to get the correct path under all distributions.
Index: freebusy.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/freebusy.conf.template.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- freebusy.conf.template.in 25 Oct 2006 02:29:51 -0000 1.3
+++ freebusy.conf.template.in 1 Nov 2006 14:00:07 -0000 1.4
@@ -85,8 +85,8 @@
// $params['log'] = 'syslog:cons, pid'; // Or syslog...
// What level of output should we log? Higher levels give more verbose output.
-// One of: RM_LOG_SILENT; RM_LOG_ERROR; RM_LOG_WARN; RM_LOG_INFO or RM_LOG_DEBUG.
-$params['log_level'] = RM_LOG_DEBUG;
+// One of: 0 (RM_LOG_SILENT); 1 (RM_LOG_ERROR); 2 (RM_LOG_WARN); 3 (RM_LOG_INFO) or 4 (RM_LOG_DEBUG).
+$params['log_level'] = 4;
// IMAP options passed to imap_open
//$params['imap_options'] = "/notls/secure/readonly";
@@ -95,7 +95,7 @@
$params['pfb_dbformat'] = ""; // default: gdbm
// Location of the cache files
-$params['cache_dir'] = '/var/kolab/www/freebusy/cache';
+$params['cache_dir'] = '@freebusy_cachedir@';
// don't change this if you don't have to
//$params['ldap_classname_suffix'] = "_dummy";
From cvs at kolab.org Thu Nov 2 10:44:03 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 2 Nov 2006 10:44:03 +0100 (CET)
Subject: wilde: doc/www/src index.html.m4,1.97,1.98
Message-ID: <20061102094403.86A151006CF@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv14228
Modified Files:
index.html.m4
Log Message:
Added News on UGS presentation at LWE 2006.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- index.html.m4 31 Oct 2006 10:45:27 -0000 1.97
+++ index.html.m4 2 Nov 2006 09:44:01 -0000 1.98
@@ -46,13 +46,28 @@
+
November 14th - 16th, 2006
+
»
+ Presentation of Kolab-based UGS at LinuxWorld Expo 2006 in Cologne, Germany
+
+
+
+ Univention,
+ business partner of Kolab-Konsortium,
+ presents the Kolab-based Univention Groupware Server
+ (UGS).
+ (Special exhibition Linux/OS in the office, hall 11.2)
+
+
+
+
October 23th - 27th, 2006
»
Kolab-based UGS at Systems 2006 in Munich, Germany
- Univention,
+ Univention,
business partner of Kolab-Konsortium,
shows the Kolab-based Univention Groupware Server (UGS).
(hall 3 - booth A3.441-12)
From cvs at kolab.org Thu Nov 2 15:39:31 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 2 Nov 2006 15:39:31 +0100 (CET)
Subject: bernhard: utils/testing kmail-send-test-email-aegyptenissue659-1.py,
NONE, 1.1
Message-ID: <20061102143931.AA1F01005CA@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/utils/testing
In directory doto:/tmp/cvs-serv20332
Added Files:
kmail-send-test-email-aegyptenissue659-1.py
Log Message:
Adding test helping script for aegyptenissue659.
--- NEW FILE: kmail-send-test-email-aegyptenissue659-1.py ---
#!/usr/bin/env python
"""Send Email to reproduce https://intevation.de/roundup/aegypten/issue659.
Usage ./$progname
This script is Free Software under the GNU General Public License >=v2.
bernhard at intevation.de
"""
#20061030 Bernhard initial
__version__="$Revision: 1.1 $"[10:-1]
import sys
import smtplib
import string
msg="""To: Bernhard Reiter
Subject: Test Mail aegypten/issue659 rev02
From: Sascha Wilde
Date: Mon, 30 Oct 2006 15:22:12 +0100
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha1; protocol="application/pgp-signature"
--=-=-=
Content-Transfer-Encoding: quoted-printable
Eine signierte Testmail.
=2D-=20
Sascha Wilde Intevation GmbH
wilde at intevation.de intevation at intevation.de
http://www.intevation.de/~wilde/ http://www.intevation.de/
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFRgpeuyGFFEu4ZWgRAgucAJ9tvc7Pxx2SZgXDWCYvY6jr5Pa3kwCdGN/y
OpTLo1J8XeeCCeO7lNIkzok=
=y4aq
-----END PGP SIGNATURE-----
--=-=-=--
"""
toadd = [sys.argv[1]]
#toadd = ["test.account at example.org"] # list of to addresses
smtpserver='localhost'
# if you set a loginname, aconnection via TLS and authentification is tried
loginname = None
password = None
fromadd="nobody at example.org"
basemsg=("From: %s\r\nTo: %s\r\n%%s\r\n" % (fromadd, string.join(toadd, ", ")))
headers="MIME-Version: 1.0\r\n"+ \
"Content-Type: text/plain;\r\n"+ \
" charset=\"iso-8859-1\"\r\n"+ \
"Content-Transfer-Encoding: 8bit\r\n"
basesubject="Subject: Test for aegypten/issue659\r\n"
server=smtplib.SMTP(smtpserver)
#server.set_debuglevel(1)
if loginname != None and password != None:
server.starttls()
server.login(loginname,password)
server.sendmail(fromadd,toadd,msg)
server.quit()
#sys.stdout.write("\n")
From cvs at kolab.org Fri Nov 3 12:13:26 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 12:13:26 +0100 (CET)
Subject: bernhard: doc/www/src default.css, 1.7, 1.8 header.html.m4, 1.5,
1.6 index.html.m4, 1.98, 1.99
Message-ID: <20061103111326.43F001005BC@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv32186
Modified Files:
default.css header.html.m4 index.html.m4
Log Message:
Reworked the main page and the header
+ Replaced the main title with a description, this saves space
and it more expressive. This should make it easier to see what
Kolab is about (user feedback indicated the need).
Switched from bold to regular font, because it was too heavy.
The font size needs experimentation.
+ Avoided "project" in a couple of places as in the narror sense
Kolab is not an initiative with a limited time period and goals
but an ongoing effort.
+ Expanded the description and reshifted emphasised parts
to be more appealing and giving slightly more information.
+ Added more keywords, so readers can be picked up more easily.
Added the alternative wording "Open Source" behind Free Software.
Added gnu/linux and some more to the meta keywords.
Index: default.css
===================================================================
RCS file: /kolabrepository/doc/www/src/default.css,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- default.css 18 Mar 2005 10:24:21 -0000 1.7
+++ default.css 3 Nov 2006 11:13:24 -0000 1.8
@@ -187,8 +187,8 @@
}
.cbhtext {
- font-size: 200%;
- font-weight: bold;
+ font-size: 150%;
+ /*font-weight: bold;*/
padding-left: 1em;
vertical-align: middle;
}
Index: header.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/header.html.m4,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- header.html.m4 14 Mar 2005 14:02:47 -0000 1.5
+++ header.html.m4 3 Nov 2006 11:13:24 -0000 1.6
@@ -11,9 +11,9 @@
-The Kolab Groupware Project :: PAGE_TITLE
-
-
+Kolab Groupware:: PAGE_TITLE
+
+
@@ -31,7 +31,7 @@
-
The Kolab Groupware Project
+
Groupware Solution for Emails, Appointments, Contacts and more
-
Kolab is a Groupware Solution for Emails, Appointments, Contacts and more.
-
-It supports mixed clients environments (Outlook/KDE) because of an
-open storage format called Kolab-XML.
+It supports mixed client environments (Outlook/KDE)
+because of an open storage format. Any email client
+speaking standard protocols can be served.
-The Kolab Project is about the Kolab Concept
-and implementions.
-Especially the
+For the full Kolab experience you need a
Kolab Server and
-the
-Kolab Clients,
-e.g. KDE Kontact. Server and KDE client are Free Software.
+Kolab Clients.
+What makes the Kolab Concept outstanding is the focus on
+scalability, proven components and protocols.
+The implementations offered by us are Free Software (Open Source).
From cvs at kolab.org Fri Nov 3 12:35:54 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 12:35:54 +0100 (CET)
Subject: bernhard: doc/www/src index.html.m4,1.99,1.100
Message-ID: <20061103113554.56252101EE7@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv32764
Modified Files:
index.html.m4
Log Message:
Mentioned the BSI.
Shortened the LMN sentence.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- index.html.m4 3 Nov 2006 11:13:24 -0000 1.99
+++ index.html.m4 3 Nov 2006 11:35:52 -0000 1.100
@@ -19,8 +19,11 @@
-Kolab has won the Linux New Media Award 2005
-in the category 'Best Groupware Server'
+Kolab was created for the needs of the German
+Federal Office for Information Security (BSI) by contract in 2002-2004
+and is used there in a heterogenous environment.
+November 2005 Kolab won the Linux New Media Award:
+Category 'Best Groupware Server'
[press release].
From cvs at kolab.org Fri Nov 3 12:50:03 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 12:50:03 +0100 (CET)
Subject: bernhard: doc/www/src index.html.m4,1.100,1.101
Message-ID: <20061103115003.93554101EF8@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv689
Modified Files:
index.html.m4
Log Message:
Added 2.1.5 release news.
Refocussed lastest news to only november news.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- index.html.m4 3 Nov 2006 11:35:52 -0000 1.100
+++ index.html.m4 3 Nov 2006 11:50:01 -0000 1.101
@@ -61,6 +61,39 @@
+
+
+
November 2nd, 2006
+
»
+ New KDE Kolab Client released, revision 'proko2 2.1.5'.
+
+
+
+ This release contains several fixes and
+ a few new features, like:
+
+
+
+
Ability to add ones signature at top of
+ an email reply automatically
+ or manually at the cursor position.
+
+
An extra button to send an email to results
+ of LDAP queries and the possibility to reach that query
+ dialog directly from the address selection dialog.
+
+ The release notes contain the full list.
+
+
+
+
+
+
+
+
+
+
+
October 23th - 27th, 2006
»
@@ -117,13 +150,6 @@
Advisory 11 for details.
-
-
-
-
-
-
-
August 22th, 2006
From cvs at kolab.org Fri Nov 3 15:04:30 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 15:04:30 +0100 (CET)
Subject: thomas: server release-notes.txt,1.41,1.42
Message-ID: <20061103140430.5456A1006A9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv4041
Modified Files:
release-notes.txt
Log Message:
whitespace cleanup
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- release-notes.txt 20 Jun 2006 12:44:25 -0000 1.41
+++ release-notes.txt 3 Nov 2006 14:04:28 -0000 1.42
@@ -27,7 +27,7 @@
the web interface. This happens most often immediately after the
bootstrap. In that case restart the kolabd:
- /kolab/bin/openpkg rc kolabd restart
+ /kolab/bin/openpkg rc kolabd restart
See Issue1068 (Mailboxes are not created until kolabd restart) and
Issue1098 (Changes in the service tab are not accepted after
@@ -50,11 +50,11 @@
php-smarty-2.6.10-20051003
clamav-0.88.2-20060524
- binutils-2.16.1-2.5.1
- http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.009-binutils.html
+ binutils-2.16.1-2.5.1
+ http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.009-binutils.html
- openldap-2.3.11-2.5.1
- http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.008-openldap.html
+ openldap-2.3.11-2.5.1
+ http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.008-openldap.html
Kolab updates:
@@ -63,21 +63,21 @@
- perl-kolab-5.8.7-20060619
- Resolved:
- Issue1194 (kolabd quota performance)
- Issue1220 (postfix permissions)
- issue1237 (Handling of @@@var@@@ in Conf.pm (Gunnar Wrobel))
+ Resolved:
+ Issue1194 (kolabd quota performance)
+ Issue1220 (postfix permissions)
+ issue1237 (Handling of @@@var@@@ in Conf.pm (Gunnar Wrobel))
- kolabd-2.0.99-20060619
- * The default imapd configuration has been changed to enable the
- hashimapspool option. This affects the upgrade procedure.
- See 1st.README for upgrade instructions.
+ * The default imapd configuration has been changed to enable the
+ hashimapspool option. This affects the upgrade procedure.
+ See 1st.README for upgrade instructions.
* amavis now logs to /kolab/var/amavisd/amavisd.log. This is
- part of the fix for Issue1015
+ part of the fix for Issue1015
- Resolved:
+ Resolved:
Issue1015 (fixing logging and logrotate for amavisd)
Issue1089 (enable hashimapspool for imapd to cope with many users)
Issue1101 (allowapop: no; disable apop access to imapd by default)
@@ -86,10 +86,10 @@
- kolab-webadmin-2.0.99-20060619
- * patch from Tobias König in order to support setting of
+ * patch from Tobias König in order to support setting of
foldertype for public folders
- Resolved:
+ Resolved:
Issue848 (Modifying address book entry may break distribution list)
Issue1106 (email validation in webgui)
Issue1214 (number of days for vacation messages on webinterface)
@@ -97,12 +97,12 @@
- kolab-resource-handlers-2.0.99-20060619
- * create empty pfbcache.db if missing
+ * create empty pfbcache.db if missing
- Resolved:
+ Resolved:
Issue973 (quoting and rewriting From header)
Issue966 (Wrong CN for resource accounts)
- Issue1042 (server modifies email content)
+ Issue1042 (server modifies email content)
Issue1195 (error message in bounce)
Issue1243 (rewriting fails when "From:" contains quoted printable)
Issue1245 (rewriting problems on folded Header "From:"-line)
From cvs at kolab.org Fri Nov 3 15:16:23 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 15:16:23 +0100 (CET)
Subject: steffen: server obmtool.conf,1.228,1.229
Message-ID: <20061103141623.7782E1005BC@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv4536
Modified Files:
obmtool.conf
Log Message:
new snapshot
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -d -r1.228 -r1.229
--- obmtool.conf 24 Oct 2006 15:29:56 -0000 1.228
+++ obmtool.conf 3 Nov 2006 14:16:21 -0000 1.229
@@ -48,7 +48,6 @@
--muid="19414" --ruid="19415" --nuid="19416" \
--mgid="19414" --rgid="19415" --ngid="19416"
- #@install ${altloc}openpkg-registry-0.2.7-20060223
if test -n "$USERNAME" ; then
$PREFIX/bin/openpkg register --mode=post --user=$USERNAME
$PREFIX/bin/openpkg register --printstatus && echo "Please associate the instance now. Then RETURN to continue." && read DUMMY
@@ -111,7 +110,7 @@
@install ${loc}autoconf-2.59-2.5.0
@install ${loc}automake-1.9.6-2.5.0
@install ${loc}gettext-0.14.5-2.5.0
- @install ${loc}file-4.15-2.5.0_kolab
+ @install ${altloc}file-4.15-2.5.0_kolab
@install ${loc}openpkg-tools-0.8.47-2.5.0
@install ${loc}patch-2.5.9-2.5.0
@install ${loc}sed-4.1.4-2.5.0
@@ -149,11 +148,11 @@
@install ${altloc}clamav-0.88.5-2.20061018
# @install ${loc}vim-6.3.78-2.4.0
# @install ${plusloc}dcron-2.9-2.4.0
- @install ${altloc}perl-kolab-5.8.7-20061011
- @install ${altloc}kolabd-2.0.99-20061011 --define kolab_version=$kolab_version
- @install ${altloc}kolab-webadmin-2.0.99-20061011 --define kolab_version=$kolab_version
+ @install ${altloc}perl-kolab-5.8.7-20061103
+ @install ${altloc}kolabd-2.0.99-20061103 --define kolab_version=$kolab_version
+ @install ${altloc}kolab-webadmin-2.0.99-20061103 --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-20061011 --define kolab_version=$kolab_version
+ @install ${altloc}kolab-resource-handlers-2.0.99-20061103 --define kolab_version=$kolab_version
@install ${altloc}kolab-horde-fbview-2.0.99-20051220 --define kolab_version=$kolab_version
@check
From cvs at kolab.org Fri Nov 3 15:16:46 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 15:16:46 +0100 (CET)
Subject: steffen: server obmtool.conf,1.229,1.230
Message-ID: <20061103141646.E09F41005BC@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv4572
Modified Files:
obmtool.conf
Log Message:
new snapshot
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -d -r1.229 -r1.230
--- obmtool.conf 3 Nov 2006 14:16:21 -0000 1.229
+++ obmtool.conf 3 Nov 2006 14:16:44 -0000 1.230
@@ -24,7 +24,7 @@
%kolab
echo "---- boot/build ${NODE} %${CMD} ----"
- kolab_version="2.1beta2";
+ kolab_version="2.1beta3-cvs";
PREFIX=/${CMD};
loc='' # '' (empty) for ftp.openpkg.org, '=' for URL, './' for CWD or absolute path
plusloc='+'
From cvs at kolab.org Fri Nov 3 15:28:21 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 15:28:21 +0100 (CET)
Subject: thomas: server release-notes.txt,1.42,1.43
Message-ID: <20061103142821.164051005DB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv4726
Modified Files:
release-notes.txt
Log Message:
Started release notes for Kolab server 2.1 beta3
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- release-notes.txt 3 Nov 2006 14:04:28 -0000 1.42
+++ release-notes.txt 3 Nov 2006 14:28:19 -0000 1.43
@@ -1,5 +1,5 @@
Release notes Kolab2 Server
-(Version 20060620, Kolab Server 2.1 beta 2)
+(Version 2006????, Kolab Server 2.1 beta 2)
This is a development snapshot of the kolab server leading up to a 2.1
release. For upgrading and installation instructions, please refer to
@@ -38,6 +38,64 @@
Deleting address book entries doesn't automatically remove them
from distribution lists like it is done for users, see Issue848
for details.
+
+
+Changes since 2.1 beta 2:
+
+ OpenPKG updates:
+
+ - openpkg-2.5.4-2.5.4
+
+ Resolved:
+ New upstream version, required for registration with OpenPKG.
+
+ - openssl-0.9.8a-2.5.4
+
+ Resolved:
+ denial of service, may allow execution of arbitrary code
+ (http://kolab.org/security/kolab-vendor-notice-12.txt)
+
+ - clamav-0.88.5-2.20061018
+
+ Resolved:
+ buffer overflow, remotely exploitable (CVE-2006-4018)
+ (http://kolab.org/security/kolab-vendor-notice-10.txt)
+ heap overflow, remotely exploitable (CVE-2006-4182),
+ denial of service, remotely exploitable (CVE-2006-5295)
+ (http://kolab.org/security/kolab-vendor-notice-13.txt)
+
+ - file-4.15-2.5.0_kolab
+
+ Resolved:
+ kolab/issue1458 (Password protected .sxw files can be banned by
+ amavisd, as a result of the file command)
+
+ - openldap-2.3.27-2.20061018_kolab
+
+ Resolved:
+ kolab/issue1229 (Master openldap's slurpd fails to start after
+ adding slave)
+ kolab/issue1431 (Slave cannot access master ldap server via SSL)
+
+
+ Kolab updates:
+
+ - perl-kolab-5.8.7-2006????
+
+ Resolved:
+
+ - kolabd-2.0.99-2006????
+
+ Resolved:
+
+ - kolab-webadmin-2.0.99-2006????
+
+ Resolved:
+
+ - kolab-resource-handlers-2.0.99-2006????
+
+ Resolved:
+
Changes since 2.1 beta 1:
From cvs at kolab.org Fri Nov 3 16:56:12 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 16:56:12 +0100 (CET)
Subject: thomas: server obmtool.conf,1.230,1.231
Message-ID: <20061103155612.9DCEA1005DB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv6465
Modified Files:
obmtool.conf
Log Message:
Activated folderchar patch for imapd package.
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- obmtool.conf 3 Nov 2006 14:16:44 -0000 1.230
+++ obmtool.conf 3 Nov 2006 15:56:10 -0000 1.231
@@ -105,7 +105,7 @@
@install ${loc}perl-ldap-5.8.7-2.5.0
@install ${loc}perl-db-5.8.7-2.5.1
@install ${loc}config-20051002-2.5.0
- @trigger ${altloc}imapd-2.2.12-2.5.0_kolab --with=group --with=ldap --with=annotate --with=atvdom --with=skiplist --with=goodchars --with=morelogging # Drop morelogging if you dont want/need it
+ @trigger ${altloc}imapd-2.2.12-2.5.0_kolab2 --with=group --with=ldap --with=annotate --with=atvdom --with=skiplist --with=goodchars --with=folderchar --with=morelogging # Drop morelogging if you dont want/need it
@install ${loc}libiconv-1.10-2.5.0
@install ${loc}autoconf-2.59-2.5.0
@install ${loc}automake-1.9.6-2.5.0
From cvs at kolab.org Fri Nov 3 16:56:12 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 16:56:12 +0100 (CET)
Subject: thomas: server/imapd kolab.patch,1.29,1.30
Message-ID: <20061103155612.A7CAD1006AB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/imapd
In directory doto:/tmp/cvs-serv6465/imapd
Modified Files:
kolab.patch
Log Message:
Activated folderchar patch for imapd package.
Index: kolab.patch
===================================================================
RCS file: /kolabrepository/server/imapd/kolab.patch,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- kolab.patch 19 Jul 2006 13:51:04 -0000 1.29
+++ kolab.patch 3 Nov 2006 15:56:10 -0000 1.30
@@ -1,5 +1,5 @@
---- imapd.spec.orig 2006-07-19 15:32:33.867230000 +0200
-+++ imapd.spec 2006-07-19 15:41:21.484428413 +0200
+--- imapd.spec.orig 2006-11-03 16:49:36.210673013 +0100
++++ imapd.spec 2006-11-03 16:50:56.703458223 +0100
@@ -2,6 +2,9 @@
## imapd.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
@@ -10,12 +10,12 @@
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
-@@ -33,13 +36,17 @@
+@@ -33,13 +36,18 @@
Group: Mail
License: BSD
Version: 2.2.12
-Release: 2.5.0
-+Release: 2.5.0_kolab
++Release: 2.5.0_kolab2
# package options
-%option with_fsl yes
@@ -30,10 +30,11 @@
+%option with_ldap no
+%option with_goodchars no
+%option with_morelogging no
++%option with_folderchar no
# list of sources
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz
-@@ -49,6 +56,13 @@
+@@ -49,6 +57,13 @@
Source4: fsl.imapd
Patch0: imapd.patch
Patch1: imapd.patch.group
@@ -47,7 +48,7 @@
# build information
Prefix: %{l_prefix}
-@@ -61,6 +75,10 @@
+@@ -61,6 +76,10 @@
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
%endif
@@ -58,7 +59,7 @@
AutoReq: no
AutoReqProv: no
-@@ -91,6 +109,7 @@
+@@ -91,6 +110,7 @@
%{l_shtool} subst \
-e 's;/etc/imapd\.group;%{l_prefix}/etc/imapd/imapd.group;' \
lib/auth_unix.c
@@ -66,7 +67,7 @@
%endif
%if "%{with_drac}" == "yes"
%{l_shtool} subst -e 's;@DRACLIBS@;-ldrac;g' contrib/drac_auth.patch
-@@ -98,10 +117,27 @@
+@@ -98,10 +118,27 @@
sleep 1
touch configure
%endif
@@ -95,7 +96,7 @@
configure
# ensure local et/com_err can be found
-@@ -162,6 +198,11 @@
+@@ -162,6 +199,11 @@
-e '/alt_config/s;"deliver";"cyrdeliver";' \
imap/deliver.c
From cvs at kolab.org Fri Nov 3 17:53:00 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 17:53:00 +0100 (CET)
Subject: thomas: server release-notes.txt,1.43,1.44
Message-ID: <20061103165300.9E7711006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv7510
Modified Files:
release-notes.txt
Log Message:
Finished release-notes for changes up to end of October.
Removed separation between OpenPKG and Kolab packages.
Updated formatting of beta3-cvs entries.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- release-notes.txt 3 Nov 2006 14:28:19 -0000 1.43
+++ release-notes.txt 3 Nov 2006 16:52:58 -0000 1.44
@@ -1,5 +1,5 @@
Release notes Kolab2 Server
-(Version 2006????, Kolab Server 2.1 beta 2)
+(Version 20061103, Kolab Server 2.1 beta 3-cvs)
This is a development snapshot of the kolab server leading up to a 2.1
release. For upgrading and installation instructions, please refer to
@@ -42,60 +42,86 @@
Changes since 2.1 beta 2:
- OpenPKG updates:
+ - openpkg-2.5.4-2.5.4
- - openpkg-2.5.4-2.5.4
+ New upstream version.
- Resolved:
- New upstream version, required for registration with OpenPKG.
+ - openssl-0.9.8a-2.5.4
- - openssl-0.9.8a-2.5.4
+ denial of service, may allow execution of arbitrary code
+ (http://kolab.org/security/kolab-vendor-notice-12.txt)
- Resolved:
- denial of service, may allow execution of arbitrary code
- (http://kolab.org/security/kolab-vendor-notice-12.txt)
+ - clamav-0.88.5-2.20061018
- - clamav-0.88.5-2.20061018
+ buffer overflow, remotely exploitable (CVE-2006-4018)
+ (http://kolab.org/security/kolab-vendor-notice-10.txt)
- Resolved:
- buffer overflow, remotely exploitable (CVE-2006-4018)
- (http://kolab.org/security/kolab-vendor-notice-10.txt)
- heap overflow, remotely exploitable (CVE-2006-4182),
- denial of service, remotely exploitable (CVE-2006-5295)
- (http://kolab.org/security/kolab-vendor-notice-13.txt)
+ heap overflow, remotely exploitable (CVE-2006-4182),
+ denial of service, remotely exploitable (CVE-2006-5295)
+ (http://kolab.org/security/kolab-vendor-notice-13.txt)
- - file-4.15-2.5.0_kolab
+ - file-4.15-2.5.0_kolab
- Resolved:
- kolab/issue1458 (Password protected .sxw files can be banned by
- amavisd, as a result of the file command)
+ kolab/issue1458 (Password protected .sxw files can be banned by
+ amavisd, as a result of the file command)
- - openldap-2.3.27-2.20061018_kolab
+ - openldap-2.3.27-2.20061018_kolab
- Resolved:
- kolab/issue1229 (Master openldap's slurpd fails to start after
- adding slave)
- kolab/issue1431 (Slave cannot access master ldap server via SSL)
+ New upstream version, fixes CVE-2006-4600 (Bugtraq ID 19832)
+ and other problems.
+ kolab/issue1229 (Master openldap's slurpd fails to start after
+ adding slave)
+ kolab/issue1431 (Slave cannot access master ldap server via SSL)
- Kolab updates:
+ - imapd-2.2.12-2.5.0_kolab2
- - perl-kolab-5.8.7-2006????
+ Fix folder structure for foldernames with non-alphanumeric characters,
+ using skiplist as the database backend for mailboxes.db.
- Resolved:
+ - perl-kolab-5.8.7-20061103
- - kolabd-2.0.99-2006????
+ kolab/issue1194 (serious performance problem on high number of users)
- Resolved:
+ - kolabd-2.0.99-20061103
- - kolab-webadmin-2.0.99-2006????
+ Added missing relay service for postfix.
- Resolved:
+ Changed main.cf masquerading defaults so email to
+ user at machine.example.org is actually delivered.
- - kolab-resource-handlers-2.0.99-2006????
+ Use mailbox_transport instead of local_transport for
+ kolabmailboxfilter to work around issue825.
- Resolved:
+ Removed doubled attribute cyrus-autocreatequota.
+
+ Added indexes for delegate and delete.
+
+ Updated freebusy.conf template for freebusy IMAP caching.
+ kolab/issue824 (kolabmailboxfilter run once for each recipient)
+ kolab/issue1264 (Add support for sieve based notifications)
+ kolab/issue1273 (Sending as delegate broken in Kolab server 2.1)
+ kolab/issue1428 (Fixed locking issue)
+
+ - kolab-webadmin-2.0.99-20061103
+
+ Fixes for setting folder type of shared folders.
+
+ Guard against large number of users.
+
+ kolab/issue1457 (updated French translation)
+
+ - kolab-resource-handlers-2.0.99-20061103
+
+ Improvements and fixes for freebusy IMAP caching.
+
+ kolab/issue815 (invitation replies vanish in resmgr)
+ kolab/issue957 (All-day events from Outlook don't show up in freebusy)
+ kolab/issue974 (Localize the text for rewritten From: headers)
+ kolab/issue1042 (empty lines at the end of mails delivered via LMTP)
+ kolab/issue1352 (resmgr can create wrong range dates)
+ kolab/issue1422 (Dummy freebusy info)
Changes since 2.1 beta 1:
From cvs at kolab.org Fri Nov 3 18:34:25 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 18:34:25 +0100 (CET)
Subject: thomas: server/imapd Makefile,1.28,1.29
Message-ID: <20061103173425.777491006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/imapd
In directory doto:/tmp/cvs-serv8370
Modified Files:
Makefile
Log Message:
Increased KOLABRELEASE in imapd/Makefile, too.
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/imapd/Makefile,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Makefile 31 Aug 2006 10:19:20 -0000 1.28
+++ Makefile 3 Nov 2006 17:34:23 -0000 1.29
@@ -11,7 +11,7 @@
PACKAGE=imapd
VERSION=2.2.12
RELEASE=2.5.0
-KOLABRELEASE=2.5.0_kolab
+KOLABRELEASE=2.5.0_kolab2
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
From cvs at kolab.org Fri Nov 3 18:55:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 18:55:47 +0100 (CET)
Subject: thomas: server/apache Makefile,1.21,1.22 kolab.patch,1.9,1.10
Message-ID: <20061103175547.9C5CD1006CC@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/apache
In directory doto:/tmp/cvs-serv8677/apache
Modified Files:
Makefile kolab.patch
Log Message:
Updated apache, curl and gzip versions. Adjust release notes and obmtool.conf
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/apache/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile 20 Dec 2005 09:18:50 -0000 1.21
+++ Makefile 3 Nov 2006 17:55:45 -0000 1.22
@@ -10,8 +10,8 @@
PACKAGE=apache
VERSION=1.3.33
-RELEASE=2.5.5
-KOLABRELEASE=2.5.5_kolab
+RELEASE=2.5.6
+KOLABRELEASE=2.5.6_kolab
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
Index: kolab.patch
===================================================================
RCS file: /kolabrepository/server/apache/kolab.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- kolab.patch 15 Dec 2005 16:26:53 -0000 1.9
+++ kolab.patch 3 Nov 2006 17:55:45 -0000 1.10
@@ -1,15 +1,15 @@
---- apache.spec.orig Wed Dec 7 18:43:26 2005
-+++ apache.spec Wed Dec 7 18:43:26 2005
-@@ -65,7 +65,7 @@ Class: BASE
+--- apache.spec.orig 2006-11-03 18:36:39.283198000 +0100
++++ apache.spec 2006-11-03 18:36:54.491277155 +0100
+@@ -65,7 +65,7 @@
Group: Web
License: ASF
Version: %{V_apache}
--Release: 2.5.5
-+Release: 2.5.5_kolab
+-Release: 2.5.6
++Release: 2.5.6_kolab
# package options (suexec related)
%option with_suexec yes
-@@ -214,6 +214,10 @@ Patch1: apache.patch.modowa
+@@ -214,6 +214,10 @@
Patch2: apache.patch.php
Patch3: http://www.hardened-php.net/hardening-patch-%{V_mod_php_hardened}.patch.gz
Patch4: apache.patch.suphp
@@ -20,7 +20,7 @@
# build information
Prefix: %{l_prefix}
-@@ -527,6 +531,9 @@ AutoReqProv: no
+@@ -527,6 +531,9 @@
%if "%{with_mod_php_hardened}" == "yes"
%patch -p1 -P 3
%endif
@@ -30,7 +30,7 @@
) || exit $?
%endif
%if "%{with_mod_dav}" == "yes"
-@@ -561,6 +568,7 @@ AutoReqProv: no
+@@ -561,6 +568,7 @@
%endif
%if "%{with_mod_auth_ldap}" == "yes"
%setup -q -T -D -a 14
From cvs at kolab.org Fri Nov 3 18:55:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 18:55:47 +0100 (CET)
Subject: thomas: server obmtool.conf,1.231,1.232 release-notes.txt,1.44,1.45
Message-ID: <20061103175547.967321006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv8677
Modified Files:
obmtool.conf release-notes.txt
Log Message:
Updated apache, curl and gzip versions. Adjust release notes and obmtool.conf
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- obmtool.conf 3 Nov 2006 15:56:10 -0000 1.231
+++ obmtool.conf 3 Nov 2006 17:55:45 -0000 1.232
@@ -69,7 +69,7 @@
@install ${loc}grep-2.5.1a-2.5.0
@install ${loc}texinfo-4.8-2.5.1
@install ${loc}diffutils-2.8.7-2.5.0
- @install ${loc}gzip-1.3.5-2.5.0
+ @install ${loc}gzip-1.3.5-2.5.1
@install ${loc}zlib-1.2.3-2.5.0
@install ${loc}expat-1.95.8-2.5.0
@install ${loc}perl-term-5.8.7-2.5.0
@@ -116,18 +116,18 @@
@install ${loc}sed-4.1.4-2.5.0
@install ${loc}libxml-2.6.22-2.5.0
@install ${loc}libxslt-1.1.15-2.5.1 # WARNING: Remove libgcrypt before building!
- @trigger ${altloc}apache-1.3.33-2.5.5_kolab \
- --with=mod_auth_ldap \
- --with=mod_dav \
- --with=mod_php \
+ @trigger ${altloc}apache-1.3.33-2.5.6_kolab \
+ --with=mod_auth_ldap \
+ --with=mod_dav \
+ --with=mod_php \
--with=mod_php_zlib \
- --with=mod_php_gdbm \
- --with=mod_php_gettext \
- --with=mod_php_imap \
- --with=mod_php_openldap \
- --with=mod_php_xml \
+ --with=mod_php_gdbm \
+ --with=mod_php_gettext \
+ --with=mod_php_imap \
+ --with=mod_php_openldap \
+ --with=mod_php_xml \
--with=mod_php_dom \
- --with=mod_ssl \
+ --with=mod_ssl \
--with=mod_php_mbstring
@trigger ${altloc}php-4.4.0-2.5.2_kolab \
--with=zlib \
@@ -144,7 +144,7 @@
@install ${loc}gmp-4.1.4-2.5.0
@install ${loc}spamassassin-3.1.0-2.5.0
@install ${plusloc}amavisd-2.3.3-2.5.0
- @trigger ${loc}curl-7.15.0-2.5.1
+ @trigger ${loc}curl-7.15.0-2.5.2
@install ${altloc}clamav-0.88.5-2.20061018
# @install ${loc}vim-6.3.78-2.4.0
# @install ${plusloc}dcron-2.9-2.4.0
@@ -157,14 +157,14 @@
@check
if test ! -e "/usr/bin/kolab" ; then
- echo
+ echo
echo "Adding symbolic link to $PREFIX/bin/kolab as /usr/bin/kolab"
ln -s $PREFIX/bin/kolab /usr/bin/kolab
fi
-
+
%dump
echo "PRG = \"$PRG\""
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- release-notes.txt 3 Nov 2006 16:52:58 -0000 1.44
+++ release-notes.txt 3 Nov 2006 17:55:45 -0000 1.45
@@ -35,9 +35,6 @@
- If modifying or deleting of address book entries doesn't work,
restarting openldap can help, see Issue854 for details.
- Deleting address book entries doesn't automatically remove them
- from distribution lists like it is done for users, see Issue848
- for details.
Changes since 2.1 beta 2:
@@ -46,6 +43,18 @@
New upstream version.
+ - apache-1.3.33-2.5.6
+
+ http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.015-apache.html
+
+ - gzip-1.3.5-2.5.1
+
+ http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.020-gzip.html
+
+ - curl-7.15.0-2.5.2
+
+ http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.012-curl.html
+
- openssl-0.9.8a-2.5.4
denial of service, may allow execution of arbitrary code
@@ -99,7 +108,7 @@
Updated freebusy.conf template for freebusy IMAP caching.
- kolab/issue824 (kolabmailboxfilter run once for each recipient)
+ kolab/issue824 (kolabmailboxfilter run once for each recipient)
kolab/issue1264 (Add support for sieve based notifications)
kolab/issue1273 (Sending as delegate broken in Kolab server 2.1)
kolab/issue1428 (Fixed locking issue)
@@ -116,9 +125,9 @@
Improvements and fixes for freebusy IMAP caching.
- kolab/issue815 (invitation replies vanish in resmgr)
- kolab/issue957 (All-day events from Outlook don't show up in freebusy)
- kolab/issue974 (Localize the text for rewritten From: headers)
+ kolab/issue815 (invitation replies vanish in resmgr)
+ kolab/issue957 (All-day events from Outlook don't show up in freebusy)
+ kolab/issue974 (Localize the text for rewritten From: headers)
kolab/issue1042 (empty lines at the end of mails delivered via LMTP)
kolab/issue1352 (resmgr can create wrong range dates)
kolab/issue1422 (Dummy freebusy info)
From cvs at kolab.org Fri Nov 3 19:05:04 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 19:05:04 +0100 (CET)
Subject: thomas: server release-notes.txt,1.45,1.46
Message-ID: <20061103180504.5695A1006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv8858
Modified Files:
release-notes.txt
Log Message:
Added some details to apache, gzip and curl security upgrade.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- release-notes.txt 3 Nov 2006 17:55:45 -0000 1.45
+++ release-notes.txt 3 Nov 2006 18:05:02 -0000 1.46
@@ -45,14 +45,18 @@
- apache-1.3.33-2.5.6
+ denial of service and possibly arbitrary code execution via crafted
+ URLs that are not properly handled using certain rewrite rules.
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.015-apache.html
- gzip-1.3.5-2.5.1
+ denial of service, arbitrary code execution
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.020-gzip.html
- curl-7.15.0-2.5.2
+ buffer overflow
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.012-curl.html
- openssl-0.9.8a-2.5.4
From cvs at kolab.org Fri Nov 3 19:21:10 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 19:21:10 +0100 (CET)
Subject: thomas: server release-notes.txt,1.46,1.47
Message-ID: <20061103182110.D7FBB1006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv9289
Modified Files:
release-notes.txt
Log Message:
Add more detailed notes about hashimapspool to release notes.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- release-notes.txt 3 Nov 2006 18:05:02 -0000 1.46
+++ release-notes.txt 3 Nov 2006 18:21:08 -0000 1.47
@@ -19,6 +19,20 @@
manage settings for a subset of the mail domains of the kolab
server.
+ - Hashed IMAP spool
+
+ 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 corresponding line 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
+
Known problems:
From cvs at kolab.org Fri Nov 3 19:36:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 3 Nov 2006 19:36:20 +0100 (CET)
Subject: thomas: server release-notes.txt,1.47,1.48
Message-ID: <20061103183620.9C8BE1006CB@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv9521
Modified Files:
release-notes.txt
Log Message:
Added hint about kolab/issue1262 (Cyrus IMAP quota >4096MB).
Use kolab/issueXXX format in Changes/Known problems.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- release-notes.txt 3 Nov 2006 18:21:08 -0000 1.47
+++ release-notes.txt 3 Nov 2006 18:36:18 -0000 1.48
@@ -29,9 +29,7 @@
/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
+ For details see kolab/issue1089.
Known problems:
@@ -43,13 +41,15 @@
/kolab/bin/openpkg rc kolabd restart
- See Issue1068 (Mailboxes are not created until kolabd restart) and
- Issue1098 (Changes in the service tab are not accepted after
+ See kolab/issue1068 (Mailboxes are not created until kolabd restart)
+ and kolab/ssue1098 (Changes in the service tab are not accepted after
bootstrap) for details.
- If modifying or deleting of address book entries doesn't work,
- restarting openldap can help, see Issue854 for details.
+ restarting openldap can help, see kolab/issue854 for details.
+ - Setting Cyrus IMAP quota to 4096MB or more breaks delivery to this user.
+ Setting to unlimited works though. See kolab/issue1262 for details.
Changes since 2.1 beta 2:
From cvs at kolab.org Sat Nov 4 04:04:53 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Sat, 4 Nov 2006 04:04:53 +0100 (CET)
Subject: steffen: server/openldap Makefile,1.15,1.16
Message-ID: <20061104030453.1812E1006D0@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/openldap
In directory doto:/tmp/cvs-serv15346
Modified Files:
Makefile
Log Message:
fixed version
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/openldap/Makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Makefile 24 Oct 2006 13:22:18 -0000 1.15
+++ Makefile 4 Nov 2006 03:04:50 -0000 1.16
@@ -1,5 +1,5 @@
ifeq "x$(KOLABPKGURI)" "x"
- KOLABPKGURI = ftp://ftp.openpkg.org/stable/2.20061018/SRC/BASE/
+ KOLABPKGURI = ftp://ftp.openpkg.org/stable/2.20061018/SRC/BASE
endif
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
@@ -10,8 +10,8 @@
PACKAGE=openldap
VERSION=2.3.27
-RELEASE=20061018
-KOLABRELEASE=20061018_kolab
+RELEASE=2.20061018
+KOLABRELEASE=2.20061018_kolab
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
From cvs at kolab.org Mon Nov 6 14:22:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:38 +0100 (CET)
Subject: steffen: server Makefile,1.11,1.12
Message-ID: <20061106132238.BAB3C1005C6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv28934
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile 31 Aug 2006 14:24:55 -0000 1.11
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.12
@@ -1,6 +1,7 @@
dist:
rm -rf stage
mkdir stage
+ cd file && make dist
cd imap && make dist
cd apache && make dist
cd php && make dist
@@ -14,5 +15,4 @@
cd kolab-resource-handlers && make dist
cd php-smarty && make dist
cd kolab-webadmin && make dist
- #cd stage && wget -c `/kolab/bin/openpkg register -R ftp://ftp.openpkg.org/current/SRC/clamav-0.88-20060524.src.rpm`
cd stage && cp ../obmtool ../obmtool.conf ../README.1st . && echo "Remember to update obmtool.conf!"
From cvs at kolab.org Mon Nov 6 14:22:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:38 +0100 (CET)
Subject: steffen: server/file Makefile,1.1,1.2
Message-ID: <20061106132238.BFF391006A9@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/file
In directory doto:/tmp/cvs-serv28934/file
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/file/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile 19 Oct 2006 02:31:30 -0000 1.1
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.2
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,18 +19,21 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm kolab-filemagic.patch kolab.patch
$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
cp $(KOLABCVSDIR)/kolab-filemagic.patch $(KOLABRPMSRC)/$(PACKAGE)/
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for file.spec
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp -p $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
rm -rf /kolab/RPM/TMP/$(PACKAGE)-$(VERSION)
From cvs at kolab.org Mon Nov 6 14:22:39 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:39 +0100 (CET)
Subject: steffen: server/perl-kolab Makefile.cvs,1.6,1.7
Message-ID: <20061106132239.1034D1006B6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/perl-kolab
In directory doto:/tmp/cvs-serv28934/perl-kolab
Modified Files:
Makefile.cvs
Log Message:
avoid rebuilding everything every time
Index: Makefile.cvs
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Makefile.cvs,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.cvs 20 Dec 2005 14:34:51 -0000 1.6
+++ Makefile.cvs 6 Nov 2006 13:22:36 -0000 1.7
@@ -1,6 +1,12 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
+ifeq "x$(KOLABCVSDIR)" "x"
+ KOLABCVSDIR = $(CURDIR)
+endif
PACKAGE=perl-kolab
#RELEASE=2.5.5
From cvs at kolab.org Mon Nov 6 14:22:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:38 +0100 (CET)
Subject: steffen: server/apache Makefile,1.22,1.23
Message-ID: <20061106132238.BE4441005C9@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/apache
In directory doto:/tmp/cvs-serv28934/apache
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/apache/Makefile,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile 3 Nov 2006 17:55:45 -0000 1.22
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.23
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,14 +19,16 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
- $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+PATCHES = $(KOLABCVSDIR)/mod_auth_ldap.patch \
+ $(KOLABCVSDIR)/../php/php-getacl-backport.patch \
+ $(KOLABCVSDIR)/../php/php-imap-annotation.patch \
+ $(KOLABCVSDIR)/../php/php-imap-status-current.patch
- cp $(KOLABCVSDIR)/mod_auth_ldap.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/../php/php-getacl-backport.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/../php/php-imap-annotation.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/../php/php-imap-status-current.patch $(KOLABRPMSRC)/$(PACKAGE)/
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(PATCHES) $(KOLABCVSDIR)/kolab.patch Makefile
+ $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+ cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec \
--define 'with_mod_auth_ldap yes' \
--define 'with_mod_dav yes' \
@@ -36,6 +41,8 @@
--define 'with_mod_php_xml yes' \
--define 'with_mod_php_dom yes' \
--define 'with_mod_ssl yes'
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
+
$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
From cvs at kolab.org Mon Nov 6 14:22:39 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:39 +0100 (CET)
Subject: steffen: server/php Makefile,1.4,1.5
Message-ID: <20061106132239.1EE4A1005C9@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/php
In directory doto:/tmp/cvs-serv28934/php
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/php/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile 20 Dec 2005 09:18:50 -0000 1.4
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.5
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,12 +19,16 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
- $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+PATCHES = $(KOLABCVSDIR)/php-getacl-backport.patch \
+ $(KOLABCVSDIR)/php-imap-annotation.patch \
+ $(KOLABCVSDIR)/php-imap-status-current.patch
- cp $(KOLABCVSDIR)/php-getacl-backport.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/php-imap-annotation.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/php-imap-status-current.patch $(KOLABRPMSRC)/$(PACKAGE)/
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(KOLABCVSDIR)/kolab.patch $(PATCHES) Makefile
+ $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpam
+
+ cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec \
--define 'with_zlib yes' \
@@ -34,12 +41,13 @@
--define 'with_dom yes' \
--define 'with_ssl yes' \
--define 'with_mbstring yes'
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
rm -rf /kolab/RPM/TMP/$(PACKAGE)-$(VERSION)*
From cvs at kolab.org Mon Nov 6 14:22:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:38 +0100 (CET)
Subject: steffen: server/imap Makefile,1.5,1.6
Message-ID: <20061106132238.DCD121006AD@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/imap
In directory doto:/tmp/cvs-serv28934/imap
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/imap/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 20 Dec 2005 09:18:50 -0000 1.5
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.6
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,18 +19,22 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
- $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+PATCHES=$(KOLABCVSDIR)/imap.annotate.patch
+
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm kolab.patch Makefile
+ $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+ cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/ # Patch to add annotate support
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for imap.spec
- cp $(KOLABCVSDIR)/imap.annotate.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch to add annotate support
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec --define 'with_annotate yes'
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
imap-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/imap-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp -p $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
rm -rf /kolab/RPM/TMP/imap-*
From cvs at kolab.org Mon Nov 6 14:22:39 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:39 +0100 (CET)
Subject: steffen: server/postfix Makefile,1.15,1.16
Message-ID: <20061106132239.1FD141006C2@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/postfix
In directory doto:/tmp/cvs-serv28934/postfix
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/postfix/Makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Makefile 20 Dec 2005 09:53:48 -0000 1.15
+++ Makefile 6 Nov 2006 13:22:37 -0000 1.16
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,19 +19,24 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+PATCHES=$(KOLABCVSDIR)/postfix-ldap-leafonly.patch \
+ $(KOLABCVSDIR)/postfix-pipe-allow-empty-sender.patch
+
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(PATCHES) $(KOLABCVSDIR)/kolab.patch Makefile
$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
- cp $(KOLABCVSDIR)/postfix-ldap-leafonly.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/postfix-pipe-allow-empty-sender.patch $(KOLABRPMSRC)/$(PACKAGE)/
+ cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for postfix.spec
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec --define 'with_ldap yes' --define 'with_sasl yes' --define 'with_ssl yes'
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
postfix-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/postfix-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
- rm -rf /kolab/RPM/TMP/cyrus-imapd* cyrus* imapd* rc.imapd vhosthack.patch fsl.imapd groupfile.patch
+ rm -rf /kolab/RPM/TMP/cyrus-imapd* cyrus* imapd* rc.imapd vhosthack.patch fsl.imapd groupfile.patch $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
From cvs at kolab.org Mon Nov 6 14:22:39 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:39 +0100 (CET)
Subject: steffen: server/openldap Makefile,1.16,1.17
Message-ID: <20061106132239.110EE1006C1@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/openldap
In directory doto:/tmp/cvs-serv28934/openldap
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/openldap/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile 4 Nov 2006 03:04:50 -0000 1.16
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.17
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,18 +19,23 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+PATCHES=
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(PATCHES) $(KOLABCVSDIR)/kolab.patch Makefile
$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for openldap.spec
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
rm -rf /kolab/RPM/TMP/$(PACKAGE)
From cvs at kolab.org Mon Nov 6 14:22:39 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 6 Nov 2006 14:22:39 +0100 (CET)
Subject: steffen: server/imapd Makefile,1.29,1.30
Message-ID: <20061106132239.0F54C1005C6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/imapd
In directory doto:/tmp/cvs-serv28934/imapd
Modified Files:
Makefile
Log Message:
avoid rebuilding everything every time
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/imapd/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Makefile 3 Nov 2006 17:34:23 -0000 1.29
+++ Makefile 6 Nov 2006 13:22:36 -0000 1.30
@@ -4,6 +4,9 @@
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+ifeq "x$(KOLABRPMPKG)" "x"
+ KOLABRPMPKG = /kolab/RPM/PKG
+endif
ifeq "x$(KOLABCVSDIR)" "x"
KOLABCVSDIR = $(CURDIR)
endif
@@ -16,24 +19,30 @@
RPM=/kolab/bin/openpkg rpm
KOLABPKGURI:=`/kolab/bin/openpkg register -R $(KOLABPKGURI)`
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+PATCHES=$(KOLABCVSDIR)/cyradm.annotate.patch \
+ $(KOLABCVSDIR)/imapd.annotate.patch \
+ $(KOLABCVSDIR)/imapd.morelogging.patch \
+ $(KOLABCVSDIR)/imapd.group2.patch \
+ $(KOLABCVSDIR)/imapd-goodchars.patch \
+ $(KOLABCVSDIR)/imapd.folderchar.patch \
+ $(KOLABCVSDIR)/kolab-ldap.patch
+
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(KOLABCVSDIR)/kolab.patch $(PATCHES) Makefile
$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
- cp $(KOLABCVSDIR)/cyradm.annotate.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/imapd.annotate.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/imapd.morelogging.patch $(KOLABRPMSRC)/$(PACKAGE)/
+ cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/
+
cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for imapd.spec
- cp $(KOLABCVSDIR)/imapd.group2.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for case insensitive group match
- cp $(KOLABCVSDIR)/imapd-goodchars.patch $(KOLABRPMSRC)/$(PACKAGE)/ # Patch for allowing special chars in mailbox names
- cp $(KOLABCVSDIR)/imapd.folderchar.patch $(KOLABRPMSRC)/$(PACKAGE)/
- cp $(KOLABCVSDIR)/kolab-ldap.patch $(KOLABRPMSRC)/$(PACKAGE)/
cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec --define 'with_group yes' --define 'with_atvdom yes' --define 'with_annotate yes' --define 'with_ldap yes' --define 'with_goodchars yes' --define 'with_morelogging yes'
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)
imapd-$(VERSION)-$(RELEASE).src.rpm:
wget -c $(KOLABPKGURI)/imapd-$(VERSION)-$(RELEASE).src.rpm
dist: all
- cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+ cp $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
clean:
- rm -rf /kolab/RPM/TMP/cyrus-imapd* cyrus* imapd* rc.imapd vhosthack.patch fsl.imapd groupfile.patch
+ rm -rf /kolab/RPM/TMP/cyrus-imapd* cyrus* imapd* rc.imapd vhosthack.patch fsl.imapd groupfile.patch $(KOLABCVSDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
From cvs at kolab.org Wed Nov 8 17:30:14 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 8 Nov 2006 17:30:14 +0100 (CET)
Subject: thomas: server obmtool.conf,1.232,1.233
Message-ID: <20061108163014.1324D1006A9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv27394
Modified Files:
obmtool.conf
Log Message:
Updated release numbers of some kolab packages from 20061103 to 20061106
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -d -r1.232 -r1.233
--- obmtool.conf 3 Nov 2006 17:55:45 -0000 1.232
+++ obmtool.conf 8 Nov 2006 16:30:11 -0000 1.233
@@ -148,11 +148,11 @@
@install ${altloc}clamav-0.88.5-2.20061018
# @install ${loc}vim-6.3.78-2.4.0
# @install ${plusloc}dcron-2.9-2.4.0
- @install ${altloc}perl-kolab-5.8.7-20061103
- @install ${altloc}kolabd-2.0.99-20061103 --define kolab_version=$kolab_version
- @install ${altloc}kolab-webadmin-2.0.99-20061103 --define kolab_version=$kolab_version
+ @install ${altloc}perl-kolab-5.8.7-20061106
+ @install ${altloc}kolabd-2.0.99-20061106 --define kolab_version=$kolab_version
+ @install ${altloc}kolab-webadmin-2.0.99-20061106 --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-20061103 --define kolab_version=$kolab_version
+ @install ${altloc}kolab-resource-handlers-2.0.99-20061106 --define kolab_version=$kolab_version
@install ${altloc}kolab-horde-fbview-2.0.99-20051220 --define kolab_version=$kolab_version
@check
From cvs at kolab.org Thu Nov 9 18:50:41 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 9 Nov 2006 18:50:41 +0100 (CET)
Subject: thomas: server release-notes.txt,1.48,1.49
Message-ID: <20061109175041.E01D71005C9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv13621
Modified Files:
release-notes.txt
Log Message:
Mark release date as currently unkown.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- release-notes.txt 3 Nov 2006 18:36:18 -0000 1.48
+++ release-notes.txt 9 Nov 2006 17:50:39 -0000 1.49
@@ -1,5 +1,5 @@
Release notes Kolab2 Server
-(Version 20061103, Kolab Server 2.1 beta 3-cvs)
+(Version 200611??, Kolab Server 2.1 beta 3-cvs)
This is a development snapshot of the kolab server leading up to a 2.1
release. For upgrading and installation instructions, please refer to
@@ -106,11 +106,11 @@
Fix folder structure for foldernames with non-alphanumeric characters,
using skiplist as the database backend for mailboxes.db.
- - perl-kolab-5.8.7-20061103
+ - perl-kolab-5.8.7-200611??
kolab/issue1194 (serious performance problem on high number of users)
- - kolabd-2.0.99-20061103
+ - kolabd-2.0.99-200611??
Added missing relay service for postfix.
@@ -131,7 +131,7 @@
kolab/issue1273 (Sending as delegate broken in Kolab server 2.1)
kolab/issue1428 (Fixed locking issue)
- - kolab-webadmin-2.0.99-20061103
+ - kolab-webadmin-2.0.99-200611??
Fixes for setting folder type of shared folders.
@@ -139,7 +139,7 @@
kolab/issue1457 (updated French translation)
- - kolab-resource-handlers-2.0.99-20061103
+ - kolab-resource-handlers-2.0.99-200611??
Improvements and fixes for freebusy IMAP caching.
From cvs at kolab.org Thu Nov 9 18:53:26 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 9 Nov 2006 18:53:26 +0100 (CET)
Subject: thomas: server release-notes.txt,1.49,1.50
Message-ID: <20061109175326.56D5A1005C9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv13760
Modified Files:
release-notes.txt
Log Message:
kolab/issue1387 (resmgr replies to replies creating mail loop):
only send ACT_ALWAYS_REJECT replies if the itip method is REQUEST
(patch forward-ported from 2.0 branch)
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- release-notes.txt 9 Nov 2006 17:50:39 -0000 1.49
+++ release-notes.txt 9 Nov 2006 17:53:24 -0000 1.50
@@ -148,6 +148,7 @@
kolab/issue974 (Localize the text for rewritten From: headers)
kolab/issue1042 (empty lines at the end of mails delivered via LMTP)
kolab/issue1352 (resmgr can create wrong range dates)
+ kolab/issue1387 (resmgr replies to replies creating mail loop)
kolab/issue1422 (Dummy freebusy info)
From cvs at kolab.org Thu Nov 9 18:53:26 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 9 Nov 2006 18:53:26 +0100 (CET)
Subject: thomas: server/kolab-resource-handlers/kolab-resource-handlers/resmgr
resmgr.php.in, 1.10, 1.11
Message-ID: <20061109175326.585CB1005CC@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv13760/kolab-resource-handlers/kolab-resource-handlers/resmgr
Modified Files:
resmgr.php.in
Log Message:
kolab/issue1387 (resmgr replies to replies creating mail loop):
only send ACT_ALWAYS_REJECT replies if the itip method is REQUEST
(patch forward-ported from 2.0 branch)
Index: resmgr.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/resmgr.php.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- resmgr.php.in 25 Oct 2006 02:28:57 -0000 1.10
+++ resmgr.php.in 9 Nov 2006 17:53:24 -0000 1.11
@@ -1180,9 +1180,14 @@
" and ends on <$dtend> " . iCalDate2Kolab($dtend), RM_LOG_DEBUG);
if ($params['action'] == RM_ACT_ALWAYS_REJECT) {
- myLog("Rejecting $method method");
- sendITipReply($cn,$resource,$itip,RM_ITIP_DECLINE);
- return false;//shutdown(0);
+ if ($method == 'REQUEST') {
+ myLog("Rejecting $method method");
+ sendITipReply($cn,$resource,$itip,RM_ITIP_DECLINE);
+ return false;//shutdown(0);
+ } else {
+ myLog("Passing through $method method for ACT_ALWAYS_REJECT policy");
+ return true;
+ }
}
$is_update = false;
From cvs at kolab.org Thu Nov 9 19:17:07 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 9 Nov 2006 19:17:07 +0100 (CET)
Subject: thomas: server/kolabd/kolabd/templates imapd.conf.template.in, 1.7,
1.8
Message-ID: <20061109181707.EAB791005CC@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv15179/kolabd/kolabd/templates
Modified Files:
imapd.conf.template.in
Log Message:
kolab/issue840: Changed imapd.conf template to use berkeley db
instead of skiplist for annotations.db and mailboxes.db as a workaround
and add documentation for this.
Index: imapd.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/imapd.conf.template.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- imapd.conf.template.in 12 Jul 2006 22:58:46 -0000 1.7
+++ imapd.conf.template.in 9 Nov 2006 18:17:05 -0000 1.8
@@ -77,3 +77,7 @@
notifysocket: @imap_notify_socket@
sievenotifier: mailto
mailnotifier: mailto
+
+# use berkeley db backend instead of skiplist
+annotation_db: berkeley
+mboxlist_db: berkeley
From cvs at kolab.org Thu Nov 9 19:17:07 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 9 Nov 2006 19:17:07 +0100 (CET)
Subject: thomas: server README.1st,1.36,1.37 release-notes.txt,1.50,1.51
Message-ID: <20061109181707.E5FC31005C9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv15179
Modified Files:
README.1st release-notes.txt
Log Message:
kolab/issue840: Changed imapd.conf template to use berkeley db
instead of skiplist for annotations.db and mailboxes.db as a workaround
and add documentation for this.
Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- README.1st 12 Jun 2006 16:51:12 -0000 1.36
+++ README.1st 9 Nov 2006 18:17:05 -0000 1.37
@@ -199,5 +199,37 @@
https://intevation.de/roundup/kolab/issue1100
+Upgrade from 2.1-beta-2
+-----------------------
+
+1. database format for annotations.db and mailboxes.db
+
+The default database format for /kolab/var/imapd/annotations.db and
+/kolab/var/imapd/mailboxes.db has changed from skiplist to berkeley db.
+
+If you want to keep the old format, comment out or remove the lines
+"annotation_db: berkeley" and "mboxlist_db: berkeley" in the file
+"/kolab/etc/kolab/templates/imapd.conf.template" and make sure the file
+"/kolab/etc/imapd/imapd.conf" reflects this, too, by either running
+/kolab/sbin/kolabconf or changing it manually there, too.
+
+To convert the databases to berkeley db format, execute as root:
+
+ /kolab/bin/openpkg rc imapd stop
+ su - kolab-r
+ cd /kolab/var/imapd/
+ mv annotations.db annotations.db-skiplist
+ cvt_cyrusdb /kolab/var/imapd/annotations.db-skiplist skiplist \
+ /kolab/var/imapd/annotations.db berkeley
+ mv mailboxes.db mailboxes.db-skiplist
+ cvt_cyrusdb /kolab/var/imapd/mailboxes.db-skiplist skiplist \
+ /kolab/var/imapd/mailboxes.db berkeley
+ exit
+ /kolab/bin/openpkg rc imapd start
+
+See http://wiki.kolab.org/index.php/Kolab2_IMAPD_annotations.db_Problems
+for details about this topic.
+
+
$Id$
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- release-notes.txt 9 Nov 2006 17:53:24 -0000 1.50
+++ release-notes.txt 9 Nov 2006 18:17:05 -0000 1.51
@@ -126,6 +126,10 @@
Updated freebusy.conf template for freebusy IMAP caching.
+ Changed imapd.conf template to use berkeley db instead of
+ skiplist for annotations.db and mailboxes.db as a workaround
+ for kolab/issue840 (Annotations needs to be more robust).
+
kolab/issue824 (kolabmailboxfilter run once for each recipient)
kolab/issue1264 (Add support for sieve based notifications)
kolab/issue1273 (Sending as delegate broken in Kolab server 2.1)
From cvs at kolab.org Fri Nov 10 11:26:03 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 11:26:03 +0100 (CET)
Subject: thomas: doc/www/src cvs-kolab.html.m4,1.10,1.11
Message-ID: <20061110102603.4B6461005C6@lists.intevation.de>
Author: thomas
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv31564
Modified Files:
cvs-kolab.html.m4
Log Message:
Fixed typo: utulities -> utilities
Index: cvs-kolab.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/cvs-kolab.html.m4,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cvs-kolab.html.m4 1 Aug 2005 13:15:14 -0000 1.10
+++ cvs-kolab.html.m4 10 Nov 2006 10:26:01 -0000 1.11
@@ -35,7 +35,7 @@
Main Modules
server: The Kolab Server
doc: Documentation
- util: Various utulities
+ util: Various utilities
From cvs at kolab.org Fri Nov 10 11:40:19 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 11:40:19 +0100 (CET)
Subject: thomas: doc/www/src cvs-kolab.html.m4,1.11,1.12
Message-ID: <20061110104019.373E91005C6@lists.intevation.de>
Author: thomas
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv31760
Modified Files:
cvs-kolab.html.m4
Log Message:
Another typo and clarification that 1.0 branch is no longer used.
Index: cvs-kolab.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/cvs-kolab.html.m4,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cvs-kolab.html.m4 10 Nov 2006 10:26:01 -0000 1.11
+++ cvs-kolab.html.m4 10 Nov 2006 10:40:17 -0000 1.12
@@ -43,7 +43,7 @@
Kolab-2 Development
- Also know as HEAD; this branch is open for development.
+ Also known as HEAD; this branch is open for development.
To checkout use : cvs checkout
@@ -52,8 +52,8 @@
To checkout use : cvs checkout -r kolab_2_0_branch modulename
-
Kolab-1 Stable
- This is the current release of Kolab and is used for bugfixes.
+
Kolab-1 Stable (inactive)
+ This is the last status of Kolab 1.0 and was used for bugfixes.
To checkout use : cvs checkout -r KOLAB_1_0 modulename
From cvs at kolab.org Fri Nov 10 12:31:36 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 12:31:36 +0100 (CET)
Subject: thomas: server obmtool.conf, 1.174.2.39, 1.174.2.40 release-notes.txt,
1.15.2.19, 1.15.2.20
Message-ID: <20061110113136.183451005C6@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv1509
Modified Files:
Tag: kolab_2_0_branch
obmtool.conf release-notes.txt
Log Message:
Added perl-dns to make DNS blacklists work within SpamAssassin.
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.174.2.39
retrieving revision 1.174.2.40
diff -u -d -r1.174.2.39 -r1.174.2.40
--- obmtool.conf 24 Oct 2006 15:39:11 -0000 1.174.2.39
+++ obmtool.conf 10 Nov 2006 11:31:34 -0000 1.174.2.40
@@ -83,6 +83,7 @@
@install ${loc}perl-comp-5.8.7-2.4.0
@trigger ${loc}perl-ssl-5.8.7-2.4.0
@install ${loc}perl-www-5.8.7-2.4.0
+ @install ${loc}perl-dns-5.8.7-2.4.0
@trigger ${altloc}imap-2004d-2.4.0_kolab --with=annotate
@trigger ${loc}procmail-3.22-2.4.0
@install ${loc}db-4.2.52.2-2.2.0
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.15.2.19
retrieving revision 1.15.2.20
diff -u -d -r1.15.2.19 -r1.15.2.20
--- release-notes.txt 28 Aug 2006 11:08:09 -0000 1.15.2.19
+++ release-notes.txt 10 Nov 2006 11:31:34 -0000 1.15.2.20
@@ -1,23 +1,20 @@
Release notes Kolab2 Server
-(Version CVS, Kolab Server 2.0.x)
+(Version 2006????, Kolab Server 2.0.4+CVS)
-Changes since 2.0.4:
+For upgrading and installation instructions, please refer to the
+1st.README file in the source directory.
- - kolabd
-
- Changed main.cf email masquerading defaults
- so that email to usera at machine.example.org
- that reaches the server machine is actually delivered.
+Changes since 2.0.4:
-(Version 20060811, Kolab Server 2.0.4)
+ - perl-dns-5.8.7-2.4.0
-For upgrading and installation instructions, please refer to the
-1st.README file in the source directory.
+ Added package to make DNS blacklists work within SpamAssassin.
-This release fixes several security problems in apache, clamav, openldap
-and binutils. See below for more details.
+ - kolabd-1.9.4-2006????
-Upgrading is recommended.
+ Changed main.cf email masquerading defaults so that email to
+ user at machine.example.org that reaches the server machine is
+ actually delivered.
Changes since 2.0.3:
From cvs at kolab.org Fri Nov 10 17:08:22 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 17:08:22 +0100 (CET)
Subject: thomas: server release-notes.txt,1.51,1.52
Message-ID: <20061110160822.359E91005C9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv11171
Modified Files:
release-notes.txt
Log Message:
Issue1433: Some files in /kolab/etc/postfix have wrong ownership.
Change owner to root in the templates so 'make' doesn't abort with
permission denied when trying to create virtual.db and transport.db.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- release-notes.txt 9 Nov 2006 18:17:05 -0000 1.51
+++ release-notes.txt 10 Nov 2006 16:08:20 -0000 1.52
@@ -134,6 +134,7 @@
kolab/issue1264 (Add support for sieve based notifications)
kolab/issue1273 (Sending as delegate broken in Kolab server 2.1)
kolab/issue1428 (Fixed locking issue)
+ kolab/issue1433 (Some files in /kolab/etc/postfix have wrong ownership)
- kolab-webadmin-2.0.99-200611??
From cvs at kolab.org Fri Nov 10 17:08:22 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 17:08:22 +0100 (CET)
Subject: thomas: server/kolabd/kolabd/templates transport.template.in, 1.3,
1.4 virtual.template.in, 1.3, 1.4
Message-ID: <20061110160822.39B701006A9@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv11171/kolabd/kolabd/templates
Modified Files:
transport.template.in virtual.template.in
Log Message:
Issue1433: Some files in /kolab/etc/postfix have wrong ownership.
Change owner to root in the templates so 'make' doesn't abort with
permission denied when trying to create virtual.db and transport.db.
Index: transport.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/transport.template.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- transport.template.in 4 Feb 2006 18:19:58 -0000 1.3
+++ transport.template.in 10 Nov 2006 16:08:20 -0000 1.4
@@ -1,7 +1,7 @@
KOLAB_META_START
TARGET=@emailserver_confdir@/transport
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+OWNERSHIP=root:@emailserver_grp@
KOLAB_META_END
# (c) 2003 Tassilo Erlewein
# (c) 2003 Martin Konold
Index: virtual.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/virtual.template.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- virtual.template.in 4 Feb 2006 18:19:58 -0000 1.3
+++ virtual.template.in 10 Nov 2006 16:08:20 -0000 1.4
@@ -1,7 +1,7 @@
KOLAB_META_START
TARGET=@emailserver_confdir@/virtual
PERMISSIONS=0640
-OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+OWNERSHIP=root:@emailserver_grp@
KOLAB_META_END
# (c) 2003 Tassilo Erlewein
# (c) 2003 Martin Konold
From cvs at kolab.org Fri Nov 10 17:31:14 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 17:31:14 +0100 (CET)
Subject: thomas: server README.1st,1.37,1.38
Message-ID: <20061110163114.641AD1006AA@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv12259
Modified Files:
README.1st
Log Message:
Docs for manually fixing ownership of postfix config files (for issue1433)
Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- README.1st 9 Nov 2006 18:17:05 -0000 1.37
+++ README.1st 10 Nov 2006 16:31:12 -0000 1.38
@@ -202,7 +202,22 @@
Upgrade from 2.1-beta-2
-----------------------
-1. database format for annotations.db and mailboxes.db
+1. postfix: ownership of virtual and transport:
+
+The owner of two config files has to be root, otherwise postfix will
+change to an unprivileged user for creating the corresponding .db files,
+isn't able to write them after the upgrade and fails to create further
+database files which don't get generated from kolab templates.
+
+To correct the file owner, execute the following commands as root:
+ cd /kolab/etc/postfix
+ chown root transport virtual
+ make
+
+See kolab/issue1433 for details about this topic.
+
+
+2. imapd: database format for annotations.db and mailboxes.db
The default database format for /kolab/var/imapd/annotations.db and
/kolab/var/imapd/mailboxes.db has changed from skiplist to berkeley db.
From cvs at kolab.org Fri Nov 10 19:06:22 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 19:06:22 +0100 (CET)
Subject: thomas: server/kolabd/kolabd kolab_bootstrap.in,1.23,1.24
Message-ID: <20061110180622.A18C81005C8@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv17047/kolabd/kolabd
Modified Files:
kolab_bootstrap.in
Log Message:
Removed wrong/confusing default for master LDAP URI when bootstrapping slave.
The previous default of "ldap://127.0.0.1:389" is
1. showing insecure connection (no SSL)
2. showing a host which is guaranteed to be the wrong one (the slave's host)
Index: kolab_bootstrap.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolab_bootstrap.in,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- kolab_bootstrap.in 9 Mar 2006 21:52:02 -0000 1.23
+++ kolab_bootstrap.in 10 Nov 2006 18:06:20 -0000 1.24
@@ -739,7 +739,7 @@
print "Now some information about the master LDAP server is required:\n\n";
do {
$ldap_uri = getUserInput("URI of master LDAP server (for example ldaps://host.example.com)",
- $ldap_uri);
+ "");
} until $ldap_uri;
my $ldapuri = URI->new($ldap_uri) || warn "error: could not parse given uri";
if( $ldapuri ) {
From cvs at kolab.org Fri Nov 10 19:36:02 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 19:36:02 +0100 (CET)
Subject: thomas: server/kolab-webadmin/kolab-webadmin configure.ac,1.23,1.24
Message-ID: <20061110183602.5F9C11005BE@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin
In directory doto:/tmp/cvs-serv17724
Modified Files:
configure.ac
Log Message:
Fix version display in web interface by defining WITHOPENPKG in configure.ac
Index: configure.ac
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/configure.ac,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- configure.ac 17 Jan 2006 22:06:42 -0000 1.23
+++ configure.ac 10 Nov 2006 18:36:00 -0000 1.24
@@ -32,6 +32,13 @@
esac],[openpkg=true])
AM_CONDITIONAL(OPENPKG, test x$openpkg = xtrue)
+if test "x$openpkg" = "xtrue"; then
+ WITHOPENPKG=yes
+else
+ WITHOPENPKG=no
+fi
+AC_SUBST(WITHOPENPKG)
+
# Checks for libraries.
# Checks for header files.
From cvs at kolab.org Fri Nov 10 19:55:51 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 10 Nov 2006 19:55:51 +0100 (CET)
Subject: thomas: server obmtool.conf,1.233,1.234 release-notes.txt,1.52,1.53
Message-ID: <20061110185551.99AA11005BE@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv18345
Modified Files:
obmtool.conf release-notes.txt
Log Message:
Preparations (e.g. version numbers) for 2.1beta3 release.
Index: obmtool.conf
===================================================================
RCS file: /kolabrepository/server/obmtool.conf,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- obmtool.conf 8 Nov 2006 16:30:11 -0000 1.233
+++ obmtool.conf 10 Nov 2006 18:55:49 -0000 1.234
@@ -24,7 +24,7 @@
%kolab
echo "---- boot/build ${NODE} %${CMD} ----"
- kolab_version="2.1beta3-cvs";
+ kolab_version="2.1beta3";
PREFIX=/${CMD};
loc='' # '' (empty) for ftp.openpkg.org, '=' for URL, './' for CWD or absolute path
plusloc='+'
@@ -148,11 +148,11 @@
@install ${altloc}clamav-0.88.5-2.20061018
# @install ${loc}vim-6.3.78-2.4.0
# @install ${plusloc}dcron-2.9-2.4.0
- @install ${altloc}perl-kolab-5.8.7-20061106
- @install ${altloc}kolabd-2.0.99-20061106 --define kolab_version=$kolab_version
- @install ${altloc}kolab-webadmin-2.0.99-20061106 --define kolab_version=$kolab_version
+ @install ${altloc}perl-kolab-5.8.7-20061110
+ @install ${altloc}kolabd-2.0.99-20061110 --define kolab_version=$kolab_version
+ @install ${altloc}kolab-webadmin-2.0.99-20061110 --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-20061106 --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
@check
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- release-notes.txt 10 Nov 2006 16:08:20 -0000 1.52
+++ release-notes.txt 10 Nov 2006 18:55:49 -0000 1.53
@@ -1,13 +1,15 @@
Release notes Kolab2 Server
-(Version 200611??, Kolab Server 2.1 beta 3-cvs)
+(Version 20061110, Kolab Server 2.1 beta 3)
This is a development snapshot of the kolab server leading up to a 2.1
release. For upgrading and installation instructions, please refer to
the 1st.README file in the source directory.
-At this point an upgrade from 2.0 is not recommended. Instructions for
-the upgrade from 2.0 are in 1st.README, but they're not very well tested
-yet.
+WARNING, these topics need testing in 2.1 beta 3:
+
+ - Instructions for upgrading from Kolab server 2.0 in 1st.README.
+ - Changed imapd database format for annotations.db and mailboxes.db
+ - New free/busy code
Differences between Kolab 2.0.x and 2.1:
@@ -106,11 +108,11 @@
Fix folder structure for foldernames with non-alphanumeric characters,
using skiplist as the database backend for mailboxes.db.
- - perl-kolab-5.8.7-200611??
+ - perl-kolab-5.8.7-20061110
kolab/issue1194 (serious performance problem on high number of users)
- - kolabd-2.0.99-200611??
+ - kolabd-2.0.99-20061110
Added missing relay service for postfix.
@@ -136,7 +138,7 @@
kolab/issue1428 (Fixed locking issue)
kolab/issue1433 (Some files in /kolab/etc/postfix have wrong ownership)
- - kolab-webadmin-2.0.99-200611??
+ - kolab-webadmin-2.0.99-20061110
Fixes for setting folder type of shared folders.
@@ -144,7 +146,7 @@
kolab/issue1457 (updated French translation)
- - kolab-resource-handlers-2.0.99-200611??
+ - kolab-resource-handlers-2.0.99-20061110
Improvements and fixes for freebusy IMAP caching.
From cvs at kolab.org Mon Nov 13 15:35:41 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 13 Nov 2006 15:35:41 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.21, 1.22
Message-ID: <20061113143541.C62A51005B0@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv12201/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusy.php.in:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
may trigger php warnings depending on php verbosity
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ChangeLog 1 Nov 2006 09:32:27 -0000 1.21
+++ ChangeLog 13 Nov 2006 14:35:39 -0000 1.22
@@ -1,3 +1,11 @@
+2006-11-13 Gunnar Wrobel
+
+ * freebusy/freebusy.php.in:
+
+ Trailing newline introduced in
+ http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
+ may trigger php warnings depending on php verbosity
+
2006-11-01 Gunnar Wrobel
* freebusy/freebusycache.class.php.in:
From cvs at kolab.org Mon Nov 13 15:35:41 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 13 Nov 2006 15:35:41 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.php.in, 1.4, 1.5
Message-ID: <20061113143541.C30A710016A@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv12201/kolab-resource-handlers/freebusy
Modified Files:
freebusy.php.in
Log Message:
* freebusy/freebusy.php.in:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
may trigger php warnings depending on php verbosity
Index: freebusy.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- freebusy.php.in 25 Oct 2006 02:28:57 -0000 1.4
+++ freebusy.php.in 13 Nov 2006 14:35:39 -0000 1.5
@@ -132,5 +132,4 @@
}
echo $vfb;
-?>
-
+?>
\ No newline at end of file
From cvs at kolab.org Mon Nov 13 16:29:08 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 13 Nov 2006 16:29:08 +0100 (CET)
Subject: wilde: doc/raw-howtos kolab_2.0_to_2.1_upgrade_instructions.txt, NONE,
1.1
Message-ID: <20061113152908.CD2401006CA@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/raw-howtos
In directory doto:/tmp/cvs-serv13665
Added Files:
kolab_2.0_to_2.1_upgrade_instructions.txt
Log Message:
Added file with upgrade instructions from server 2.0.x to 2.1
This is the first draft written by Bernhard Herzog.
--- NEW FILE: kolab_2.0_to_2.1_upgrade_instructions.txt ---
Upgrade Kolab Server from 2.0.x to 2.1
======================================
2006-10-12, Bernhard Herzog
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.
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 corresponding line 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. The script works on the ldif data that was
exported with slapcat earlier:
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
4. kolabconf
Now start the openldap server and run kolabconf
/kolab/bin/openpkg rc openldap start
/kolab/sbin/kolabconf
Kolabconf will most likely complain about be some files ending in
.rpmsave or .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
From cvs at kolab.org Mon Nov 13 16:33:19 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 13 Nov 2006 16:33:19 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.class.php.in, 1.8, 1.9
Message-ID: <20061113153319.B75361006CA@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv13766/kolab-resource-handlers/freebusy
Modified Files:
freebusy.class.php.in
Log Message:
* freebusy/freebusy.class.php.in:
See below.
* freebusy/freebusy.php.in:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
may trigger php warnings depending on php verbosity
Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- freebusy.class.php.in 1 Nov 2006 11:10:50 -0000 1.8
+++ freebusy.class.php.in 13 Nov 2006 15:33:17 -0000 1.9
@@ -486,5 +486,4 @@
var $imap_serverstring;
};
-?>
-
+?>
\ No newline at end of file
From cvs at kolab.org Mon Nov 13 16:33:19 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 13 Nov 2006 16:33:19 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.22, 1.23
Message-ID: <20061113153319.BCE711006CB@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv13766/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusy.class.php.in:
See below.
* freebusy/freebusy.php.in:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in.diff?r1=1.3&r2=1.4
may trigger php warnings depending on php verbosity
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- ChangeLog 13 Nov 2006 14:35:39 -0000 1.22
+++ ChangeLog 13 Nov 2006 15:33:17 -0000 1.23
@@ -1,5 +1,9 @@
2006-11-13 Gunnar Wrobel
+ * freebusy/freebusy.class.php.in:
+
+ See below.
+
* freebusy/freebusy.php.in:
Trailing newline introduced in
From cvs at kolab.org Tue Nov 14 16:17:17 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 14 Nov 2006 16:17:17 +0100 (CET)
Subject: wilde: server release-notes.txt,1.53,1.54
Message-ID: <20061114151717.316B51006D2@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv19706
Modified Files:
release-notes.txt
Log Message:
Minor clarification in note for imapd-2.2.12-2.5.0_kolab2.
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- release-notes.txt 10 Nov 2006 18:55:49 -0000 1.53
+++ release-notes.txt 14 Nov 2006 15:17:14 -0000 1.54
@@ -106,7 +106,7 @@
- imapd-2.2.12-2.5.0_kolab2
Fix folder structure for foldernames with non-alphanumeric characters,
- using skiplist as the database backend for mailboxes.db.
+ when using skiplist as the database backend for mailboxes.db.
- perl-kolab-5.8.7-20061110
From cvs at kolab.org Tue Nov 14 22:34:24 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 14 Nov 2006 22:34:24 +0100 (CET)
Subject: richard: server/kolabd/kolabd ChangeLog,1.82,1.83
Message-ID: <20061114213424.D79931006D6@lists.intevation.de>
Author: richard
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv28068
Modified Files:
ChangeLog
Log Message:
Added a new variable emailserver_transport_usr
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- ChangeLog 1 Nov 2006 14:00:07 -0000 1.82
+++ ChangeLog 14 Nov 2006 21:34:22 -0000 1.83
@@ -1,3 +1,9 @@
+2006-11-14 Richard Bos
+ * dist_conf/suse, dist_conf/kolab, dist_conf/common,
+ dist_conf/gentoo, templates/virtual.template.in,
+ templates/transport.template.in: Added a new variable
+ emailserver_transport_usr
+
2006-11-01 Gunnar Wrobel
* templates/freebusy.conf.template.in:
From cvs at kolab.org Tue Nov 14 22:34:24 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 14 Nov 2006 22:34:24 +0100 (CET)
Subject: richard: server/kolabd/kolabd/templates transport.template.in, 1.4,
1.5 virtual.template.in, 1.4, 1.5
Message-ID: <20061114213424.E7AAB1006D9@lists.intevation.de>
Author: richard
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv28068/templates
Modified Files:
transport.template.in virtual.template.in
Log Message:
Added a new variable emailserver_transport_usr
Index: transport.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/transport.template.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- transport.template.in 10 Nov 2006 16:08:20 -0000 1.4
+++ transport.template.in 14 Nov 2006 21:34:22 -0000 1.5
@@ -1,7 +1,7 @@
KOLAB_META_START
TARGET=@emailserver_confdir@/transport
PERMISSIONS=0640
-OWNERSHIP=root:@emailserver_grp@
+OWNERSHIP=@emailserver_transport_usr@:@emailserver_grp@
KOLAB_META_END
# (c) 2003 Tassilo Erlewein
# (c) 2003 Martin Konold
Index: virtual.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/virtual.template.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- virtual.template.in 10 Nov 2006 16:08:20 -0000 1.4
+++ virtual.template.in 14 Nov 2006 21:34:22 -0000 1.5
@@ -1,7 +1,7 @@
KOLAB_META_START
TARGET=@emailserver_confdir@/virtual
PERMISSIONS=0640
-OWNERSHIP=root:@emailserver_grp@
+OWNERSHIP=@emailserver_transport_usr@:@emailserver_grp@
KOLAB_META_END
# (c) 2003 Tassilo Erlewein
# (c) 2003 Martin Konold
From cvs at kolab.org Tue Nov 14 22:34:24 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 14 Nov 2006 22:34:24 +0100 (CET)
Subject: richard: server/kolabd/kolabd/dist_conf common, 1.32, 1.33 gentoo, 1.5,
1.6 kolab, 1.39, 1.40 suse, 1.53, 1.54
Message-ID: <20061114213424.E37681006D7@lists.intevation.de>
Author: richard
Update of /kolabrepository/server/kolabd/kolabd/dist_conf
In directory doto:/tmp/cvs-serv28068/dist_conf
Modified Files:
common gentoo kolab suse
Log Message:
Added a new variable emailserver_transport_usr
Index: common
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/common,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- common 14 Jul 2006 09:55:54 -0000 1.32
+++ common 14 Nov 2006 21:34:22 -0000 1.33
@@ -51,6 +51,7 @@
-e 's,[@]emailserver_rpm[@],$(emailserver_rpm),g' \
-e 's,[@]emailserver_setgid_grp[@],$(emailserver_setgid_grp),g' \
-e 's,[@]emailserver_socket[@],$(emailserver_socket),g' \
+ -e 's,[@]emailserver_transport_usr[@],$(emailserver_transport_usr),g' \
-e 's,[@]emailserver_usr[@],$(emailserver_usr),g' \
-e 's,[@]fbview_logfile[@],$(fbview_logfile),g' \
-e 's,[@]freebusy_cachedir[@],$(freebusy_cachedir),g' \
Index: gentoo
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/gentoo,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gentoo 29 Mar 2006 19:35:09 -0000 1.5
+++ gentoo 14 Nov 2006 21:34:22 -0000 1.6
@@ -97,6 +97,7 @@
emailserver_setgid_grp=postdrop
emailserver_master_usr=${kolab_grp}
emailserver_default_privs=nobody
+emailserver_transport_usr=root
### -> files
Index: kolab
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/kolab,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- kolab 12 Jul 2006 22:58:46 -0000 1.39
+++ kolab 14 Nov 2006 21:34:22 -0000 1.40
@@ -81,6 +81,7 @@
emailserver_default_privs=kolab-n
emailserver_master_usr=kolab-n
emailserver_rpm=postfix
+emailserver_transport_usr=root
ftpserver_scoreboardfile=${localstatedir}/proftpd/score
ftpserver_logfile=${localstatedir}/proftpd/proftpd.log
Index: suse
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/suse,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- suse 14 Jul 2006 09:55:54 -0000 1.53
+++ suse 14 Nov 2006 21:34:22 -0000 1.54
@@ -62,6 +62,7 @@
emailserver_default_privs=kolab
emailserver_master_usr=kolab
emailserver_rpm=postfix
+emailserver_transport_usr=root
ftpserver_scoreboardfile=${localstatedir}/proftpd/score
ftpserver_logfile=${localstatedir}/log/proftpd.log
From cvs at kolab.org Wed Nov 15 16:13:52 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 15 Nov 2006 16:13:52 +0100 (CET)
Subject: wilde: doc/raw-howtos kolab_2.0_to_2.1_upgrade_instructions.txt, 1.1,
1.2
Message-ID: <20061115151352.278871006CF@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/raw-howtos
In directory doto:/tmp/cvs-serv24102
Modified Files:
kolab_2.0_to_2.1_upgrade_instructions.txt
Log Message:
Dome additions and clarifications.
These were generated from an actual upgraded experience. :-)
Index: kolab_2.0_to_2.1_upgrade_instructions.txt
===================================================================
RCS file: /kolabrepository/doc/raw-howtos/kolab_2.0_to_2.1_upgrade_instructions.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- kolab_2.0_to_2.1_upgrade_instructions.txt 13 Nov 2006 15:29:06 -0000 1.1
+++ kolab_2.0_to_2.1_upgrade_instructions.txt 15 Nov 2006 15:13:49 -0000 1.2
@@ -48,7 +48,6 @@
Configuration
-------------
-
1. Check custom configuration
If you have custom configurations in your templates, the installation
@@ -56,6 +55,15 @@
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
@@ -63,8 +71,8 @@
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 corresponding line in
-/kolab/etc/kolab/templates/imapd.conf.template *before* running
+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
@@ -79,7 +87,7 @@
You need to make two small changes to the configuration file
/kolab/etc/openldap/slapd.conf:
- - comment out the line
+ - comment out the line
require none
@@ -106,6 +114,7 @@
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
@@ -116,9 +125,9 @@
/kolab/sbin/kolabconf
-Kolabconf will most likely complain about be some files ending in
-.rpmsave or .rpmnew under /kolab/etc. Check those files and move them
-out of the way. It's likely that you can simply remove them.
+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
@@ -127,3 +136,22 @@
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. Klick 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.
From cvs at kolab.org Wed Nov 15 16:20:44 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 15 Nov 2006 16:20:44 +0100 (CET)
Subject: wilde: doc/raw-howtos kolab_2.0_to_2.1_upgrade_instructions.txt, 1.2,
1.3
Message-ID: <20061115152044.B15A91006CF@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/raw-howtos
In directory doto:/tmp/cvs-serv24248
Modified Files:
kolab_2.0_to_2.1_upgrade_instructions.txt
Log Message:
Replaced change time/author line by CVS-Id tag.
Index: kolab_2.0_to_2.1_upgrade_instructions.txt
===================================================================
RCS file: /kolabrepository/doc/raw-howtos/kolab_2.0_to_2.1_upgrade_instructions.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kolab_2.0_to_2.1_upgrade_instructions.txt 15 Nov 2006 15:13:49 -0000 1.2
+++ kolab_2.0_to_2.1_upgrade_instructions.txt 15 Nov 2006 15:20:42 -0000 1.3
@@ -1,7 +1,5 @@
Upgrade Kolab Server from 2.0.x to 2.1
======================================
-2006-10-12, Bernhard Herzog
-
Preliminary instructions for the upgrade of a Kolab Server from version
2.0.x to Kolab Server 2.1.
@@ -155,3 +153,6 @@
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$
From cvs at kolab.org Wed Nov 15 16:58:57 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 15 Nov 2006 16:58:57 +0100 (CET)
Subject: wilde: server README.1st,1.38,1.39
Message-ID: <20061115155857.E3B7A1006CF@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv25815
Modified Files:
README.1st
Log Message:
Updated information on 2.0 to 2.1 upgrade.
Added emphasis on backup and reading before acting.
Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- README.1st 10 Nov 2006 16:31:12 -0000 1.38
+++ README.1st 15 Nov 2006 15:58:55 -0000 1.39
@@ -47,6 +47,11 @@
instructions for all releases newer than the one you already have before
you start the update.
+In any case you should completely read *all* relevant update
+instruction *before* starting the upgrade procedure. All ways make
+sure you have a recent backup of your /kolab directory before you
+attempt to upgrade Kolab.
+
The installation of the new packages works just as for the initial
installation. Download the files as described above and run
@@ -82,32 +87,20 @@
configuration files are regenerated from your templates.
-Upgrade from 2.0 releases to pre-2.1-snapshots
-----------------------------------------------
-
-An upgrade from a 2.0 release to a 2.1 snapshot is not yet recommended.
-These instructions are incomplete. Please take a look at README.1st
-from the latest 2.0 release, too. The instructions for the upgrade from
-development snapshots may also be relevant.
-
-Manually add two LDAP objects:
+Upgrade from 2.0 releases to 2.1-versions
+-----------------------------------------
-dn: cn=domains,cn=internal,
-objectClass: top
-objectClass: kolabNamedObject
-cn: domains
+Upgrading from Kolab 2.0.x to 2.1 is described in detail in the file
+UPGRADING.20-21 in this directory.
-dn: cn=domain-maintainer,cn=internal,
-objectClass: top
-objectClass: kolabGroupOfNames
-cn: domain-maintainer
-member: cn=manager,cn=internal,
+The latest version of the upgrading instruction can be found in the
+Kolab.org raw-howtos CVS:
-Also, after the upgrade the attribute "postfix-mydestination" of the
-k=kolab ldap object has the value "$mydomain". Change this to the real
-domain (should be the same value as that of the "postfix-mydomain"
-attribute).
+http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/doc/raw-howtos/kolab_2.0_to_2.1_upgrade_instructions.txt
+Please read carefully all the following update instructions in this
+file, while some of the information might be redundant there are
+additional notes which are essential for an successful update.
Upgrade from pre-2.1-snapshot-20051130
@@ -247,4 +240,3 @@
$Id$
-
From cvs at kolab.org Wed Nov 15 18:37:42 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 15 Nov 2006 18:37:42 +0100 (CET)
Subject: thomas: doc/raw-howtos kolab_2.0_to_2.1_upgrade_instructions.txt, 1.3,
1.4
Message-ID: <20061115173742.989171006D7@lists.intevation.de>
Author: thomas
Update of /kolabrepository/doc/raw-howtos
In directory doto:/tmp/cvs-serv30053/raw-howtos
Modified Files:
kolab_2.0_to_2.1_upgrade_instructions.txt
Log Message:
Added URL for and how to call convert-ldif-21.py. Fixed typo.
Index: kolab_2.0_to_2.1_upgrade_instructions.txt
===================================================================
RCS file: /kolabrepository/doc/raw-howtos/kolab_2.0_to_2.1_upgrade_instructions.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- kolab_2.0_to_2.1_upgrade_instructions.txt 15 Nov 2006 15:20:42 -0000 1.3
+++ kolab_2.0_to_2.1_upgrade_instructions.txt 15 Nov 2006 17:37:40 -0000 1.4
@@ -101,10 +101,13 @@
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. The script works on the ldif data that was
-exported with slapcat earlier:
+and python-ldap >= 2.0, you can download the current version from:
- convert-ldif-21.py ~/kolab-2.0.ldif ~/kolab-2.1.ldif
+ 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:
@@ -142,7 +145,7 @@
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. Klick the
+ 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
From cvs at kolab.org Wed Nov 15 18:57:03 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 15 Nov 2006 18:57:03 +0100 (CET)
Subject: thomas: server release-notes.txt,1.54,1.55 README.1st,1.39,1.40
Message-ID: <20061115175703.84B241006D3@lists.intevation.de>
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv31308
Modified Files:
release-notes.txt README.1st
Log Message:
Document workaround for kolab/issue1490 (freebusy cache written to /kolab/kolab/...)
Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- release-notes.txt 14 Nov 2006 15:17:14 -0000 1.54
+++ release-notes.txt 15 Nov 2006 17:57:01 -0000 1.55
@@ -9,7 +9,7 @@
- Instructions for upgrading from Kolab server 2.0 in 1st.README.
- Changed imapd database format for annotations.db and mailboxes.db
- - New free/busy code
+ - New free/busy code (see section "Known problems")
Differences between Kolab 2.0.x and 2.1:
@@ -35,6 +35,15 @@
Known problems:
+
+ - 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.
- Under some circumstance the Kolab server may not update create
users or update the configuration after changes have been made in
Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- README.1st 15 Nov 2006 15:58:55 -0000 1.39
+++ README.1st 15 Nov 2006 17:57:01 -0000 1.40
@@ -38,6 +38,19 @@
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
---------------------------
From cvs at kolab.org Thu Nov 16 01:30:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 16 Nov 2006 01:30:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/templates
erfrakon.tpl, 1.1, 1.2
Message-ID: <20061116003028.3EC1B1006C9@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates
In directory doto:/tmp/cvs-serv19041/kolab-webadmin/php/admin/templates
Modified Files:
erfrakon.tpl
Log Message:
Martin Konold: Update for version 2.1
:
Index: erfrakon.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/erfrakon.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- erfrakon.tpl 11 Mar 2005 09:59:05 -0000 1.1
+++ erfrakon.tpl 16 Nov 2006 00:30:25 -0000 1.2
@@ -1,17 +1,17 @@
{* Smarty Template *}
{*
(c) 2003 Tassilo Erlewein
- (c) 2004 Martin Konold
+ (c) 2004-2006 Martin Konold
This program is Free Software under the GNU General Public License (>=v2).
Read the file COPYING that comes with this packages for details.
*}
-{tr msg="Kolab's concept was done by erfrakon; the company also designed and implemented the Kolab 1 Server and did the design and architecture for the Kolab 2 Server while providing consulting for the implementation of the Kolab 2 server and the Kolab 2 clients."}
+{tr msg="Kolab's architecture was done by erfrakon; the company also designed and implemented the Kolab 1 Server and did the design and architecture for the Kolab 2 Server while providing consulting for the implementation of the Kolab 2 server and the Kolab 2 clients."}
-
+
@@ -21,8 +21,8 @@
{tr msg="The following people worked on Kolab for erfrakon:"}
From cvs at kolab.org Thu Nov 16 17:31:56 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 16 Nov 2006 17:31:56 +0100 (CET)
Subject: wilde: doc/www/src index.html.m4,1.101,1.102
Message-ID: <20061116163156.33ADE101EF4@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv6694
Modified Files:
index.html.m4
Log Message:
Added announcement of Kolab Server 2.1 Beta 3 release.
Index: index.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/index.html.m4,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- index.html.m4 3 Nov 2006 11:50:01 -0000 1.101
+++ index.html.m4 16 Nov 2006 16:31:53 -0000 1.102
@@ -47,6 +47,21 @@
+
November 16th, 2006
+
»
+ Kolab Server 2.1 Beta 3 released
+
+
+
+ This release fixes more than 30 problems found in Beta 2 and
+ includes the security updates published until now. See
+ the release
+ notes for more details and information on upgrading from Kolab
+ Server 2.0 to 2.1.
+
+
+
November 14th - 16th, 2006
»
Presentation of Kolab-based UGS at LinuxWorld Expo 2006 in Cologne, Germany
From cvs at kolab.org Thu Nov 16 23:34:57 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 16 Nov 2006 23:34:57 +0100 (CET)
Subject: martin: doc/kolab-formats commonfields.sgml, 1.22, 1.23 contacts.sgml,
1.15, 1.16 kolabformat.sgml, 1.17, 1.18 mail.sgml, 1.1, 1.2
Message-ID: <20061116223457.C15D51006AD@lists.intevation.de>
Author: martin
Update of /kolabrepository/doc/kolab-formats
In directory doto:/tmp/cvs-serv22293
Modified Files:
commonfields.sgml contacts.sgml kolabformat.sgml mail.sgml
Log Message:
Martin Konold: new version 2.0rc5
Index: commonfields.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/commonfields.sgml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- commonfields.sgml 12 May 2005 13:48:16 -0000 1.22
+++ commonfields.sgml 16 Nov 2006 22:34:55 -0000 1.23
@@ -1,28 +1,28 @@
Common Fields
-Common In All Types
+Common Fields In All Types
-There are a number of fields that are present in all non-mail
+There are a number of fields that MAY be present in all non-mail
folder types. These are:
-uid (string, no default)
+uid (string, mandatory)
-body (string, default empty)
+body (string, default "")
-categories (string, default empty)
+categories (string, default "")
-creation-date (datetime, no default)
+creation-date (datetime, mandatory)
-last-modification-date (datetime, no default)
+last-modification-date (datetime, mandatory)
-sensitivity (string, default public)
+sensitivity (string, default "public")inline-attachment (string, no default)link-attachment (string, no default)
-product-id (string, default empty)
+product-id (string, default "")
@@ -32,10 +32,16 @@
The sensitivity possibilites are private, confidential and
public.
+
+private data SHALL not be disclosed to other users except if explicitly allowed by the user.
+Normal IMAP ACLs granting reading permissions on a folder don't mean that other users MAY read
+private data.
+
+
There can be any number of attachments. "inline-attachment" references the
filename of attachments in the mail where this is stored. Attachments
not referenced from the XML should simply not be displayed to the user.
-This allows to attach application-specific attachments (like TNEF for Outlook)
+This allows to attach application-specific attachments (like TNEF for Outlook clients)
that remain hidden to the user."link-attachment" means the attachment is external; the contents of the tag is the URL.
@@ -51,15 +57,15 @@
base class can be called incidence.(string, default empty)
- (string, default empty)
+ (string, default "")
+ (string, default "")
- (string, default empty)
- (string, default empty)
+ (string, default "")
+ (string, default "")
- (string, default empty)
- (string, default empty)
+ (string, default "")
+ (string, default "")(date or datetime, default not present)(number, no default)
@@ -72,11 +78,11 @@
{(date, no default)}
{
- (string, default empty)
- (string, default empty)
+ (string, default "")
+ (string, default "")(string, default none)(bool, default true)
- (string, default required)
+ (string, default "required")}
]]>
@@ -84,9 +90,9 @@
they are there, they can either have a date or a datetime as the
type. Parsing this is just a matter of looking at the length of the
date string. In the case of an all day event (floating event) the end-date
-must also be in date only format
+MUST be in date only format
-The alarm specifies number of minutes before the incidence that
+The alarm specifies the number of minutes before the incidence when
the alarm should fire. In case of incidences with only a start date
but no specific time, this means minutes before 0:00 on that
day.
Index: contacts.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/contacts.sgml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- contacts.sgml 11 Mar 2005 11:37:07 -0000 1.15
+++ contacts.sgml 16 Nov 2006 22:34:55 -0000 1.16
@@ -29,7 +29,7 @@
(string, default empty)(string, default empty)
- (string, default empty)
+ (string, default empty)(string, default empty)(string, default empty)(string, default empty)
Index: kolabformat.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/kolabformat.sgml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- kolabformat.sgml 27 Jul 2005 22:46:44 -0000 1.17
+++ kolabformat.sgml 16 Nov 2006 22:34:55 -0000 1.18
@@ -15,7 +15,7 @@
The Kolab Storage Format
-2.0rc3
+2.0rc5
@@ -27,7 +27,7 @@
Stuart Binge, s.binge at codefusion.co.za
-June 3rd, 2005
+November 16th, 2006 This documentation was written in SGML using the DocBook DTD. HTML
@@ -38,10 +38,9 @@
Microsoft Outlook
are registered trademarks of Microsoft Corporation Inc.
-Toltec Connector is a trademark of Radley Network Technologies CC, South Africa.
+K Desktop Environment and KDE are registered trademarks of the KDE e.V. KONSEC Konnektor is a trademark of KONSEC GmbH, Germany.
-
-K Desktop Environment and KDE are trademarks of the KDE e.V.
+Toltec Connector is a trademark of Radley Network Technologies CC, South Africa. All other herein mentioned trademarks belong
to their respective owners. Use of a term in this document should not be regarded as
@@ -133,6 +132,14 @@
July 26th, 2005
Clarifications about keywords and folder annotations.
+
+
+
+
+2.0rc5
+November 16th, 2006
+
+Clarifications about empty strings and changed to .
Index: mail.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/mail.sgml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mail.sgml 10 Jun 2004 15:15:52 -0000 1.1
+++ mail.sgml 16 Nov 2006 22:34:55 -0000 1.2
@@ -2,4 +2,6 @@
Mail folders hold mails in the format as described in RFC 822.
+All other details about mail folders are already defined in the previous chapter
+
From cvs at kolab.org Tue Nov 21 23:08:01 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Tue, 21 Nov 2006 23:08:01 +0100 (CET)
Subject: steffen: server/kolabd/kolabd/templates httpd.conf.template.in, 1.4,
1.5
Message-ID: <20061121220801.A6A381006CE@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv19897
Modified Files:
httpd.conf.template.in
Log Message:
Protection of rogue scripts in fbview (issue1507)
Index: httpd.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/httpd.conf.template.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- httpd.conf.template.in 4 Apr 2006 18:54:13 -0000 1.4
+++ httpd.conf.template.in 21 Nov 2006 22:07:59 -0000 1.5
@@ -137,8 +137,17 @@
ErrorDocument 403 https://@@@fqdnhostname@@@/admin/
-
- ErrorDocument 403 https://@@@fqdnhostname@@@/fbview/
+
+ Deny from all
+ ErrorDocument 403 https://@@@fqdnhostname@@@/fbview/
+
+
+ Order allow,deny
+ Allow from all
+
+
+ Order allow,deny
+ Allow from all
From cvs at kolab.org Wed Nov 22 12:25:06 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 12:25:06 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
pfb.php.in, 1.7, 1.8 freebusyldap_dummy.class.php, 1.1, 1.2
Message-ID: <20061122112506.25B121006D2@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv26501/freebusy
Modified Files:
pfb.php.in freebusyldap_dummy.class.php
Log Message:
* freebusy/pfb.php.in:
Fixed cache dir path problem described in
https://intevation.de/roundup/kolab/issue1490
and introduced with
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolabd/kolabd/templates/freebusy.conf.template.in.diff?r1=1.3&r2=1.4
The use of $params['kolab_prefix'] originated from the original
caching patch but should not be used as introduced with
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in.diff?r1=1.5&r2=1.6
since this breaks compatibility with running kolab on other
distros.
* freebusy/freebusyldap_dummy.class.php:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyldap_dummy.class.php?rev=1.1&content-type=text/vnd.viewcvs-markup
may trigger php warnings depending on php verbosity
Index: pfb.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pfb.php.in 31 Oct 2006 04:14:55 -0000 1.7
+++ pfb.php.in 22 Nov 2006 11:25:03 -0000 1.8
@@ -118,10 +118,8 @@
exit;
}
-$full_cache_dir = $params['kolab_prefix'] . $params['cache_dir'];
-
-$cache =& new FreeBusyCache( $full_cache_dir, $params['pfb_dbformat'], false );
-$xcache =& new FreeBusyCache( $full_cache_dir, $params['pfb_dbformat'], true );
+$cache =& new FreeBusyCache( $params['cache_dir'], $params['pfb_dbformat'], false );
+$xcache =& new FreeBusyCache( $params['cache_dir'], $params['pfb_dbformat'], true );
if( $req_cache ) {
Index: freebusyldap_dummy.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyldap_dummy.class.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- freebusyldap_dummy.class.php 25 Oct 2006 02:28:57 -0000 1.1
+++ freebusyldap_dummy.class.php 22 Nov 2006 11:25:03 -0000 1.2
@@ -69,5 +69,4 @@
}
};
-?>
-
+?>
\ No newline at end of file
From cvs at kolab.org Wed Nov 22 12:25:06 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 12:25:06 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.23, 1.24
Message-ID: <20061122112506.275191006D3@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv26501
Modified Files:
ChangeLog
Log Message:
* freebusy/pfb.php.in:
Fixed cache dir path problem described in
https://intevation.de/roundup/kolab/issue1490
and introduced with
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolabd/kolabd/templates/freebusy.conf.template.in.diff?r1=1.3&r2=1.4
The use of $params['kolab_prefix'] originated from the original
caching patch but should not be used as introduced with
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in.diff?r1=1.5&r2=1.6
since this breaks compatibility with running kolab on other
distros.
* freebusy/freebusyldap_dummy.class.php:
Trailing newline introduced in
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyldap_dummy.class.php?rev=1.1&content-type=text/vnd.viewcvs-markup
may trigger php warnings depending on php verbosity
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ChangeLog 13 Nov 2006 15:33:17 -0000 1.23
+++ ChangeLog 22 Nov 2006 11:25:04 -0000 1.24
@@ -1,3 +1,29 @@
+2006-11-22 Gunnar Wrobel
+
+ * freebusy/pfb.php.in:
+
+ Fixed cache dir path problem described in
+
+ https://intevation.de/roundup/kolab/issue1490
+
+ and introduced with
+
+ http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolabd/kolabd/templates/freebusy.conf.template.in.diff?r1=1.3&r2=1.4
+
+ The use of $params['kolab_prefix'] originated from the original
+ caching patch but should not be used as introduced with
+
+ http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in.diff?r1=1.5&r2=1.6
+
+ since this breaks compatibility with running kolab on other
+ distros.
+
+ * freebusy/freebusyldap_dummy.class.php:
+
+ Trailing newline introduced in
+ http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyldap_dummy.class.php?rev=1.1&content-type=text/vnd.viewcvs-markup
+ may trigger php warnings depending on php verbosity
+
2006-11-13 Gunnar Wrobel
* freebusy/freebusy.class.php.in:
From cvs at kolab.org Wed Nov 22 13:15:35 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 13:15:35 +0100 (CET)
Subject: wilde: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.24, 1.25
Message-ID: <20061122121535.EA5631005B7@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv27699/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
Replaced @freebusy_cachedir@ with $parms['cache_dir'].
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ChangeLog 22 Nov 2006 11:25:04 -0000 1.24
+++ ChangeLog 22 Nov 2006 12:15:33 -0000 1.25
@@ -1,3 +1,8 @@
+2006-11-22 Sascha Wilde
+
+ * freebusy/freebusy.php.in: Replaced @freebusy_cachedir@ with
+ $parms['cache_dir'].
+
2006-11-22 Gunnar Wrobel
* freebusy/pfb.php.in:
From cvs at kolab.org Wed Nov 22 13:15:35 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 13:15:35 +0100 (CET)
Subject: wilde: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.php.in, 1.5, 1.6
Message-ID: <20061122121535.E63CF1005A4@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv27699/kolab-resource-handlers/freebusy
Modified Files:
freebusy.php.in
Log Message:
Replaced @freebusy_cachedir@ with $parms['cache_dir'].
Index: freebusy.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- freebusy.php.in 13 Nov 2006 14:35:39 -0000 1.5
+++ freebusy.php.in 22 Nov 2006 12:15:33 -0000 1.6
@@ -72,7 +72,8 @@
}
$user = strtolower($user);
-$cache =& new FreeBusyCache( '@freebusy_cachedir@', $params['pfb_dbformat'], $req_extended );
+
+$cache =& new FreeBusyCache( $params['cache_dir'], $params['pfb_dbformat'], $req_extended );
$collector =& new FreeBusyCollector( $user );
From cvs at kolab.org Wed Nov 22 13:19:44 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 13:19:44 +0100 (CET)
Subject: wilde: server/kolab-resource-handlers freebusy-imap-caching.patch, 1.1,
NONE
Message-ID: <20061122121944.CC9041005A4@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server/kolab-resource-handlers
In directory doto:/tmp/cvs-serv27845
Removed Files:
freebusy-imap-caching.patch
Log Message:
Removed outdated/unused patch.
--- freebusy-imap-caching.patch DELETED ---
From cvs at kolab.org Wed Nov 22 14:09:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 14:09:47 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.25, 1.26
Message-ID: <20061122130947.29A481005B7@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv28906/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
* freebusy/pfb.php.in ():
Completed fixing cache dir path problem.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- ChangeLog 22 Nov 2006 12:15:33 -0000 1.25
+++ ChangeLog 22 Nov 2006 13:09:45 -0000 1.26
@@ -1,3 +1,9 @@
+2006-11-22 Gunnar Wrobel
+
+ * freebusy/pfb.php.in ():
+
+ Completed fixing cache dir path problem.
+
2006-11-22 Sascha Wilde
* freebusy/freebusy.php.in: Replaced @freebusy_cachedir@ with
From cvs at kolab.org Wed Nov 22 14:09:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 14:09:47 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
pfb.php.in, 1.8, 1.9
Message-ID: <20061122130947.271D21005B0@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv28906/kolab-resource-handlers/freebusy
Modified Files:
pfb.php.in
Log Message:
* freebusy/pfb.php.in ():
Completed fixing cache dir path problem.
Index: pfb.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- pfb.php.in 22 Nov 2006 11:25:03 -0000 1.8
+++ pfb.php.in 22 Nov 2006 13:09:45 -0000 1.9
@@ -159,7 +159,7 @@
unset($folder[0]);
$folder = join('/', $folder);
$fbpast = $ldap->freeBusyPast();
- $fb =& new FreeBusy( $full_cache_dir, $owner, $imapuser, $imappw, 'localhost', $params['imap_options'], $uinfo['FBFUTURE'], $fbpast );
+ $fb =& new FreeBusy( $params['cache_dir'], $owner, $imapuser, $imappw, 'localhost', $params['imap_options'], $uinfo['FBFUTURE'], $fbpast );
$fb->default_domain = $params['email_domain'];
$rc = $fb->imapConnect();
From cvs at kolab.org Wed Nov 22 16:22:42 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 16:22:42 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.26, 1.27
Message-ID: <20061122152242.24B2E1005C7@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv3687
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusyimapcache.class.php:
Trailing newline may trigger php warnings depending on php
verbosity.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- ChangeLog 22 Nov 2006 13:09:45 -0000 1.26
+++ ChangeLog 22 Nov 2006 15:22:40 -0000 1.27
@@ -1,5 +1,10 @@
2006-11-22 Gunnar Wrobel
+ * freebusy/freebusyimapcache.class.php:
+
+ Trailing newline may trigger php warnings depending on php
+ verbosity.
+
* freebusy/pfb.php.in ():
Completed fixing cache dir path problem.
From cvs at kolab.org Wed Nov 22 16:22:42 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 16:22:42 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusyimapcache.class.php, 1.2, 1.3
Message-ID: <20061122152242.20EFA1005BF@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv3687/freebusy
Modified Files:
freebusyimapcache.class.php
Log Message:
* freebusy/freebusyimapcache.class.php:
Trailing newline may trigger php warnings depending on php
verbosity.
Index: freebusyimapcache.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusyimapcache.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- freebusyimapcache.class.php 31 Oct 2006 04:14:55 -0000 1.2
+++ freebusyimapcache.class.php 22 Nov 2006 15:22:40 -0000 1.3
@@ -212,5 +212,4 @@
}
};
-?>
-
+?>
\ No newline at end of file
From cvs at kolab.org Wed Nov 22 16:50:01 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 16:50:01 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.27, 1.28
Message-ID: <20061122155001.CE8021005C7@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv4328
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusycache.class.php.in:
Trailing newline may trigger php warnings depending on php
verbosity.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ChangeLog 22 Nov 2006 15:22:40 -0000 1.27
+++ ChangeLog 22 Nov 2006 15:49:59 -0000 1.28
@@ -1,5 +1,10 @@
2006-11-22 Gunnar Wrobel
+ * freebusy/freebusycache.class.php.in:
+
+ Trailing newline may trigger php warnings depending on php
+ verbosity.
+
* freebusy/freebusyimapcache.class.php:
Trailing newline may trigger php warnings depending on php
From cvs at kolab.org Wed Nov 22 16:50:01 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 16:50:01 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusycache.class.php.in, 1.7, 1.8
Message-ID: <20061122155001.C8E4510016A@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv4328/freebusy
Modified Files:
freebusycache.class.php.in
Log Message:
* freebusy/freebusycache.class.php.in:
Trailing newline may trigger php warnings depending on php
verbosity.
Index: freebusycache.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusycache.class.php.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- freebusycache.class.php.in 1 Nov 2006 09:32:27 -0000 1.7
+++ freebusycache.class.php.in 22 Nov 2006 15:49:59 -0000 1.8
@@ -348,5 +348,4 @@
var $error;
};
-?>
-
+?>
\ No newline at end of file
From cvs at kolab.org Wed Nov 22 18:05:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 18:05:20 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.28, 1.29
Message-ID: <20061122170520.273141006A8@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv6461
Modified Files:
ChangeLog
Log Message:
* freebusy/freebusy.php.in:
Avoid notices because of undefined
$params['ldap_classname_suffix'].
Avoid notices because of undefined $_REQUEST['cache'] and
$_REQUEST['extended']
* freebusy/pfb.php.in:
Avoid notices because of undefined
$params['ldap_classname_suffix'].
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- ChangeLog 22 Nov 2006 15:49:59 -0000 1.28
+++ ChangeLog 22 Nov 2006 17:05:18 -0000 1.29
@@ -1,5 +1,18 @@
2006-11-22 Gunnar Wrobel
+ * freebusy/freebusy.php.in:
+
+ Avoid notices because of undefined
+ $params['ldap_classname_suffix'].
+
+ Avoid notices because of undefined $_REQUEST['cache'] and
+ $_REQUEST['extended']
+
+ * freebusy/pfb.php.in:
+
+ Avoid notices because of undefined
+ $params['ldap_classname_suffix'].
+
* freebusy/freebusycache.class.php.in:
Trailing newline may trigger php warnings depending on php
From cvs at kolab.org Wed Nov 22 18:05:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 22 Nov 2006 18:05:20 +0100 (CET)
Subject: gunnar: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
pfb.php.in, 1.9, 1.10 freebusy.php.in, 1.6, 1.7
Message-ID: <20061122170520.24A9E1005C8@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv6461/freebusy
Modified Files:
pfb.php.in freebusy.php.in
Log Message:
* freebusy/freebusy.php.in:
Avoid notices because of undefined
$params['ldap_classname_suffix'].
Avoid notices because of undefined $_REQUEST['cache'] and
$_REQUEST['extended']
* freebusy/pfb.php.in:
Avoid notices because of undefined
$params['ldap_classname_suffix'].
Index: pfb.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pfb.php.in 22 Nov 2006 13:09:45 -0000 1.9
+++ pfb.php.in 22 Nov 2006 17:05:18 -0000 1.10
@@ -36,6 +36,8 @@
require_once('@kolab_php_module_prefix at freebusy/misc.php');
require_once('@resmgr_confdir@/freebusy.conf');
+
+if ( empty($params['ldap_classname_suffix'])) $params['ldap_classname_suffix'] = '';
require_once('@kolab_php_module_prefix at freebusy/freebusyldap'.$params['ldap_classname_suffix'].'.class.php');
require_once('@kolab_php_module_prefix at freebusy/freebusycache.class.php');
Index: freebusy.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freebusy.php.in 22 Nov 2006 12:15:33 -0000 1.6
+++ freebusy.php.in 22 Nov 2006 17:05:18 -0000 1.7
@@ -25,6 +25,8 @@
require_once('@resmgr_confdir@/freebusy.conf');
require_once('@kolab_php_module_prefix at freebusy/freebusycache.class.php');
require_once('@kolab_php_module_prefix at freebusy/freebusycollector.class.php');
+
+if ( empty($params['ldap_classname_suffix'])) $params['ldap_classname_suffix'] = '';
require_once('@kolab_php_module_prefix at freebusy/freebusyldap'.$params['ldap_classname_suffix'].'.class.php');
require_once('@kolab_php_module_prefix at freebusy/misc.php');
@@ -34,8 +36,11 @@
$user = trim($_REQUEST['uid']);
$imapuser = $_SERVER['PHP_AUTH_USER'];
$imappw = $_SERVER['PHP_AUTH_PW'];
-$req_cache = (bool)$_REQUEST['cache'];
-$req_extended = (bool)$_REQUEST['extended'];
+
+$req_cache = false;
+$req_extended = false;
+if ( !empty($_REQUEST['cache'])) $req_cache = (bool)$_REQUEST['cache'];
+if ( !empty($_REQUEST['extended'])) $req_extended = (bool)$_REQUEST['extended'];
myLog("---FreeBusy Script starting (".$_SERVER['REQUEST_URI'].")---", RM_LOG_DEBUG );
myLog("user=$user, imapuser=$imapuser, req_cache=$req_cache, req_extended=$req_extended", RM_LOG_DEBUG );
From cvs at kolab.org Thu Nov 23 18:34:35 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 23 Nov 2006 18:34:35 +0100 (CET)
Subject: wilde: server/kolab-resource-handlers/kolab-resource-handlers
ChangeLog, 1.29, 1.30
Message-ID: <20061123173435.99E071005C4@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv31309/kolab-resource-handlers
Modified Files:
ChangeLog
Log Message:
Reset error stack in imapOpenMailbox before calling imap_reopen.
Fixes Issue1512.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- ChangeLog 22 Nov 2006 17:05:18 -0000 1.29
+++ ChangeLog 23 Nov 2006 17:34:33 -0000 1.30
@@ -1,3 +1,8 @@
+2006-11-23 Sascha Wilde
+
+ * freebusy/freebusy.class.php.in: Reset error stack in
+ imapOpenMailbox before calling imap_reopen. Fixes Issue1512.
+
2006-11-22 Gunnar Wrobel
* freebusy/freebusy.php.in:
From cvs at kolab.org Thu Nov 23 18:34:35 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 23 Nov 2006 18:34:35 +0100 (CET)
Subject: wilde: server/kolab-resource-handlers/kolab-resource-handlers/freebusy
freebusy.class.php.in, 1.9, 1.10
Message-ID: <20061123173435.984FF1005BF@lists.intevation.de>
Author: wilde
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv31309/kolab-resource-handlers/freebusy
Modified Files:
freebusy.class.php.in
Log Message:
Reset error stack in imapOpenMailbox before calling imap_reopen.
Fixes Issue1512.
Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- freebusy.class.php.in 13 Nov 2006 15:33:17 -0000 1.9
+++ freebusy.class.php.in 23 Nov 2006 17:34:33 -0000 1.10
@@ -83,6 +83,9 @@
function imapOpenMailbox($foldername = 'INBOX') {
$this->foldername = $foldername;
+ // Reset error stack
+ imap_errors();
+
$rc = imap_reopen($this->imap, $this->imap_serverstring . $this->foldername);
// PHP only returns false for imap_reopen() if we use an HALF_OPEN connection. doh!
if (imap_last_error() !== false)
From cvs at kolab.org Mon Nov 27 16:01:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 27 Nov 2006 16:01:20 +0100 (CET)
Subject: wilde: doc/kolab-formats kolabformat.sgml,1.18,1.19
Message-ID: <20061127150120.BAB511005A3@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/kolab-formats
In directory doto:/tmp/cvs-serv22478
Modified Files:
kolabformat.sgml
Log Message:
Fix: verbatim < and > must be written as entities.
Index: kolabformat.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/kolabformat.sgml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- kolabformat.sgml 16 Nov 2006 22:34:55 -0000 1.18
+++ kolabformat.sgml 27 Nov 2006 15:01:18 -0000 1.19
@@ -139,7 +139,7 @@
2.0rc5November 16th, 2006
-Clarifications about empty strings and changed to .
+Clarifications about empty strings and changed </webpage> to </web-page>.
From cvs at kolab.org Mon Nov 27 16:25:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 27 Nov 2006 16:25:20 +0100 (CET)
Subject: wilde: doc/www/src documentation.html.m4,1.27,1.28
Message-ID: <20061127152520.5510E1005C8@lists.intevation.de>
Author: wilde
Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv23571
Modified Files:
documentation.html.m4
Log Message:
Added Kolab Format RC5.
(No rc4, as it was neither tagged nor clearly marked in any other way.)
Rmoved Kolab Format draft.
Index: documentation.html.m4
===================================================================
RCS file: /kolabrepository/doc/www/src/documentation.html.m4,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- documentation.html.m4 21 Sep 2006 13:13:16 -0000 1.27
+++ documentation.html.m4 27 Nov 2006 15:25:18 -0000 1.28
@@ -29,6 +29,12 @@
';
$str .= '';
return $str;
}
From cvs at kolab.org Fri Dec 8 23:02:37 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:02:37 +0100 (CET)
Subject: steffen: server/kolab-webadmin/kolab-webadmin/www/admin/user
user.php.in, 1.9, 1.10
Message-ID: <20061208220237.CA1A1101EE7@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user
In directory doto:/tmp/cvs-serv22713/kolab-webadmin/www/admin/user
Modified Files:
user.php.in
Log Message:
Fix for issue1418 (Field customisation issue)
Index: user.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user/user.php.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- user.php.in 18 May 2006 03:14:24 -0000 1.9
+++ user.php.in 8 Dec 2006 22:02:35 -0000 1.10
@@ -188,6 +188,7 @@
if( $attributeaccess[$akey] == 'ro' ) {
$entries[$key]['attrs'] = 'readonly';
} else if( $attributeaccess[$akey] == 'hidden' ) {
+ //$entries[$key]['attrs'] = 'hidden';
unset($entries[$key]);
} else if( $attributeaccess[$akey] == 'mandatory' ) {
if( isset( $entries[$key]['validation'] ) ) {
@@ -221,68 +222,74 @@
else $mail = $ldap_object['mail'];
if (is_array($ldap_object['uid'])) $uid = $ldap_object['uid'][0];
else $uid = $ldap_object['uid'];
- $form->entries['givenname']['value'] = $givenname;
- $form->entries['sn']['value'] = $sn;
- $form->entries['password_0']['value'] = '';
- $form->entries['password_1']['value'] = '';
- $form->entries['mail']['value'] = $mail;
- $form->entries['mail']['attrs'] = 'readonly';
- $form->entries['uid']['value'] = $uid;
-
+ if(array_key_exists('givenname',$form->entries)) $form->entries['givenname']['value'] = $givenname;
+ if(array_key_exists('sn',$form->entries)) $form->entries['sn']['value'] = $sn;
+ if(array_key_exists('password_0',$form->entries)) $form->entries['password_0']['value'] = '';
+ if(array_key_exists('password_1',$form->entries)) $form->entries['password_1']['value'] = '';
+ if(array_key_exists('mail',$form->entries)) $form->entries['mail']['value'] = $mail;
+ if(array_key_exists('mail',$form->entries)) $form->entries['mail']['attrs'] = 'readonly';
+ if(array_key_exists('uid',$form->entries)) $form->entries['uid']['value'] = $uid;
// accttype
$dncomp = split( ',', $dn );
- if( in_array('cn=groups',$dncomp) ) {
- $form->entries['accttype']['value'] = 2;
- } else if( in_array('cn=resources',$dncomp) ) {
- $form->entries['accttype']['value'] = 3;
- } else if( in_array('cn=internal',$dncomp) ) {
- $form->entries['accttype']['value'] = 1;
- } else {
- $form->entries['accttype']['value'] = 0;
+ if(array_key_exists('acctype',$form->entries)) {
+ if( in_array('cn=groups',$dncomp) ) {
+ $form->entries['accttype']['value'] = 2;
+ } else if( in_array('cn=resources',$dncomp) ) {
+ $form->entries['accttype']['value'] = 3;
+ } else if( in_array('cn=internal',$dncomp) ) {
+ $form->entries['accttype']['value'] = 1;
+ } else {
+ $form->entries['accttype']['value'] = 0;
+ }
+ if( $auth->group() == 'user' ) $form->entries['accttype']['attrs'] = 'readonly';
}
- if( $auth->group() == 'user' ) $form->entries['accttype']['attrs'] = 'readonly';
// Automatic invitation handling
- $policies = array();
- for( $i = 0; $i < $ldap_object['kolabInvitationPolicy']['count']; $i++ ) {
- $resact = $ldap_object['kolabInvitationPolicy'][$i];
- debug("resact=$resact");
- if( ereg( '(.*):(.*)', trim($resact), $regs ) ) {
- $user = trim($regs[1]);
- $pol = trim($regs[2]);
- if( empty($user) ) continue;
- } else {
- $user = 'anyone';
- $pol = trim($resact);
- }
- if( $form->entries['accttype']['value'] == 1 ) {
- // default for groups
- $pol = policy2number( $pol, 3 /*ACT_MANUAL_IF_CONFLICTS*/ );
- } else {
- // default for resources
- $pol = policy2number( $pol, 2 /*ACT_REJECT_IF_CONFLICTS*/ );
- }
- $policies[$user] = $pol;
+ if(array_key_exists('kolabinvitationpolicy',$form->entries)) {
+ $policies = array();
+ for( $i = 0; $i < $ldap_object['kolabInvitationPolicy']['count']; $i++ ) {
+ $resact = $ldap_object['kolabInvitationPolicy'][$i];
+ debug("resact=$resact");
+ if( ereg( '(.*):(.*)', trim($resact), $regs ) ) {
+ $user = trim($regs[1]);
+ $pol = trim($regs[2]);
+ if( empty($user) ) continue;
+ } else {
+ $user = 'anyone';
+ $pol = trim($resact);
+ }
+ if( $form->entries['accttype']['value'] == 1 ) {
+ // default for groups
+ $pol = policy2number( $pol, 3 /*ACT_MANUAL_IF_CONFLICTS*/ );
+ } else {
+ // default for resources
+ $pol = policy2number( $pol, 2 /*ACT_REJECT_IF_CONFLICTS*/ );
+ }
+ $policies[$user] = $pol;
+ }
+ if( !isset( $policies['anyone'] ) ) $policies['anyone'] = 4 /*ACT_MANUAL*/;
+ $form->entries['kolabinvitationpolicy']['policies'] = $policies;
}
- if( !isset( $policies['anyone'] ) ) $policies['anyone'] = 4 /*ACT_MANUAL*/;
- $form->entries['kolabinvitationpolicy']['policies'] = $policies;
foreach( array( 'title', 'o', 'ou', 'roomNumber', 'street',
'postOfficeBox', 'postalCode', 'l', 'c',
'telephoneNumber', 'facsimileTelephoneNumber' ) as $attr ) {
+ if(!array_key_exists($attr.'_0',$form->entries)) continue;
if (is_array($ldap_object[$attr])) $v = $ldap_object[$attr][0];
else $v = $ldap_object[$attr];
$form->entries[$attr.'_0']['value'] = $v;
}
// alias
- if (is_array($ldap_object['alias'])) {
- $arr = $ldap_object['alias'];
- unset( $arr['count'] );
- $v = join("\n", $arr );
+ if(array_key_exists('alias',$form->entries)) {
+ if (is_array($ldap_object['alias'])) {
+ $arr = $ldap_object['alias'];
+ unset( $arr['count'] );
+ $v = join("\n", $arr );
+ }
+ else $v = "";
+ $form->entries['alias']['value'] = $v;
}
- else $v = "";
- $form->entries['alias']['value'] = $v;
// kolabdelegate
if (is_array($ldap_object['kolabDelegate'])) {
@@ -291,14 +298,15 @@
$v = join("\n", $arr );
}
else $v = "";
- $form->entries['kolabdelegate']['value'] = $v;
+ if(array_key_exists('kolabdelegate',$form->entries)) $form->entries['kolabdelegate']['value'] = $v;
// kolabhomeserver
- if( is_array($ldap_object['kolabHomeServer']) ) {
- $form->entries['kolabhomeserver']['value'] = $ldap_object['kolabHomeServer'][0];
+ if(array_key_exists('kolabhomeserver',$form->entries)) {
+ if( is_array($ldap_object['kolabHomeServer']) ) {
+ $form->entries['kolabhomeserver']['value'] = $ldap_object['kolabHomeServer'][0];
+ }
+ $form->entries['kolabhomeserver']['attrs'] = 'readonly';
}
- $form->entries['kolabhomeserver']['attrs'] = 'readonly';
-
$form->entries['action']['value'] = 'save';
// userquota
@@ -317,8 +325,8 @@
if( is_array( $ldap_object['kolabFreeBusyFuture'] ) )
$freebusyfuture = $ldap_object['kolabFreeBusyFuture'][0];
else $freebusyfuture = $ldap_object['kolabFreeBusyFuture'];
+ $form->entries['kolabFreeBusyFuture_0']['value'] = $freebusyfuture;
}
- $form->entries['kolabFreeBusyFuture_0']['value'] = $freebusyfuture;
}
/**** Authentication etc. ***/
@@ -528,7 +536,7 @@
}
if ($count > 0) $ldap_object[$attr] = $args;
elseif (!empty($_POST[$key])) $ldap_object[$attr] = $_POST[$key];
- else $ldap_object[$attr] = array();
+ else/*if (in_array($key,$_POST))*/ $ldap_object[$attr] = array();
}
{
// Handle group/resource policies
From cvs at kolab.org Fri Dec 8 23:08:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:08:38 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview
test.php, 1.1.1.1, NONE
Message-ID: <20061208220838.6B3D2101EE2@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview
In directory doto:/tmp/cvs-serv23082/fbview
Removed Files:
Tag: kolab_2_0_branch
test.php
Log Message:
removed offending files
--- test.php DELETED ---
From cvs at kolab.org Fri Dec 8 23:08:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:08:38 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/util
regex_test.php, 1.1.1.1, NONE
Message-ID: <20061208220838.7CB21101EE9@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/util
In directory doto:/tmp/cvs-serv23082/fbview/util
Removed Files:
Tag: kolab_2_0_branch
regex_test.php
Log Message:
removed offending files
--- regex_test.php DELETED ---
From cvs at kolab.org Fri Dec 8 23:08:38 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:08:38 +0100 (CET)
Subject: steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/turba
test.php, 1.1.1.1, NONE
Message-ID: <20061208220838.7AE98101EE6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/turba
In directory doto:/tmp/cvs-serv23082/fbview/turba
Removed Files:
Tag: kolab_2_0_branch
test.php
Log Message:
removed offending files
--- test.php DELETED ---
From cvs at kolab.org Fri Dec 8 23:10:23 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:10:23 +0100 (CET)
Subject: steffen: server/kolab-horde-fbview/kolab-horde-fbview/fbview/turba
test.php, 1.1, NONE
Message-ID: <20061208221023.31A16101EE2@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-horde-fbview/kolab-horde-fbview/fbview/turba
In directory doto:/tmp/cvs-serv23178/fbview/turba
Removed Files:
test.php
Log Message:
removed offending files
--- test.php DELETED ---
From cvs at kolab.org Fri Dec 8 23:10:23 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 8 Dec 2006 23:10:23 +0100 (CET)
Subject: steffen: server/kolab-horde-fbview/kolab-horde-fbview/fbview/util
regex_test.php, 1.1, NONE
Message-ID: <20061208221023.3B879101EE6@lists.intevation.de>
Author: steffen
Update of /kolabrepository/server/kolab-horde-fbview/kolab-horde-fbview/fbview/util
In directory doto:/tmp/cvs-serv23178/fbview/util
Removed Files:
regex_test.php
Log Message:
removed offending files
--- regex_test.php DELETED ---
From cvs at kolab.org Mon Dec 11 14:29:36 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 11 Dec 2006 14:29:36 +0100 (CET)
Subject: bernhard: utils/admin listannotations.pl,1.2,1.3
Message-ID: <20061211132936.607711005B4@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/utils/admin
In directory doto:/tmp/cvs-serv24579
Modified Files:
listannotations.pl
Log Message:
Added explicit license.
Index: listannotations.pl
===================================================================
RCS file: /kolabrepository/utils/admin/listannotations.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- listannotations.pl 21 Feb 2006 12:22:30 -0000 1.2
+++ listannotations.pl 11 Dec 2006 13:29:34 -0000 1.3
@@ -25,7 +25,7 @@
# 20060220 initial bernhard at intevation.de
# Tested with Kolab Server 2.1.0beta1.
#
-# This script is Free Software.
+# This script is Free Software under GNU GPL v>2.
# $Id$
use Cyrus::IMAP::Admin;
From cvs at kolab.org Mon Dec 11 14:50:47 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 11 Dec 2006 14:50:47 +0100 (CET)
Subject: bernhard: utils/admin listannotations.pl,1.3,1.4
Message-ID: <20061211135047.BFC5C1005B4@lists.intevation.de>
Author: bernhard
Update of /kolabrepository/utils/admin
In directory doto:/tmp/cvs-serv25535
Modified Files:
listannotations.pl
Log Message:
Typo in license corrected (thanks to Sascha W for spotting).
Index: listannotations.pl
===================================================================
RCS file: /kolabrepository/utils/admin/listannotations.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- listannotations.pl 11 Dec 2006 13:29:34 -0000 1.3
+++ listannotations.pl 11 Dec 2006 13:50:45 -0000 1.4
@@ -25,7 +25,7 @@
# 20060220 initial bernhard at intevation.de
# Tested with Kolab Server 2.1.0beta1.
#
-# This script is Free Software under GNU GPL v>2.
+# This script is Free Software under GNU GPL v>=2.
# $Id$
use Cyrus::IMAP::Admin;
From cvs at kolab.org Wed Dec 13 12:03:25 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 13 Dec 2006 12:03:25 +0100 (CET)
Subject: bh: utils/ldap-sync - New directory
Message-ID: <20061213110325.EDDA11006C1@lists.intevation.de>
Author: bh
Update of /kolabrepository/utils/ldap-sync
In directory doto:/tmp/cvs-serv2797/ldap-sync
Log Message:
Directory /kolabrepository/utils/ldap-sync added to the repository
From cvs at kolab.org Wed Dec 13 12:06:49 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Wed, 13 Dec 2006 12:06:49 +0100 (CET)
Subject: bh: utils/ldap-sync COPYING, NONE, 1.1 LIESMICH.txt, NONE,
1.1 config-example.py, NONE, 1.1 converter.py, NONE,
1.1 filelock.py, NONE, 1.1 ldapsync.py, NONE, 1.1 transferrer.py,
NONE, 1.1
Message-ID: <20061213110649.7F3611006B7@lists.intevation.de>
Author: bh
Update of /kolabrepository/utils/ldap-sync
In directory doto:/tmp/cvs-serv3246
Added Files:
COPYING LIESMICH.txt config-example.py converter.py
filelock.py ldapsync.py transferrer.py
Log Message:
initial import of the ldap sync script
--- NEW FILE: COPYING ---
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
--- NEW FILE: LIESMICH.txt ---
Anmerkungen zum ldapsync Script
===============================
2006-11-22, Bernhard Reiter
Systemvoraussetzungen
---------------------
Python >=2.3
Python-LDAP >=2.0
Getestet wurde u.A. mit:
Debian GNU/Linux, Python 2.3.5, python-ldap 2.0.4-1, libldap2 2.1.30-8, i586.
Windows Server 2003 (Standard Edition, SP1) with AD and Exchange in Vmware.
Installation
------------
Kopieren Sie den Inhalt des Verzeichnisses an eine geeignete Stelle.
Als Konfigurationsdatei dient eine Datei config.py im gleichen
Verzeichnis. Als Vorlage für diese Datei kann config-example.py dienen,
welche auch einige Kommentare für die Dokumentation enthält.
Das Hauptprogramm ist ldapsync.py. Zum Test kann die Option --dry-run
verwendet werden.
Die Optionen --search und --dump-data sind Analyse-Funktionen.
Logging
-------
Per default wird nach stderr geloggt mit Log-Level DEBUG. Im Moment
kann man dies nur durch entsprechende Änderungen an der Funktion
initialize_logging in ldapsync.py ändern.
Zu Beachten
-----------
- Datenverlust vermeiden:
ldapsync geht davon aus, dass alle Einträge im Zielzweig des
LDAP-Server von ldapsync verwaltet werden und löscht dort
entsprechend Objekte, die im Quellzweig gelöscht wurden. Je nach
Konfiguration kann das zum ungewollten Verlust von Daten führen.
In beide Richtungen sollte also ein eigener Teilbaum für die
Adresseinträge vorgesehen sein.
In der anderen Richtung kann das Problematisch sein. Das
Kolab-Webfrontend hat ein Interface zum Verwalten von externen
Addressen, dies im LDAP unter cn=external, ablegt.
Wenn ldap sync seine Einträge ebenfalls dort ablegt, werden Einträge,
die über Kolabs Webfrontend angelegt wurden gelöscht. Es ist daher
empfehlenswert, einen anderen Teilbaum zu verwenden.
- Anlegen des Zielzweigs:
Active Directory: Für jeden kolabHomeServer sollte
in der Standardkonfiguration ein Eintrag vorhanden sein:
ou=kolab.server.example.org
Kolab Servers OpenLDAP: Ein Teilbaum kann angelegt werden, z.B. mit
ldapadd, wie folgt:
Entsprechende Datei ad-subtree.ldif anlegen:
dn: cn=ad,cn=external,dc=example,dc=org
cn: ad
objectClass: top
objectClass: kolabNamedObject
ldapadd -f ad-subtree.ldiff -H ldap://kolab.server.example.org \
-D cn=manager,cn=internal,dc=example,dc=org -x -W
Bekannte Probleme/Anmerkungen
-----------------------------
- Active Directory akzeptiert manchmal Einträge, schreibt diese
aber nach wenigen Sekunden oder Minuten um. Nur wenn die richtige
Kombination von Attributen gesetzt wird,
verbleibt beispielsweise das Attribut "showInAddressBook".
- Um durch AD hinzugefügte Attributewerte in relevanten Attributen
nicht mitzuvergleichen, können diese hart entfernt werden.
Siehe converter.py, Funktion remove_ad_extra_attributevalues().
Die dort entfernten Attributewerte (zur Zeit X400 proxyAddresses)
können nicht mehr zuverlässig gesetzt werden.
- Sperrdatei (.lock) wird nicht weggeräumt, wenn der angegebene
Prozess nicht mehr läuft. Wenn nach einem Rechner-Absturz
die Sperrdatei noch da ist, dann weigert sich das Skript zu starten.
Bei automatiserter Ausführung (z.B. per cron)
muss eine Fehlermeldung dem Admin also zugehen.
- Active Directory akzeptiert nur manche geschützen ("quoted") Zeichen
bei DNs. Das Skript versucht deshalb die DNs so zu normalisieren,
dass sie bei Umlauten keine Probleme verursachen.
(Siehe Kommentare in converter.py für die technischen Details.)
--- NEW FILE: config-example.py ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: converter.py ---
# Copyright (C) 2006 by Intevation GmbH
# Authors:
# Bernhard Herzog
# Bernhard Reiter
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
"""Classes and functions to convert an ldap entry"""
import logging
import re
import ldap
def joindn(exploded_dn):
"""Join an 'exploded' dn again. This is the inverse to ldap.explode_dn"""
return ",".join(exploded_dn)
def _change_maybe_hex_into_char(match):
"""Changes quoted hex into character if it is not a MUST dn escape char.
The list of MUST quoted characters was taken from RFC4514.
Takes a match object parameter for something like '\\a0'. Returns '\xa0'.
"""
hex=match.group(0).upper()
if not hex in ['\\20','\\22','\\23', '\\2B','\\2C',
'\\3B', '\\3C', '\\3E', '\\5C']:
return chr(int(match.group(0)[1:3],16))
else:
return hex
def unescape_maybe_quoted_utf8_chars(dnpartvalue):
return re.sub("\\\\[0-9a-fA-F]{2}", _change_maybe_hex_into_char, dnpartvalue)
def normalize_dn(dn):
"""Returns a normalized version of the dn that AD can accept.
The normalized version uses all lowercase of the types in the DN.
E.g. 'cn=Foo,DC=example,dc=com' will become 'cn=Foo,dc=example,dc=com'.
Also the OpenLDAP function ldap.explode_dn() will be used, which
quotes some characters according to RFC 4514. Note: ldap.explode_dn
calls the OpenLDAP API function ldap_explode_dn which is deprecated
in favor of ldap_str2dn. However, ldap_str2dn has not been wrapped
by python-ldap yet.
Some experiments show that Active Directory from Windows Server 2003sp1,
only seem to correctly accept the characters that MUST be coded,
which happend to be ascii character, thus one byte long in utf8.
So this function will remove the escapes done by ldap.explode_dn() again
for the characters that MAYBE quoted before returning the dn.
"""
normalized = []
for item in ldap.explode_dn(dn):
split = item.split("=")
split[0] = split[0].lower()
split[1] = unescape_maybe_quoted_utf8_chars(split[1])
normalized.append("=".join(split))
return ",".join(normalized)
def normalize_dns(entries):
"""Normalizes all dns in entries
The parameter entries should be a dictionary mapping dns to
attribute dictionaries, that is, the parameter should have the same
structure as the result object from the ldap search.
The keys in the entries dictionary will be replaced by their
normalized version. The normalization is done with
normalize_dn. The entries dictionary is modified in place.
"""
for dn in entries.keys():
entries[normalize_dn(dn)] = entries.pop(dn)
def remove_ad_extra_attributevalues(entries):
"""Removes extra attributes that ad will add on its own.
Active Directory might add extra attribute values by itself.
If we do not want to see them for the comparision, this function
can will them from entries in place.
"""
for dn in entries.keys():
if entries[dn].has_key("proxyAddresses"):
entries[dn]["proxyAddresses"] = \
filter(lambda value: value[:5]!="X400:",
entries[dn]["proxyAddresses"])
class ConversionError(Exception):
"""Exception raised by rules of the EntryConverter to indicate errors"""
class EntryConverter:
"""Class to convert an LDAP entry.
An LDAP entry is defined by its dn and a dictionary of attributes.
A converter consists of a list of converter rules.
The converters rules are used to convert the attributes and dn of an
entry. Each entry in the list is applied in order. A converter
rule is a callable object that will be called like this:
attribute_converter(OLD_DN, OLD_ATTRS, NEW_DN, NEW_ATTRS)
OLD_DN is the old DN in 'exploded' form as returned by
ldap.explode_dn, that is it is list of the individual elements of
the dn. OLD_ATTRS is the dictionary with the old attributes and
NEW_DN and NEW_ATTRS are the DN and attribute dictionary of the new
entry. A rule reads from OLD_DN and OLD_ATTRS and creates or
modifies NEW_ATTRS and NEW_DN. It should not modify OLD_ATTRS or
OLD_DN.
Usually a rule simply returns None. However, a rule may return a
list of (DN, ATTRS) pairs. These pairs describe new LDAP entries
which should be added to the LDAP server.
A rule should raise a ConversionError to indicate an error. If a
rule raises such an exception, processing the rule stops and the
convert method return None.
"""
def __init__(self, rules):
self.rules = rules
def convert(self, dn, attrs, added_entries):
"""Converts an LDAP entry.
The ldap entry is described by the dn as a string and attributes
as a dictionary. The parameters added_entries should be a list.
If a rule returns a list with new LDAP entries the entries will
be added at the end of that list.
"""
exploded_dn = ldap.explode_dn(dn)
new_attrs = {}
new_dn = exploded_dn[:]
try:
for rule in self.rules:
new_entries = rule(exploded_dn, attrs, new_dn, new_attrs)
if new_entries:
added_entries.extend(new_entries)
return joindn(new_dn), new_attrs
except ConversionError, exc:
logging.error("Cannot convert entry %r: %s" % (dn, exc))
return None
def copy_attr(attrname, newattrname=None):
"""Creates an attribute converter that simply copies an attribute
The source attribute is given by attrname. The destination
attribute by newattrname. if newattrname is not given attrname is
used as destination.
"""
if newattrname is None:
newattrname = attrname
def convert(dn, attrs, newdn, newattrs):
if attrname in attrs:
newattrs[newattrname] = attrs[attrname]
return convert
def set_attr(attrname, value):
"""Creates an attribute converter that sets an attribute to a constant
The destination attribute is given by attrname. The value should be
a string or a list of strings. The strings should be byte strings
in UTF-8.
"""
if isinstance(value, str):
value = [value]
def convert(dn, attrs, newdn, newattrs):
newattrs[attrname] = value
return convert
def create_targetAddress_from_mail(dn, attrs, newdn, newattrs):
"""Sets targetAddress in newattrs from the mail attribute in attrs"""
mail = attrs["mail"][0]
if mail:
newattrs["targetAddress"] = ["SMTP:" + mail]
def create_proxyAddresses_from_alias(dn, attrs, newdn, newattrs):
"""Sets the proxyAddresses attribute from mail and alias in newattrs"""
proxy_addresses = []
for addr in attrs.get("alias", ()):
proxy_addresses.append("smtp:" + addr)
proxy_addresses.append("SMTP:" + attrs["mail"][0])
newattrs["proxyAddresses"] = proxy_addresses
def create_alias_from_proxyAddresses(dn, attrs, newdn, newattrs):
mail = attrs["mail"][0]
aliases = []
for item in attrs.get("proxyAddresses", ()):
if item.lower().startswith("smtp:"):
alias = item[5:]
if alias != mail:
aliases.append(alias)
newattrs["alias"] = aliases
def create_new_entries_for_aliases(dn, attrs, newdn, newattrs):
"""Creates new ldap entries for mail aliases.
The new entries are copies of the (newdn, newattrs) pair with
aliases taken from the old attrs. The cn of the new entries is the
cn on newattrs with the mail address.
"""
extra_entries = []
for addr in attrs.get("alias", ()):
extra_dn = newdn[:]
extra_attrs = newattrs.copy()
extra_dn[0] = extra_dn[0] + " (" + addr + ")"
extra_attrs["mail"] = [addr]
extra_attrs["alias"] = []
extra_attrs["proxyAddresses"] = []
extra_entries.append((joindn(extra_dn), extra_attrs))
return extra_entries
def guess_sn(dn, attrs, newdn, newattrs):
"""If newattrs doesn't have an sn entry, set to the first word of the cn"""
if "sn" not in newattrs:
newattrs["sn"] = newattrs["cn"][0].split()[:1]
def new_base_dn(base_dn):
"""Creates a rule that changes the base of a dn
The returned rule constructs the new DN by taking the first
component of the old DN and appending the new base dn.
"""
base_dn = ldap.explode_dn(normalize_dn(base_dn))
def convert(dn, attrs, newdn, newattrs):
newdn[:] = dn[:1] + base_dn
return convert
def insert_kolabHomeServer_dn(dn, attrs, newdn, newattrs):
"""Inserts kolabHomeServer attribute as an ou DN part into newdn at index 1
"""
newdn.insert(1, "ou=" + attrs["kolabHomeServer"][0])
def compare_old_attrs(attr1, attr2):
"""Creates a rule that compares attributes in the old attributes dictionary
The returned rule, compares both attributes if they exist and if
their values differ, it logs a warning
"""
def compare(dn, attrs, newdn, newattrs):
if attr1 in attrs and attr2 in attrs:
if attrs[attr1] != attrs[attr2]:
logging.warn("%r: %r:%r but %r:%r"
% (joindn(dn), attr1, attrs[attr1],
attr2, attrs[attr2]))
return compare
--- NEW FILE: filelock.py ---
# Copyright (C) 2006 by Intevation GmbH
# Authors:
# Bernhard Herzog
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
"""Locking with a lockfile"""
import sys
import os
import logging
class FileLock:
"""Lock resources using a lock file.
When acquiring the lock, the file is created with the the
os.O_CREAT|os.O_EXCL options so that creating and opening the file
will only succeed if the file does not exist yet. The pid of the
current process is written to the file. The FileLock class itself
does nothing with that information but it may help debugging.
"""
def __init__(self, directory, lockname):
self.lockfile = os.path.join(directory, lockname)
def acquire(self):
logging.debug("creating lockfile %r", self.lockfile)
try:
fd = os.open(self.lockfile, os.O_CREAT|os.O_EXCL|os.O_RDWR)
except (IOError, OSError), e:
logging.error("Could not create lockfile %r: %s", self.lockfile, e,
exc_info=True)
sys.exit(1)
os.write(fd, "%s\n" % os.getpid())
os.close(fd)
def release(self):
logging.debug("removing lockfile %r", self.lockfile)
try:
os.unlink(self.lockfile)
except (IOError, OSError), e:
logging.error("Error while trying to remove lockfile %r: %s",
self.lockfile, e, exc_info=True)
sys.exit(1)
--- NEW FILE: ldapsync.py ---
# Copyright (C) 2006 by Intevation GmbH
# Authors:
# Bernhard Herzog
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
"""Sync entries between a Kolab LDAP server and Active Directory"""
import sys
import os
import logging
import optparse
import ldap
import ldif
import filelock
import transferrer
import converter
class config:
def load(cls, filename):
variables = {}
execfile(os.path.join(os.path.dirname(__file__), filename),
variables)
for varname in ["workdir", "kolabserver", "adserver",
"kolab_to_ad_converter_rules",
"ad_to_kolab_converter_rules"]:
setattr(cls, varname, variables[varname])
load = classmethod(load)
# If true, do not write to an LDAP server
dry_run = False
# If true, dump data during the transfer for debugging purposes
dump_data = False
def check_work_dir(workdir):
"""Check that the working directory exists"""
if not os.path.isdir(workdir):
logging.error("working directory %r does not exist", workdir)
sys.exit(1)
def perform_sync():
"""Perform the sync.
If the dry_run parameter is given and true, no actual write
operations will take place on the server.
"""
logging.info("start sync process")
logging.info("transferring from kolab to active directory")
conv = converter.EntryConverter(config.kolab_to_ad_converter_rules)
T = transferrer.Transferrer(config.kolabserver, config.adserver, conv,
dry_run=config.dry_run,
dump_data=config.dump_data)
T.transfer()
logging.info("transfer from kolab to active directory finished")
logging.info("transferring from active directory to kolab")
conv = converter.EntryConverter(config.ad_to_kolab_converter_rules)
T = transferrer.Transferrer(config.adserver, config.kolabserver, conv,
dry_run=config.dry_run,
dump_data=config.dump_data)
T.transfer()
logging.info("transfer from active directory to kolab finished")
logging.info("finished sync process")
def sync_ldap_servers():
"""Performs the sync while while holding the lock
If the dry_run parameter is given and true, no actual write
operations will take place on the server.
"""
check_work_dir(config.workdir)
lock = filelock.FileLock(config.workdir, "ldapsync.lock")
lock.acquire()
try:
perform_sync()
finally:
lock.release()
def initialize_logging():
"""Initializes the logging system for the ldap sync script"""
root = logging.getLogger()
root.setLevel(logging.DEBUG)
hdlr = logging.StreamHandler()
fmt = logging.Formatter("%(asctime)s %(levelname)s %(message)s")
hdlr.setFormatter(fmt)
root.addHandler(hdlr)
def search(server_type, search_type):
server = getattr(config, server_type + "server", None)
if server is None:
print >>sys.stderr, "unknown server type %r" % server_type
sys.exit(1)
search = getattr(server, search_type + "_search", None)
if search is None:
print >>sys.stderr, "unknown search type %r" % search_type
sys.exit(1)
writer = ldif.LDIFWriter(sys.stdout)
for dn, record in server.search(search):
if dn is not None:
writer.unparse(dn, record)
def main():
parser = optparse.OptionParser()
parser.set_defaults(action="sync",
dry_run=config.dry_run,
dump_data=config.dump_data)
parser.add_option("--dry-run", action="store_true")
parser.add_option("--dump-data", action="store_true")
parser.add_option("--search", action="store_const", dest="action",
const="search")
opts, rest = parser.parse_args()
config.load("config.py")
config.dry_run = opts.dry_run
config.dump_data = opts.dump_data
if opts.action == "sync":
initialize_logging()
try:
sync_ldap_servers()
except SystemExit:
raise
except:
logging.error("an unhandled exception occurred", exc_info=True)
elif opts.action == "search":
if len(rest) != 2:
print >>sys.stderr, "search needs two parameters:"
print >>sys.stderr, "servertype ('kolab' or 'ad') "\
"and search ('user' or 'contact')"
sys.exit(1)
search(server_type = rest[0], search_type = rest[1])
else:
print >>sys.stderr, "unknown action %r" % opts.action
if __name__ == "__main__":
main()
--- NEW FILE: transferrer.py ---
# Copyright (C) 2006 by Intevation GmbH
# Authors:
# Bernhard Herzog
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
"""Transfer ldap information from one ldap server to another"""
import logging
import sets
import ldap
import ldap.modlist
import converter
class Search:
"""LDAP Search definition
A search definition has the following public instance variables:
base_dn -- the base dn for the search. This should be either a
string or another Search instance. In the latter case that
dn-search is used to determine a list of dns under which to
perform the search.
filterstr -- The LDAP filter string
search_scope -- the search scope. Must be one of the following
constants from the ldap module: SCOPE_SUBTREE, SCOPE_ONELEVEL
oder SCOPE_BASE. It can also be the string 'OU_SUBTREES' in
which case the subtrees defined by all objects of type
organizatinalUnit immeditely below base_dn will be searched
individually to avoid transferring too many results in one
search.
attrlist -- A list of attribute names to return from the search.
This is optional. How this is interpreted depends on how the
search is used by the converter. See Transferrer for more
details.
"""
def __init__(self, base_dn, filterstr, search_scope, attrlist=None):
self.base_dn = base_dn
self.filterstr = filterstr
self.search_scope = search_scope
self.attrlist = attrlist
class LDAPServer:
"""LDAP Server Definition
An LDAP server definition has the following public instance
variables:
uri -- The serve uri as a string. Should be just the protocol (ldap
or ldaps) and the host name. E.g. 'ldap://my.ldap.server'
bind_dn, bind_pw -- The dn and password for the ldap bind. The user
given here should have read and write permissions in the
appropriate sub-trees.
user_search -- A search definition (Search instance) for a search
for user accounts.
contact_search -- A search definition for a search for contact
entries
"""
def __init__(self, uri, bind_dn, bind_pw, user_search, contact_search):
self.uri = uri
self.bind_dn = bind_dn
self.bind_pw = bind_pw
self.user_search = user_search
self.contact_search = contact_search
def search(self, search, attrlist=None):
"""Searches and returns the results as a list of (dn, record) pairs.
The search parameter should be one of the server's search
attributes. The attrlist parameter is optional and when not
given, the attrlist of the search definition is used.
"""
logging.debug("reading from %r", self.uri)
conn = ldap.initialize(self.uri)
conn.simple_bind_s(self.bind_dn, self.bind_pw)
return self._search_conn(conn, search, attrlist=attrlist)
def _search_conn(self, conn, search, attrlist=None):
"""perform search on conn"""
if isinstance(search.base_dn, Search):
dns = [dn for dn, record in self._search_conn(conn, search.base_dn)]
else:
dns = [search.base_dn]
if attrlist is None:
attrlist = search.attrlist
result = []
for dn in dns:
logging.debug("searching dn %r", dn)
result += [item
for item in conn.search_s(dn, search.search_scope,
filterstr=search.filterstr,
attrlist=attrlist)
if item[0] is not None]
return result
class Transferrer:
"""Main class to transfer ldap data from one serve to another.
This class reads ldap data from a source server, transforms the data
and writes it to a destination servers. Both servers are described
by instances of the LDAPServer class. The search on the source
server is defined by the source server's user_search attribute. The
search on the destination serve is defined by the contact_search
attribute. The transformation is described by an EntryConverter
instance.
"""
def __init__(self, source, destination, converter, dry_run=False,
dump_data=False):
"""Initializes the transferrer
Parameters:
source -- The source ldap server definition
destination -- the destinatin ldap server definition
converter -- the EntryConverter instance to use when converting
an ldap entry.
dry_run -- boolean. If true, do not write to the destination
server. Defaults to False.
"""
self.source = source
self.destination = destination
self.converter = converter
self.dry_run = dry_run
self.dump_data = dump_data
def transfer(self):
"""Performs the data transfer"""
source_data = self.read_ldap(self.source, self.source.user_search)
if self.dump_data:
import pprint
print "************* Transferrer.transfer: source_data " + \
"before normalization"
pprint.pprint(source_data)
converter.normalize_dns(source_data)
if self.dump_data:
import pprint
print "************* Transferrer.transfer: source_data"
pprint.pprint(source_data)
converted_data, attrlist = self.convert_data(source_data)
converter.normalize_dns(converted_data)
if self.dump_data:
print "************* Transferrer.transfer: converted_data"
pprint.pprint(converted_data)
destination_data = self.read_ldap(self.destination,
self.destination.contact_search,
attrlist=attrlist)
# called for all transfers, even if we only want to remove for
# destination ad.
# FIXME: This shouldn't be hard-wired.
converter.remove_ad_extra_attributevalues(destination_data)
converter.normalize_dns(destination_data)
if self.dump_data:
print "************* Transferrer.transfer: destination_data"
pprint.pprint(destination_data)
self.write_data(self.destination, destination_data,
converted_data)
def read_ldap(self, server, search, attrlist=None):
"""Reads from the server using the search definition search.
The attrlist parameter is optional and when not given, the
attrlist of the search definition is used.
"""
return dict(server.search(search, attrlist=attrlist))
def convert_data(self, entries):
"""Converts the entries using the entry converter.
The entries dictionary is modified in place.
"""
converted = {}
attributes = sets.Set()
for dn, attrs in entries.iteritems():
added_entries = []
converted_entry = self.converter.convert(dn, attrs, added_entries)
if converted_entry is not None:
for entry in [converted_entry] + added_entries:
new_dn, new_attrs = entry
converted[new_dn] = new_attrs
attributes.union_update(new_attrs)
return converted, list(attributes)
def write_data(self, server, old_data, new_data):
"""Compares the data and updates the server.
This method compares the new_data with the old_data and modifies
the server accordingly. Objects in new_data but not in old_data
are created on the server. Objects in old_data but not in
new_data are removed from the server. Objects that differ in
new_data and old_data are modified on the server. If dry_run
has been specified, no actual changes are made. This method
logs its actions with a DEBUG log level.
"""
old_set = sets.Set(old_data)
new_set = sets.Set(new_data)
create_set = new_set - old_set
delete_set = old_set - new_set
common_set = new_set & old_set
logging.debug("writing to %r", server.uri)
conn = ldap.initialize(server.uri)
conn.simple_bind_s(server.bind_dn, server.bind_pw)
for dn in delete_set:
logging.debug("deleting contact %r", dn)
self.call_with_error_log(conn, "delete_s", dn)
for dn in create_set:
logging.debug("creating contact %r", dn)
self.call_with_error_log(conn, "add_s",
dn, ldap.modlist.addModlist(new_data[dn]))
for dn in common_set:
modlist = ldap.modlist.modifyModlist(old_data[dn], new_data[dn])
if modlist:
logging.debug("updating contact %r: modlist=%r", dn, modlist)
self.call_with_error_log(conn, "modify_s", dn, modlist)
else:
logging.debug("contact %r already up to date", dn)
def call_with_error_log(self, conn, methodname, *args):
"""Call an ldap connection method and log errors that occur.
If dry_run has been specified the method is not actually called.
"""
if not self.dry_run:
try:
getattr(conn, methodname)(*args)
except:
logging.error("Error calling ldap method %r%r", methodname,
args, exc_info=True)
From cvs at kolab.org Thu Dec 14 10:01:37 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 14 Dec 2006 10:01:37 +0100 (CET)
Subject: wilde: utils/admin transferannotations.pl,NONE,1.1
Message-ID: <20061214090137.D2F861005CB@lists.intevation.de>
Author: wilde
Update of /kolabrepository/utils/admin
In directory doto:/tmp/cvs-serv16740
Added Files:
transferannotations.pl
Log Message:
Added the extended listannotations.pl now called transferannotations.pl,
thanks to Thomas Ribbrock for the contribution.
--- NEW FILE: transferannotations.pl ---
#!/kolab/bin/perl
#
# script to read out the annotations for a user
# user.a at old.example.org
# and re-add them for a different domain and/or different user name
# user.b at new.domain.com.
#
# USAGE:
# 1) edit user parameters below
# 2) run script with OLD_UID NEW_UID
#
# 20061031 V0.2 transferannotations.pl emgaron+kolab at ribbrock.org
# re-write to do full annotations transfer for given user
# Tested with Kolab Server 2.0.4 (src) -> 2.1.0beta2 (dst).
#
# 20060220 initial listannotations.pl bernhard at intevation.de
# Tested with Kolab Server 2.1.0beta1.
#
# This program is free software under the GNU GPL (>=v2)
use Cyrus::IMAP::Admin;
use strict;
#############################################################################
# USER PARAMETERS #
# Modify the values below to reflect your setup #
#############################################################################
my $old_domain="OLD.DOMAIN";
my $new_domain="NEW.DOMAIN"; # leave empty if domain doesn't change
my $src_server="SRC_SERVER.DOMAIN";
my $dst_server="DST_SERVER.DOMAIN";
my $src_admin="manager";
my $dst_admin="manager";
my $src_passwd="PASSWD";
my $dst_passwd="PASSWD";
#############################################################################
# END OF USER PARAMETERS #
#############################################################################
my $old_user;
my $new_user;
my $new_mailbox;
my $kolab_vendor;
my %info;
if ($#ARGV < 0 || $#ARGV > 1)
{
print ("\nUsage: $0 OLD_UID NEW_UID\n");
print (" If NEW_UID is empty, UID is not changed.\n\n");
exit;
}
$old_user = $ARGV[0];
$new_user = $ARGV[1];
my $src_client = Cyrus::IMAP::Admin->new("$src_server",);
$src_client->authenticate(-user => "$src_admin", -password => "$src_passwd");
my $dst_client = Cyrus::IMAP::Admin->new("$dst_server",);
$dst_client->authenticate(-user => "$dst_admin", -password => "$dst_passwd");
# transferring all annotations
# need to call getinfo twice, as there is no simple pattern that gets
# imapd to return the info without name clashes (e.g. testuser vs.
# testuser1 and suchlike)
%info = ($src_client->getinfo("user/$old_user/*\@$old_domain"),
$src_client->getinfo("user/$old_user\@$old_domain"));
foreach my $attrib (sort keys %info) {
if($attrib =~ /\/vendor\/kolab\/(folder-type|incidences-for)/)
{
$new_mailbox = $attrib;
if($new_domain ne "")
{
# replace domain in mailbox
$new_mailbox =~ s/$old_domain/$new_domain/g;
}
if($new_user ne "")
{
# replace user in mailbox
$new_mailbox =~ s/$old_user/$new_user/g;
}
# extract pure mailbox string
$new_mailbox =~ s/^[^{]*{//;
$new_mailbox =~ s/}[^}]*$//;
# extract kolab vendor string
$kolab_vendor = $attrib;
$kolab_vendor =~ s/^[^}]*}//;
#printf("\$dst_client->mboxconfig('%s', '%s', '%s')\n",
# $new_mailbox, $kolab_vendor, $info{$attrib});
printf("%s (%s) -> %s\n", $new_mailbox, $kolab_vendor,
$info{$attrib});
$dst_client->mboxconfig("$new_mailbox", "$kolab_vendor",
"$info{$attrib}");
}
}
From cvs at kolab.org Thu Dec 14 15:39:04 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 14 Dec 2006 15:39:04 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd/dist_conf gentoo,1.6,1.7
Message-ID: <20061214143904.C9AF51005DF@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd/dist_conf
In directory doto:/tmp/cvs-serv29186/kolabd/dist_conf
Modified Files:
gentoo
Log Message:
* dist_conf/gentoo:
Updated to the newest configuration settings for Gentoo.
Index: gentoo
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/dist_conf/gentoo,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gentoo 14 Nov 2006 21:34:22 -0000 1.6
+++ gentoo 14 Dec 2006 14:39:02 -0000 1.7
@@ -50,7 +50,7 @@
### -> users
-clamav_rusr=clamav
+clamav_rusr=${amavisd_rusr}
clamav_usr=root
clamav_grp=root
@@ -59,11 +59,11 @@
clamav_confdir=${sysconfdir}
clamav_statedir=${statelibdir}/clamav
clamav_datadir=${clamav_statedir}
-clamav_socket=${clamav_statedir}/clamd.sock
-clamav_logfile=${clamav_statedir}/clamd.log
-clamav_pidfile=${clamav_statedir}/clamd.pid
-freshclam_logfile=${clamav_statedir}/freshclam.log
-freshclam_pidfile=${clamav_statedir}/freshclam.pid
+clamav_socket=${amavisd_home}/clamd.sock
+clamav_logfile=${logdir}/clamav/clamd.log
+clamav_pidfile=${amavisd_home}/clamd.pid
+freshclam_logfile=${logdir}/clamav/freshclam.log
+freshclam_pidfile=${sysrundir}/clamav/freshclam.pid
#--------------------------------------------------------------------
@@ -103,7 +103,7 @@
emailserver_localstatedir=${localstatedir}/spool/postfix
emailserver_confdir=${sysconfdir}/postfix
-emailserver_socket=${localstatedir}/kolab/lmtp
+emailserver_socket=${imap_statedir}/socket/lmtp
emailserver_logfile=${emailserver_localstatedir}/log/postfix.log
aliases_file=${sysconfdir}/mail/aliases
@@ -144,7 +144,7 @@
imap_misclogfile=${imap_statedir}/log/misc.log
imap_spool=${localstatedir}/spool/imap
imap_sievedir=${imap_statedir}/sieve
-imap_lmtp=${imap_statedir}/lmtp
+imap_notify_socket=${imap_statedir}/socket/notify
#####################################################################
# Proftpd parameters
@@ -219,7 +219,7 @@
webserver_runtime_status=${webserver_logdir}/apache_runtime_status
webserver_sessions=${localstatedir}/cache/httpd_sessions
-webserver_document_root=${wwwdir}/kolab
+webserver_document_root=${wwwdir}/kolab/htdocs
webserver_cgidir=${webserver_document_root}/cgi-bin
webserver_pidfile=${localstatedir}/apache/run/apache.pid
webserver_mime_magicfile=${sysconfdir}/apache/mime.magic
@@ -235,7 +235,7 @@
phpini_dir=${sysconfdir}/php/apache2-php5/
phplibdir=${datadir}/php
phplibdir2=${datadir}/php
-phppeardir=${phplibdir}/horde
+phppeardir=${phplibdir}
kolab_php_module_prefix=kolab/
kolab_php_smarty_prefix=smarty/
@@ -271,6 +271,7 @@
${emailserver_confdir}/master.cf \
${emailserver_confdir}/transport \
${emailserver_confdir}/virtual \
+ ${aliases_file} \
${sysconfdir}/conf.d/apache2 \
${sysconfdir}/conf.d/saslauthd
@@ -281,8 +282,10 @@
### -> users
-resmgr_usr=kolab
-resmgr_grp=kolab-n
+resmgr_usr=root
+resmgr_grp=root
+freebusy_usr=root
+freebusy_grp=apache
resmgr_conffile_usr=${kolab_musr}
resmgr_conffile_grp=${kolab_grp}
From cvs at kolab.org Thu Dec 14 15:39:04 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Thu, 14 Dec 2006 15:39:04 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd ChangeLog,1.83,1.84
Message-ID: <20061214143904.CCAC41006A3@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv29186/kolabd
Modified Files:
ChangeLog
Log Message:
* dist_conf/gentoo:
Updated to the newest configuration settings for Gentoo.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- ChangeLog 14 Nov 2006 21:34:22 -0000 1.83
+++ ChangeLog 14 Dec 2006 14:39:02 -0000 1.84
@@ -1,3 +1,9 @@
+2006-12-14 Gunnar Wrobel
+
+ * dist_conf/gentoo:
+
+ Updated to the newest configuration settings for Gentoo.
+
2006-11-14 Richard Bos
* dist_conf/suse, dist_conf/kolab, dist_conf/common,
dist_conf/gentoo, templates/virtual.template.in,
From cvs at kolab.org Fri Dec 15 08:55:06 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 15 Dec 2006 08:55:06 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd ChangeLog,1.84,1.85
Message-ID: <20061215075506.5D46A1005CB@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv5899/kolabd
Modified Files:
ChangeLog
Log Message:
* templates/amavisd.conf.template.in:
Added all domain names into the local domains known to amavis so
that all spam messages will get their tags. Resolves:
kolab/issue1531.
Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/ChangeLog,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- ChangeLog 14 Dec 2006 14:39:02 -0000 1.84
+++ ChangeLog 15 Dec 2006 07:55:04 -0000 1.85
@@ -1,3 +1,11 @@
+2006-12-15 Gunnar Wrobel
+
+ * templates/amavisd.conf.template.in:
+
+ Added all domain names into the local domains known to amavis so
+ that all spam messages will get their tags. Resolves:
+ kolab/issue1531.
+
2006-12-14 Gunnar Wrobel
* dist_conf/gentoo:
From cvs at kolab.org Fri Dec 15 08:55:06 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 15 Dec 2006 08:55:06 +0100 (CET)
Subject: gunnar: server/kolabd/kolabd/templates amavisd.conf.template.in, 1.6,
1.7
Message-ID: <20061215075506.59AA31005C5@lists.intevation.de>
Author: gunnar
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv5899/kolabd/templates
Modified Files:
amavisd.conf.template.in
Log Message:
* templates/amavisd.conf.template.in:
Added all domain names into the local domains known to amavis so
that all spam messages will get their tags. Resolves:
kolab/issue1531.
Index: amavisd.conf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/amavisd.conf.template.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- amavisd.conf.template.in 1 Feb 2006 20:48:14 -0000 1.6
+++ amavisd.conf.template.in 15 Dec 2006 07:55:04 -0000 1.7
@@ -178,7 +178,7 @@
# a union of domains specified in: $mydestination, $virtual_alias_domains,
# $virtual_mailbox_domains, and $relay_domains.
#
- at local_domains_acl = ( ".$mydomain" ); # $mydomain and its subdomains
+ at local_domains_acl = ( ".@@@postfix-mydestination|join(", ".)@@@" ); # $mydomain and its subdomains
# @local_domains_acl = qw(); # default is empty, no recipient treated as local
# @local_domains_acl = qw( .example.com );
# @local_domains_acl = qw( .example.com !host.sub.example.net .sub.example.net );
From cvs at kolab.org Fri Dec 15 16:00:20 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Fri, 15 Dec 2006 16:00:20 +0100 (CET)
Subject: schreiber: doc/proko2-doc doc2.sxw,1.70,1.71 doc3.sxw,1.34,1.35
Message-ID: <20061215150020.2924F1006B6@lists.intevation.de>
Author: schreiber
Update of /kolabrepository/doc/proko2-doc
In directory doto:/tmp/cvs-serv23482
Modified Files:
doc2.sxw doc3.sxw
Log Message:
added copyright statements
Index: doc2.sxw
===================================================================
RCS file: /kolabrepository/doc/proko2-doc/doc2.sxw,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
Binary files /tmp/cvstXmfzd and /tmp/cvsi5nXZl differ
Index: doc3.sxw
===================================================================
RCS file: /kolabrepository/doc/proko2-doc/doc3.sxw,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
Binary files /tmp/cvs87nsEh and /tmp/cvsUNh5Kp differ
From cvs at kolab.org Mon Dec 18 09:04:36 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 09:04:36 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/templates
systemaliasnagscreen.tpl, 1.1, 1.2
Message-ID: <20061218080436.B90DF1006B2@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates
In directory doto:/tmp/cvs-serv18431
Modified Files:
systemaliasnagscreen.tpl
Log Message:
Martin Konold: Patch from Richard Bos adding convinience link
Index: systemaliasnagscreen.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/systemaliasnagscreen.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- systemaliasnagscreen.tpl 11 Mar 2005 09:59:05 -0000 1.1
+++ systemaliasnagscreen.tpl 18 Dec 2006 08:04:34 -0000 1.2
@@ -9,6 +9,7 @@
{tr msg="NOTE:"}
-{tr msg="No account is configured to receive mail for administrative addresses. If you have not yet created an account for this, please do so and then go"}
+{tr msg="No account is configured to receive mail for administrative addresses. If you have not yet created an account for this, "}
+{tr msg="please do so"} {tr msg="and then go"}
{tr msg="here"} {tr msg="to set up forwarding of mail to administrative email addresses."}
From cvs at kolab.org Mon Dec 18 23:04:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 23:04:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/locale/es/LC_MESSAGES
messages.po, 1.3, 1.4
Message-ID: <20061218220428.A35841006A9@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/es/LC_MESSAGES
In directory doto:/tmp/cvs-serv9078/kolab-webadmin/kolab-webadmin/php/admin/locale/es/LC_MESSAGES
Modified Files:
messages.po
Log Message:
Martin Konold: Fix issue 1540
Index: messages.po
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/es/LC_MESSAGES/messages.po,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- messages.po 12 Dec 2005 00:37:05 -0000 1.3
+++ messages.po 18 Dec 2006 22:04:26 -0000 1.4
@@ -587,7 +587,7 @@
msgstr ""
#: tpl_messages.php:150
-msgid "Privileged Networks"
+msgid "Priviledged Networks"
msgstr ""
#: tpl_messages.php:151
From cvs at kolab.org Mon Dec 18 23:04:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 23:04:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/locale/de/LC_MESSAGES
messages.po, 1.16, 1.17
Message-ID: <20061218220428.A1BBE1006A8@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/de/LC_MESSAGES
In directory doto:/tmp/cvs-serv9078/kolab-webadmin/kolab-webadmin/php/admin/locale/de/LC_MESSAGES
Modified Files:
messages.po
Log Message:
Martin Konold: Fix issue 1540
Index: messages.po
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/de/LC_MESSAGES/messages.po,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- messages.po 23 Feb 2006 16:40:18 -0000 1.16
+++ messages.po 18 Dec 2006 22:04:26 -0000 1.17
@@ -714,7 +714,7 @@
msgstr "vergangenen Tagen verwenden"
#: tpl_messages.php:150
-msgid "Privileged Networks"
+msgid "Priviledged Networks"
msgstr "Privilegierte Netzwerke"
#: tpl_messages.php:151
From cvs at kolab.org Mon Dec 18 23:04:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 23:04:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/locale/nl/LC_MESSAGES
messages.po, 1.16, 1.17
Message-ID: <20061218220428.B7FD11006B5@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/nl/LC_MESSAGES
In directory doto:/tmp/cvs-serv9078/kolab-webadmin/kolab-webadmin/php/admin/locale/nl/LC_MESSAGES
Modified Files:
messages.po
Log Message:
Martin Konold: Fix issue 1540
Index: messages.po
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/nl/LC_MESSAGES/messages.po,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- messages.po 4 Feb 2006 20:45:47 -0000 1.16
+++ messages.po 18 Dec 2006 22:04:26 -0000 1.17
@@ -672,7 +672,7 @@
msgstr "Vorige dagen"
#: tpl_messages.php:150
-msgid "Privileged Networks"
+msgid "Priviledged Networks"
msgstr "Bevoorrechte netwerken"
#: tpl_messages.php:151
From cvs at kolab.org Mon Dec 18 23:04:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 23:04:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/www/admin/kolab
erfrakon.php.in, 1.1, 1.2 versions.php.in, 1.3, 1.4
Message-ID: <20061218220428.C64DB1006C3@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/kolab
In directory doto:/tmp/cvs-serv9078/kolab-webadmin/kolab-webadmin/www/admin/kolab
Modified Files:
erfrakon.php.in versions.php.in
Log Message:
Martin Konold: Fix issue 1540
Index: erfrakon.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/kolab/erfrakon.php.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- erfrakon.php.in 5 Feb 2006 20:13:55 -0000 1.1
+++ erfrakon.php.in 18 Dec 2006 22:04:26 -0000 1.2
@@ -2,7 +2,7 @@
/*
* Copyright (c) 2004 Klarälvdalens Datakonsult AB
* Copyright (c) 2003 Tassilo Erlewein
- * Copyright (c) 2003 Martin Konold
+ * Copyright (c) 2003-2006 Martin Konold
*
* Written by Steffen Hansen
*
Index: versions.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/kolab/versions.php.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- versions.php.in 5 Feb 2006 20:13:55 -0000 1.3
+++ versions.php.in 18 Dec 2006 22:04:26 -0000 1.4
@@ -2,7 +2,7 @@
/*
(c) 2004 Klarälvdalens Datakonsult AB
(c) 2003 Tassilo Erlewein
- (c) 2003 Martin Konold
+ (c) 2003-2006 Martin Konold
This program is Free Software under the GNU General Public License (>=v2).
Read the file COPYING that comes with this packages for details.
*/
@@ -35,7 +35,7 @@
$kolabversion = '@kolab_version@';
if( $kolabversion[0] == '@' ) {
// Unofficial/non-openpkg package
- $kolabversion = '2.0-unofficial';
+ $kolabversion = '2.1-official';
}
/**** Insert into template and output ***/
From cvs at kolab.org Mon Dec 18 23:04:28 2006
From: cvs at kolab.org (cvs@kolab.org)
Date: Mon, 18 Dec 2006 23:04:28 +0100 (CET)
Subject: martin: server/kolab-webadmin/kolab-webadmin/php/admin/templates
service.tpl, 1.10, 1.11
Message-ID: <20061218220428.C22FA1006BC@lists.intevation.de>
Author: martin
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates
In directory doto:/tmp/cvs-serv9078/kolab-webadmin/kolab-webadmin/php/admin/templates
Modified Files:
service.tpl
Log Message:
Martin Konold: Fix issue 1540
Index: service.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/service.tpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- service.tpl 23 Feb 2006 16:47:50 -0000 1.10
+++ service.tpl 18 Dec 2006 22:04:26 -0000 1.11
@@ -76,7 +76,7 @@
-
{tr msg="Privileged Networks"}
+
{tr msg="Priviledged Networks"}
Index: intevation.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/intevation.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- intevation.tpl 11 Mar 2005 09:59:05 -0000 1.1
+++ intevation.tpl 19 Dec 2006 11:11:36 -0000 1.2
@@ -15,14 +15,8 @@
{tr msg="The following people worked on Kolab for Intevation:"}