Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440578 - net-print/cups-1.5.2-r4: some elog messages should only be shown when upgrading from an old enough package.
Summary: net-print/cups-1.5.2-r4: some elog messages should only be shown when upgradi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2013-03-24 20:31 UTC (History)
0 users

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:35 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-print/cups-1.5.2-r4, the following elog messages are displayed:

 * Network browsing for printers is now switched off by default in the config file.
 * To (re-)enable it, edit /etc/cups/cupsd.conf and set "Browsing On", 
 * afterwards re-start or reload cups.

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 '<net-print/cups-1.0'; then

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

if !has_version 'net-print/cups' || has_version '<net-print/cups-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.