Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:Slowroll:kernel
rtl8821ce-git20240120-9.2.src
rtl8821ce.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtl8821ce.spec of Package rtl8821ce-git20240120-9.2.src
# # spec file for package rtl8821ce # # Copyright (c) 2018 Matthias Bach <marix@marix.org> # # 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: rtl8821ce Version: git20240120 Release: 9.2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %kernel_module_package_buildreqs BuildRequires: pesign-obs-integration BuildRequires: bc Summary: Wlan-Driver for Realtek RTL8821CE 802.11ac WLAN Adapter License: GPL-2.0+ Group: System/Kernel Url: https://github.com/tomaspinho/rtl8821ce.git Source0: rtl8821ce-%{version}.tar.gz Source1: preamble Patch0: fix_build_system.patch Patch1: leap155.patch Provides: %{name} = %{version} Obsoletes: %{name} < %{version} Conflicts: %{name} = %{version} %kernel_module_package -n rtl8821ce -x debug -x trace -c %_sourcedir/_projectcert.crt -p %_sourcedir/preamble %description This is the Wlan-Driver for the Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter ported from the Endless OS variant of the linux kernel. Its named 8821ce. Bugs: see https://github.com/tomaspinho/rtl8821ce/blob/master/README.md Driver is in kernel 5.9 but does not work, so you need also the blacklist rpm. %package blacklist-rtw_8821ce Summary: To favour rtl8192ce blacklist the rtw_8821ce device driver Group: Hardware/Wifi ##BuildArch: noarch Requires: %{name}-kmp = %{version} %description blacklist-rtw_8821ce The rtl8821ce is supported with kernel 5.9 by rtw88_8821ce, but this module does not work. To solve this the rtw_8821ce kernel module has to be blacklisted to enable the system to load the new device driver 8821ce. This rpm blacklists the rtw88_8821ce %prep %setup -q %patch0 -p1 %if 0%{?sle_version} == 150500 %patch1 -p1 %endif set -- * mkdir source mv "$@" source/ mkdir obj %build export EXTRA_CFLAGS='-DVERSION=\"%version\"' export CONFIG_RTL8821CE=m for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r source obj/$flavor make -C obj/$flavor KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done %install #install the module export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates export CONFIG_RTL8821CE=m 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}%{_sysconfdir}/modprobe.d/ cat > %{buildroot}%{_sysconfdir}/modprobe.d/50-blacklist-rtw_8821ce.conf<<-'EOF' blacklist rtw88_8821ce EOF %files blacklist-rtw_8821ce %defattr(-, root, root) %config %{_sysconfdir}/modprobe.d/50-blacklist-rtw_8821ce.conf %changelog * Sat Jan 20 2024 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 20240120 - add leap155.patch - delete leap 152.patch - delete leap153.patch * Sat May 6 2023 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 20230506 - add support for linux 6.3 * Sun Sep 11 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 20220911 - Update for 6.0 compatiblity * Sun Aug 28 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - Documentation for using MOK to sign kernel object - Add PCI ID 10ec:b821 (TP-Link AC600 Archer T2E) - Update for 5.19.2 compatiblity - Fix build for >= 5.18 - fix multiple definitions of is_*_addr functions by moving them to static - replace pci_* functions and constants with dma_* functions and constants - remove calls to mm_segment_t, this type is no longer defined and is not needed - remove calls to force_uaccess_begin, force_uaccess_end - these have been deprecated from the kernel * Fri Apr 1 2022 Stephan Hemeier <Sauerlandlinux@gmx.de> - add support for linux 5.17 * Sat Nov 20 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to Version 20211120 - support for linux >= 5.15 by removal of IPX - include linux version.h so we can check which version we're compiling for * Sun Oct 10 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - delete leap151.patch * Sun Sep 19 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - added cert - cleaned spec * Fri Jun 18 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - Changing spec to build with SLE 15SP3 * Wed Mar 24 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - Please only use this driver with Leap, for Tumbleweed and higher use rtw88 instead. * Wed Mar 24 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - delete kernel512.patch * Wed Mar 10 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - add kernel512.patch * Tue Jan 26 2021 Stephan Hemeier <Sauerlandlinux@gmx.de> - added leap153.patch to build for Leap 15.3 * Sun Nov 15 2020 Stephan Hemeier <Sauerlandlinux@gmx.de> - updated to version git20201115 Fix for kernel 5.10 * Tue Nov 10 2020 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to git 20201110 * Sun Oct 25 2020 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to git20201025 added blacklist-rtw_8821ce to blacklist rtw88_8821ce in kernel 5.9 * Wed Feb 12 2020 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to git20200212 Fix for kernel 5.6 * Sun Nov 24 2019 Stephan Hemeier <Sauerlandlinux@gmx.de> - Update to git20191124 deleted patch for Kernel 4.19 * Wed Oct 24 2018 Stephan Hemeier <Sauerlandlinux@gmx.de> - added patch for Kernel 4.19 Sun Sep 2 12:45:32 UTC 2018 - Stephan Hemeier <Sauerlandlinux@gmx.de> - Initial package creation
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