Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440552 - app-portage/gentoolkit-0.3.0.6-r3: some elog messages should only be shown when upgrading from an old enough package.
Summary: app-portage/gentoolkit-0.3.0.6-r3: some elog messages should only be shown wh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346443 first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-11-06 17: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:22 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-portage/gentoolkit-0.3.0.6-r3, the following elog messages are displayed:

 * glsa-check since gentoolkit 0.3 has modified some output,
 * options and default behavior. The list of injected GLSAs
 * has moved to /var/lib/portage/glsa_injected, please
 * run 'glsa-check -p affected' before copying the existing checkfile.

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 '<app-portage/gentoolkit-1.0'; then

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

if !has_version 'app-portage/gentoolkit' || has_version '<app-portage/gentoolkit-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2012-10-31 15:17:43 UTC
The message is already removed from the gentoolkit-9999 ebuild and will be removed from the ebuild on the next release.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2012-11-06 17:31:10 UTC
Fixed with the gentoolkit-0.3.0.7 ebuild.