summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/virtualbox-bin/.footprint.x86_644
-rw-r--r--extra/virtualbox-bin/.md5sum.x86_641
-rwxr-xr-xextra/virtualbox-bin/Pkgfile14
-rw-r--r--extra/virtualbox-bin/post-install3
4 files changed, 18 insertions, 4 deletions
diff --git a/extra/virtualbox-bin/.footprint.x86_64 b/extra/virtualbox-bin/.footprint.x86_64
index 6aeb6090f..a95ad09d3 100644
--- a/extra/virtualbox-bin/.footprint.x86_64
+++ b/extra/virtualbox-bin/.footprint.x86_64
@@ -4,6 +4,7 @@ drwxr-xr-x root/root etc/udev/rules.d/
-rw-r--r-- root/root etc/udev/rules.d/60-vboxdrv.rules
drwxr-xr-x root/root etc/vbox/
-rw-r--r-- root/root etc/vbox/vbox.cfg
+-rw-r--r-- root/root etc/vbox/vbox.cfgi
drwxr-xr-x root/root opt/
drwxr-xr-x root/root opt/VirtualBox/
-rw-r--r-- root/root opt/VirtualBox/LICENSE
@@ -595,3 +596,6 @@ drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/virtualbox.desktop
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/VBox.png
+drwxr-xr-x root/root usr/share/virtualbox/
+drwxr-xr-x root/root usr/share/virtualbox/extensions/
+-rw-r--r-- root/root usr/share/virtualbox/extensions/vbox-extpack
diff --git a/extra/virtualbox-bin/.md5sum.x86_64 b/extra/virtualbox-bin/.md5sum.x86_64
index 0f7a3eef3..31ded3cb9 100644
--- a/extra/virtualbox-bin/.md5sum.x86_64
+++ b/extra/virtualbox-bin/.md5sum.x86_64
@@ -1 +1,2 @@
+1fe21f417ed4b53714fe9c851871bed4 Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344.vbox-extpack
133cfbb8dc11da780b24f1ef5ef06697 VirtualBox-4.0.6-71344-Linux_amd64.run
diff --git a/extra/virtualbox-bin/Pkgfile b/extra/virtualbox-bin/Pkgfile
index 01d582dab..e84b51181 100755
--- a/extra/virtualbox-bin/Pkgfile
+++ b/extra/virtualbox-bin/Pkgfile
@@ -6,13 +6,16 @@
name=virtualbox-bin
version=4.0.6
-release=1
+release=2
_release=71344
+_name=Oracle_VM_VirtualBox_Extension_Pack
+
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
-source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run)
+source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run
+ http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_release}.vbox-extpack)
build() {
sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.run --keep --noexec --target $SRC/
@@ -37,6 +40,9 @@ build() {
echo "# VirtualBox installation directory" > \
$PKG/etc/vbox/vbox.cfg
echo "INSTALL_DIR="\"/opt/VirtualBox\" >> \
- $PKG/etc/vbox/vbox.cfg
+ $PKG/etc/vbox/vbox.cfgi
+
+ install -D -m 644 $SRC/${_name}-$version-${_release}.vbox-extpack \
+ $PKG/usr/share/virtualbox/extensions/vbox-extpack
}
-
+
diff --git a/extra/virtualbox-bin/post-install b/extra/virtualbox-bin/post-install
new file mode 100644
index 000000000..a1542cf4f
--- /dev/null
+++ b/extra/virtualbox-bin/post-install
@@ -0,0 +1,3 @@
+modprobe -i vboxdrv
+modprobe -i vboxnetflt
+VBoxManage extpack install /usr/share/virtualbox/extensions/vbox-extpack