[arch-commits] Commit in module-init-tools/trunk (PKGBUILD modprobe.conf)

Dave Reisner dreisner at archlinux.org
Fri Nov 4 20:45:16 EDT 2011


    Date: Friday, November 4, 2011 @ 20:45:16
  Author: dreisner
Revision: 142089

upgpkg: module-init-tools 3.16-2

- rebuild to add sig
- close FS#25880
- add /lib/modprobe.d
- fix upstream URL

Modified:
  module-init-tools/trunk/PKGBUILD
  module-init-tools/trunk/modprobe.conf

---------------+
 PKGBUILD      |   18 +++++++++++-------
 modprobe.conf |    2 +-
 2 files changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-05 00:43:25 UTC (rev 142088)
+++ PKGBUILD	2011-11-05 00:45:16 UTC (rev 142089)
@@ -1,26 +1,27 @@
 # $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 # Contributor: judd <jvinet at 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="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 @@
 }
 
 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"
 }

Modified: modprobe.conf
===================================================================
--- modprobe.conf	2011-11-05 00:43:25 UTC (rev 142088)
+++ modprobe.conf	2011-11-05 00:45:16 UTC (rev 142089)
@@ -1,3 +1,3 @@
 #
-# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
+# /etc/modprobe.d/modprobe.conf
 #



More information about the arch-commits mailing list