diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 00:05:41 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 00:05:41 (GMT) |
commit | 9af9cd696959440ee27a55f454bdc9081011f60a (patch) | |
tree | f6f1261b3d5fb4980a160cb60858dd8a91e5a393 /abs/core-testing/module-init-tools | |
parent | 68a0ef9d6fc9fba77cc631a50968494da7cf0496 (diff) | |
download | linhes_pkgbuild-9af9cd696959440ee27a55f454bdc9081011f60a.zip linhes_pkgbuild-9af9cd696959440ee27a55f454bdc9081011f60a.tar.gz linhes_pkgbuild-9af9cd696959440ee27a55f454bdc9081011f60a.tar.bz2 |
module-init-tools:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/module-init-tools')
-rw-r--r-- | abs/core-testing/module-init-tools/PKGBUILD | 56 | ||||
-rw-r--r-- | abs/core-testing/module-init-tools/modprobe.conf | 2 |
2 files changed, 32 insertions, 26 deletions
diff --git a/abs/core-testing/module-init-tools/PKGBUILD b/abs/core-testing/module-init-tools/PKGBUILD index b4260d1..a59ee80 100644 --- a/abs/core-testing/module-init-tools/PKGBUILD +++ b/abs/core-testing/module-init-tools/PKGBUILD @@ -1,33 +1,39 @@ -# $Id: PKGBUILD 5982 2008-07-22 12:44:28Z thomas $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 85722 2010-07-18 10:36:50Z allan $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=module-init-tools -pkgver=3.4 -pkgrel=10 -pkgdesc="Utilities for inserting and removing modules from the Linux kernel" -arch=(i686 x86_64) -url="http://www.kernel.org" +pkgver=3.12 +pkgrel=1 +pkgdesc="utilities needed by Linux systems for managing loadable kernel modules" +arch=('i686' 'x86_64') +url="http://kerneltools.org" license=('GPL') -groups=('base') depends=('glibc') -backup=('etc/modprobe.conf') +backup=('etc/modprobe.d/modprobe.conf') source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2 - ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo/distfiles/module-init-tools-$pkgver-manpages.tar.bz2 - makefile.patch - modprobe.conf - fix-modprobe-ignore-path.patch) -md5sums=('db6ac059e80e8dd4389dbe81ee61f3c6' - '006678277788b5a0402b171f4a235cd6' - '47e14fda7a46668290d11d0444d81826' - '6db59d41e04941a790f80c1a4432faef' - '335c3f8317f257ddd70b09271b4360bd') + modprobe.conf) +md5sums=('8b2257ce9abef74c4a44d825d23140f3' + '316f1bda4c21af02b30252eb014a0a55') build() { - cd $startdir/src/$pkgname-$pkgver - patch -Np1 -i ../makefile.patch - patch -Np0 -i ../fix-modprobe-ignore-path.patch || return 1 - sed -i 's|/usr/bin/install|/bin/install|g' install-with-care + cd $srcdir/$pkgname-$pkgver + + # do not regenerate man pages + touch *.{5,8} + ./configure --prefix=/usr --exec-prefix=/ - make || return 1 - INSTALL=/bin/install make DESTDIR=$startdir/pkg install || return 1 - install -D -m644 ../modprobe.conf $startdir/pkg/etc/modprobe.conf + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install + + # Install our custom (read: empty) modprobe.conf + install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf + + # fix man page (FS#17559) + sed -i "s#mod#man5/mod#" $pkgdir/usr/share/man/man5/modprobe.d.5 } diff --git a/abs/core-testing/module-init-tools/modprobe.conf b/abs/core-testing/module-init-tools/modprobe.conf index d2fc24b..83865a3 100644 --- a/abs/core-testing/module-init-tools/modprobe.conf +++ b/abs/core-testing/module-init-tools/modprobe.conf @@ -1,3 +1,3 @@ # -# /etc/modprobe.conf (for v2.6 kernels) +# /etc/modprobe.d/modprobe.conf (for v2.6 kernels) # |