From 2f391786e99c8da5291effac44786678d07b1ba3 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 17 Oct 2012 15:05:35 +0000 Subject: [PATCH] Removed module-init-tools and replaced by kmod --- kmod/.footprint | 37 +++++++++++++++++++++++++++++++++ kmod/.md5sum | 1 + kmod/Pkgfile | 35 +++++++++++++++++++++++++++++++ module-init-tools/.footprint | 25 ---------------------- module-init-tools/.md5sum | 2 -- module-init-tools/Pkgfile | 25 ---------------------- module-init-tools/modprobe.conf | 5 ----- 7 files changed, 73 insertions(+), 57 deletions(-) create mode 100644 kmod/.footprint create mode 100644 kmod/.md5sum create mode 100644 kmod/Pkgfile delete mode 100644 module-init-tools/.footprint delete mode 100644 module-init-tools/.md5sum delete mode 100644 module-init-tools/Pkgfile delete mode 100644 module-init-tools/modprobe.conf diff --git a/kmod/.footprint b/kmod/.footprint new file mode 100644 index 0000000..5fbf371 --- /dev/null +++ b/kmod/.footprint @@ -0,0 +1,37 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/lsmod -> ../sbin/kmod +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/depmod.d/ +drwxr-xr-x root/root etc/modprobe.d/ +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libkmod.so.2 -> libkmod.so.2.2.0 +-rwxr-xr-x root/root lib/libkmod.so.2.2.0 +drwxr-xr-x root/root sbin/ +lrwxrwxrwx root/root sbin/depmod -> kmod +lrwxrwxrwx root/root sbin/insmod -> kmod +-rwxr-xr-x root/root sbin/kmod +lrwxrwxrwx root/root sbin/lsmod -> kmod +lrwxrwxrwx root/root sbin/modinfo -> kmod +lrwxrwxrwx root/root sbin/modprobe -> kmod +lrwxrwxrwx root/root sbin/rmmod -> kmod +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libkmod.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libkmod.la +lrwxrwxrwx root/root usr/lib/libkmod.so -> ../../lib/libkmod.so.2.2.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkmod.pc +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/depmod.d.5.gz +-rw-r--r-- root/root usr/man/man5/modprobe.d.5.gz +-rw-r--r-- root/root usr/man/man5/modules.dep.5.gz +-rw-r--r-- root/root usr/man/man5/modules.dep.bin.5.gz +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/depmod.8.gz +-rw-r--r-- root/root usr/man/man8/insmod.8.gz +-rw-r--r-- root/root usr/man/man8/lsmod.8.gz +-rw-r--r-- root/root usr/man/man8/modinfo.8.gz +-rw-r--r-- root/root usr/man/man8/modprobe.8.gz +-rw-r--r-- root/root usr/man/man8/rmmod.8.gz diff --git a/kmod/.md5sum b/kmod/.md5sum new file mode 100644 index 0000000..510a950 --- /dev/null +++ b/kmod/.md5sum @@ -0,0 +1 @@ +e2a883c4df15a50f78a7a61d5b64089f kmod-10.tar.xz diff --git a/kmod/Pkgfile b/kmod/Pkgfile new file mode 100644 index 0000000..d163460 --- /dev/null +++ b/kmod/Pkgfile @@ -0,0 +1,35 @@ +# Description: Kernel module utilities and library +# URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=kmod +version=10 +release=1 +source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz) + +build() { + cd $name-$version + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --bindir=/sbin \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --with-rootprefix= \ + --with-rootlibdir=/lib + + make + make DESTDIR=$PKG install + + install -d $PKG/etc/{modprobe,depmod}.d + install -d $PKG/bin + + ln -s kmod $PKG/sbin/modinfo + ln -s kmod $PKG/sbin/depmod + ln -s kmod $PKG/sbin/insmod + ln -s kmod $PKG/sbin/lsmod + ln -s kmod $PKG/sbin/rmmod + ln -s kmod $PKG/sbin/modprobe + ln -s ../sbin/kmod $PKG/bin/lsmod +} diff --git a/module-init-tools/.footprint b/module-init-tools/.footprint deleted file mode 100644 index b75e2ef..0000000 --- a/module-init-tools/.footprint +++ /dev/null @@ -1,25 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/depmod.d/ -drwxr-xr-x root/root etc/modprobe.d/ -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/lsmod --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/man/ -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/depmod.conf.5.gz --rw-r--r-- root/root usr/man/man5/modprobe.conf.5.gz --rw-r--r-- root/root usr/man/man5/modprobe.d.5.gz --rw-r--r-- root/root usr/man/man5/modules.dep.5.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/depmod.8.gz --rw-r--r-- root/root usr/man/man8/insmod.8.gz --rw-r--r-- root/root usr/man/man8/lsmod.8.gz --rw-r--r-- root/root usr/man/man8/modinfo.8.gz --rw-r--r-- root/root usr/man/man8/modprobe.8.gz --rw-r--r-- root/root usr/man/man8/rmmod.8.gz diff --git a/module-init-tools/.md5sum b/module-init-tools/.md5sum deleted file mode 100644 index 06772da..0000000 --- a/module-init-tools/.md5sum +++ /dev/null @@ -1,2 +0,0 @@ -72a0ccf1ea3c7c233d16db6b2527dca9 modprobe.conf -8b2257ce9abef74c4a44d825d23140f3 module-init-tools-3.12.tar.bz2 diff --git a/module-init-tools/Pkgfile b/module-init-tools/Pkgfile deleted file mode 100644 index 743f16a..0000000 --- a/module-init-tools/Pkgfile +++ /dev/null @@ -1,25 +0,0 @@ -# Description: Kernel module utilities -# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules -# Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu -# Depends on: - -name=module-init-tools -version=3.12 -release=1 -source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2 \ - modprobe.conf) - -build() { - cd $name-$version - touch *.5 *.8 - ./configure --build=$CHOST \ - --host=$CTARGET \ - --prefix=/usr \ - --bindir=/sbin \ - --sbindir=/sbin - - make - make DESTDIR=$PKG mandir=/usr/man install - install -d $PKG/etc/{modprobe.d,depmod.d} -} diff --git a/module-init-tools/modprobe.conf b/module-init-tools/modprobe.conf deleted file mode 100644 index 0f9aa37..0000000 --- a/module-init-tools/modprobe.conf +++ /dev/null @@ -1,5 +0,0 @@ -# -# /etc/modprobe.conf: modprobe(8) configuration -# - -# End of file -- 2.26.2