Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440570 - mail-client/alpine-2.00-r4: some elog messages should only be shown when upgrading from an old enough package.
Summary: mail-client/alpine-2.00-r4: some elog messages should only be shown when upgr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sascha Lucas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-11-29 19:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:29:32 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package mail-client/alpine-2.00-r4, the following elog messages are displayed:

 * 
 * This build of alpine has Maildir support built in as
 * part of the chappa-all patch.
 * 
 * If you have a maildir at ~/Maildir it will be your
 * default INBOX. The path may be changed with the
 * "maildir-location" setting in alpine.
 * 
 * To use /var/spool/mail INBOX again, set
 * "disable-these-drivers=md" in your .pinerc file.
 * 
 * Alternately, you might want to read following webpage, which explains how to
 * use multiple mailboxes simultaneously:
 * 
 * http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/
 * 
 * 
 * In order to use spell checking
 *   emerge app-dicts/aspell-\<your_langs\>
 * and setup alpine with:
 *   Speller = /usr/bin/aspell -c

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<mail-client/alpine-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'mail-client/alpine' || has_version '<mail-client/alpine-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Eray Aslan gentoo-dev 2012-11-29 19:09:18 UTC
+  29 Nov 2012; Eray Aslan <eras@gentoo.org> alpine-2.00-r5.ebuild:
+  Don't elog messages all the time - bug #440570
+