* [gentoo-commits] gentoo-x86 commit in net-mail/cyrus-imap-admin/files: cyrus-imap-admin-2.3.13-kolab-annotations.patch
@ 2008-10-27 19:06 Tobias Scherbaum (dertobi123)
0 siblings, 0 replies; only message in thread
From: Tobias Scherbaum (dertobi123) @ 2008-10-27 19:06 UTC (permalink / raw
To: gentoo-commits
dertobi123 08/10/27 19:06:06
Added: cyrus-imap-admin-2.3.13-kolab-annotations.patch
Log:
Version bump
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Revision Changes Path
1.1 net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.3.13-kolab-annotations.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.3.13-kolab-annotations.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.3.13-kolab-annotations.patch?rev=1.1&content-type=text/plain
Index: cyrus-imap-admin-2.3.13-kolab-annotations.patch
===================================================================
Allows to use arbitrary annotations with the cyradm tool.
diff -r 639190be2385 doc/man/cyradm.1.html
--- a/doc/man/cyradm.1.html Mon Oct 27 18:48:18 2008 +0100
+++ b/doc/man/cyradm.1.html Mon Oct 27 18:48:25 2008 +0100
@@ -245,6 +245,13 @@
<dd>
<p>Sets an email address to which messages injected into the server via NNTP
will be sent.</p>
+</dd>
+</li>
+<dt><strong><a NAME="item__2fexplicit_2fannotation"><code>/explicit/annotation</code></a></strong>
+
+<dd>
+<p>Sets the annotation <em>/explicit/annotation</em>
+on <em>mailbox</em> to <em>value</em>.</p>
</dd>
</li>
<dt><strong><a name="sharedseen" class="item"><code>sharedseen</code></a></strong>
diff -r 639190be2385 perl/imap/IMAP/Admin.pm
--- a/perl/imap/IMAP/Admin.pm Mon Oct 27 18:48:18 2008 +0100
+++ b/perl/imap/IMAP/Admin.pm Mon Oct 27 18:48:26 2008 +0100
@@ -797,11 +797,11 @@
return undef;
}
- if(!exists($values{$entry})) {
- $self->{error} = "Unknown parameter $entry";
+ if(exists($values{$entry})) {
+ $entry = $values{$entry};
+ } else {
+ $self->{error} = "Unknown parameter $entry" unless substr($entry,0,1) eq "/";
}
-
- $entry = $values{$entry};
my ($rc, $msg);
diff -r 639190be2385 perl/imap/IMAP/Shell.pm
--- a/perl/imap/IMAP/Shell.pm Mon Oct 27 18:48:18 2008 +0100
+++ b/perl/imap/IMAP/Shell.pm Mon Oct 27 18:48:26 2008 +0100
@@ -127,7 +127,7 @@
[\&_sc_info, '[mailbox]',
'display mailbox/server metadata'],
mboxcfg =>
- [\&_sc_mboxcfg, 'mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat] value',
+ [\&_sc_mboxcfg, 'mailbox [comment|condstore|news2mail|expire|sieve|squat|/<explicit annotation>] value',
'configure mailbox'],
mboxconfig => 'mboxcfg',
reconstruct =>
@@ -1437,7 +1437,7 @@
while (defined ($opt = shift(@argv))) {
last if $opt eq '--';
if ($opt =~ /^-/) {
- die "usage: mboxconfig mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat] value\n";
+ die "usage: mboxconfig mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat|/<explicit annotation>] value\n";
}
else {
push(@nargv, $opt);
@@ -1446,7 +1446,7 @@
}
push(@nargv, @argv);
if (@nargv < 2) {
- die "usage: mboxconfig mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat] value\n";
+ die "usage: mboxconfig mailbox [comment|condstore|expire|news2mail|sharedseen|sieve|squat|/<explicit annotation>] value\n";
}
if (!$cyrref || !$$cyrref) {
die "mboxconfig: no connection to server\n";
diff -r 639190be2385 perl/imap/cyradm.sh
--- a/perl/imap/cyradm.sh Mon Oct 27 18:48:18 2008 +0100
+++ b/perl/imap/cyradm.sh Mon Oct 27 18:48:26 2008 +0100
@@ -241,6 +241,10 @@
Indicates that the mailbox should have a squat index created for it.
+=item C</explicit/annotation>
+
+Sets the annotation I</explicit/annotation> on I<mailbox> to I<value>.
+
=back
=item C<renamemailbox> [C<--partition> I<partition>] I<oldname> I<newname>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-27 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 19:06 [gentoo-commits] gentoo-x86 commit in net-mail/cyrus-imap-admin/files: cyrus-imap-admin-2.3.13-kolab-annotations.patch Tobias Scherbaum (dertobi123)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox