summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/module-init-tools/.footprint26
-rw-r--r--base/module-init-tools/.md5sum2
-rwxr-xr-xbase/module-init-tools/Pkgfile28
-rw-r--r--base/module-init-tools/modprobe.conf5
4 files changed, 61 insertions, 0 deletions
diff --git a/base/module-init-tools/.footprint b/base/module-init-tools/.footprint
new file mode 100644
index 000000000..03915654a
--- /dev/null
+++ b/base/module-init-tools/.footprint
@@ -0,0 +1,26 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/lsmod
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/modprobe.conf
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/depmod
+-rwxr-xr-x root/root sbin/insmod
+-rwxr-xr-x root/root sbin/insmod.static
+-rwxr-xr-x root/root sbin/modinfo
+-rwxr-xr-x root/root sbin/modprobe
+-rwxr-xr-x root/root sbin/rmmod
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/depmod.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/modprobe.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz
+-rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/depmod.8.gz
+-rw-r--r-- root/root usr/share/man/man8/insmod.8.gz
+-rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz
+-rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz
+-rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz
diff --git a/base/module-init-tools/.md5sum b/base/module-init-tools/.md5sum
new file mode 100644
index 000000000..c89f4b3f1
--- /dev/null
+++ b/base/module-init-tools/.md5sum
@@ -0,0 +1,2 @@
+9b4b6f3a50e9d352bba107488c053cd2 modprobe.conf
+738db2580f664795f05975846e53b298 module-init-tools-3.9.tar.bz2
diff --git a/base/module-init-tools/Pkgfile b/base/module-init-tools/Pkgfile
new file mode 100755
index 000000000..d362d5932
--- /dev/null
+++ b/base/module-init-tools/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Modules utilitaires pour le noyau
+# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: man-db
+
+name=module-init-tools
+version=3.9
+release=1
+source=(http://www.kernel.org/pub/linux/utils/kernel/modules/$name-$version.tar.bz2\
+ modprobe.conf)
+
+build() {
+cd $name-$version
+./configure
+make check
+make clean
+
+./configure --prefix=/ --enable-zlib \
+ --mandir=/usr/share/man
+
+make
+install -d $PKG/usr/share/man
+install -d $PKG/etc
+make DESTDIR=$PKG mandir=/usr/share/man install
+rm -f $PKG/sbin/generate-modprobe.conf
+install -m 644 ../modprobe.conf $PKG/etc
+}
diff --git a/base/module-init-tools/modprobe.conf b/base/module-init-tools/modprobe.conf
new file mode 100644
index 000000000..c4b610ed5
--- /dev/null
+++ b/base/module-init-tools/modprobe.conf
@@ -0,0 +1,5 @@
+# $Id: modprobe.conf,v 1.1 2007/09/27 08:34:02 install Exp $
+# Begin of /etc/modprobe.conf
+options snd-intel8x0 enable=1 index=0
+install snd-pcm /sbin/modprobe -i snd-pcm; /sbin/modprobe snd-pcm-oss
+alias snd-card-0 snd-intel8x0