summaryrefslogtreecommitdiffstats
path: root/acompiler/virtualbox-module
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-23 17:51:37 +0000
committersibel <lesibel@free.fr>2010-12-23 17:51:37 +0000
commit2d2c025f15d1ee1f885de46e22cff84506f183d1 (patch)
treee96ff8a4f40d876bb81d4c4e09f16d8138da140e /acompiler/virtualbox-module
parent9d0a49ab47c1c9d64a87bcf0ff22115c3cd7fe5c (diff)
downloadnutyx-pakxe-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.gz
nutyx-pakxe-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.bz2
nutyx-pakxe-2d2c025f15d1ee1f885de46e22cff84506f183d1.tar.xz
nutyx-pakxe-2d2c025f15d1ee1f885de46e22cff84506f183d1.zip
virtualbox-module#4.0.0-1, maj port
Diffstat (limited to 'acompiler/virtualbox-module')
-rw-r--r--acompiler/virtualbox-module/.footprint18
-rw-r--r--acompiler/virtualbox-module/.md5sum2
-rwxr-xr-xacompiler/virtualbox-module/Pkgfile16
3 files changed, 20 insertions, 16 deletions
diff --git a/acompiler/virtualbox-module/.footprint b/acompiler/virtualbox-module/.footprint
index 910e4b5de..5f72358b1 100644
--- a/acompiler/virtualbox-module/.footprint
+++ b/acompiler/virtualbox-module/.footprint
@@ -1,9 +1,9 @@
-drwxr-xr-x root/root lib/
-drwxr-xr-x root/root lib/modules/
-drwxr-xr-x root/root lib/modules/2.6.36-NuTyX/
-drwxr-xr-x root/root lib/modules/2.6.36-NuTyX/kernel/
-drwxr-xr-x root/root lib/modules/2.6.36-NuTyX/kernel/drivers/
-drwxr-xr-x root/root lib/modules/2.6.36-NuTyX/kernel/drivers/misc/
--rw-r--r-- root/root lib/modules/2.6.36-NuTyX/kernel/drivers/misc/vboxdrv.ko
--rw-r--r-- root/root lib/modules/2.6.36-NuTyX/kernel/drivers/misc/vboxnetadp.ko
--rw-r--r-- root/root lib/modules/2.6.36-NuTyX/kernel/drivers/misc/vboxnetflt.ko
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/misc/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxdrv.ko
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetadp.ko
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetflt.ko
diff --git a/acompiler/virtualbox-module/.md5sum b/acompiler/virtualbox-module/.md5sum
index 0c2af00f0..d8e190c0b 100644
--- a/acompiler/virtualbox-module/.md5sum
+++ b/acompiler/virtualbox-module/.md5sum
@@ -1 +1 @@
-e50e4a9b76be0d58d26827ff531d4ad0 VirtualBox-3.2.10-66896-Linux_x86.run
+7a82f89abea6757231c02b42b5db90a3 VirtualBox-4.0.0-69151-Linux_amd64.run
diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile
index fad56be03..26318e92e 100755
--- a/acompiler/virtualbox-module/Pkgfile
+++ b/acompiler/virtualbox-module/Pkgfile
@@ -4,17 +4,21 @@
# Packager: thierryn1 at hispeed dot ch
name=virtualbox-module
-version=3.2.10
-release=2
+version=4.0.0
+release=1
_name=VirtualBox
-_kernel=2.6.36-NuTyX
-_build=66896
-source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
+_kernel=`uname -r`
+_build=69151
+
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
+
+source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_${_ARCH}.run)
build() {
- sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec
+ sh "VirtualBox-${version}-${_build}-Linux_${_ARCH}.run" --target "$SRC" --keep --noexec
tar xfj VirtualBox.tar.bz2
mkdir -p $PKG/lib/modules/${_kernel}/kernel/drivers/misc/