summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/nvidia/.footprint.i68636
-rw-r--r--base/nvidia/.footprint.x86_6436
-rw-r--r--base/nvidia/.md5sum.i6861
-rw-r--r--base/nvidia/.md5sum.x86_641
-rwxr-xr-xbase/nvidia/Pkgfile53
-rw-r--r--base/nvidia/post-install2
-rw-r--r--base/nvidia/pre-install3
-rw-r--r--base/virtualbox-module/.footprint.i6869
-rw-r--r--base/virtualbox-module/.footprint.x86_649
-rw-r--r--base/virtualbox-module/.md5sum.i6861
-rw-r--r--base/virtualbox-module/.md5sum.x86_641
-rwxr-xr-xbase/virtualbox-module/Pkgfile34
-rwxr-xr-xbase/virtualbox-module/post-install18
13 files changed, 204 insertions, 0 deletions
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/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/nvidia/
+-rw-r--r-- root/root lib/modules/<kernel-version>/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/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/nvidia/
+-rw-r--r-- root/root lib/modules/<kernel-version>/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..d037f6014
--- /dev/null
+++ b/base/nvidia/.md5sum.i686
@@ -0,0 +1 @@
+2826484d87827351774449382e45c4a9 NVIDIA-Linux-x86-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
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/<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/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/<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/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
+