summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2009-05-18 08:45:59 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2009-05-18 08:45:59 (GMT)
commit2f1da3da4d4d18e59c80de94490da6f9e72bdf8d (patch)
tree462821f9495ad253b761f7b8b19240ec7d157ad4
parent9e5908e4e6887534b0be96f246ed46fb49af5837 (diff)
downloadserver-2f1da3da4d4d18e59c80de94490da6f9e72bdf8d.tar.gz
Moved php patches from the server/patches dir into server/php.
-rw-r--r--php/patches/Makefile57
-rw-r--r--php/patches/README_Annotations.patch (renamed from patches/php/README_Annotations.patch)0
-rw-r--r--php/patches/README_myrights.patch (renamed from patches/php/README_myrights.patch)0
-rw-r--r--php/patches/hgrc2
-rw-r--r--php/patches/php-5.2.3/KOLAB_Annotations.patch (renamed from patches/php/php-5.2.3/KOLAB_Annotations.patch)0
-rw-r--r--php/patches/php-5.2.4/KOLAB_Annotations.patch (renamed from patches/php/php-5.2.4/KOLAB_Annotations.patch)0
-rw-r--r--php/patches/php-5.2.5/KOLAB_Annotations.patch (renamed from patches/php/php-5.2.5/KOLAB_Annotations.patch)0
-rw-r--r--php/patches/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch (renamed from patches/php/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch)0
-rw-r--r--php/patches/php-5.2.6/KOLAB_php-5.2.6_myrights.patch (renamed from patches/php/php-5.2.6/KOLAB_php-5.2.6_myrights.patch)0
-rw-r--r--php/patches/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch (renamed from patches/php/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch)0
-rw-r--r--php/patches/php-5.2.8/KOLAB_php-5.2.8_myrights.patch (renamed from patches/php/php-5.2.8/KOLAB_php-5.2.8_myrights.patch)0
-rw-r--r--php/patches/php-5.2.8/series2
-rw-r--r--php/patches/php-5.2.9/KOLAB_php-5.2.9_Annotations.patch267
-rw-r--r--php/patches/php-5.2.9/KOLAB_php-5.2.9_myrights.patch79
-rw-r--r--php/patches/php-5.2.9/series2
15 files changed, 409 insertions, 0 deletions
diff --git a/php/patches/Makefile b/php/patches/Makefile
new file mode 100644
index 0000000..afd29e6
--- /dev/null
+++ b/php/patches/Makefile
@@ -0,0 +1,57 @@
+# This is a very rough draft for updating a patch series using
+# mercurial queues. The Makefile could see some optimizations but for
+# the occasional upstream update it hopefully does fine.
+#
+# Author: G. Wrobel
+
+OLD_VERSION=5.2.8
+NEW_VERSION=5.2.9
+
+PN=php
+
+SOURCE_URL=http://www.php.net/distributions/
+
+.PHONY: update
+update:
+ @if [ -d $(PN)-$(NEW_VERSION) ]; then echo "Patches for the new version do already exist!" && exit 1; fi
+ rm -rf tmp
+ mkdir -p tmp
+ cd tmp && wget $(SOURCE_URL)/$(PN)-$(OLD_VERSION).tar.bz2
+ cd tmp && tar xfj $(PN)-$(OLD_VERSION).tar.bz2
+ cd tmp/$(PN)-$(OLD_VERSION) && hg init && hg commit --addremove -m "$(PN)-$(OLD_VERSION)"
+ cd tmp && hg clone $(PN)-$(OLD_VERSION) $(PN)-PATCHED
+ cp hgrc tmp/$(PN)-PATCHED/.hg/
+ cd tmp/$(PN)-PATCHED && hg qinit
+ cp $(PN)-$(OLD_VERSION)/series tmp/$(PN)-PATCHED/.hg/patches/
+ cd $(PN)-$(OLD_VERSION); \
+ for FL in KOLAB*; do \
+ cp $$FL ../tmp/$(PN)-PATCHED/.hg/patches/$${FL/$(PN)-$(OLD_VERSION)_/}; \
+ done
+ cp $(PN)-$(OLD_VERSION)/series tmp/$(PN)-PATCHED/.hg/patches/
+ cd tmp/$(PN)-PATCHED && hg qpush -a && hg qpop -a
+ cd tmp && hg clone $(PN)-$(OLD_VERSION) $(PN)-$(NEW_VERSION)
+ cd tmp/$(PN)-$(NEW_VERSION) && hg locate -0 | xargs -0 rm
+ cd tmp && wget $(SOURCE_URL)/$(PN)-$(NEW_VERSION).tar.bz2
+ cd tmp && tar xfj $(PN)-$(NEW_VERSION).tar.bz2
+ cd tmp/$(PN)-$(NEW_VERSION) && hg commit --addremove -m "$(PN)-$(NEW_VERSION)"
+ cd tmp/$(PN)-PATCHED && hg pull ../$(PN)-$(NEW_VERSION) && hg update
+ @echo
+ @echo
+ @echo "The patch series will be pushed now. If errors occur you will need to fix them"
+ @echo "run \"hg qrefresh\" and continue with \"hg qpush\" until the full series applied"
+ @echo "successfully. Finally you may move back to the current directory and run \"make patches\""
+ @echo
+ @echo
+ cd tmp/$(PN)-PATCHED && hg qpush -a
+
+.PHONY: patches
+patches:
+ @if [ -d $(PN)-$(NEW_VERSION) ]; then echo "Patches for the new version do already exist!" && exit 1; fi
+ mkdir $(PN)-$(NEW_VERSION)
+ cd tmp/$(PN)-PATCHED/.hg/patches; \
+ for FL in KOLAB*; do \
+ cp $$FL ../../../../$(PN)-$(NEW_VERSION)/$${FL/KOLAB_/KOLAB_$(PN)-$(NEW_VERSION)_}; \
+ done
+ cp tmp/$(PN)-PATCHED/.hg/patches/series $(PN)-$(NEW_VERSION)/
+ rm -rf tmp
+
diff --git a/patches/php/README_Annotations.patch b/php/patches/README_Annotations.patch
index 40fac32..40fac32 100644
--- a/patches/php/README_Annotations.patch
+++ b/php/patches/README_Annotations.patch
diff --git a/patches/php/README_myrights.patch b/php/patches/README_myrights.patch
index 773ab79..773ab79 100644
--- a/patches/php/README_myrights.patch
+++ b/php/patches/README_myrights.patch
diff --git a/php/patches/hgrc b/php/patches/hgrc
new file mode 100644
index 0000000..425885a
--- /dev/null
+++ b/php/patches/hgrc
@@ -0,0 +1,2 @@
+[extensions]
+hgext.mq =
diff --git a/patches/php/php-5.2.3/KOLAB_Annotations.patch b/php/patches/php-5.2.3/KOLAB_Annotations.patch
index a0ca6c2..a0ca6c2 100644
--- a/patches/php/php-5.2.3/KOLAB_Annotations.patch
+++ b/php/patches/php-5.2.3/KOLAB_Annotations.patch
diff --git a/patches/php/php-5.2.4/KOLAB_Annotations.patch b/php/patches/php-5.2.4/KOLAB_Annotations.patch
index 47160a9..47160a9 100644
--- a/patches/php/php-5.2.4/KOLAB_Annotations.patch
+++ b/php/patches/php-5.2.4/KOLAB_Annotations.patch
diff --git a/patches/php/php-5.2.5/KOLAB_Annotations.patch b/php/patches/php-5.2.5/KOLAB_Annotations.patch
index c8791ef..c8791ef 100644
--- a/patches/php/php-5.2.5/KOLAB_Annotations.patch
+++ b/php/patches/php-5.2.5/KOLAB_Annotations.patch
diff --git a/patches/php/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch b/php/patches/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch
index 623dbaf..623dbaf 100644
--- a/patches/php/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch
+++ b/php/patches/php-5.2.6/KOLAB_php-5.2.6_Annotations.patch
diff --git a/patches/php/php-5.2.6/KOLAB_php-5.2.6_myrights.patch b/php/patches/php-5.2.6/KOLAB_php-5.2.6_myrights.patch
index e4576d2..e4576d2 100644
--- a/patches/php/php-5.2.6/KOLAB_php-5.2.6_myrights.patch
+++ b/php/patches/php-5.2.6/KOLAB_php-5.2.6_myrights.patch
diff --git a/patches/php/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch b/php/patches/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch
index 623dbaf..623dbaf 100644
--- a/patches/php/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch
+++ b/php/patches/php-5.2.8/KOLAB_php-5.2.8_Annotations.patch
diff --git a/patches/php/php-5.2.8/KOLAB_php-5.2.8_myrights.patch b/php/patches/php-5.2.8/KOLAB_php-5.2.8_myrights.patch
index 2bb91b3..2bb91b3 100644
--- a/patches/php/php-5.2.8/KOLAB_php-5.2.8_myrights.patch
+++ b/php/patches/php-5.2.8/KOLAB_php-5.2.8_myrights.patch
diff --git a/php/patches/php-5.2.8/series b/php/patches/php-5.2.8/series
new file mode 100644
index 0000000..cf6d8b0
--- /dev/null
+++ b/php/patches/php-5.2.8/series
@@ -0,0 +1,2 @@
+KOLAB_Annotations.patch
+KOLAB_myrights.patch
diff --git a/php/patches/php-5.2.9/KOLAB_php-5.2.9_Annotations.patch b/php/patches/php-5.2.9/KOLAB_php-5.2.9_Annotations.patch
new file mode 100644
index 0000000..623dbaf
--- /dev/null
+++ b/php/patches/php-5.2.9/KOLAB_php-5.2.9_Annotations.patch
@@ -0,0 +1,267 @@
+Provides get/set ANNOTATIONS support to PHP. [Version: 5.2.6]
+
+diff -r 4f78d3c907b7 ext/imap/php_imap.c
+--- a/ext/imap/php_imap.c Fri May 02 11:21:11 2008 +0200
++++ b/ext/imap/php_imap.c Mon Jun 09 10:35:56 2008 +0200
+@@ -129,6 +129,7 @@
+ PHP_FE(imap_binary, NULL)
+ PHP_FE(imap_utf8, NULL)
+ PHP_FE(imap_status, NULL)
++ PHP_FE(imap_status_current, NULL)
+ PHP_FE(imap_mailboxmsginfo, NULL)
+ PHP_FE(imap_setflag_full, NULL)
+ PHP_FE(imap_clearflag_full, NULL)
+@@ -155,6 +156,10 @@
+ PHP_FE(imap_setacl, NULL)
+ PHP_FE(imap_getacl, NULL)
+ #endif
++#if defined(HAVE_IMAP2005)
++ PHP_FE(imap_setannotation, NULL)
++ PHP_FE(imap_getannotation, NULL)
++#endif
+
+ PHP_FE(imap_mail, NULL)
+
+@@ -416,6 +421,30 @@
+ #endif
+
+
++#if defined(HAVE_IMAP2005)
++/* {{{ mail_getannotation
++ *
++ * Mail GET_ANNOTATION callback
++ * Called via the mail_parameter function in c-client:src/c-client/mail.c
++ */
++void mail_getannotation(MAILSTREAM *stream, ANNOTATION *alist)
++{
++ ANNOTATION_VALUES *cur;
++
++ TSRMLS_FETCH();
++
++ /* walk through the ANNOTATION_VALUES */
++
++ for(cur = alist->values; cur; cur = cur->next) {
++ if (cur->value)
++ add_assoc_stringl(IMAPG(imap_annotation_list), cur->attr, cur->value, strlen(cur->value), 1);
++ else
++ add_assoc_stringl(IMAPG(imap_annotation_list), cur->attr, "", 0, 1);
++ }
++}
++/* }}} */
++#endif
++
+ /* {{{ PHP_GINIT_FUNCTION
+ */
+ static PHP_GINIT_FUNCTION(imap)
+@@ -441,6 +470,7 @@
+ #if defined(HAVE_IMAP2000) || defined(HAVE_IMAP2001)
+ imap_globals->quota_return = NIL;
+ imap_globals->imap_acl_list = NIL;
++ imap_globals->imap_annotation_list = NIL;
+ #endif
+ imap_globals->gets_stream = NIL;
+ }
+@@ -1097,6 +1127,117 @@
+
+ #endif /* HAVE_IMAP2000 || HAVE_IMAP2001 */
+
++#if defined(HAVE_IMAP2005)
++
++/* {{{ proto bool imap_setannotation(resource stream_id, string mailbox, string entry, string attr, string value)
++ Sets an annotation for a given mailbox */
++PHP_FUNCTION(imap_setannotation)
++{
++ zval **streamind, **mailbox, **entry, **attr, **value;
++ pils *imap_le_struct;
++ long ret;
++
++ // TODO: Use zend_parse_parameters here
++ if (ZEND_NUM_ARGS() != 5 || zend_get_parameters_ex(5, &streamind, &mailbox, &entry, &attr, &value) == FAILURE) {
++ ZEND_WRONG_PARAM_COUNT();
++ }
++
++ ZEND_FETCH_RESOURCE(imap_le_struct, pils *, streamind, -1, "imap", le_imap);
++
++ convert_to_string_ex(mailbox);
++ convert_to_string_ex(entry);
++ convert_to_string_ex(attr);
++ convert_to_string_ex(value);
++
++ // create annotation object
++ ANNOTATION *annotation = mail_newannotation();
++ if (!annotation)
++ RETURN_FALSE;
++ annotation->values = mail_newannotationvalue();
++ if (!annotation->values) {
++ mail_free_annotation(&annotation);
++ RETURN_FALSE;
++ }
++
++ // fill in annotation values
++ annotation->mbox = Z_STRVAL_PP(mailbox);
++ annotation->entry = Z_STRVAL_PP(entry);
++ annotation->values->attr = Z_STRVAL_PP(attr);
++ annotation->values->value = Z_STRVAL_PP(value);
++
++ ret = imap_setannotation(imap_le_struct->imap_stream, annotation);
++
++ // make sure mail_free_annotation doesn't free our variables
++ annotation->mbox = NULL;
++ annotation->entry = NULL;
++ annotation->values->attr = NULL;
++ annotation->values->value = NULL;
++ mail_free_annotation(&annotation);
++
++ RETURN_BOOL(ret);
++}
++/* }}} */
++
++/* {{{ proto array imap_getannotation(resource stream_id, string mailbox, string entry, string attr)
++ Gets the ACL for a given mailbox */
++PHP_FUNCTION(imap_getannotation)
++{
++ zval **streamind, **mailbox, **entry, **attr;
++ pils *imap_le_struct;
++ long ret;
++
++ if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(4, &streamind, &mailbox, &entry, &attr) == FAILURE) {
++ ZEND_WRONG_PARAM_COUNT();
++ }
++
++ ZEND_FETCH_RESOURCE(imap_le_struct, pils *, streamind, -1, "imap", le_imap);
++
++ convert_to_string_ex(mailbox);
++ convert_to_string_ex(entry);
++ convert_to_string_ex(attr);
++
++ /* initializing the special array for the return values */
++ if (array_init(return_value) == FAILURE) {
++ RETURN_FALSE;
++ }
++
++ // fillup calling parameters
++ STRINGLIST *entries = mail_newstringlist();
++ if (!entries)
++ RETURN_FALSE;
++
++ STRINGLIST *cur = entries;
++ cur->text.data = (unsigned char *)cpystr(Z_STRVAL_PP(entry));
++ cur->text.size = Z_STRLEN_PP(entry);
++ cur->next = NIL;
++
++ STRINGLIST *attributes = mail_newstringlist();
++ if (!attributes)
++ RETURN_FALSE;
++ cur = attributes;
++ cur->text.data = (unsigned char *)cpystr (Z_STRVAL_PP(attr));
++ cur->text.size = Z_STRLEN_PP(attr);
++ cur->next = NIL;
++
++ IMAPG(imap_annotation_list) = return_value;
++
++ /* set the callback for the GET_ANNOTATION function */
++ mail_parameters(NIL, SET_ANNOTATION, (void *) mail_getannotation);
++ ret = imap_getannotation(imap_le_struct->imap_stream, Z_STRVAL_PP(mailbox), entries, attributes);
++
++ mail_free_stringlist(&entries);
++ mail_free_stringlist(&attributes);
++
++ if (!ret) {
++ zval_dtor(return_value);
++ RETURN_FALSE;
++ }
++
++ IMAPG(imap_annotation_list) = NIL;
++}
++/* }}} */
++
++#endif /* HAVE_IMAP2005 */
+
+ /* {{{ proto bool imap_expunge(resource stream_id)
+ Permanently delete all messages marked for deletion */
+@@ -2707,6 +2848,42 @@
+ }
+ /* }}} */
+
++/* {{{ proto object imap_status_current(resource stream_id, int options)
++ Get (cached) status info from current mailbox */
++PHP_FUNCTION(imap_status_current)
++{
++ zval **streamind, **pflags;
++ pils *imap_le_struct;
++ long flags = 0L;
++
++ if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &streamind, &pflags) == FAILURE) {
++ ZEND_WRONG_PARAM_COUNT();
++ }
++
++ ZEND_FETCH_RESOURCE(imap_le_struct, pils *, streamind, -1, "imap", le_imap);
++
++ convert_to_long_ex(pflags);
++ flags = Z_LVAL_PP(pflags);
++
++ if (object_init(return_value) == FAILURE) {
++ RETURN_FALSE;
++ }
++
++ if (flags & SA_MESSAGES) {
++ add_property_long(return_value, "messages", imap_le_struct->imap_stream->nmsgs);
++ }
++ if (flags & SA_RECENT) {
++ add_property_long(return_value, "recent", imap_le_struct->imap_stream->recent);
++ }
++ if (flags & SA_UIDNEXT) {
++ add_property_long(return_value, "uidnext", imap_le_struct->imap_stream->uid_last+1);
++ }
++ if (flags & SA_UIDVALIDITY) {
++ add_property_long(return_value, "uidvalidity", imap_le_struct->imap_stream->uid_validity);
++ }
++}
++/* }}} */
++
+ /* {{{ proto object imap_status(resource stream_id, string mailbox, int options)
+ Get status info from a mailbox */
+ PHP_FUNCTION(imap_status)
+diff -r 4f78d3c907b7 ext/imap/php_imap.h
+--- a/ext/imap/php_imap.h Fri May 02 11:21:11 2008 +0200
++++ b/ext/imap/php_imap.h Mon Jun 09 10:35:56 2008 +0200
+@@ -152,6 +152,7 @@
+ PHP_FUNCTION(imap_lsub_full);
+ PHP_FUNCTION(imap_create);
+ PHP_FUNCTION(imap_rename);
++PHP_FUNCTION(imap_status_current);
+ PHP_FUNCTION(imap_status);
+ PHP_FUNCTION(imap_bodystruct);
+ PHP_FUNCTION(imap_fetch_overview);
+@@ -168,6 +169,9 @@
+ PHP_FUNCTION(imap_thread);
+ PHP_FUNCTION(imap_timeout);
+
++// TODO: Needs fixing in configure in
++#define HAVE_IMAP2005 1
++
+ #if defined(HAVE_IMAP2000) || defined(HAVE_IMAP2001)
+ PHP_FUNCTION(imap_get_quota);
+ PHP_FUNCTION(imap_get_quotaroot);
+@@ -175,7 +179,10 @@
+ PHP_FUNCTION(imap_setacl);
+ PHP_FUNCTION(imap_getacl);
+ #endif
+-
++#if defined(HAVE_IMAP2005)
++PHP_FUNCTION(imap_setannotation);
++PHP_FUNCTION(imap_getannotation);
++#endif
+
+ ZEND_BEGIN_MODULE_GLOBALS(imap)
+ char *imap_user;
+@@ -206,6 +213,9 @@
+ zval **quota_return;
+ zval *imap_acl_list;
+ #endif
++#if defined(HAVE_IMAP2005)
++ zval *imap_annotation_list;
++#endif
+ /* php_stream for php_mail_gets() */
+ php_stream *gets_stream;
+ ZEND_END_MODULE_GLOBALS(imap)
diff --git a/php/patches/php-5.2.9/KOLAB_php-5.2.9_myrights.patch b/php/patches/php-5.2.9/KOLAB_php-5.2.9_myrights.patch
new file mode 100644
index 0000000..2bb91b3
--- /dev/null
+++ b/php/patches/php-5.2.9/KOLAB_php-5.2.9_myrights.patch
@@ -0,0 +1,79 @@
+diff -r 591dd6329e97 ext/imap/php_imap.c
+--- a/ext/imap/php_imap.c Mon Dec 22 06:35:22 2008 +0100
++++ b/ext/imap/php_imap.c Mon Dec 22 06:35:27 2008 +0100
+@@ -157,6 +157,7 @@
+ PHP_FE(imap_set_quota, NULL)
+ PHP_FE(imap_setacl, NULL)
+ PHP_FE(imap_getacl, NULL)
++ PHP_FE(imap_myrights, NULL)
+ #endif
+ #if defined(HAVE_IMAP2005)
+ PHP_FE(imap_setannotation, NULL)
+@@ -417,6 +418,20 @@
+ for(; alist; alist = alist->next) {
+ add_assoc_stringl(IMAPG(imap_acl_list), alist->identifier, alist->rights, strlen(alist->rights), 1);
+ }
++}
++/* }}} */
++
++/* {{{ mail_myrights
++ *
++ * Mail MYRIGHTS callback
++ * Called via the mail_parameter function in c-client:src/c-client/mail.c
++ */
++void mail_myrights(MAILSTREAM *stream, char *mailbox, char *rights)
++{
++ TSRMLS_FETCH();
++
++ ZVAL_STRING(IMAPG(imap_acl_list), rights, 1)
++
+ }
+ /* }}} */
+
+@@ -1130,6 +1145,35 @@
+ }
+ /* }}} */
+
++/* {{{ proto string imap_myrights(resource stream_id, string mailbox)
++ Gets my rights (ACL) for a given mailbox */
++PHP_FUNCTION(imap_myrights)
++{
++ zval **streamind, **mailbox;
++ pils *imap_le_struct;
++
++ if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &streamind, &mailbox) == FAILURE) {
++ ZEND_WRONG_PARAM_COUNT();
++ }
++
++ ZEND_FETCH_RESOURCE(imap_le_struct, pils *, streamind, -1, "imap", le_imap);
++
++ convert_to_string_ex(mailbox);
++
++ IMAPG(imap_acl_list) = return_value;
++
++ /* set the callback for the GET_ACL function */
++ mail_parameters(NIL, SET_MYRIGHTS, (void *) mail_myrights);
++ if(!imap_myrights(imap_le_struct->imap_stream, Z_STRVAL_PP(mailbox))) {
++ php_error(E_WARNING, "c-client imap_myrights failed");
++ zval_dtor(return_value);
++ RETURN_FALSE;
++ }
++
++ IMAPG(imap_acl_list) = NIL;
++}
++/* }}} */
++
+ #endif /* HAVE_IMAP2000 || HAVE_IMAP2001 */
+
+ #if defined(HAVE_IMAP2005)
+diff -r 591dd6329e97 ext/imap/php_imap.h
+--- a/ext/imap/php_imap.h Mon Dec 22 06:35:22 2008 +0100
++++ b/ext/imap/php_imap.h Mon Dec 22 06:35:27 2008 +0100
+@@ -178,6 +178,7 @@
+ PHP_FUNCTION(imap_set_quota);
+ PHP_FUNCTION(imap_setacl);
+ PHP_FUNCTION(imap_getacl);
++PHP_FUNCTION(imap_myrights);
+ #endif
+ #if defined(HAVE_IMAP2005)
+ PHP_FUNCTION(imap_setannotation);
diff --git a/php/patches/php-5.2.9/series b/php/patches/php-5.2.9/series
new file mode 100644
index 0000000..cf6d8b0
--- /dev/null
+++ b/php/patches/php-5.2.9/series
@@ -0,0 +1,2 @@
+KOLAB_Annotations.patch
+KOLAB_myrights.patch