[arch-commits] CVS update of extra/network/slmodem (PKGBUILD kernel-2.6.21.patch)

Tobias Powalowski tpowa at archlinux.org
Sun May 6 08:56:00 UTC 2007


    Date: Sunday, May 6, 2007 @ 04:56:00
  Author: tpowa
    Path: /home/cvs-extra/extra/network/slmodem

   Added: kernel-2.6.21.patch (1.1)
Modified: PKGBUILD (1.44 -> 1.45)

'upgpkg: update to new version'


---------------------+
 PKGBUILD            |   25 ++++++++-----------------
 kernel-2.6.21.patch |   10 ++++++++++
 2 files changed, 18 insertions(+), 17 deletions(-)


Index: extra/network/slmodem/PKGBUILD
diff -u extra/network/slmodem/PKGBUILD:1.44 extra/network/slmodem/PKGBUILD:1.45
--- extra/network/slmodem/PKGBUILD:1.44	Sat Apr 28 09:15:23 2007
+++ extra/network/slmodem/PKGBUILD	Sun May  6 04:55:59 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.44 2007/04/28 13:15:23 tpowa Exp $
+# $Id: PKGBUILD,v 1.45 2007/05/06 08:55:59 tpowa Exp $
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 
@@ -6,31 +6,24 @@
 
 pkgname=slmodem
 pkgver=2.9.11
-pkgrel=25
+pkgrel=26
 
 pkgdesc="Drivers for the Smartlink winmodems. For stock arch 2.6 kernel "
 arch=(i686 x86_64) 
 url="http://linmodems.technion.ac.il/packages/smartlink/" 
 depends=('kernel26' 'slmodem-utils') 
 install=slmodem.install 
-source=(http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20051101.tar.gz \
-  http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem.tar.gz 2.6.16.patch \
-  module-parm.patch 2.6.18-utsrelease.patch 2.6.18-devfs.patch kernel-2.6.19.patch) 
+source=(http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20070430.tar.gz \
+  http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem.tar.gz kernel-2.6.21.patch) 
 
 
 build() { 
   cd $startdir/src
-  patch -Np0 -i kernel-2.6.19.patch || return 1
+  patch -Np0 -i kernel-2.6.21.patch || return 1
   cd $startdir/src/ungrab-winmodem
   make KERNEL_DIR=/lib/modules/${_kernver}/build || return 1
   install -D -m644 ungrab-winmodem.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ungrab-winmodem.ko
-  # fix for 2.6.16
-  cd $startdir/src/slmodem-$pkgver-20051101/drivers
-  patch -Np0 -i ../../2.6.16.patch || return 1
-  cd $startdir/src/slmodem-$pkgver-20051101
-  patch -Np1 -i ../module-parm.patch || return 1
-  patch -Np0 -i ../2.6.18-utsrelease.patch|| return 1
-  patch -Np0 -i ../2.6.18-devfs.patch || return 1
+  cd $startdir/src/$pkgname-$pkgver-20070430
   make KERNEL_DIR=/lib/modules/${_kernver}/build SUPPORT_ALSA=1 DESTDIR=$startdir/pkg drivers || return 1 
   # Install kernel modules
   install -D -m 644 drivers/slamr.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/slamr.ko
@@ -38,7 +31,5 @@
   sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/slmodem.install
 }
 
-md5sums=('94b5b505a9cddcd2d985c33e48f9d2e3' 'ce60d49e150cd66d03963449f83e8b72'\
-         '03b5c464fb2058df62826a68703a0a76' '0cd113b3f92c9c8b7729d569e1c5e1a9'\
-         '189d2c7ff9e340857a3e04ccef3cd032' '35bc5a661cb66c12c168a32036e10630'\
-         'b8697215c854540527102bae35758b5b')
+md5sums=('ff524e29351a1078d012482d8cb852d0' 'ce60d49e150cd66d03963449f83e8b72'\
+         '49c6f7bd3a8b832a7ac1ee5441b2da08')
Index: extra/network/slmodem/kernel-2.6.21.patch
diff -u /dev/null extra/network/slmodem/kernel-2.6.21.patch:1.1
--- /dev/null	Sun May  6 04:56:00 2007
+++ extra/network/slmodem/kernel-2.6.21.patch	Sun May  6 04:55:59 2007
@@ -0,0 +1,10 @@
+--- ungrab-winmodem/ungrab-winmodem.c~	2005-10-09 22:54:03.000000000 +0200
++++ ungrab-winmodem/ungrab-winmodem.c	2006-10-17 19:07:57.000000000 +0200
+@@ -11,7 +11,6 @@
+  *
+  */
+ 
+-#include <linux/config.h>
+ #include <linux/module.h>
+ #include <linux/version.h>
+ #include <linux/init.h>




More information about the arch-commits mailing list