[packages/r8168] - up to 8.053.00, still needs fixing for kernel 6.9

baggins baggins at pld-linux.org
Sun May 19 23:07:02 CEST 2024


commit d8c60540c782e5131dcf0c77f882d907ff5f2667
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 19 23:06:32 2024 +0200

    - up to 8.053.00, still needs fixing for kernel 6.9

 kernel-strcpy.patch | 12 ------------
 r8168.spec          | 10 ++++------
 2 files changed, 4 insertions(+), 18 deletions(-)
---
diff --git a/r8168.spec b/r8168.spec
index 0b2feef..3509cd3 100644
--- a/r8168.spec
+++ b/r8168.spec
@@ -4,22 +4,21 @@
 # nothing to be placed to debuginfo package
 %define		_enable_debug_packages	0
 
-%define		rel	2
+%define		rel	0.1
 %define		pname	r8168
 Summary:	Linux driver for RTL8111/8168B PCI Express Gigabit Ethernet controllers
 Summary(pl.UTF-8):	Linuksowy sterownik dla kart sieciowych RTL8111/8168B PCI Express Gigabit Ethernet
 Name:		%{pname}%{_alt_kernel}
-Version:	8.052.01
+Version:	8.053.00
 Release:	%{rel}%{?_pld_builder:@%{_kernel_ver_str}}
 License:	GPL
 Group:		Base/Kernel
 URL:		http://www.realtek.com.tw/
 # Check for new versions at
-# https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
+# https://www.realtek.com/Download/List?cate_id=584
 # unfortunately this download is not DF-friendly.
 Source0:	%{pname}-%{version}.tar.bz2
-# Source0-md5:	31d41df8c9234d187d42b881a087d7df
-Patch0:		kernel-strcpy.patch
+# Source0-md5:	6323d3ed1b01bf2e78b4a235c6eae4db
 BuildRequires:	rpmbuild(macros) >= 1.701
 %{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRoot:	%{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
@@ -71,7 +70,6 @@ Express Gigabit Ethernet.\
 
 %prep
 %setup -q -n %{pname}-%{version}
-%patch0 -p1
 
 %build
 %{expand:%build_kernel_packages}
diff --git a/kernel-strcpy.patch b/kernel-strcpy.patch
deleted file mode 100644
index 53c86d3..0000000
--- a/kernel-strcpy.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru r8168-8.052.01/src/r8168_n.c r8168-8.052.01.strcpy/src/r8168_n.c
---- r8168-8.052.01/src/r8168_n.c	2023-09-26 16:26:06.000000000 +0200
-+++ r8168-8.052.01.strcpy/src/r8168_n.c	2024-03-17 00:11:58.529966908 +0100
-@@ -6293,7 +6293,7 @@
-         info->eedump_len = tp->eeprom_len;
-         BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
-         if (rtl_fw)
--                strlcpy(info->fw_version, rtl_fw->version,
-+                strscpy(info->fw_version, rtl_fw->version,
-                         sizeof(info->fw_version));
- }
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/r8168.git/commitdiff/d8c60540c782e5131dcf0c77f882d907ff5f2667



More information about the pld-cvs-commit mailing list