Author: leigh123linux
Update of /cvs/free/rpms/ndiswrapper-kmod/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv1348
Modified Files:
ndiswrapper-kmod.spec
Added Files:
ndiswrapper-1.58-add_taint.patch
Log Message:
* Wed May 15 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 1.58-2
- patch for 3.9 kernel
ndiswrapper-1.58-add_taint.patch:
loader.c | 2 +-
wrapper.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE ndiswrapper-1.58-add_taint.patch ---
diff -ur ndiswrapper-1.58.orig/driver/loader.c ndiswrapper-1.58/driver/loader.c
--- ndiswrapper-1.58.orig/driver/loader.c 2013-05-01 09:48:34.910000000 +0900
+++ ndiswrapper-1.58/driver/loader.c 2013-05-01 09:48:59.870000000 +0900
@@ -575,7 +575,7 @@
} else {
printk(KERN_INFO "%s: driver %s (%s) loaded\n",
DRIVER_NAME, wrap_driver->name, wrap_driver->version);
- add_taint(TAINT_PROPRIETARY_MODULE);
+ add_taint(TAINT_PROPRIETARY_MODULE, LOCKDEP_STILL_OK);
EXIT1(return 0);
}
}
diff -ur ndiswrapper-1.58.orig/driver/wrapper.c ndiswrapper-1.58/driver/wrapper.c
--- ndiswrapper-1.58.orig/driver/wrapper.c 2013-02-20 03:00:37.000000000 +0900
+++ ndiswrapper-1.58/driver/wrapper.c 2013-05-01 09:54:30.140000000 +0900
@@ -72,7 +72,7 @@
static int __init wrapper_init(void)
{
#ifdef TAINT_OOT_MODULE
- add_taint(TAINT_OOT_MODULE);
+ add_taint(TAINT_OOT_MODULE, LOCKDEP_STILL_OK);
#endif
printk(KERN_INFO "%s version %s loaded (smp=%s, preempt=%s)\n",
DRIVER_NAME, DRIVER_VERSION,
Index: ndiswrapper-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/ndiswrapper-kmod/F-18/ndiswrapper-kmod.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- ndiswrapper-kmod.spec 14 May 2013 15:17:28 -0000 1.87
+++ ndiswrapper-kmod.spec 15 May 2013 23:14:21 -0000 1.88
@@ -10,13 +10,14 @@
Summary: Ndiswrapper kernel module
Name: ndiswrapper-kmod
Version: 1.58
-Release: 1%{?pre}%{?dist}.15
+Release: 2%{?pre}%{?dist}
License: GPLv2
Group: System Environment/Kernel
URL:
http://ndiswrapper.sourceforge.net
Source0:
http://downloads.sf.net/ndiswrapper/ndiswrapper-%{version}%{?pre}.tar.gz
Source11: ndiswrapper-kmodtool-excludekernel-filterfile
Patch0: ndiswrapper-kmod-nomodinfo.patch
+Patch1: ndiswrapper-1.58-add_taint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i586 and i686
@@ -48,6 +49,7 @@
%setup -q -c -T -a 0 -n %{name}-%{version}%{?pre}
(cd ndiswrapper-%{version}%{?pre} ;
%patch0 -p1 -b .orig
+%patch1 -p1 -b .orig
)
sed -i 's|/sbin/depmod -a|/bin/true|'
ndiswrapper-%{version}%{?pre}/driver/Makefile
for kernel_version in %{?kernel_versions} ; do
@@ -75,6 +77,9 @@
%changelog
+* Wed May 15 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 1.58-2
+- patch for 3.9 kernel
+
* Tue May 14 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1.58-1.15
- Rebuilt for kernel