summaryrefslogtreecommitdiff
path: root/testing/kmod
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kmod')
-rw-r--r--testing/kmod/PKGBUILD40
1 files changed, 8 insertions, 32 deletions
diff --git a/testing/kmod/PKGBUILD b/testing/kmod/PKGBUILD
index 01f07eaaf..f20f2c4f0 100644
--- a/testing/kmod/PKGBUILD
+++ b/testing/kmod/PKGBUILD
@@ -1,55 +1,31 @@
-# $Id: PKGBUILD 148640 2012-02-04 21:40:08Z dreisner $
+# $Id: PKGBUILD 149555 2012-02-08 14:02:30Z tomegun $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=kmod
-pkgver=4
-pkgrel=3
+pkgver=5
+pkgrel=1
pkgdesc="Linux kernel module handling"
arch=('i686' 'x86_64')
url="http://git.profusion.mobi/cgit.cgi/kmod.git"
license=('GPL2')
depends=('glibc' 'zlib')
-options=('!libtool')
+options=('!libtool' '!strip')
provides=('module-init-tools=3.16')
conflicts=('module-init-tools')
replaces=('module-init-tools')
source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"
- "0001-partially-fix-parsing-of-alias-with-dots.patch"
- "0002-libkmod-module-used-shared-code-in-module-creation.patch"
- "0003-modprobe-handle-all-error-returns-from-init_module.patch"
- "0004-modprobe-remove-0-refcnt-deps.patch"
- "0005-continue-after-module-insert-fail.patch"
- "0006-modprobe-remove-support-for-path-based-loading.patch"
- "0007-modinfo-handle-arguments-more-carefully.patch"
- "0008-Use-realpath-to-canonicalize-provided-paths.patch"
"depmod-search.conf")
-md5sums=('e14450a066a48accd0af1995b3c0232d'
- 'f5fad0e48a76abe1b1f4c7289c546f32'
- '1b68167a077354419e5aa763f03f3c66'
- '8836228a7ebb60b147cfba7ead75b484'
- '92376505d9493d263fd288a403385192'
- '90eef7d134a4ec4b5fa055c9a4d03dc8'
- '204c1ddb3a9f95f6ce9b72cb5ac9358d'
- 'd6edcea814f18e5233b2fdfe14ae33a3'
- '825f550884d8dc13b760898ea5d14aed'
+md5sums=('b271c2ec54aba1c67bda63c8579d8c15'
'4b8cbcbc54b9029c99fd730e257d4436')
build() {
cd "$pkgname-$pkgver"
- patch -Np1 <"$srcdir/0001-partially-fix-parsing-of-alias-with-dots.patch"
- patch -Np1 <"$srcdir/0002-libkmod-module-used-shared-code-in-module-creation.patch"
- patch -Np1 <"$srcdir/0003-modprobe-handle-all-error-returns-from-init_module.patch"
- patch -Np1 <"$srcdir/0004-modprobe-remove-0-refcnt-deps.patch"
- patch -Np1 <"$srcdir/0005-continue-after-module-insert-fail.patch"
- patch -Np1 <"$srcdir/0006-modprobe-remove-support-for-path-based-loading.patch"
- patch -Np1 <"$srcdir/0007-modinfo-handle-arguments-more-carefully.patch"
- patch -Np1 <"$srcdir/0008-Use-realpath-to-canonicalize-provided-paths.patch"
-
- ./configure \
+ CFLAGS+=' -g -O0' ./configure \
--sysconfdir=/etc \
--with-rootprefix= \
- --with-zlib
+ --with-zlib \
+ --enable-debug
make
}