[arch-commits] CVS update of extra/network/fcpci-ck (6 files)

Tom Killian tom at archlinux.org
Sat Oct 13 21:31:12 UTC 2007


    Date: Saturday, October 13, 2007 @ 17:31:12
  Author: tom
    Path: /home/cvs-extra/extra/network/fcpci-ck

 Removed: PKGBUILD (1.7) atomic.patch (1.1) fcpci.install (1.3)
          kernel-2.6.19.patch (1.1) kernel-2.6.20.patch (1.1)
          kernel-2.6.22.patch (1.1)

kernel26ck removed


---------------------+
 PKGBUILD            |   34 ------------------------------
 atomic.patch        |   18 ----------------
 fcpci.install       |   31 ----------------------------
 kernel-2.6.19.patch |   20 ------------------
 kernel-2.6.20.patch |   55 --------------------------------------------------
 kernel-2.6.22.patch |   11 ----------
 6 files changed, 169 deletions(-)


Index: extra/network/fcpci-ck/PKGBUILD
diff -u extra/network/fcpci-ck/PKGBUILD:1.7 extra/network/fcpci-ck/PKGBUILD:removed
--- extra/network/fcpci-ck/PKGBUILD:1.7	Mon Aug 20 06:10:04 2007
+++ extra/network/fcpci-ck/PKGBUILD	Sat Oct 13 17:31:11 2007
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD,v 1.7 2007/08/20 10:10:04 tom Exp $
-#Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=fcpci-ck
-pkgver=31107
-pkgrel=7
-_kernver=2.6.22-ck
-pkgdesc="AVM ISDN driver for FRITZ PCI isdn cards. For kernel26ck."
-arch=(i686 x86_64)
-license=('custom:"AVM"' 'LGPL')
-url="http://www.avm.de"
-depends=('capi4k-utils' 'kernel26ck')
-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.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/
-  cp $startdir/src/fritz/src/fcpci.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/isdn/hardware/avm/
-  rm -r $startdir/pkg/var/lib/fritz  
-  # build module dependencies
-  sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/fcpci.install
-}
-md5sums=('3ee301b5d0e8df9e4b915af58b725556'
-         '5c63dc9df0810bb1ba85f3425abaa0ed'
-         '258b13bb2ac46960b9c91635f02cd080'
-         '890ec6e1219a3a4bae77f5815c3ed40d'
-         '4f4f03630ed994b16b4cd167f090a116')
Index: extra/network/fcpci-ck/atomic.patch
diff -u extra/network/fcpci-ck/atomic.patch:1.1 extra/network/fcpci-ck/atomic.patch:removed
--- extra/network/fcpci-ck/atomic.patch:1.1	Sun Oct  8 15:21:47 2006
+++ extra/network/fcpci-ck/atomic.patch	Sat Oct 13 17:31:11 2007
@@ -1,18 +0,0 @@
---- tools.h	2005-07-07 00:00:00.000000000 +0200
-+++ tools.h~	2006-03-13 08:27:07.000000000 +0100
-@@ -69,14 +69,7 @@
- extern void lprintf  (const char *, const char *, ...);
- extern void vlprintf (const char *, const char *, va_list);
- 
--/*---------------------------------------------------------------------------*\
--\*---------------------------------------------------------------------------*/
--static inline unsigned long atomic_xchg (
--	volatile atomic_t *	v, 
--	unsigned		value
--) {
--	return __xchg (value, &v->counter, sizeof (unsigned));
--} /* atomic_xchg */
-+
- 
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/
Index: extra/network/fcpci-ck/fcpci.install
diff -u extra/network/fcpci-ck/fcpci.install:1.3 extra/network/fcpci-ck/fcpci.install:removed
--- extra/network/fcpci-ck/fcpci.install:1.3	Tue Jul 24 05:22:15 2007
+++ extra/network/fcpci-ck/fcpci.install	Sat Oct 13 17:31:11 2007
@@ -1,31 +0,0 @@
- # arg 1:  the new package version
-post_install() {
-cat << EOF
-==> Add 'capiinit' to rc.conf daemons list. 
-==> If you use hotplug daemon, please blacklist hisax modules in /etc/hotplug/blacklist.
-EOF
-  sed -i -e 's/#fcpci		-	-	-	-	-	-/fcpci		-	-	-	-	-	-/g' /etc/capi.conf
-  # updating module dependencies
-  echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ck
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  post_install $1
-}
-
-# arg 1:  the old package version
-post_remove() {
-  sed -i -e 's/fcpci		-	-	-	-	-	-/#fcpci		-	-	-	-	-	-/g' /etc/capi.conf
-    # updating module dependencies
-  echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ck
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
Index: extra/network/fcpci-ck/kernel-2.6.19.patch
diff -u extra/network/fcpci-ck/kernel-2.6.19.patch:1.1 extra/network/fcpci-ck/kernel-2.6.19.patch:removed
--- extra/network/fcpci-ck/kernel-2.6.19.patch:1.1	Sat Dec  9 16:41:01 2006
+++ extra/network/fcpci-ck/kernel-2.6.19.patch	Sat Oct 13 17:31:11 2007
@@ -1,20 +0,0 @@
---- main.c~	2005-07-07 00:00:00.000000000 +0200
-+++ main.c	2006-10-17 14:56:59.000000000 +0200
-@@ -22,7 +22,6 @@
- 
- #include <stdarg.h>
- #include <asm/uaccess.h>
--#include <linux/config.h>
- #include <linux/version.h>
- #include <linux/kernel.h>
- #include <linux/module.h>
---- driver.h~	2005-07-07 00:00:00.000000000 +0200
-+++ driver.h	2006-10-17 15:00:26.000000000 +0200
-@@ -23,7 +23,6 @@
- #ifndef __have_driver_h__
- #define __have_driver_h__
- 
--#include <linux/config.h>
- #include <linux/skbuff.h>
- #include <linux/capi.h>
- #include <linux/list.h>
Index: extra/network/fcpci-ck/kernel-2.6.20.patch
diff -u extra/network/fcpci-ck/kernel-2.6.20.patch:1.1 extra/network/fcpci-ck/kernel-2.6.20.patch:removed
--- extra/network/fcpci-ck/kernel-2.6.20.patch:1.1	Sat Feb 17 08:58:16 2007
+++ extra/network/fcpci-ck/kernel-2.6.20.patch	Sat Oct 13 17:31:11 2007
@@ -1,55 +0,0 @@
---- driver.c~	2005-07-07 00:00:00.000000000 +0200
-+++ driver.c	2007-01-08 22:33:51.000000000 +0100
-@@ -901,10 +901,10 @@
- 
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/
--int driver_init (void) {
-+int avm_init (void) {
- 
- 	return (NULL != (capi_lib = link_library (NULL)));
--} /* driver_init */
-+} /* avm_init */
- 
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/
---- main.c~	2007-01-08 22:18:57.000000000 +0100
-+++ main.c	2007-01-08 22:34:33.000000000 +0100
-@@ -204,7 +204,7 @@
- 	NOTE(PRODUCT_LOGO " found: port 0x%04x, irq %u\n", pars.port, pars.irq);
- 
- 	NOTE("Loading...\n");
--	if (!driver_init ()) {
-+	if (!avm_init ()) {
- 		ERROR("Error: Driver library not available.\n");
- 		ERROR("Not loaded.\n");
- 		return res;
-@@ -269,7 +269,7 @@
- 	NOTE (PRODUCT_LOGO " found: port 0x%04x, irq %u\n", pars.port, pars.irq);
- 
- 	NOTE("Loading...\n");
--	if (!driver_init ()) {
-+	if (!avm_init ()) {
- 		ERROR("Error: Driver library not available.\n");
- 		ERROR("Not loaded.\n");
- 		return -EBUSY;
-@@ -377,7 +377,7 @@
- 	}
- 	return err;
- #elif defined (__fcpcmcia__) || defined (__fcclassic__)
--	if (!driver_init ()) {
-+	if (!avm_init ()) {
- 		ERROR("Error: Driver library not available.\n");
- 		ERROR("Not loaded.\n");
- 		return -EBUSY;
---- driver.h~	2007-01-08 22:18:57.000000000 +0100
-+++ driver.h	2007-01-08 22:34:12.000000000 +0100
-@@ -97,7 +97,7 @@
- 
- /*---------------------------------------------------------------------------*\
- \*---------------------------------------------------------------------------*/
--extern int driver_init (void);
-+extern int avm_init (void);
- extern void driver_exit (void);
- 
- /*---------------------------------------------------------------------------*\
Index: extra/network/fcpci-ck/kernel-2.6.22.patch
diff -u extra/network/fcpci-ck/kernel-2.6.22.patch:1.1 extra/network/fcpci-ck/kernel-2.6.22.patch:removed
--- extra/network/fcpci-ck/kernel-2.6.22.patch:1.1	Tue Jul 24 05:22:15 2007
+++ extra/network/fcpci-ck/kernel-2.6.22.patch	Sat Oct 13 17:31:12 2007
@@ -1,11 +0,0 @@
---- 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