From 64a979de34d16c63c52b792a8cfdb0b13b2f9387 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 19 Feb 2011 18:53:08 +0100 Subject: nvidia ds base et maj des md5sum --- acompiler/nvidia/.footprint.i686 | 36 ------------------------- acompiler/nvidia/.footprint.x86_64 | 36 ------------------------- acompiler/nvidia/.md5sum.i686 | 1 - acompiler/nvidia/.md5sum.x86_64 | 1 - acompiler/nvidia/Pkgfile | 54 -------------------------------------- acompiler/nvidia/post-install | 2 -- acompiler/nvidia/pre-install | 3 --- base/nvidia/.footprint.i686 | 36 +++++++++++++++++++++++++ base/nvidia/.footprint.x86_64 | 36 +++++++++++++++++++++++++ base/nvidia/.md5sum.i686 | 1 + base/nvidia/.md5sum.x86_64 | 1 + base/nvidia/Pkgfile | 53 +++++++++++++++++++++++++++++++++++++ base/nvidia/post-install | 2 ++ base/nvidia/pre-install | 3 +++ 14 files changed, 132 insertions(+), 133 deletions(-) delete mode 100644 acompiler/nvidia/.footprint.i686 delete mode 100644 acompiler/nvidia/.footprint.x86_64 delete mode 100644 acompiler/nvidia/.md5sum.i686 delete mode 100644 acompiler/nvidia/.md5sum.x86_64 delete mode 100755 acompiler/nvidia/Pkgfile delete mode 100644 acompiler/nvidia/post-install delete mode 100644 acompiler/nvidia/pre-install create mode 100644 base/nvidia/.footprint.i686 create mode 100644 base/nvidia/.footprint.x86_64 create mode 100644 base/nvidia/.md5sum.i686 create mode 100644 base/nvidia/.md5sum.x86_64 create mode 100755 base/nvidia/Pkgfile create mode 100644 base/nvidia/post-install create mode 100644 base/nvidia/pre-install diff --git a/acompiler/nvidia/.footprint.i686 b/acompiler/nvidia/.footprint.i686 deleted file mode 100644 index 67fa775dd..000000000 --- a/acompiler/nvidia/.footprint.i686 +++ /dev/null @@ -1,36 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/X11/ -drwxr-xr-x root/root etc/X11/xorg.conf.d/ --rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf -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/video/ -drwxr-xr-x root/root lib/modules//kernel/video/nvidia/ --rw-r--r-- root/root lib/modules//kernel/video/nvidia/nvidia.ko -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/lib/ --rwxr-xr-x root/root usr/lib/libGL.so.260.19.36 --rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0 --rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a --rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.260.19.36 --rwxr-xr-x root/root usr/lib/libcuda.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-tls.so.260.19.36 --rwxr-xr-x root/root usr/lib/libvdpau.so.260.19.36 -drwxr-xr-x root/root usr/lib/tls/ --rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.260.19.36 -drwxr-xr-x root/root usr/lib/vdpau/ --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.260.19.36 --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.260.19.36 -drwxr-xr-x root/root usr/lib/xorg/ -drwxr-xr-x root/root usr/lib/xorg/modules/ -drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ --rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so -drwxr-xr-x root/root usr/lib/xorg/modules/extensions/ -lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.so.260.19.36 --rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.260.19.36 --rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.260.19.36 diff --git a/acompiler/nvidia/.footprint.x86_64 b/acompiler/nvidia/.footprint.x86_64 deleted file mode 100644 index 67fa775dd..000000000 --- a/acompiler/nvidia/.footprint.x86_64 +++ /dev/null @@ -1,36 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/X11/ -drwxr-xr-x root/root etc/X11/xorg.conf.d/ --rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf -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/video/ -drwxr-xr-x root/root lib/modules//kernel/video/nvidia/ --rw-r--r-- root/root lib/modules//kernel/video/nvidia/nvidia.ko -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/lib/ --rwxr-xr-x root/root usr/lib/libGL.so.260.19.36 --rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0 --rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a --rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.260.19.36 --rwxr-xr-x root/root usr/lib/libcuda.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.260.19.36 --rwxr-xr-x root/root usr/lib/libnvidia-tls.so.260.19.36 --rwxr-xr-x root/root usr/lib/libvdpau.so.260.19.36 -drwxr-xr-x root/root usr/lib/tls/ --rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.260.19.36 -drwxr-xr-x root/root usr/lib/vdpau/ --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.260.19.36 --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.260.19.36 -drwxr-xr-x root/root usr/lib/xorg/ -drwxr-xr-x root/root usr/lib/xorg/modules/ -drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ --rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so -drwxr-xr-x root/root usr/lib/xorg/modules/extensions/ -lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.so.260.19.36 --rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.260.19.36 --rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.260.19.36 diff --git a/acompiler/nvidia/.md5sum.i686 b/acompiler/nvidia/.md5sum.i686 deleted file mode 100644 index 8b171229c..000000000 --- a/acompiler/nvidia/.md5sum.i686 +++ /dev/null @@ -1 +0,0 @@ -88376a73c8ba487526a6f62ac82c7c75 NVIDIA-Linux-x86_64-260.19.36.run diff --git a/acompiler/nvidia/.md5sum.x86_64 b/acompiler/nvidia/.md5sum.x86_64 deleted file mode 100644 index 8b171229c..000000000 --- a/acompiler/nvidia/.md5sum.x86_64 +++ /dev/null @@ -1 +0,0 @@ -88376a73c8ba487526a6f62ac82c7c75 NVIDIA-Linux-x86_64-260.19.36.run diff --git a/acompiler/nvidia/Pkgfile b/acompiler/nvidia/Pkgfile deleted file mode 100755 index 65bc17696..000000000 --- a/acompiler/nvidia/Pkgfile +++ /dev/null @@ -1,54 +0,0 @@ -# Description: Pilotes pour les cartes graphiques NVIDIA -# URL: http://www.nvidia.com/object/unix.html -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch -# Depends on: xorg-server - -name=nvidia -version=260.19.36 -release=1 -[ "`uname -m`" == "i686" ] && _ARCH=x86 -[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 -source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run) - -build() { - sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only - cd NVIDIA-Linux-${_ARCH}-$version - - # librairies - install -d $PKG/usr/lib/{tls,vdpau} - for i in libGL.so.$version libOpenCL.so.1.0.0 libXvMCNVIDIA.so.$version \ - libcuda.so.$version libnvidia-cfg.so.$version libnvidia-compiler.so.$version \ - libnvidia-glcore.so.$version libnvidia-tls.so.$version libnvidia-tls.so.$version \ - libvdpau.so.$version - do - install -m 0755 $i $PKG/usr/lib - done - for i in libvdpau_nvidia.so.$version libvdpau_trace.so.$version - do - install -m 0755 $i $PKG/usr/lib/vdpau - done - install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib/tls - install -m 0644 libXvMCNVIDIA.a $PKG/usr/lib - # xorg driver/extensions - install -d $PKG/usr/lib/xorg/modules/{drivers,extensions} - install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers - install -m 0755 libglx.so.$version $PKG/usr/lib/xorg/modules/extensions - ln -s libglx.so.$version $PKG/usr/lib/xorg/modules/extensions/libglx.so - install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/xorg/modules - # build the module - cd kernel - ln -s Makefile{.kbuild,} - IGNORE_CC_MISMATCH=1 make module - - # install it - install -m 0644 -D nvidia.ko \ - $PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko - mkdir -p $PKG/etc/X11/xorg.conf.d -cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF" -Section "Device" - Identifier "NVIDIA" - Driver "nvidia" -EndSection -EOF -} diff --git a/acompiler/nvidia/post-install b/acompiler/nvidia/post-install deleted file mode 100644 index 4772910f3..000000000 --- a/acompiler/nvidia/post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -depmod diff --git a/acompiler/nvidia/pre-install b/acompiler/nvidia/pre-install deleted file mode 100644 index a1ee5214f..000000000 --- a/acompiler/nvidia/pre-install +++ /dev/null @@ -1,3 +0,0 @@ -if ( pkginfo -i | grep libgl > /dev/null ) ; then - pkgrm libgl -fi diff --git a/base/nvidia/.footprint.i686 b/base/nvidia/.footprint.i686 new file mode 100644 index 000000000..67fa775dd --- /dev/null +++ b/base/nvidia/.footprint.i686 @@ -0,0 +1,36 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +drwxr-xr-x root/root etc/X11/xorg.conf.d/ +-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf +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/video/ +drwxr-xr-x root/root lib/modules//kernel/video/nvidia/ +-rw-r--r-- root/root lib/modules//kernel/video/nvidia/nvidia.ko +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libGL.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0 +-rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a +-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libcuda.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libvdpau.so.260.19.36 +drwxr-xr-x root/root usr/lib/tls/ +-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.260.19.36 +drwxr-xr-x root/root usr/lib/vdpau/ +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.260.19.36 +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.260.19.36 +drwxr-xr-x root/root usr/lib/xorg/ +drwxr-xr-x root/root usr/lib/xorg/modules/ +drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so +drwxr-xr-x root/root usr/lib/xorg/modules/extensions/ +lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.so.260.19.36 +-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.260.19.36 +-rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.260.19.36 diff --git a/base/nvidia/.footprint.x86_64 b/base/nvidia/.footprint.x86_64 new file mode 100644 index 000000000..67fa775dd --- /dev/null +++ b/base/nvidia/.footprint.x86_64 @@ -0,0 +1,36 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +drwxr-xr-x root/root etc/X11/xorg.conf.d/ +-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf +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/video/ +drwxr-xr-x root/root lib/modules//kernel/video/nvidia/ +-rw-r--r-- root/root lib/modules//kernel/video/nvidia/nvidia.ko +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libGL.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0 +-rw-r--r-- root/root usr/lib/libXvMCNVIDIA.a +-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libcuda.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.260.19.36 +-rwxr-xr-x root/root usr/lib/libvdpau.so.260.19.36 +drwxr-xr-x root/root usr/lib/tls/ +-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.260.19.36 +drwxr-xr-x root/root usr/lib/vdpau/ +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.260.19.36 +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_trace.so.260.19.36 +drwxr-xr-x root/root usr/lib/xorg/ +drwxr-xr-x root/root usr/lib/xorg/modules/ +drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so +drwxr-xr-x root/root usr/lib/xorg/modules/extensions/ +lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.so.260.19.36 +-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.260.19.36 +-rwxr-xr-x root/root usr/lib/xorg/modules/libnvidia-wfb.so.260.19.36 diff --git a/base/nvidia/.md5sum.i686 b/base/nvidia/.md5sum.i686 new file mode 100644 index 000000000..8b171229c --- /dev/null +++ b/base/nvidia/.md5sum.i686 @@ -0,0 +1 @@ +88376a73c8ba487526a6f62ac82c7c75 NVIDIA-Linux-x86_64-260.19.36.run diff --git a/base/nvidia/.md5sum.x86_64 b/base/nvidia/.md5sum.x86_64 new file mode 100644 index 000000000..8b171229c --- /dev/null +++ b/base/nvidia/.md5sum.x86_64 @@ -0,0 +1 @@ +88376a73c8ba487526a6f62ac82c7c75 NVIDIA-Linux-x86_64-260.19.36.run diff --git a/base/nvidia/Pkgfile b/base/nvidia/Pkgfile new file mode 100755 index 000000000..458d330cf --- /dev/null +++ b/base/nvidia/Pkgfile @@ -0,0 +1,53 @@ +# Description: Pilotes pour les cartes graphiques NVIDIA +# URL: http://www.nvidia.com/object/unix.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=nvidia +version=260.19.36 +release=1 +[ "`uname -m`" == "i686" ] && _ARCH=x86 +[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 +source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run) + +build() { + sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only + cd NVIDIA-Linux-${_ARCH}-$version + + # librairies + install -d $PKG/usr/lib/{tls,vdpau} + for i in libGL.so.$version libOpenCL.so.1.0.0 libXvMCNVIDIA.so.$version \ + libcuda.so.$version libnvidia-cfg.so.$version libnvidia-compiler.so.$version \ + libnvidia-glcore.so.$version libnvidia-tls.so.$version libnvidia-tls.so.$version \ + libvdpau.so.$version + do + install -m 0755 $i $PKG/usr/lib + done + for i in libvdpau_nvidia.so.$version libvdpau_trace.so.$version + do + install -m 0755 $i $PKG/usr/lib/vdpau + done + install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib/tls + install -m 0644 libXvMCNVIDIA.a $PKG/usr/lib + # xorg driver/extensions + install -d $PKG/usr/lib/xorg/modules/{drivers,extensions} + install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers + install -m 0755 libglx.so.$version $PKG/usr/lib/xorg/modules/extensions + ln -s libglx.so.$version $PKG/usr/lib/xorg/modules/extensions/libglx.so + install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/xorg/modules + # build the module + cd kernel + ln -s Makefile{.kbuild,} + IGNORE_CC_MISMATCH=1 make module + + # install it + install -m 0644 -D nvidia.ko \ + $PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko + mkdir -p $PKG/etc/X11/xorg.conf.d +cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF" +Section "Device" + Identifier "NVIDIA" + Driver "nvidia" +EndSection +EOF +} diff --git a/base/nvidia/post-install b/base/nvidia/post-install new file mode 100644 index 000000000..4772910f3 --- /dev/null +++ b/base/nvidia/post-install @@ -0,0 +1,2 @@ +#!/bin/bash +depmod diff --git a/base/nvidia/pre-install b/base/nvidia/pre-install new file mode 100644 index 000000000..a1ee5214f --- /dev/null +++ b/base/nvidia/pre-install @@ -0,0 +1,3 @@ +if ( pkginfo -i | grep libgl > /dev/null ) ; then + pkgrm libgl +fi -- cgit v1.2.3-70-g09d2 From d415a479a9e54bbea8269628dbb47acac32dd246 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 19 Feb 2011 19:04:10 +0100 Subject: nvidia, maj md5sum.i686 --- acompiler/virtualbox-module/.footprint.i686 | 9 ------- acompiler/virtualbox-module/.footprint.x86_64 | 9 ------- acompiler/virtualbox-module/.md5sum.i686 | 1 - acompiler/virtualbox-module/.md5sum.x86_64 | 1 - acompiler/virtualbox-module/Pkgfile | 34 --------------------------- acompiler/virtualbox-module/post-install | 18 -------------- base/nvidia/.md5sum.i686 | 2 +- 7 files changed, 1 insertion(+), 73 deletions(-) delete mode 100644 acompiler/virtualbox-module/.footprint.i686 delete mode 100644 acompiler/virtualbox-module/.footprint.x86_64 delete mode 100644 acompiler/virtualbox-module/.md5sum.i686 delete mode 100644 acompiler/virtualbox-module/.md5sum.x86_64 delete mode 100755 acompiler/virtualbox-module/Pkgfile delete mode 100755 acompiler/virtualbox-module/post-install diff --git a/acompiler/virtualbox-module/.footprint.i686 b/acompiler/virtualbox-module/.footprint.i686 deleted file mode 100644 index 5f72358b1..000000000 --- a/acompiler/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/acompiler/virtualbox-module/.footprint.x86_64 b/acompiler/virtualbox-module/.footprint.x86_64 deleted file mode 100644 index 5f72358b1..000000000 --- a/acompiler/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/acompiler/virtualbox-module/.md5sum.i686 b/acompiler/virtualbox-module/.md5sum.i686 deleted file mode 100644 index 685a3b364..000000000 --- a/acompiler/virtualbox-module/.md5sum.i686 +++ /dev/null @@ -1 +0,0 @@ -494de209709e86840ecb6430c9619992 VirtualBox-4.0.2-69518-Linux_amd64.run diff --git a/acompiler/virtualbox-module/.md5sum.x86_64 b/acompiler/virtualbox-module/.md5sum.x86_64 deleted file mode 100644 index f0e261924..000000000 --- a/acompiler/virtualbox-module/.md5sum.x86_64 +++ /dev/null @@ -1 +0,0 @@ -2a382c44557d06fa7337b045902baaa0 VirtualBox-4.0.4-70112-Linux_amd64.run diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile deleted file mode 100755 index 8de841f84..000000000 --- a/acompiler/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.4 -release=1 -_name=VirtualBox -_kernel=`uname -r` -_build=70112 - -[ "`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/acompiler/virtualbox-module/post-install b/acompiler/virtualbox-module/post-install deleted file mode 100755 index 2932233e5..000000000 --- a/acompiler/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 - diff --git a/base/nvidia/.md5sum.i686 b/base/nvidia/.md5sum.i686 index 8b171229c..d037f6014 100644 --- a/base/nvidia/.md5sum.i686 +++ b/base/nvidia/.md5sum.i686 @@ -1 +1 @@ -88376a73c8ba487526a6f62ac82c7c75 NVIDIA-Linux-x86_64-260.19.36.run +2826484d87827351774449382e45c4a9 NVIDIA-Linux-x86-260.19.36.run -- cgit v1.2.3-70-g09d2 From 3e1f37e3e3d0c87f90c3ee88b60eabf984d7fd42 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 19 Feb 2011 19:05:53 +0100 Subject: virtualbox-module dans base --- 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 insertions(+) create mode 100644 base/virtualbox-module/.footprint.i686 create mode 100644 base/virtualbox-module/.footprint.x86_64 create mode 100644 base/virtualbox-module/.md5sum.i686 create mode 100644 base/virtualbox-module/.md5sum.x86_64 create mode 100755 base/virtualbox-module/Pkgfile create mode 100755 base/virtualbox-module/post-install diff --git a/base/virtualbox-module/.footprint.i686 b/base/virtualbox-module/.footprint.i686 new file mode 100644 index 000000000..5f72358b1 --- /dev/null +++ b/base/virtualbox-module/.footprint.i686 @@ -0,0 +1,9 @@ +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 new file mode 100644 index 000000000..5f72358b1 --- /dev/null +++ b/base/virtualbox-module/.footprint.x86_64 @@ -0,0 +1,9 @@ +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 new file mode 100644 index 000000000..98be98861 --- /dev/null +++ b/base/virtualbox-module/.md5sum.i686 @@ -0,0 +1 @@ +9598e9386cd31984c86381a41f673d7c VirtualBox-4.0.4-70112-Linux_x86.run diff --git a/base/virtualbox-module/.md5sum.x86_64 b/base/virtualbox-module/.md5sum.x86_64 new file mode 100644 index 000000000..f0e261924 --- /dev/null +++ b/base/virtualbox-module/.md5sum.x86_64 @@ -0,0 +1 @@ +2a382c44557d06fa7337b045902baaa0 VirtualBox-4.0.4-70112-Linux_amd64.run diff --git a/base/virtualbox-module/Pkgfile b/base/virtualbox-module/Pkgfile new file mode 100755 index 000000000..8de841f84 --- /dev/null +++ b/base/virtualbox-module/Pkgfile @@ -0,0 +1,34 @@ +# 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.4 +release=1 +_name=VirtualBox +_kernel=`uname -r` +_build=70112 + +[ "`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 new file mode 100755 index 000000000..2932233e5 --- /dev/null +++ b/base/virtualbox-module/post-install @@ -0,0 +1,18 @@ +#!/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