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

Bug 589526

Summary: sys-cluster/torque: use of REPLACING_VERSIONS does not account for multiple values
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: QA CC: axs, ruknez
Priority: Normal Keywords: QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 589444    
Attachments: deprecated
torque.ebuild.patch

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 13:04:50 UTC
See the tracker bug.

  if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; then

Doesn't account for >1 value in RV. Also uses lexicographical string comparison, so 10 < 4.
Comment 1 ruknez 2017-04-11 20:51:22 UTC
Created attachment 469782 [details, diff]
deprecated
Comment 2 ruknez 2017-04-11 20:59:25 UTC
Hi, I fixed this bug for all fies in this directory. (.../sys-cluster/torque)

Add an attachment with git diff.
Comment 3 ruknez 2017-04-12 08:30:43 UTC
Created attachment 469796 [details, diff]
torque.ebuild.patch

Fixed patch`s file
Comment 4 ruknez 2017-04-12 08:56:52 UTC
Comment on attachment 469796 [details, diff]
torque.ebuild.patch

Here You can see git diff (Between old files and new and now without Manifest)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-07 02:25:46 UTC
Fixed a while ago.