summaryrefslogtreecommitdiff
path: root/core/module-init-tools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-08 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-11-08 23:14:49 +0000
commitddba9670c1518d9b420db6a6dca01a4a4a4136c7 (patch)
tree8b5ba5ea49ecb6848eba27d2eb609100de5e760a /core/module-init-tools
parenteffb26c3b1f00bf8bea4e2562f07f9a06eb67606 (diff)
Tue Nov 8 23:14:49 UTC 2011
Diffstat (limited to 'core/module-init-tools')
-rw-r--r--core/module-init-tools/PKGBUILD22
-rw-r--r--core/module-init-tools/modprobe.conf2
2 files changed, 14 insertions, 10 deletions
diff --git a/core/module-init-tools/PKGBUILD b/core/module-init-tools/PKGBUILD
index e65f419df..0459b25ab 100644
--- a/core/module-init-tools/PKGBUILD
+++ b/core/module-init-tools/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 128937 2011-06-25 14:35:00Z dreisner $
+# $Id: PKGBUILD 142296 2011-11-08 00:38:05Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=module-init-tools
pkgver=3.16
-pkgrel=1
-pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
+pkgrel=2
+pkgdesc="Utilities needed by Linux systems for managing loadable kernel modules"
arch=('i686' 'x86_64')
-url="http://kerneltools.org"
+url="https://modules.wiki.kernel.org"
license=('GPL')
depends=('glibc')
makedepends=('docbook2x')
backup=('etc/modprobe.d/modprobe.conf')
-source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
+source=("http://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.bz2"
modprobe.conf
docfix.patch)
md5sums=('bc44832c6e41707b8447e2847d2019f5'
- '316f1bda4c21af02b30252eb014a0a55'
+ '325657db471b3190f685e5a89c9b90e3'
'4320d19902ded43bed55c804b065cdc7')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
# fix headers in SGML manpage sources and an XML typo
patch -Np0 < "$srcdir/docfix.patch"
@@ -30,10 +31,13 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
+ # extra modprobe.d conf dir
+ install -dm755 "$pkgdir/lib/modprobe.d"
+
# Install our custom (read: empty) modprobe.conf
- install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf
+ install -Dm644 "$srcdir/modprobe.conf" "$pkgdir/etc/modprobe.d/modprobe.conf"
}
diff --git a/core/module-init-tools/modprobe.conf b/core/module-init-tools/modprobe.conf
index 83865a3af..551bdfbdf 100644
--- a/core/module-init-tools/modprobe.conf
+++ b/core/module-init-tools/modprobe.conf
@@ -1,3 +1,3 @@
#
-# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
+# /etc/modprobe.d/modprobe.conf
#