Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705266 - =net-mail/mailgraph-1.14-r2 uses lexicographical version compare
Summary: =net-mail/mailgraph-1.14-r2 uses lexicographical version compare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 705240
  Show dependency tree
 
Reported: 2020-01-12 11:32 UTC by Sergei Trofimovich
Modified: 2020-04-19 14:53 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 Sergei Trofimovich gentoo-dev 2020-01-12 11:32:50 UTC
net-mail/mailgraph uses lexicographical string version compare:

net-mail/mailgraph/mailgraph-1.14-r2.ebuild:	if [[ ${REPLACING_VERSIONS} < 1.13 ]] ; then

The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.
Comment 1 Larry the Git Cow gentoo-dev 2020-04-19 14:53:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29341308ed16c5648cbd29179a68dd72e212e5cf

commit 29341308ed16c5648cbd29179a68dd72e212e5cf
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-04-19 14:53:09 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-04-19 14:53:27 +0000

    net-mail/mailgraph: drop lexicographical version compare
    
    Drop comparison against long removed version and also drop
    unsafe 'chown' calls in pkg_*() phase.
    
    Closes: https://bugs.gentoo.org/705266
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 net-mail/mailgraph/mailgraph-1.14-r2.ebuild | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)