[arch-commits] CVS update of extra/network/ltmodem-beyond (3 files)
Travis Willard
travis at archlinux.org
Sun May 20 14:13:54 UTC 2007
Date: Sunday, May 20, 2007 @ 10:13:54
Author: travis
Path: /home/cvs-extra/extra/network/ltmodem-beyond
Removed: PKGBUILD (1.5) ltmodem.install (1.4) module-parm.patch (1.1)
Beyond no longer in the repos
-------------------+
PKGBUILD | 29 -----------------------------
ltmodem.install | 29 -----------------------------
module-parm.patch | 26 --------------------------
3 files changed, 84 deletions(-)
Index: extra/network/ltmodem-beyond/PKGBUILD
diff -u extra/network/ltmodem-beyond/PKGBUILD:1.5 extra/network/ltmodem-beyond/PKGBUILD:removed
--- extra/network/ltmodem-beyond/PKGBUILD:1.5 Sun Dec 3 02:49:54 2006
+++ extra/network/ltmodem-beyond/PKGBUILD Sun May 20 10:13:54 2007
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD,v 1.5 2006/12/03 07:49:54 james Exp $
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
-
-pkgname=ltmodem-beyond
-pkgver=8.31
-pkgrel=35
-_kernver=2.6.19-beyond
-pkgdesc="Drivers for the Lucent LT Winmodem (PCI). For beyond kernel"
-arch=(i686 x86_64)
-url="http://linmodems.technion.ac.il"
-install=ltmodem.install
-source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-8.tar.bz2 \
- 2.6.18-devfs.patch module-parm.patch kernel-2.6.19.patch)
-depends=('kernel26beyond' 'ltmodem-utils')
-
-build() {
- cd $startdir/src/ltmodem-2.6-alk-8
- patch -Np1 -i ../module-parm.patch || return 1
- patch -Np0 -i ../2.6.18-devfs.patch || return 1
- patch -Np0 -i ../kernel-2.6.19.patch || return 1
- make KERNEL_DIR=/usr/src/linux-${_kernver} || return 1
- #Install kernel modules
- install -D -m 644 ltmodem.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ltmodem.ko
- install -D -m 644 ltserial.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ltserial.ko
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/ltmodem.install
-}
-md5sums=('0f7df8d31cf662a4afaa378fa5bf790b' 'c7708418fd260755966b996f7843d6f2'\
- '68bf1064468f537908536f7ac569f0fd' '8c98863669ffcac0dc6c245d47ef400f')
Index: extra/network/ltmodem-beyond/ltmodem.install
diff -u extra/network/ltmodem-beyond/ltmodem.install:1.4 extra/network/ltmodem-beyond/ltmodem.install:removed
--- extra/network/ltmodem-beyond/ltmodem.install:1.4 Sun Dec 3 02:49:54 2006
+++ extra/network/ltmodem-beyond/ltmodem.install Sun May 20 10:13:54 2007
@@ -1,29 +0,0 @@
-# arg 1: the new package version
-post_install() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.19-beyond
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-echo
-echo
-echo "==> NOTICE:"
-echo "==> For more information about the use and config of the drivers,"
-echo "==> have a look at http://wiki.archlinux.org/index.php/Ltmodem_drivers"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.19-beyond
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-op=$1
-shift
-$op $*
\ No newline at end of file
Index: extra/network/ltmodem-beyond/module-parm.patch
diff -u extra/network/ltmodem-beyond/module-parm.patch:1.1 extra/network/ltmodem-beyond/module-parm.patch:removed
--- extra/network/ltmodem-beyond/module-parm.patch:1.1 Tue Jun 27 06:30:25 2006
+++ extra/network/ltmodem-beyond/module-parm.patch Sun May 20 10:13:54 2007
@@ -1,26 +0,0 @@
---- ltmodem-2.6-alk-8/lt_modem.c~ 2005-12-12 02:18:55.000000000 +0100
-+++ ltmodem-2.6-alk-8/lt_modem.c 2006-04-09 15:53:50.000000000 +0200
-@@ -120,14 +120,20 @@
- static int vendor_id = 0;
- static int device_id = 0;
-
--MODULE_PARM(vendor_id, "i");
-+module_param(vendor_id, int, 0);
- MODULE_PARM_DESC(vendor_id, "Vendor ID of the Lucent Modem e.g. vendor_id=0x11c1");
--MODULE_PARM(device_id, "i");
-+module_param(device_id, int, 0);
- MODULE_PARM_DESC(device_id, "Device ID of the Lucent Modem e.g. device_id=0x0440");
-
- static int Forced[4] = {-1,-1,-1,0};
-
--MODULE_PARM(Forced, "4i");
-+/* You can only set the first pair, from old MODULE_PARM code. */
-+static int Forced_set(const char *val, struct kernel_param *kp)
-+{
-+ get_options((char *)val, 4, (int *)Forced);
-+ return 0;
-+}
-+module_param_call(Forced, Forced_set, NULL, NULL, 0);
- MODULE_PARM_DESC(Forced, "Forced Irq,BaseAddress,ComAddress[,NoDetect] of the Lucent Modem e.g. Forced=3,0x130,0x2f8");
-
- static
More information about the arch-commits
mailing list