Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133529 Details for
Bug 194361
Patch: Add Kolab support to the cyrus-imapd package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the net-mail/cyrus-imap-admin directory
PORTAGE_net-mail_cyrus-imap-admin_Kolab.patch (text/plain), 3.96 KB, created by
Gunnar Wrobel (RETIRED)
on 2007-10-15 09:59:51 UTC
(
hide
)
Description:
Patch for the net-mail/cyrus-imap-admin directory
Filename:
MIME Type:
Creator:
Gunnar Wrobel (RETIRED)
Created:
2007-10-15 09:59:51 UTC
Size:
3.96 KB
patch
obsolete
>diff -r 552dbcc1e4bb cyrus-imap-admin-2.3.9.ebuild >--- a/cyrus-imap-admin-2.3.9.ebuild Mon Oct 15 11:50:01 2007 +0200 >+++ b/cyrus-imap-admin-2.3.9.ebuild Mon Oct 15 11:54:16 2007 +0200 >@@ -12,7 +12,7 @@ LICENSE="as-is" > LICENSE="as-is" > SLOT="0" > KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~hppa ~ppc64" >-IUSE="ssl kerberos" >+IUSE="ssl kerberos kolab" > > RDEPEND=">=sys-libs/db-3.2 > >=dev-lang/perl-5.6.1 >@@ -43,6 +43,10 @@ src_unpack() { > # When linking with rpm, you need to link with more libraries. > sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed" > >+ # Add kolab support. >+ if use kolab ; then >+ epatch "${FILESDIR}/cyrus-imap-admin-2.3.9-KOLAB_Annotations.patch" || die "epatch failed" >+ fi > } > > src_compile() { >diff -r 552dbcc1e4bb files/cyrus-imap-admin-2.3.9-KOLAB_Annotations.patch >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/files/cyrus-imap-admin-2.3.9-KOLAB_Annotations.patch Mon Oct 15 11:54:16 2007 +0200 >@@ -0,0 +1,83 @@ >+Allows to use arbitrary annotations with the cyradm tool. >+ >+diff -r 124e8301a15d doc/man/cyradm.1.html >+--- a/doc/man/cyradm.1.html Mon Oct 01 11:18:56 2007 +0200 >++++ b/doc/man/cyradm.1.html Thu Oct 11 08:14:56 2007 +0200 >+@@ -255,6 +255,13 @@ mailboxes).</p> >+ <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> >+ </dl> >+diff -r 124e8301a15d perl/imap/IMAP/Admin.pm >+--- a/perl/imap/IMAP/Admin.pm Mon Oct 01 11:18:56 2007 +0200 >++++ b/perl/imap/IMAP/Admin.pm Thu Oct 11 08:14:56 2007 +0200 >+@@ -795,11 +795,11 @@ sub mboxconfig { >+ return undef; >+ } >+ >+- if(!exists($values{$entry})) { >+- $self->{error} = "Unknown parameter $entry"; >+- } >+- >+- $entry = $values{$entry}; >++ if(exists($values{$entry})) { >++ $entry = $values{$entry}; >++ } else { >++ $self->{error} = "Unknown parameter $entry" unless substr($entry,0,1) eq "/"; >++ } >+ >+ my ($rc, $msg); >+ >+diff -r 124e8301a15d perl/imap/IMAP/Shell.pm >+--- a/perl/imap/IMAP/Shell.pm Mon Oct 01 11:18:56 2007 +0200 >++++ b/perl/imap/IMAP/Shell.pm Thu Oct 11 08:14:56 2007 +0200 >+@@ -126,7 +126,7 @@ my %builtins = (exit => >+ [\&_sc_info, '[mailbox]', >+ 'display mailbox/server metadata'], >+ mboxcfg => >+- [\&_sc_mboxcfg, 'mailbox [comment|condstore|news2mail|expire|sieve|squat] value', >++ [\&_sc_mboxcfg, 'mailbox [comment|condstore|news2mail|expire|sieve|squat|/<explicit annotation>] value', >+ 'configure mailbox'], >+ mboxconfig => 'mboxcfg', >+ reconstruct => >+@@ -1424,7 +1424,7 @@ sub _sc_mboxcfg { >+ while (defined ($opt = shift(@argv))) { >+ last if $opt eq '--'; >+ if ($opt =~ /^-/) { >+- die "usage: mboxconfig mailbox [comment|condstore|news2mail|expire|sieve|squat] value\n"; >++ die "usage: mboxconfig mailbox [comment|condstore|news2mail|expire|sieve|squat|/<explicit annotation>] value\n"; >+ } >+ else { >+ push(@nargv, $opt); >+@@ -1433,7 +1433,7 @@ sub _sc_mboxcfg { >+ } >+ push(@nargv, @argv); >+ if (@nargv < 2) { >+- die "usage: mboxconfig mailbox [comment|condstore|news2mail|expire|sieve|squat] value\n"; >++ die "usage: mboxconfig mailbox [comment|condstore|news2mail|expire|sieve|squat|/<explicit annotation>] value\n"; >+ } >+ if (!$cyrref || !$$cyrref) { >+ die "mboxconfig: no connection to server\n"; >+diff -r 124e8301a15d perl/imap/cyradm.sh >+--- a/perl/imap/cyradm.sh Mon Oct 01 11:18:56 2007 +0200 >++++ b/perl/imap/cyradm.sh Thu Oct 11 08:14:56 2007 +0200 >+@@ -235,6 +235,10 @@ Sets an email address to which messages >+ Sets an email address to which messages injected into the server via NNTP >+ will be sent. >+ >++=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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194361
:
132300
|
133528
|
133529
|
150164