diff options
author | Pacho Ramos <pacho@gentoo.org> | 2024-11-08 17:17:53 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2024-11-08 17:32:11 +0100 |
commit | 9f6930fc8f494e95210b6524e8bf3099661b4ada (patch) | |
tree | 34725419a09e0f69ed69c7c7302c928d5d4268a7 /net-misc/r8168 | |
parent | media-video/totem: Bump to 43.1 (diff) | |
download | gentoo-9f6930fc8f494e95210b6524e8bf3099661b4ada.tar.gz gentoo-9f6930fc8f494e95210b6524e8bf3099661b4ada.tar.bz2 gentoo-9f6930fc8f494e95210b6524e8bf3099661b4ada.zip |
net-misc/r8168: add 8.054.00
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'net-misc/r8168')
-rw-r--r-- | net-misc/r8168/Manifest | 1 | ||||
-rw-r--r-- | net-misc/r8168/r8168-8.054.00.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 6421e16e2073..5d0216061559 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca DIST r8168-8.053.00.tar.gz 169102 BLAKE2B 4be044fec5edb78d3050c66f92ffce56487347c171da6d0e29593584e23b173536e48a18ffaf47df4e99999867a65b658a0deace333948bb0d77cd0f5c619719 SHA512 c44a63b04eb5cfb2b8ae434b26098c96067f7a2d6193e206801236fa38832b4f20a0b1a05a374f1d7d5b7ce973d38b6f49744f8b029e22930ebbd2763fbc6440 +DIST r8168-8.054.00.tar.gz 170346 BLAKE2B d237f8158434b86f123ad54615b3b7079ee54e066baf80304d19c9fcec247ebafb348340a01260f15692341add349ae6daf0f2ac4ad7953f16f804861c3a4480 SHA512 31b64c39ab3d4b8077e3a9880e20fdbfeee99e5fc3e26327d27085c2f97862ffa33af5d5c0ff7624c1216fa9230282ed835600c17ad4a6de8a87f29661156bbf diff --git a/net-misc/r8168/r8168-8.054.00.ebuild b/net-misc/r8168/r8168-8.054.00.ebuild new file mode 100644 index 000000000000..5cb149094196 --- /dev/null +++ b/net-misc/r8168/r8168-8.054.00.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod-r1 + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/Download/List?cate_id=584" +SRC_URI="https://github.com/mtorromeo/${PN}/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="use-firmware" + +CONFIG_CHECK="~!R8169" +WARNING_R8169="CONFIG_R8169 is enabled. ${P} will not be loaded unless kernel driver Realtek 8169 PCI Gigabit Ethernet (CONFIG_R8169) is DISABLED." + +PATCHES=( "${FILESDIR}"/${PN}-8.053.00-kernel-6.9.patch ) + +src_compile() { + local modlist=( ${PN}=kernel/drivers/net/ethernet/realtek:src ) + local modargs=( + # Build parameters + KERNELDIR="${KV_OUT_DIR}" + # Configuration settings + ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n) + ) + + linux-mod-r1_src_compile +} |