Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705266

Summary: =net-mail/mailgraph-1.14-r2 uses lexicographical version compare
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=589494
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705240    

Description Sergei Trofimovich (RETIRED) 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(-)