summaryrefslogtreecommitdiffstats
path: root/abs/core/ndiswrapper
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ndiswrapper')
-rw-r--r--abs/core/ndiswrapper/PKGBUILD16
-rw-r--r--abs/core/ndiswrapper/ndiswrapper.install6
-rw-r--r--abs/core/ndiswrapper/ndiswrapper_kernel-2.6.38.patch24
3 files changed, 38 insertions, 8 deletions
diff --git a/abs/core/ndiswrapper/PKGBUILD b/abs/core/ndiswrapper/PKGBUILD
index fd7dd52..9bc90fd 100644
--- a/abs/core/ndiswrapper/PKGBUILD
+++ b/abs/core/ndiswrapper/PKGBUILD
@@ -2,24 +2,26 @@
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=ndiswrapper
-_kernver=2.6.37-LinHES
+_kernver=2.6.39-LinHES
pkgver=1.56
-pkgrel=7
+pkgrel=8
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For stock arch 2.6 kernel."
license=('GPL')
arch=(i686 x86_64)
url="http://ndiswrapper.sourceforge.net"
install="ndiswrapper.install"
-depends=("ndiswrapper-utils=$pkgver" 'kernel26>=2.6.37' 'kernel26<2.6.38')
-makedepends=('kernel26-headers>=2.6.37' 'kernel26-headers<2.6.38')
+depends=("ndiswrapper-utils=$pkgver" 'kernel26>=2.6.39' 'kernel26<2.6.40')
+makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40')
source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz
kernel-2.6.35.patch
- kernel-2.6.36.patch)
+ kernel-2.6.36.patch
+ ndiswrapper_kernel-2.6.38.patch)
build()
{
cd $srcdir/ndiswrapper-$pkgver/driver
patch -Np2 -i $startdir/kernel-2.6.35.patch
patch -Np2 -i $startdir/kernel-2.6.36.patch
+ patch -Np2 -i $startdir/ndiswrapper_kernel-2.6.38.patch
make KVERS=$_kernver
make DESTDIR=$pkgdir KVERS=$_kernver install
rm $pkgdir/lib/modules/$_kernver/modules.* #wtf?
@@ -34,3 +36,7 @@ build()
md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
'0a03d613b1fd545a75c5dd1a7c2aaec4'
'cc16ed13449f17e90865df688b180b2c')
+md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
+ '0a03d613b1fd545a75c5dd1a7c2aaec4'
+ 'cc16ed13449f17e90865df688b180b2c'
+ '2499a87276ae0c8ce39bea6ef942d926')
diff --git a/abs/core/ndiswrapper/ndiswrapper.install b/abs/core/ndiswrapper/ndiswrapper.install
index 124380b..a45a459 100644
--- a/abs/core/ndiswrapper/ndiswrapper.install
+++ b/abs/core/ndiswrapper/ndiswrapper.install
@@ -2,7 +2,7 @@
post_install()
{
ndiswrapper -m
- KERNEL_VERSION='2.6.37-LinHES'
+ KERNEL_VERSION='2.6.39-LinHES'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
@@ -11,13 +11,13 @@ post_install()
post_upgrade()
{
ndiswrapper -m
- KERNEL_VERSION='2.6.37-LinHES'
+ KERNEL_VERSION='2.6.39-LinHES'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove()
{
- KERNEL_VERSION='2.6.37-LinHES'
+ KERNEL_VERSION='2.6.39-LinHES'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
diff --git a/abs/core/ndiswrapper/ndiswrapper_kernel-2.6.38.patch b/abs/core/ndiswrapper/ndiswrapper_kernel-2.6.38.patch
new file mode 100644
index 0000000..15c4f42
--- /dev/null
+++ b/abs/core/ndiswrapper/ndiswrapper_kernel-2.6.38.patch
@@ -0,0 +1,24 @@
+--- ndiswrapper-1.56.old/driver/wrapndis.c (revision 2728)
++++ ndiswrapper-1.56/driver/wrapndis.c (revision 2729)
+@@ -13,16 +13,16 @@
+ *
+ */
+
++#include <linux/inetdevice.h>
++#include <linux/ip.h>
++#include <linux/tcp.h>
++#include <linux/udp.h>
++#include <linux/in.h>
+ #include "ndis.h"
+ #include "iw_ndis.h"
+ #include "pnp.h"
+ #include "loader.h"
+ #include "wrapndis.h"
+-#include <linux/inetdevice.h>
+-#include <linux/ip.h>
+-#include <linux/tcp.h>
+-#include <linux/udp.h>
+-#include <linux/in.h>
+ #include "wrapper.h"
+
+ /* Functions callable from the NDIS driver */