Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:Slowroll:kernel:kernel-drivers
r8168-8.052.01-72.13.src
r8168.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r8168.spec of Package r8168-8.052.01-72.13.src
# # spec file for package r8168 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #norootforbuild # needssslcertforbuild Name: r8168 Version: 8.052.01 Release: 72.13 Summary: Kernel module for RealTek RTL8111/8168 PCI-Express NICs License: GPL-2.0+ Group: Hardware/Other Url: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software Source0: %{name}-%{version}.tar.bz2 Source1: preamble Source2: Module.supported Patch0: r8168-kernel_version.patch Patch1: r8168-configuration.patch Patch2: r8168-support-dev0x8136.patch Patch3: kernel518.patch Patch6: leap155.patch Patch7: kernel6.4.10.patch Patch8: kernel68.patch %if 0%{?sle_version} == 150500 BuildRequires: kernel-syms-rt %endif %if 0%{?sle_version} == 150400 BuildRequires: kernel-syms-rt %endif BuildRequires: %kernel_module_package_buildreqs %if 0%{?sle_version} > 150600 BuildRequires: suse-module-tools-scriptlets %endif BuildRequires: pesign-obs-integration BuildRequires: bc BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %description This is the Linux device driver released for RealTek RTL8168B/8111B Gigabit Ethernet controllers with PCI-Express interface. RTL8111B/RTL8168B/RTL8111/RTL8168 RTL8111C/RTL8111CP/RTL8111D(L) RTL8168C/RTL8111DP/RTL8111E RTL8168E/RTL8111F/RTL8411 RTL8111G/RTL8111GUS/RTL8411B(N) RTL8118AS Apply to RTL8111H(S)/RTL8118/RTL8119i as well. %package blacklist-r8169 Summary: To favour r8168 blacklist the r8169 device driver Group: Hardware/Wifi Requires: %{name}-kmp = %{version} %description blacklist-r8169 On many Realtek Ethernet controllers the old device driver r8169 does not work reliably. To solve this the r8169 kernel module has to be blacklisted to enable the system to load the new device driver r8168. %kernel_module_package -n r8168 -x debug -x trace -c %_sourcedir/_projectcert.crt -p %_sourcedir/preamble %prep %setup -q %patch0 -b .p0 %patch1 -b .p1 %patch2 -p1 %patch3 -p1 %if 0%{?sle_version} == 150500 %patch6 -p1 %endif %patch7 -p1 %patch8 -p1 cp %{S:1} . cp %{S:2} . %build ln -sf $(type -p kmod) modinfo %{__mkdir} obj for flavor in %{flavors_to_build} do %{__rm} -rf obj/$flavor %{__cp} -rp src obj/$flavor %{__make} -C %{kernel_source $flavor} M=$PWD/obj/$flavor modules ./modinfo -F alias $(find $PWD/obj/$flavor/ -name '%{name}.ko') done %install export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates export BRP_PESIGN_FILES='*.ko' export BRP_PESIGN_COMPRESS_MODULE="xz" for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor done %{__mkdir_p} %{buildroot}%{_modprobedir}/ cat > %{buildroot}%{_modprobedir}/50-blacklist-r8169.conf<<-'EOF' # On many Realtek Ethernet controllers the old device driver r8169 does # not work reliably. To solve this the r8169 kernel module has to be # blacklisted to enable the system to load the new device driver r8168. blacklist r8169 EOF %clean %{__rm} -rf %{buildroot} %files blacklist-r8169 %defattr(-, root, root) %config %{_modprobedir}/50-blacklist-r8169.conf %changelog * Wed Jan 31 2024 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel68.patch * Mon Nov 6 2023 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 8.052.01 - delete kernel61.patch * Mon Aug 14 2023 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel6.4.10.patch * Sun Jul 30 2023 Stephan Hemeier <Sauerlandlinux@gmx.de> - delete leap153.patch - add r8168-support-dev0x8136.patch * Sat Nov 19 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 8.051.02 - delete kernel519.patch * Sat Oct 22 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add leap155.patch to build with Leap 15.5 * Sat Oct 22 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel61.patch * Fri Jun 17 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel519.patch to build with kernel 5.19 * Sun Jun 12 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version r8168-8.050.03 * Thu May 26 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version r8168-8.050.02 * Sat May 14 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel518.patch to build with kernel 5.18 * Fri Apr 29 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version r8168-8.050.00 - delete kernel517.patch * Mon Mar 7 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - changing directory for blacklist file from /etc/modprobe.d to /usr/lib/modprobe.d * Wed Feb 16 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel517.patch to build with kernel 5.17 * Sun Sep 19 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - add ueficert to work with secure boot - Update to Version r8168-8.049.02 * Fri Jun 18 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - Changing spec to build with SLE 15SP3 * Tue Jan 26 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - add leap153.patch to build on Leap 15.3 * Wed Aug 19 2020 Sauerlandlinux@gmx.de - Update to Version r8168-8.048.03 - deleted r8168-5_6_0.patch * Fri May 29 2020 Sauerlandlinux@gmx.de - Update to Version r8168-8.048.02 * Fri Nov 22 2019 Sauerlandlinux@gmx.de - Update to Version r8168-8.047.05 * Wed Aug 7 2019 Sauerlandlinux@gmx.de - Update to Version r8168-8.047.04 +------------------------------------------------------------------- * Wed Jul 3 2019 Sauerlandlinux@gmx.de - Update to Version r8168-8.047.02 * Wed May 8 2019 Sauerlandlinux@gmx.de - Update to Version r8168-8.047.01 * Sat Aug 18 2018 Sauerlandlinux@gmx.de - Update to Version r8168-8.046.00 * Wed Jan 10 2018 werner.fink@opensuse.org - Update to Version r8168-8.045.08 * Thu Aug 10 2017 werner@suse.de - Rework build of module, that is use obj directory * Thu Aug 3 2017 werner@suse.de - Initial package for missing kernel device driver r8168 8.044.02
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor