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.
The message is already removed from the gentoolkit-9999 ebuild and will be removed from the ebuild on the next release.
Fixed with the gentoolkit-0.3.0.7 ebuild.