[arch-commits] CVS update of extra/network/ndiswrapper-suspend2 (2 files)

daniel at archlinux.org daniel at archlinux.org
Tue Oct 16 18:51:26 UTC 2007


    Date: Tuesday, October 16, 2007 @ 14:51:26
  Author: daniel
    Path: /home/cvs-extra/extra/network/ndiswrapper-suspend2

 Removed: PKGBUILD (1.8) ndiswrapper.install (1.4)


---------------------+
 PKGBUILD            |   24 ------------------------
 ndiswrapper.install |   37 -------------------------------------
 2 files changed, 61 deletions(-)


Index: extra/network/ndiswrapper-suspend2/PKGBUILD
diff -u extra/network/ndiswrapper-suspend2/PKGBUILD:1.8 extra/network/ndiswrapper-suspend2/PKGBUILD:removed
--- extra/network/ndiswrapper-suspend2/PKGBUILD:1.8	Tue Aug 21 12:58:05 2007
+++ extra/network/ndiswrapper-suspend2/PKGBUILD	Tue Oct 16 14:51:25 2007
@@ -1,24 +0,0 @@
-#$Id: PKGBUILD,v 1.8 2007/08/21 16:58:05 daniel Exp $
-#Maintainer: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=ndiswrapper-suspend2
-_kernver=2.6.22-suspend2
-pkgver=1.47
-pkgrel=1
-pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For kernel26suspend2."
-arch=(i686 x86_64)
-url="http://ndiswrapper.sourceforge.net"
-install="ndiswrapper.install"
-depends=('ndiswrapper-utils' 'kernel26suspend2')
-source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz)
-md5sums=('df02cbf0e514797f98a108d8566cb417')
-
-build()
-{
-  cd $startdir/src/ndiswrapper-$pkgver/driver
-  make KVERS=$_kernver 
-  make DESTDIR=$startdir/pkg KVERS=$_kernver install || return 1
-  rm $startdir/pkg/lib/modules/$_kernver/modules.* #wtf?
-
-  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
-}
Index: extra/network/ndiswrapper-suspend2/ndiswrapper.install
diff -u extra/network/ndiswrapper-suspend2/ndiswrapper.install:1.4 extra/network/ndiswrapper-suspend2/ndiswrapper.install:removed
--- extra/network/ndiswrapper-suspend2/ndiswrapper.install:1.4	Tue Aug 21 12:58:06 2007
+++ extra/network/ndiswrapper-suspend2/ndiswrapper.install	Tue Oct 16 14:51:25 2007
@@ -1,37 +0,0 @@
-# arg 1:  the new package version
-post_install()
-{
-  ndiswrapper -m
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade()
-{
-  ndiswrapper -m
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
-  /bin/true
-}
-
-# arg 1:  the old package version
-pre_remove()
-{
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove()
-{
-  KERNEL_VERSION='2.6.22-suspend2'
-  depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list