summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-03-27 12:14:29 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-03-27 12:14:29 +0000
commit35cbac76717e1493cddbc4a386fd416ab16757a9 (patch)
treedd4dae6b4b2c904c0a92eeaca1c9ccbb8fddb996 /app-emulation/virtualbox-bin
parentVersion bump. (diff)
downloadgentoo-2-35cbac76717e1493cddbc4a386fd416ab16757a9.tar.gz
gentoo-2-35cbac76717e1493cddbc4a386fd416ab16757a9.tar.bz2
gentoo-2-35cbac76717e1493cddbc4a386fd416ab16757a9.zip
Fixed version logic for _beta and _rc versions
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r--app-emulation/virtualbox-bin/ChangeLog6
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild7
2 files changed, 8 insertions, 5 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog
index 890c23042444..959b0cdc30bb 100644
--- a/app-emulation/virtualbox-bin/ChangeLog
+++ b/app-emulation/virtualbox-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox-bin
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.177 2014/03/27 12:10:14 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.178 2014/03/27 12:14:29 polynomial-c Exp $
+
+ 27 Mar 2014; Lars Wendler <polynomial-c@gentoo.org>
+ virtualbox-bin-4.3.10.93012.ebuild:
+ Fixed version logic for _beta and _rc versions.
*virtualbox-bin-4.3.10.93012 (27 Mar 2014)
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild
index 6254e1c987a4..477b77e4a392 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild,v 1.1 2014/03/27 12:10:14 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild,v 1.2 2014/03/27 12:14:29 polynomial-c Exp $
EAPI=5
@@ -8,14 +8,13 @@ inherit eutils fdo-mime gnome2 pax-utils udev unpacker versionator
MAIN_PV="$(get_version_component_range 1-3)"
if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
- MY_PV="${MAIN_PV}_$(get_version_component_range 4)"
+ MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
MY_PV="${MY_PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
- VBOX_BUILD_ID="$(get_version_component_range 5)"
else
MY_PV="${MAIN_PV}"
- VBOX_BUILD_ID="$(get_version_component_range 4)"
fi
+VBOX_BUILD_ID="$(get_version_component_range 4)"
VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
MY_P="VirtualBox-${VBOX_PV}-Linux"
# needed as sometimes the extpack gets another build ID