public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh
@ 2013-12-31 17:21 Tom Wijsman (tomwij)
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Wijsman (tomwij) @ 2013-12-31 17:21 UTC (permalink / raw
  To: gentoo-commits

tomwij      13/12/31 17:21:55

  Removed:              create_vbox_modules_tarball.sh
  Log:
  [QA] Remove unused files.
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh
@ 2014-01-03 11:38 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler (polynomial-c) @ 2014-01-03 11:38 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    14/01/03 11:38:25

  Added:                create_vbox_modules_tarball.sh
  Log:
  Revert last QA commit
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.4                  app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?r1=1.3&r2=1.4






^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh
@ 2013-09-11  7:07 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler (polynomial-c) @ 2013-09-11  7:07 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    13/09/11 07:07:16

  Modified:             create_vbox_modules_tarball.sh
  Log:
  Updated tarball creation script to handle _beta and _rc versions properly
  
  (Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.2                  app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?r1=1.1&r2=1.2

Index: create_vbox_modules_tarball.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- create_vbox_modules_tarball.sh	22 Dec 2012 12:24:43 -0000	1.1
+++ create_vbox_modules_tarball.sh	11 Sep 2013 07:07:16 -0000	1.2
@@ -9,8 +9,15 @@
 [ -f "$1" ] || exit 1
 
 VBOX_PACKAGE="$1"
+VERSION_SUFFIX=""
+
+if [[ ${VBOX_PACKAGE} = *_BETA* ]] || [[ ${VBOX_PACKAGE} = *_RC* ]] ; then
+	VERSION_SUFFIX="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-[[:digit:]\.]\+\(_[[:alpha:]]\+[[:digit:]]\).*@\L\1@')"
+	
+fi
+
+VBOX_VER="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-\([[:digit:]\.]\+\).*@\1@')${VERSION_SUFFIX}"
 
-VBOX_VER="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-\([[:digit:]\.]\+\).*@\1@')"
 
 sh ${VBOX_PACKAGE} --noexec --keep --nox11 || exit 2
 cd install || exit 3





^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh
@ 2012-12-22 12:24 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Wendler (polynomial-c) @ 2012-12-22 12:24 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    12/12/22 12:24:43

  Added:                create_vbox_modules_tarball.sh
  Log:
  Version bump. Removed old
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.1                  app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.1&content-type=text/plain

Index: create_vbox_modules_tarball.sh
===================================================================
#!/bin/bash

# Create a virtualbox modules tarball from a VirtualBox binary package.
# We cannot download the package by this script because of the unpredictable 
# build number being in the filename.
# 
# usage: create_vbox_modules_tarball.sh VirtualBox-4.1.18-78361-Linux_amd64.run

[ -f "$1" ] || exit 1

VBOX_PACKAGE="$1"

VBOX_VER="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-\([[:digit:]\.]\+\).*@\1@')"

sh ${VBOX_PACKAGE} --noexec --keep --nox11 || exit 2
cd install || exit 3
tar -xaf VirtualBox.tar.bz2 || exit 4
cd src/vboxhost || exit 5
tar -cvJf ../../../vbox-kernel-module-src-${VBOX_VER}.tar.xz . || exit 6
cd ../../.. && rm install -rf

exit 0





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-03 11:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31 17:21 [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh Tom Wijsman (tomwij)
  -- strict thread matches above, loose matches on Subject: below --
2014-01-03 11:38 Lars Wendler (polynomial-c)
2013-09-11  7:07 Lars Wendler (polynomial-c)
2012-12-22 12:24 Lars Wendler (polynomial-c)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox