Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62959 - net-mail/cyrus-imapd-2.2.8 -> idled missing?
Summary: net-mail/cyrus-imapd-2.2.8 -> idled missing?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 55377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-05 17:27 UTC by Stefan Briesenick (RETIRED)
Modified: 2004-11-09 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild (cyrus-imapd-2.1.15-r2.ebuild,7.09 KB, text/plain)
2004-09-06 09:11 UTC, James Slater
Details
Patch that enables idled (cyrus_2-conf-idled.patch,328 bytes, patch)
2004-09-06 09:11 UTC, James Slater
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2004-09-05 17:27:48 UTC
I don't know, if this is an BUG of the ebuild or something else. I know from my SuSE days, that there's a daemon called 'idled'. 

net-mail/cyrus-imapd-2.2.8 installs /usr/share/man/man8/idled.8.gz
but no /usr/lib/cyrus/idled. strange... what happend?

Reproducible: Always
Steps to Reproduce:
Comment 1 Sven Wegener gentoo-dev 2004-09-05 18:14:38 UTC
missing configure option --with-idled=idled
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2004-09-05 18:48:37 UTC
you will fix it? ;-)
Comment 3 James Slater 2004-09-06 09:11:07 UTC
Created attachment 39063 [details]
Updated ebuild

I noticed the same thing today. idled really is a useful feature, and I don't
think people should have to resort to editing the ebuild to enable it. In any
case, installing the manual page for a feature not installed seems confusing.

I made a new version of cyrus-imapd-2.1.15.ebuild, which is what I have
installed, just to test out a couple of ideas. If someone could let me know if
I'm completely barking up the wrong tree I'd be grateful.

With the attached ebuild, if you have "cyrus-imapd" in your USE flags,
--with-idle=idled will be passed as a configure option, and if not,
--with-idle=poll (the current default) will be given. If the USE flag is not
set, the manual page is not installed.

If the new USE flag is set, idled is enabled in cyrus.conf, otherwise it is
left disabled - I'm not sure the approach I've taken to do this is the right
one though.
Comment 4 James Slater 2004-09-06 09:11:57 UTC
Created attachment 39064 [details, diff]
Patch that enables idled
Comment 5 James Slater 2004-09-06 09:12:34 UTC
Comment on attachment 39064 [details, diff]
Patch that enables idled

cyrus_2-conf-idled.patch
Comment 6 Sven Wegener gentoo-dev 2004-09-22 03:39:36 UTC
*** Bug 55377 has been marked as a duplicate of this bug. ***
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2004-10-05 12:16:33 UTC
and now? nothing happend?

remind, remind, remind. ;-)
Comment 8 Tuan Van (RETIRED) gentoo-dev 2004-10-05 12:24:40 UTC
there are 3 options for with-idle: idled, poll, and no. The attached ebuild doesn't cover all of them.
Comment 9 Sven Wegener gentoo-dev 2004-10-20 14:34:57 UTC
I think a USE flag to choose between --with-idle=idled and --with-idle=poll is
enough since it is possible to disable IDLE poll support with "imapidlepoll: 0"
in imapd.conf. From the manpage:

This option is used when idled can not be contacted or when polling is used
exclusively. The minimum  value  is 1.  A value of 0 will disable polling (and disable IDLE if polling is the only method available).
Comment 10 Tuan Van (RETIRED) gentoo-dev 2004-10-20 15:52:54 UTC
swegener, thanks! I'll include this in the next bump.
Comment 11 Tuan Van (RETIRED) gentoo-dev 2004-11-09 13:47:26 UTC
fixed in 2.2.8-r1