[arch-commits] CVS update of extra/network/fcpci (3 files)
Tobias Powalowski
tpowa at archlinux.org
Mon Jul 9 22:04:09 UTC 2007
Date: Monday, July 9, 2007 @ 18:04:09
Author: tpowa
Path: /home/cvs-extra/extra/network/fcpci
Added: kernel-2.6.22.patch (1.1)
Modified: PKGBUILD (1.30 -> 1.31) fcpci.install (1.10 -> 1.11)
'upgpgk: rebuild against new kernel'
---------------------+
PKGBUILD | 17 +++++++++++------
fcpci.install | 4 ++--
kernel-2.6.22.patch | 11 +++++++++++
3 files changed, 24 insertions(+), 8 deletions(-)
Index: extra/network/fcpci/PKGBUILD
diff -u extra/network/fcpci/PKGBUILD:1.30 extra/network/fcpci/PKGBUILD:1.31
--- extra/network/fcpci/PKGBUILD:1.30 Sat Apr 28 09:15:24 2007
+++ extra/network/fcpci/PKGBUILD Mon Jul 9 18:04:09 2007
@@ -1,22 +1,24 @@
-# $Id: PKGBUILD,v 1.30 2007/04/28 13:15:24 tpowa Exp $
+# $Id: PKGBUILD,v 1.31 2007/07/09 22:04:09 tpowa Exp $
#Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=fcpci
pkgver=31107
-pkgrel=26
-_kernver=2.6.21-ARCH
+pkgrel=31
+_kernver=2.6.22-ARCH
pkgdesc="AVM ISDN driver for FRITZ PCI isdn cards. For stock arch 2.6 kernel."
arch=(i686 x86_64)
+license=('custom:"AVM"' 'LGPL')
url="http://www.avm.de"
depends=('capi4k-utils' 'kernel26')
source=(ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.93/fcpci-suse93-3.11-07.tar.gz \
- kernel-2.6.19.patch atomic.patch kernel-2.6.20.patch)
+ kernel-2.6.19.patch atomic.patch kernel-2.6.20.patch kernel-2.6.22.patch)
install=fcpci.install
build() {
cd $startdir/src/fritz/src
patch -Np0 -i ../../atomic.patch || return 1
patch -Np0 -i ../../kernel-2.6.19.patch || return 1
patch -Np0 -i ../../kernel-2.6.20.patch || return 1
+ patch -Np0 -i ../../kernel-2.6.22.patch || return 1
cd $startdir/src/fritz
make LIBDIR=$startdir/pkg/var/lib/fritz KDIR=/lib/modules/${_kernver}/build all || return 1
mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/isdn/hardware/avm/
@@ -25,5 +27,8 @@
# build module dependencies
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/fcpci.install
}
-md5sums=('3ee301b5d0e8df9e4b915af58b725556' '5c63dc9df0810bb1ba85f3425abaa0ed'\
- '258b13bb2ac46960b9c91635f02cd080' '890ec6e1219a3a4bae77f5815c3ed40d')
+md5sums=('3ee301b5d0e8df9e4b915af58b725556'
+ '5c63dc9df0810bb1ba85f3425abaa0ed'
+ '258b13bb2ac46960b9c91635f02cd080'
+ '890ec6e1219a3a4bae77f5815c3ed40d'
+ '4f4f03630ed994b16b4cd167f090a116')
Index: extra/network/fcpci/fcpci.install
diff -u extra/network/fcpci/fcpci.install:1.10 extra/network/fcpci/fcpci.install:1.11
--- extra/network/fcpci/fcpci.install:1.10 Sat Apr 28 09:15:24 2007
+++ extra/network/fcpci/fcpci.install Mon Jul 9 18:04:09 2007
@@ -7,7 +7,7 @@
sed -i -e 's/#fcpci - - - - - -/fcpci - - - - - -/g' /etc/capi.conf
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.21-ARCH
+ KERNEL_VERSION=2.6.22-ARCH
depmod -v $KERNEL_VERSION > /dev/null 2>&1
}
@@ -22,7 +22,7 @@
sed -i -e 's/fcpci - - - - - -/#fcpci - - - - - -/g' /etc/capi.conf
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.21-ARCH
+ KERNEL_VERSION=2.6.22-ARCH
depmod -v $KERNEL_VERSION > /dev/null 2>&1
}
Index: extra/network/fcpci/kernel-2.6.22.patch
diff -u /dev/null extra/network/fcpci/kernel-2.6.22.patch:1.1
--- /dev/null Mon Jul 9 18:04:09 2007
+++ extra/network/fcpci/kernel-2.6.22.patch Mon Jul 9 18:04:09 2007
@@ -0,0 +1,11 @@
+--- main.c~ 2005-07-07 00:00:00.000000000 +0200
++++ main.c 2007-06-09 18:41:07.000000000 +0200
+@@ -364,7 +364,7 @@
+ #endif
+
+ #if defined (__fcpci__)
+- if (0 == (err = pci_module_init (&fcpci_driver))) {
++ if (0 == (err = pci_register_driver (&fcpci_driver))) {
+ LOG("PCI driver registered.\n");
+ register_capi_driver (&fritz_capi_driver);
+ LOG("CAPI driver registered.\n");
More information about the arch-commits
mailing list