fail2ban-0.8.0-r1 ebuild contains following code: pkg_postinst() { elog elog "Configuration files are now in /etc/fail2ban/" elog "You probably have to manually update your configuration" elog "files before restarting Fail2ban!" elog elog "Fail2ban is not installed under /usr/lib anymore. The" elog "new location is under /usr/share." elog elog "If you are upgrading from version 0.6.x see:" elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8" } IMHO some parts of it should be made conditional, at least the part about "If you are upgrading from version 0.6.x ...". It can be accomplished using has_version, according to http://devmanual.gentoo.org/ebuild-writing/functions/pkg_postinst/ So the fragment of code above would look like if has_version '<net-analyzer-0.7'; then # elogs here fi Of course I suggest making conditional other elogs in postinst here, just I'm not sure about versions when it changed. Rationale: when I'm updating system I often don't remember whether previous version was 0.7.x or 0.6.x etc. Of course it can be checked in emerge.log, but it would be much easier and more friendly if I could just see relevant elogs.
(In reply to comment #0) > if has_version '<net-analyzer-0.7'; then Needs a valid atom... ;)
Fixed in 0.8.0 and 0.8.0-r1, thanks