Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589458 - dev-db/mongodb: use of REPLACING_VERSIONS does not account for multiple values
Summary: dev-db/mongodb: use of REPLACING_VERSIONS does not account for multiple values
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Lujeni
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks: 589444
  Show dependency tree
 
Reported: 2016-07-23 12:16 UTC by Michał Górny
Modified: 2016-08-19 13:02 UTC (History)
2 users (show)

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 12:16:41 UTC
See the tracker bug.

  if [[ ${REPLACING_VERSIONS} < 2.6 ]]; then

1. This does not account for empty RV and RV >1 value.

2. < is lexicographical string comparison, so 10.0 < 2.6 will be true.
Comment 1 Ultrabug gentoo-dev 2016-08-19 13:02:05 UTC
Thank you Michał, I learnt something new today :)

All is fixed in tree now !