From 2a380d592e346419b10aec7d7e150788a0a8a6a3 Mon Sep 17 00:00:00 2001 From: tnut Date: Fri, 1 Jul 2011 19:34:43 +0200 Subject: virtualbox-module ds ouvert --- base/virtualbox-module/.footprint.i686 | 9 --------- base/virtualbox-module/.footprint.x86_64 | 9 --------- base/virtualbox-module/.md5sum.i686 | 1 - base/virtualbox-module/.md5sum.x86_64 | 1 - base/virtualbox-module/Pkgfile | 34 -------------------------------- base/virtualbox-module/post-install | 18 ----------------- 6 files changed, 72 deletions(-) delete mode 100644 base/virtualbox-module/.footprint.i686 delete mode 100644 base/virtualbox-module/.footprint.x86_64 delete mode 100644 base/virtualbox-module/.md5sum.i686 delete mode 100644 base/virtualbox-module/.md5sum.x86_64 delete mode 100755 base/virtualbox-module/Pkgfile delete mode 100755 base/virtualbox-module/post-install diff --git a/base/virtualbox-module/.footprint.i686 b/base/virtualbox-module/.footprint.i686 deleted file mode 100644 index 5f72358b1..000000000 --- a/base/virtualbox-module/.footprint.i686 +++ /dev/null @@ -1,9 +0,0 @@ -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/modules/ -drwxr-xr-x root/root lib/modules// -drwxr-xr-x root/root lib/modules//kernel/ -drwxr-xr-x root/root lib/modules//kernel/drivers/ -drwxr-xr-x root/root lib/modules//kernel/drivers/misc/ --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxdrv.ko --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxnetadp.ko --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxnetflt.ko diff --git a/base/virtualbox-module/.footprint.x86_64 b/base/virtualbox-module/.footprint.x86_64 deleted file mode 100644 index 5f72358b1..000000000 --- a/base/virtualbox-module/.footprint.x86_64 +++ /dev/null @@ -1,9 +0,0 @@ -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/modules/ -drwxr-xr-x root/root lib/modules// -drwxr-xr-x root/root lib/modules//kernel/ -drwxr-xr-x root/root lib/modules//kernel/drivers/ -drwxr-xr-x root/root lib/modules//kernel/drivers/misc/ --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxdrv.ko --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxnetadp.ko --rw-r--r-- root/root lib/modules//kernel/drivers/misc/vboxnetflt.ko diff --git a/base/virtualbox-module/.md5sum.i686 b/base/virtualbox-module/.md5sum.i686 deleted file mode 100644 index 37e783bf1..000000000 --- a/base/virtualbox-module/.md5sum.i686 +++ /dev/null @@ -1 +0,0 @@ -6c71a946009f0ab9f95b86ddda7bdd16 VirtualBox-4.0.10-72479-Linux_x86.run diff --git a/base/virtualbox-module/.md5sum.x86_64 b/base/virtualbox-module/.md5sum.x86_64 deleted file mode 100644 index 1293c3a4b..000000000 --- a/base/virtualbox-module/.md5sum.x86_64 +++ /dev/null @@ -1 +0,0 @@ -fdb63afa11039900e321ffaa8e56b73c VirtualBox-4.0.10-72479-Linux_amd64.run diff --git a/base/virtualbox-module/Pkgfile b/base/virtualbox-module/Pkgfile deleted file mode 100755 index aecffc957..000000000 --- a/base/virtualbox-module/Pkgfile +++ /dev/null @@ -1,34 +0,0 @@ -# Description: Modules kernel pour virtualbox -# URL: http://www.virtualbox.org -# Maintainer: NutyX core team -# Packager: thierryn1 at hispeed dot ch - -name=virtualbox-module -version=4.0.10 -release=1 -_name=VirtualBox -_kernel=`uname -r` -_build=72479 - -[ "`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_${_ARCH}.run" --target "$SRC" --keep --noexec - tar xfj VirtualBox.tar.bz2 - - mkdir -p $PKG/lib/modules/${_kernel}/kernel/drivers/misc/ - cd $SRC/src/vboxhost/ - - KERNELRELEASE=${_kernel} KERN_DIR=/usr/src/linux-`echo ${_kernel}|sed "s/-NuTyX//"` make - - for i in vboxdrv.ko vboxnetflt.ko vboxnetadp.ko - do - install -D -m0644 $i \ - $PKG/lib/modules/${_kernel}/kernel/drivers/misc/$i - done -} diff --git a/base/virtualbox-module/post-install b/base/virtualbox-module/post-install deleted file mode 100755 index 2932233e5..000000000 --- a/base/virtualbox-module/post-install +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Mettre a jour les modules -depmod - -# Si pas de groupe vboxusers on en creer un -/usr/bin/getent group vboxusers || /usr/sbin/groupadd -g 80 vboxusers - -# Ajout du module dans /etc/sysconfig/modules -if ! grep "vboxdrv" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxdrv' /etc/sysconfig/modules -fi -if ! grep "vboxnetflt" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxnetflt' /etc/sysconfig/modules -fi - - -# End of File - -- cgit v1.2.3-70-g09d2