[ndiswrapper-kmod/f36] (4 commits) ...Update changelog
by Nicolas Chauvet
Summary of changes:
54d9a7a... Drop some wrong patch (*)
62e7a1e... Add new patch (*)
091a38e... Apply new patch (*)
422bbc0... Update changelog (*)
(*) This commit already existed in another branch; no separate mail sent
2 years
[ndiswrapper-kmod/f37] (4 commits) ...Update changelog
by Nicolas Chauvet
Summary of changes:
54d9a7a... Drop some wrong patch (*)
62e7a1e... Add new patch (*)
091a38e... Apply new patch (*)
422bbc0... Update changelog (*)
(*) This commit already existed in another branch; no separate mail sent
2 years
[ndiswrapper-kmod] Update changelog
by Nicolas Chauvet
commit 422bbc0fbda865fc85ab6372a5158d00f8c147dc
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 14 18:33:02 2022 +0200
Update changelog
ndiswrapper-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ndiswrapper-kmod.spec b/ndiswrapper-kmod.spec
index aaf5fb7..4361bc8 100644
--- a/ndiswrapper-kmod.spec
+++ b/ndiswrapper-kmod.spec
@@ -8,7 +8,7 @@
Summary: Ndiswrapper kernel module
Name: ndiswrapper-kmod
Version: 1.63
-Release: 6%{?pre}%{?dist}
+Release: 7%{?pre}%{?dist}
License: GPLv2
URL: http://ndiswrapper.sourceforge.net
Source0: http://downloads.sf.net/ndiswrapper/ndiswrapper-%{version}%{?pre}.tar.gz
@@ -73,6 +73,9 @@ done
%changelog
+* Fri Oct 14 2022 Nicolas Chauvet <kwizart(a)gmail.com> - 1.63-7
+- Update prandom_seed
+
* Thu Sep 01 2022 Nicolas Chauvet <kwizart(a)gmail.com> - 1.63-6
- Update for kernel 5.17 from leigh
- Update for kernel 5.18 from kwizart
2 years
[ndiswrapper-kmod] Apply new patch
by Nicolas Chauvet
commit 091a38ebf2daf8fd170871506312cb4dc8830053
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 14 18:22:45 2022 +0200
Apply new patch
ndiswrapper-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/ndiswrapper-kmod.spec b/ndiswrapper-kmod.spec
index 07d04d8..aaf5fb7 100644
--- a/ndiswrapper-kmod.spec
+++ b/ndiswrapper-kmod.spec
@@ -17,6 +17,7 @@ Patch0: ndiswrapper-kmod-nomodinfo.patch
Patch1: kernel-5.8.patch
Patch2: kernel-5.17.patch
Patch3: kernel-5.18.patch
+Patch4: kernel-pseed.patch
ExclusiveArch: i686 x86_64
@@ -49,6 +50,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfi
%patch1 -p1 -b .orig
%patch2 -p1 -b .orig
%patch3 -p1 -b .orig2
+%patch4 -p1 -b .pseed
)
sed -i 's|/sbin/depmod -a|/bin/true|' ndiswrapper-%{version}%{?pre}/driver/Makefile
for kernel_version in %{?kernel_versions} ; do
2 years
[ndiswrapper-kmod] Add new patch
by Nicolas Chauvet
commit 62e7a1e7758b0fc9a89f2abeca849ff0ce9bcf68
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 14 18:22:28 2022 +0200
Add new patch
kernel-pseed.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/kernel-pseed.patch b/kernel-pseed.patch
new file mode 100644
index 0000000..993065f
--- /dev/null
+++ b/kernel-pseed.patch
@@ -0,0 +1,12 @@
+diff -up ndiswrapper-1.63/driver/ntoskernel.h.pseed2 ndiswrapper-1.63/driver/ntoskernel.h
+--- ndiswrapper-1.63/driver/ntoskernel.h.pseed2 2022-10-14 17:44:10.909112326 +0200
++++ ndiswrapper-1.63/driver/ntoskernel.h 2022-10-14 18:00:44.230096568 +0200
+@@ -373,6 +373,8 @@ static inline void reinit_completion(str
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
+ #define prandom_seed(seed) net_srandom(seed)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,18,0)
++#define prandom_seed(seed) (seed)
+ #endif
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
2 years
[ndiswrapper-kmod] Drop some wrong patch
by Nicolas Chauvet
commit 54d9a7a063516d2aed61df6478f2530ce8bd1403
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 14 18:22:08 2022 +0200
Drop some wrong patch
kernel-5.18.patch | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/kernel-5.18.patch b/kernel-5.18.patch
index e1dfa65..2f07d13 100644
--- a/kernel-5.18.patch
+++ b/kernel-5.18.patch
@@ -123,20 +123,6 @@ diff -up ndiswrapper-1.63/driver/ndis.c.orig2 ndiswrapper-1.63/driver/ndis.c
DMA_BIT_MASK(32)))
WARNING("setting dma mask failed");
}
-diff -up ndiswrapper-1.63/driver/ntoskernel.h.orig2 ndiswrapper-1.63/driver/ntoskernel.h
---- ndiswrapper-1.63/driver/ntoskernel.h.orig2 2020-05-03 14:18:33.000000000 +0200
-+++ ndiswrapper-1.63/driver/ntoskernel.h 2022-09-01 15:55:13.271733795 +0200
-@@ -52,6 +52,10 @@
- #include <linux/sched/signal.h>
- #endif
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,18,0)
-+#include <linux/prandom.h>
-+#endif
-+
- #if !defined(CONFIG_X86) && !defined(CONFIG_X86_64)
- #error "this module is for x86 or x86_64 architectures only"
- #endif
diff -up ndiswrapper-1.63/driver/pnp.c.orig2 ndiswrapper-1.63/driver/pnp.c
--- ndiswrapper-1.63/driver/pnp.c.orig2 2020-05-03 14:18:33.000000000 +0200
+++ ndiswrapper-1.63/driver/pnp.c 2022-09-01 15:55:13.271733795 +0200
2 years