Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72422 - --enable-buffy-size configure option for mutt
Summary: --enable-buffy-size configure option for mutt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 23:48 UTC by Moshe Kamensky
Modified: 2005-03-17 14:58 UTC (History)
2 users (show)

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


Attachments
mutt-1.5.8-r2 ebuild with buffy-size workaround and "emake" instead of "make" (mutt-1.5.8-r2.ebuild,4.34 KB, text/plain)
2005-03-16 23:49 UTC, Christopher Korn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moshe Kamensky 2004-11-24 23:48:54 UTC
Please add an option to compile mutt with --enable-buffy-size. Without this 
option, when the mailbox is on a remote directory (mounted using shfs, for 
example), differences in time between the local and remote machine may cause 
mutt not to recognize new email.

Reproducible: Always
Steps to Reproduce:

1.
2.
3.
Comment 1 Alain Bench 2004-11-25 13:25:36 UTC
Yes, but +BUFFY_SIZE is a workaround. Perhaps better fix the problem.
Like using ntpd to keep machines at exact time. It's important and easy.
Example here all machines are synced bellow one millisecond of UTC. Now
while writing this, my box is at -238
Comment 2 Alain Bench 2004-11-25 13:25:36 UTC
Yes, but +BUFFY_SIZE is a workaround. Perhaps better fix the problem.
Like using ntpd to keep machines at exact time. It's important and easy.
Example here all machines are synced bellow one millisecond of UTC. Now
while writing this, my box is at -238µs...
Comment 3 Moshe Kamensky 2004-11-25 21:58:13 UTC
Yes, but it might be that you have no control over the remote machine. In my 
case, the directory with the mail folders is mounted via shfs from a machine 
where I'm just a regular user.
Comment 4 Christopher Korn 2005-03-16 23:34:05 UTC
--enable-buffy-size is a (ugly?) workaround. unfortunately. 

But i think Gentoo's the right distribution for such workarounds. An additional USE flag won't hurt. 
I'll check this and consider adding it to a new ebuild. I hope the dev's are kind enough to add it. :)
Comment 5 Christopher Korn 2005-03-16 23:49:47 UTC
Created attachment 53680 [details]
mutt-1.5.8-r2 ebuild with buffy-size workaround and "emake" instead of "make"

Ok. Here we go. 

I think a try really won't hurt. 
This ebuild has a "buffysize" useflag and a little information is displayed if
USE="buffysize" is used. 

I also converted "make" to "emake" as requested in Bug #83413.

Hope it works. It would be nice if you could test it too.
Comment 6 Moshe Kamensky 2005-03-17 04:59:24 UTC
Seems to work fine, thanks!
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2005-03-17 14:58:48 UTC
Ok, it's in portage as mutt-1.5.8-r2.

Thanks especially to Chris for the ebuild modifications.  That helps a lot to get things into portage.