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

Bug 589504

Summary: net-p2p/syncthing: use of REPLACING_VERSIONS does not account for multiple values
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Louis Sautier (sbraz) <sbraz>
Status: RESOLVED FIXED    
Severity: QA CC: djc, proxy-maint
Priority: Normal Keywords: QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo/gentoo/pull/1940
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 589444    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-23 12:56:57 UTC
See the tracker bug.

  if [[ $(get_version_component_range 2) -gt \
    $(get_version_component_range 2 ${REPLACING_VERSIONS}) ]]; then

This is going to fail hard when RV is empty or has >1 value.
Comment 1 Patrice Clement gentoo-dev 2016-07-23 21:13:33 UTC
commit 4a6300dcd54d9152be1e025c1c4b1fbd47653b75 (HEAD)
Author:     Louis Sautier <sautier.louis@gmail.com>
AuthorDate: Fri Jul 22 00:34:58 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Sat Jul 23 23:08:35 2016 +0200

net-p2p/syncthing: bump to 0.14.0

Gentoo-Bug: https://bugs.gentoo.org/589236
Gentoo-Bug: https://bugs.gentoo.org/589504
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/1940

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

net-p2p/syncthing/Manifest                |   1 +
net-p2p/syncthing/syncthing-0.14.0.ebuild | 111 ++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
create mode 100644 net-p2p/syncthing/syncthing-0.14.0.ebuild

Commited, thanks!