[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 95a30003a04225bd7998c8e30f7909e51a4e78f5 Author: Pacho Ramos gentoo org> AuthorDate: Sat May 4 17:23:10 2024 + Commit: Pacho Ramos gentoo org> CommitDate: Sat May 4 17:38:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a30003 net-misc/r8168: add 8.053.00 Closes: https://bugs.gentoo.org/926712 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.053.00.ebuild | 31 +++ 2 files changed, 32 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 9ead16377f3e..fc4b6790183e 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.052.01.tar.bz2 126861 BLAKE2B dccee164ea1151859752d525390a3786d31d445e05188a86d2d17c9cbd4435aac788dc5ca1350fcc719bba1c42bd358f39221666f8575d52a9cbf9c78b65c70d SHA512 ae90e108ba3eaaa1c8a639392b21ff98e71abdba514a19b2f286603fbdae69c88592380d9dacda2c10d711348797006a8b518383e4a0519d1bd26dc60266b4b5 +DIST r8168-8.053.00.tar.gz 169102 BLAKE2B 4be044fec5edb78d3050c66f92ffce56487347c171da6d0e29593584e23b173536e48a18ffaf47df4e9867a65b658a0deace333948bb0d77cd0f5c619719 SHA512 c44a63b04eb5cfb2b8ae434b26098c96067f7a2d6193e206801236fa38832b4f20a0b1a05a374f1d7d5b7ce973d38b6f49744f8b029e22930ebbd2763fbc6440 diff --git a/net-misc/r8168/r8168-8.053.00.ebuild b/net-misc/r8168/r8168-8.053.00.ebuild new file mode 100644 index ..c413c7299d97 --- /dev/null +++ b/net-misc/r8168/r8168-8.053.00.ebuild @@ -0,0 +1,31 @@ +# 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." + +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 +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: b27cd3a093a2c0c17c9f4150322d45570a6ca024 Author: Pacho Ramos gentoo org> AuthorDate: Sat May 4 17:23:21 2024 + Commit: Pacho Ramos gentoo org> CommitDate: Sat May 4 17:38:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b27cd3a0 net-misc/r8168: drop 8.051.02 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.051.02.ebuild | 41 1 file changed, 41 deletions(-) diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild deleted file mode 100644 index 8f0c5b529c63.. --- a/net-misc/r8168/r8168-8.051.02.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.19" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -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.051.02-6.1-fix.patch" - "${FILESDIR}/${P}-6.4.10-fix.patch" # bug 912242 -) - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" - BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" -} - -src_install() { - linux-mod_src_install - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 6df01f68704679bb520d220356318c1f6ad63a7c Author: Matoro Mahri matoro tk> AuthorDate: Wed Feb 7 15:21:40 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Feb 8 01:56:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df01f68 Revert "net-misc/r8168: Stabilize 8.052.01 amd64, #918707" This reverts commit df18a283fdd6bfd1260bd42faf7b3da3b13f76c2. Signed-off-by: Ionen Wolkens gentoo.org> net-misc/r8168/r8168-8.052.01.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/r8168/r8168-8.052.01.ebuild b/net-misc/r8168/r8168-8.052.01.ebuild index 507eae82b9d6..8d93a0a7f5fe 100644 --- a/net-misc/r8168/r8168-8.052.01.ebuild +++ b/net-misc/r8168/r8168-8.052.01.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="use-firmware"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: df18a283fdd6bfd1260bd42faf7b3da3b13f76c2 Author: Matoro Mahri matoro tk> AuthorDate: Sun Jan 21 19:25:52 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Mon Jan 22 06:58:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df18a283 net-misc/r8168: Stabilize 8.052.01 amd64, #918707 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Viorel Munteanu gentoo.org> net-misc/r8168/r8168-8.052.01.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/r8168/r8168-8.052.01.ebuild b/net-misc/r8168/r8168-8.052.01.ebuild index 8d93a0a7f5fe..507eae82b9d6 100644 --- a/net-misc/r8168/r8168-8.052.01.ebuild +++ b/net-misc/r8168/r8168-8.052.01.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="use-firmware"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 9cc9f2a1b7e0ae5f1f357b77ae9f9206baa573a0 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 19:59:18 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 19:59:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc9f2a1 net-misc/r8168: Stabilize 8.051.02-r1 amd64, #915045 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/r8168/r8168-8.051.02-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.051.02-r1.ebuild b/net-misc/r8168/r8168-8.051.02-r1.ebuild index ad1898910b5a..4a7da024fbfc 100644 --- a/net-misc/r8168/r8168-8.051.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.051.02-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="use-firmware"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 0f1c8bfacc0cef6ee245a7217ce6325b7ecf1f94 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 19:55:03 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 19:55:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1c8bfa net-misc/r8168: Stabilize 8.051.02-r1 x86, #915045 Signed-off-by: Arthur Zamarin gentoo.org> net-misc/r8168/r8168-8.051.02-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.051.02-r1.ebuild b/net-misc/r8168/r8168-8.051.02-r1.ebuild index 32b1a5ac10f1..ad1898910b5a 100644 --- a/net-misc/r8168/r8168-8.051.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.051.02-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="use-firmware"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 96efcdc85262ec4d24451652609a144a7e3c43a5 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 1 17:33:26 2023 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 1 17:42:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96efcdc8 net-misc/r8168: add 8.052.01 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.052.01.ebuild | 32 2 files changed, 33 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index df4b080d77e0..9ead16377f3e 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca +DIST r8168-8.052.01.tar.bz2 126861 BLAKE2B dccee164ea1151859752d525390a3786d31d445e05188a86d2d17c9cbd4435aac788dc5ca1350fcc719bba1c42bd358f39221666f8575d52a9cbf9c78b65c70d SHA512 ae90e108ba3eaaa1c8a639392b21ff98e71abdba514a19b2f286603fbdae69c88592380d9dacda2c10d711348797006a8b518383e4a0519d1bd26dc60266b4b5 diff --git a/net-misc/r8168/r8168-8.052.01.ebuild b/net-misc/r8168/r8168-8.052.01.ebuild new file mode 100644 index ..8d93a0a7f5fe --- /dev/null +++ b/net-misc/r8168/r8168-8.052.01.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 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/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; + +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." + +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 +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: c21e37619cefcb53759e1bbd4b81129ee241cc5b Author: Karlson2k (Evgeny Grin) narod ru> AuthorDate: Wed Aug 16 08:54:26 2023 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Aug 23 13:18:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21e3761 net-misc/r8168: migrated to linux-mod-r1.eclass Closes: https://bugs.gentoo.org/912351 Signed-off-by: Karlson2k (Evgeny Grin) narod.ru> Closes: https://github.com/gentoo/gentoo/pull/32337 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.051.02-r1.ebuild | 37 + 1 file changed, 37 insertions(+) diff --git a/net-misc/r8168/r8168-8.051.02-r1.ebuild b/net-misc/r8168/r8168-8.051.02-r1.ebuild new file mode 100644 index ..32b1a5ac10f1 --- /dev/null +++ b/net-misc/r8168/r8168-8.051.02-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 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/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +SRC_URI="http://rtitwww.realtek.com/rtdrivers/cn/nic1/${P}.tar.bz2; + +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}/${P}-6.1-fix.patch" + "${FILESDIR}/${P}-6.4.10-fix.patch" # bug 912242 +) + +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 +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: 13f43b73752f9cc8630655794307f7b7f77f97c5 Author: Karlson2k (Evgeny Grin) narod ru> AuthorDate: Tue Aug 15 14:34:57 2023 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Aug 19 22:31:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f43b73 net-misc/r8168: fixed build with kernel 6.4.10+ Bug: https://bugs.gentoo.org/912242 Signed-off-by: Karlson2k (Evgeny Grin) narod.ru> Closes: https://github.com/gentoo/gentoo/pull/32323 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/r8168/files/r8168-8.051.02-6.4.10-fix.patch | 17 + net-misc/r8168/r8168-8.051.02.ebuild | 1 + 2 files changed, 18 insertions(+) diff --git a/net-misc/r8168/files/r8168-8.051.02-6.4.10-fix.patch b/net-misc/r8168/files/r8168-8.051.02-6.4.10-fix.patch new file mode 100644 index ..f10b86447971 --- /dev/null +++ b/net-misc/r8168/files/r8168-8.051.02-6.4.10-fix.patch @@ -0,0 +1,17 @@ +Fixed build with kernels 6.4.10+ +Gentoo Bug: https://bugs.gentoo.org/912242 +See also: https://github.com/mtorromeo/r8168/issues/54 + +--- +--- a/src/r8168_n.c 2023-08-13 03:33:06.977422132 +0400 b/src/r8168_n.c 2023-08-13 03:38:39.767005101 +0400 +@@ -81,6 +81,10 @@ + #include + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10) ++#include ++#endif ++ + #include + #include diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild index 1b19ce47db5e..8f0c5b529c63 100644 --- a/net-misc/r8168/r8168-8.051.02.ebuild +++ b/net-misc/r8168/r8168-8.051.02.ebuild @@ -26,6 +26,7 @@ WARNING_R8169="CONFIG_R8169 is enabled. ${P} will not be loaded unless kernel dr PATCHES=( "${FILESDIR}/${PN}-8.051.02-6.1-fix.patch" + "${FILESDIR}/${P}-6.4.10-fix.patch" # bug 912242 ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: a645c864b8322a334317042707bd2b66ed0e8638 Author: Pacho Ramos gentoo org> AuthorDate: Sun Feb 26 15:23:31 2023 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Feb 26 15:51:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a645c864 net-misc/r8168: drop 8.050.03 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest| 1 - net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch | 51 -- net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch | 23 -- net-misc/r8168/r8168-8.050.03.ebuild | 41 - 4 files changed, 116 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 0770f6988b67..df4b080d77e0 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1 @@ -DIST r8168-8.050.03.tar.bz2 115525 BLAKE2B 9681417c5ded9d089259d80226a16789beaacf31902d896410d581927468c44486a4c496e45d9973851ccca2d4c408159064452849b03347c789390b2b23e57b SHA512 b4c0af2f4e6b9dc36f2db9e33f465d8598afa0b28577ea1f016617e853af00cf41886941fd8173a5b035e219d87a0fae28771230079c88f34039efe669c1e1c6 DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca diff --git a/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch b/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch deleted file mode 100644 index 442fa1c3eadf.. --- a/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch +++ /dev/null @@ -1,51 +0,0 @@ -Functions like 'pci_dma_sync_single_for_device', 'pci_set_dma_mask', and 'pci_set_consistent_dma_mask' -no longer exist in 5.18.0. -Fix similar to https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2238850.html - a/src/r8168_n.c -+++ b/src/r8168_n.c -@@ -3698,7 +3698,11 @@ - txd->opts2 = 0; - while (1) { - memset(tmpAddr, pattern++, len - 14); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) - pci_dma_sync_single_for_device(tp->pci_dev, -+#else -+dma_sync_single_for_device(>pci_dev->dev, -+#endif -le64_to_cpu(mapping), -len, DMA_TO_DEVICE); - txd->opts1 = cpu_to_le32(DescOwn | FirstFrag | LastFrag | len); -@@ -3726,7 +3730,11 @@ - if (rx_len == len) { - dma_sync_single_for_cpu(tp_to_dev(tp), le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); - i = memcmp(skb->data, rx_skb->data, rx_len); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) - pci_dma_sync_single_for_device(tp->pci_dev, le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); -+#else -+dma_sync_single_for_device(>pci_dev->dev, le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); -+#endif - if (i == 0) { - // dev_printk(KERN_INFO, tp_to_dev(tp), "loopback test finished\n",rx_len,len); - break; -@@ -26408,11 +26416,20 @@ - - if ((sizeof(dma_addr_t) > 4) && - use_dac && -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) - !pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) && - !pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) { -+#else -+!dma_set_mask(>dev, DMA_BIT_MASK(64)) && -+!dma_set_coherent_mask(>dev, DMA_BIT_MASK(64))) { -+#endif - dev->features |= NETIF_F_HIGHDMA; - } else { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) - rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); -+#else -+rc = dma_set_mask(>dev, DMA_BIT_MASK(32)); -+#endif - if (rc < 0) { - #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) - if (netif_msg_probe(tp)) diff --git a/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch b/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch deleted file mode 100644 index d0f5d30ada06.. --- a/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Andrea Righi -Subject: support linux 5.19 - -Index: r8168-8.050.03/src/r8168_n.c -=== r8168-8.050.03.orig/src/r8168_n.c -+++ r8168-8.050.03/src/r8168_n.c -@@ -116,6 +116,15 @@ - #define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw" - #define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw" - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0) -+static inline void netif_set_gso_max_size(struct net_device *dev, -+unsigned int size) -+{ -+ /* dev->gso_max_size is read locklessly from
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 0d85b9a026bea0f6bcd3097cc559f954330f6882 Author: Sam James gentoo org> AuthorDate: Mon Jan 23 18:08:30 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 23 18:08:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d85b9a0 net-misc/r8168: Stabilize 8.051.02 x86, #891849 Signed-off-by: Sam James gentoo.org> net-misc/r8168/r8168-8.051.02.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild index 3ce1537a914c..1b19ce47db5e 100644 --- a/net-misc/r8168/r8168-8.051.02.ebuild +++ b/net-misc/r8168/r8168-8.051.02.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: a2bfa0388ac062101b01762f03a17f2729f69e46 Author: Sam James gentoo org> AuthorDate: Mon Jan 23 18:08:29 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 23 18:08:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bfa038 net-misc/r8168: Stabilize 8.051.02 amd64, #891849 Signed-off-by: Sam James gentoo.org> net-misc/r8168/r8168-8.051.02.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild index 853cd629f555..3ce1537a914c 100644 --- a/net-misc/r8168/r8168-8.051.02.ebuild +++ b/net-misc/r8168/r8168-8.051.02.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: ac9de419ed2d6f29b84de420c318879164c38a08 Author: Pacho Ramos gentoo org> AuthorDate: Mon Dec 19 09:49:13 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Mon Dec 19 09:49:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9de419 net-misc/r8168: Fix support for kernel 6.1 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/files/r8168-8.051.02-6.1-fix.patch | 25 +++ net-misc/r8168/r8168-8.051.02.ebuild | 4 2 files changed, 29 insertions(+) diff --git a/net-misc/r8168/files/r8168-8.051.02-6.1-fix.patch b/net-misc/r8168/files/r8168-8.051.02-6.1-fix.patch new file mode 100644 index ..9a9e3e539259 --- /dev/null +++ b/net-misc/r8168/files/r8168-8.051.02-6.1-fix.patch @@ -0,0 +1,25 @@ +From 39dd0fd2e5dc45cd63113f33a9890e36c304916d Mon Sep 17 00:00:00 2001 +From: zu1k +Date: Sat, 29 Oct 2022 21:57:39 +0800 +Subject: [PATCH] Adapted for Linux 6.1 + +--- + src/r8168.h | 4 + 1 file changed, 4 insertions(+) + +diff --git a/src/r8168.h b/src/r8168.h +index 662974a..baf48c6 100755 +--- a/src/r8168.h b/src/r8168.h +@@ -561,7 +561,11 @@ typedef int *napi_budget; + typedef struct napi_struct *napi_ptr; + typedef int napi_budget; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0) ++#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, >napi, function) ++#else + #define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, >napi, function, weight) ++#endif + #define RTL_NAPI_QUOTA(budget, ndev)min(budget, budget) + #define RTL_GET_PRIV(stuct_ptr, priv_struct)container_of(stuct_ptr, priv_struct, stuct_ptr) + #define RTL_GET_NETDEV(priv_ptr)struct net_device *dev = priv_ptr->dev; diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild index 4258fbb99cdb..853cd629f555 100644 --- a/net-misc/r8168/r8168-8.051.02.ebuild +++ b/net-misc/r8168/r8168-8.051.02.ebuild @@ -24,6 +24,10 @@ 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.051.02-6.1-fix.patch" +) + pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 408a0f597acad6052c741c15fa7f14cd71024847 Author: Pacho Ramos gentoo org> AuthorDate: Sun Dec 4 12:58:24 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Dec 4 14:49:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408a0f59 net-misc/r8168: add 8.051.02 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.051.02.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 8a8110c06a6b..a1d893baeda4 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 DIST r8168-8.050.03.tar.bz2 115525 BLAKE2B 9681417c5ded9d089259d80226a16789beaacf31902d896410d581927468c44486a4c496e45d9973851ccca2d4c408159064452849b03347c789390b2b23e57b SHA512 b4c0af2f4e6b9dc36f2db9e33f465d8598afa0b28577ea1f016617e853af00cf41886941fd8173a5b035e219d87a0fae28771230079c88f34039efe669c1e1c6 +DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca diff --git a/net-misc/r8168/r8168-8.051.02.ebuild b/net-misc/r8168/r8168-8.051.02.ebuild new file mode 100644 index ..4258fbb99cdb --- /dev/null +++ b/net-misc/r8168/r8168-8.051.02.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.19" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +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." + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" + BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: aa794c7213cd2c028fd48d097c518009765dd266 Author: Pacho Ramos gentoo org> AuthorDate: Sun Dec 4 12:58:59 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Dec 4 14:49:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa794c72 net-misc/r8168: drop 8.049.02-r1 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest| 1 - net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch | 70 -- net-misc/r8168/r8168-8.049.02-r1.ebuild| 39 3 files changed, 110 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index a1d893baeda4..0770f6988b67 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ -DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 DIST r8168-8.050.03.tar.bz2 115525 BLAKE2B 9681417c5ded9d089259d80226a16789beaacf31902d896410d581927468c44486a4c496e45d9973851ccca2d4c408159064452849b03347c789390b2b23e57b SHA512 b4c0af2f4e6b9dc36f2db9e33f465d8598afa0b28577ea1f016617e853af00cf41886941fd8173a5b035e219d87a0fae28771230079c88f34039efe669c1e1c6 DIST r8168-8.051.02.tar.bz2 115969 BLAKE2B 28b809c0330920ee0db7a8f8d41e178882531cd0a6793efeadd9670b1a9b5cbe903061073fd1d461f4234feb41249a244f9ef35cdbb780da498e5a6d6f1a5490 SHA512 2f29a413e7db2b7295ea0a970b3385de1dfd6e41e1820097355687daa5c8d155c1cf6115c72875bff4f366365579bffc81733469a62d76f437065b7e514387ca diff --git a/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch b/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch deleted file mode 100644 index 9e4e77615458.. --- a/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch +++ /dev/null @@ -1,70 +0,0 @@ -PDE_DATA has been replaced with pde_data -netdev->dev_addr is now const and uses assignment helpers like eth_hw_addr_set - -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=359745d -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48eab83 -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adeef3e - a/src/r8168_n.c -+++ b/src/r8168_n.c -@@ -95,6 +95,10 @@ - #include - #endif - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) -+#define PDE_DATA pde_data -+#endif -+ - #define FIRMWARE_8168D_1"rtl_nic/rtl8168d-1.fw" - #define FIRMWARE_8168D_2"rtl_nic/rtl8168d-2.fw" - #define FIRMWARE_8168E_1"rtl_nic/rtl8168e-1.fw" -@@ -563,7 +567,7 @@ - static void rtl8168_down(struct net_device *dev); - - static int rtl8168_set_mac_address(struct net_device *dev, void *p); --void rtl8168_rar_set(struct rtl8168_private *tp, uint8_t *addr); -+void rtl8168_rar_set(struct rtl8168_private *tp, const uint8_t *addr); - static void rtl8168_desc_addr_fill(struct rtl8168_private *); - static void rtl8168_tx_desc_init(struct rtl8168_private *tp); - static void rtl8168_rx_desc_init(struct rtl8168_private *tp); -@@ -24129,9 +24133,17 @@ - rtl8168_rar_set(tp, mac_addr); - - for (i = 0; i < MAC_ADDR_LEN; i++) { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0) - dev->dev_addr[i] = RTL_R8(tp, MAC0 + i); - tp->org_mac_addr[i] = dev->dev_addr[i]; /* keep the original MAC address */ -+#else -+mac_addr[i] = RTL_R8(tp, MAC0 + i); -+tp->org_mac_addr[i] = mac_addr[i]; /* keep the original MAC address */ -+#endif - } -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) -+eth_hw_addr_set(dev, mac_addr); -+#endif - #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) - memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); - #endif -@@ -24159,9 +24171,11 @@ - return -EADDRNOTAVAIL; - - spin_lock_irqsave(>lock, flags); -- -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0) - memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); -- -+#else -+eth_hw_addr_set(dev, addr->sa_data); -+#endif - rtl8168_rar_set(tp, dev->dev_addr); - - spin_unlock_irqrestore(>lock, flags); -@@ -24177,7 +24191,7 @@ - */ - void - rtl8168_rar_set(struct rtl8168_private *tp, --uint8_t *addr) -+const uint8_t *addr) - { - uint32_t rar_low = 0; - uint32_t rar_high = 0; diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild deleted file mode 100644 index 6686979b10d9.. --- a/net-misc/r8168/r8168-8.049.02-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info linux-mod -
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 0203ac9df04b21cbcb2791ce6e32350debf43ea6 Author: Jakov Smolić gentoo org> AuthorDate: Thu Dec 1 22:27:46 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Dec 1 22:27:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0203ac9d net-misc/r8168: Stabilize 8.050.03 x86, #883909 Signed-off-by: Jakov Smolić gentoo.org> net-misc/r8168/r8168-8.050.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.050.03.ebuild b/net-misc/r8168/r8168-8.050.03.ebuild index 3b4432151bc3..6c2652606478 100644 --- a/net-misc/r8168/r8168-8.050.03.ebuild +++ b/net-misc/r8168/r8168-8.050.03.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: c025374e2a4b0557f6c3ab61b9d2cab16a2f87ca Author: Jakov Smolić gentoo org> AuthorDate: Thu Dec 1 22:23:57 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Dec 1 22:23:57 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c025374e net-misc/r8168: Stabilize 8.050.03 amd64, #883909 Signed-off-by: Jakov Smolić gentoo.org> net-misc/r8168/r8168-8.050.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.050.03.ebuild b/net-misc/r8168/r8168-8.050.03.ebuild index b2ff7ea4f8a6..3b4432151bc3 100644 --- a/net-misc/r8168/r8168-8.050.03.ebuild +++ b/net-misc/r8168/r8168-8.050.03.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: b74666ef91c8b5a079782b77e86e3fb01ffb5807 Author: Pacho Ramos gentoo org> AuthorDate: Tue Aug 2 17:35:52 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Aug 2 17:35:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74666ef net-misc/r8168: Fix kernel 5.19 support Thanks-to: Peter Levine Closes: https://bugs.gentoo.org/862609 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch | 23 ++ net-misc/r8168/r8168-8.050.03.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch b/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch new file mode 100644 index ..d0f5d30ada06 --- /dev/null +++ b/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch @@ -0,0 +1,23 @@ +From: Andrea Righi +Subject: support linux 5.19 + +Index: r8168-8.050.03/src/r8168_n.c +=== +--- r8168-8.050.03.orig/src/r8168_n.c r8168-8.050.03/src/r8168_n.c +@@ -116,6 +116,15 @@ + #define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw" + #define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw" + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0) ++static inline void netif_set_gso_max_size(struct net_device *dev, ++unsigned int size) ++{ ++ /* dev->gso_max_size is read locklessly from sk_setup_caps() */ ++ WRITE_ONCE(dev->gso_max_size, size); ++} ++#endif ++ + /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast). +The RTL chips use a 64 element hash table based on the Ethernet CRC. */ + static const int multicast_filter_limit = 32; diff --git a/net-misc/r8168/r8168-8.050.03.ebuild b/net-misc/r8168/r8168-8.050.03.ebuild index 33393afdbf6a..b2ff7ea4f8a6 100644 --- a/net-misc/r8168/r8168-8.050.03.ebuild +++ b/net-misc/r8168/r8168-8.050.03.ebuild @@ -26,6 +26,7 @@ WARNING_R8169="CONFIG_R8169 is enabled. ${P} will not be loaded unless kernel dr PATCHES=( "${FILESDIR}/r8168-8.050.02-5.18-fix.patch" + "${FILESDIR}/r8168-8.050.03-5.19-fix.patch" ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 7b21bbc08f9de209c2c8ced209a52e1e686a5f60 Author: Pacho Ramos gentoo org> AuthorDate: Wed Jul 20 12:35:26 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 20 12:42:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b21bbc0 net-misc/r8168: add 8.050.03 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.050.03.ebuild | 40 2 files changed, 41 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 256b1a5092df..69fbad2db0fd 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,4 @@ DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 DIST r8168-8.050.00.tar.bz2 115418 BLAKE2B b3e24d0548494f1904b5d3341994bdda35a05a71dce85a64c9e87cbde7f40807b0b1bcd78401928ff7625e67606918d5c844e8254cbbab62ed3f8e8058a3f15b SHA512 04043fd01ea877ea9f422b8f2319630b8664a49b41363039fc725ed382dc5afb732dda59ba63021a94c50b12ed2f0b3585cd668d969bc06fdc40d08420dbdb95 DIST r8168-8.050.02.tar.bz2 115331 BLAKE2B 37690019e6b8642929e167df426e1a5e3c4d805ab812541018fa950084061ad971648b867dc5723e611c43fecb0f04d5915bb8199006ac50640aef5a9c2eb41c SHA512 54d7080b598933c7d24ca513019c6c971f7472320d474ab4ed4148d859886f942e52896d0b98046a780319f708847596e6bc081a88a9c11e075593c97eb831b2 +DIST r8168-8.050.03.tar.bz2 115525 BLAKE2B 9681417c5ded9d089259d80226a16789beaacf31902d896410d581927468c44486a4c496e45d9973851ccca2d4c408159064452849b03347c789390b2b23e57b SHA512 b4c0af2f4e6b9dc36f2db9e33f465d8598afa0b28577ea1f016617e853af00cf41886941fd8173a5b035e219d87a0fae28771230079c88f34039efe669c1e1c6 diff --git a/net-misc/r8168/r8168-8.050.03.ebuild b/net-misc/r8168/r8168-8.050.03.ebuild new file mode 100644 index ..33393afdbf6a --- /dev/null +++ b/net-misc/r8168/r8168-8.050.03.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.17" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +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}/r8168-8.050.02-5.18-fix.patch" +) + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" + BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 20f7ef0560977401b764f7380e2d02eb05ffc5dc Author: Pacho Ramos gentoo org> AuthorDate: Wed Jul 20 12:35:51 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 20 12:42:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f7ef05 net-misc/r8168: drop 8.050.00, 8.050.02 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 2 -- net-misc/r8168/r8168-8.050.00.ebuild | 36 net-misc/r8168/r8168-8.050.02.ebuild | 40 3 files changed, 78 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 69fbad2db0fd..8a8110c06a6b 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,4 +1,2 @@ DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 -DIST r8168-8.050.00.tar.bz2 115418 BLAKE2B b3e24d0548494f1904b5d3341994bdda35a05a71dce85a64c9e87cbde7f40807b0b1bcd78401928ff7625e67606918d5c844e8254cbbab62ed3f8e8058a3f15b SHA512 04043fd01ea877ea9f422b8f2319630b8664a49b41363039fc725ed382dc5afb732dda59ba63021a94c50b12ed2f0b3585cd668d969bc06fdc40d08420dbdb95 -DIST r8168-8.050.02.tar.bz2 115331 BLAKE2B 37690019e6b8642929e167df426e1a5e3c4d805ab812541018fa950084061ad971648b867dc5723e611c43fecb0f04d5915bb8199006ac50640aef5a9c2eb41c SHA512 54d7080b598933c7d24ca513019c6c971f7472320d474ab4ed4148d859886f942e52896d0b98046a780319f708847596e6bc081a88a9c11e075593c97eb831b2 DIST r8168-8.050.03.tar.bz2 115525 BLAKE2B 9681417c5ded9d089259d80226a16789beaacf31902d896410d581927468c44486a4c496e45d9973851ccca2d4c408159064452849b03347c789390b2b23e57b SHA512 b4c0af2f4e6b9dc36f2db9e33f465d8598afa0b28577ea1f016617e853af00cf41886941fd8173a5b035e219d87a0fae28771230079c88f34039efe669c1e1c6 diff --git a/net-misc/r8168/r8168-8.050.00.ebuild b/net-misc/r8168/r8168-8.050.00.ebuild deleted file mode 100644 index df0f69ffed62.. --- a/net-misc/r8168/r8168-8.050.00.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.17" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -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." - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" - BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" -} - -src_install() { - linux-mod_src_install - einstalldocs -} diff --git a/net-misc/r8168/r8168-8.050.02.ebuild b/net-misc/r8168/r8168-8.050.02.ebuild deleted file mode 100644 index 33393afdbf6a.. --- a/net-misc/r8168/r8168-8.050.02.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.17" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -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}/r8168-8.050.02-5.18-fix.patch" -) - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" - BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" -} - -src_install() { - linux-mod_src_install - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: ae9bc85fa88f2bbd5e806d623a2bb902987f744b Author: Pacho Ramos gentoo org> AuthorDate: Thu May 26 09:23:50 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Thu May 26 09:43:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9bc85f net-misc/r8168: add 8.050.02 Also fix build with kernel 5.18 Thanks-to: Peter Levine Closes: https://bugs.gentoo.org/847154 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest| 1 + net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch | 51 ++ net-misc/r8168/r8168-8.050.02.ebuild | 40 + 3 files changed, 92 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 497e72dd1f42..256b1a5092df 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 DIST r8168-8.050.00.tar.bz2 115418 BLAKE2B b3e24d0548494f1904b5d3341994bdda35a05a71dce85a64c9e87cbde7f40807b0b1bcd78401928ff7625e67606918d5c844e8254cbbab62ed3f8e8058a3f15b SHA512 04043fd01ea877ea9f422b8f2319630b8664a49b41363039fc725ed382dc5afb732dda59ba63021a94c50b12ed2f0b3585cd668d969bc06fdc40d08420dbdb95 +DIST r8168-8.050.02.tar.bz2 115331 BLAKE2B 37690019e6b8642929e167df426e1a5e3c4d805ab812541018fa950084061ad971648b867dc5723e611c43fecb0f04d5915bb8199006ac50640aef5a9c2eb41c SHA512 54d7080b598933c7d24ca513019c6c971f7472320d474ab4ed4148d859886f942e52896d0b98046a780319f708847596e6bc081a88a9c11e075593c97eb831b2 diff --git a/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch b/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch new file mode 100644 index ..442fa1c3eadf --- /dev/null +++ b/net-misc/r8168/files/r8168-8.050.02-5.18-fix.patch @@ -0,0 +1,51 @@ +Functions like 'pci_dma_sync_single_for_device', 'pci_set_dma_mask', and 'pci_set_consistent_dma_mask' +no longer exist in 5.18.0. +Fix similar to https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2238850.html + +--- a/src/r8168_n.c b/src/r8168_n.c +@@ -3698,7 +3698,11 @@ + txd->opts2 = 0; + while (1) { + memset(tmpAddr, pattern++, len - 14); ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) + pci_dma_sync_single_for_device(tp->pci_dev, ++#else ++dma_sync_single_for_device(>pci_dev->dev, ++#endif +le64_to_cpu(mapping), +len, DMA_TO_DEVICE); + txd->opts1 = cpu_to_le32(DescOwn | FirstFrag | LastFrag | len); +@@ -3726,7 +3730,11 @@ + if (rx_len == len) { + dma_sync_single_for_cpu(tp_to_dev(tp), le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); + i = memcmp(skb->data, rx_skb->data, rx_len); ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) + pci_dma_sync_single_for_device(tp->pci_dev, le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); ++#else ++dma_sync_single_for_device(>pci_dev->dev, le64_to_cpu(rxd->addr), tp->rx_buf_sz, DMA_FROM_DEVICE); ++#endif + if (i == 0) { + // dev_printk(KERN_INFO, tp_to_dev(tp), "loopback test finished\n",rx_len,len); + break; +@@ -26408,11 +26416,20 @@ + + if ((sizeof(dma_addr_t) > 4) && + use_dac && ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) + !pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) && + !pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) { ++#else ++!dma_set_mask(>dev, DMA_BIT_MASK(64)) && ++!dma_set_coherent_mask(>dev, DMA_BIT_MASK(64))) { ++#endif + dev->features |= NETIF_F_HIGHDMA; + } else { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) + rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); ++#else ++rc = dma_set_mask(>dev, DMA_BIT_MASK(32)); ++#endif + if (rc < 0) { + #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) + if (netif_msg_probe(tp)) diff --git a/net-misc/r8168/r8168-8.050.02.ebuild b/net-misc/r8168/r8168-8.050.02.ebuild new file mode 100644 index ..33393afdbf6a --- /dev/null +++ b/net-misc/r8168/r8168-8.050.02.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 00a63ac169e853fda6e5e91782aad41720f0a766 Author: Pacho Ramos gentoo org> AuthorDate: Wed May 4 16:12:42 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Wed May 4 16:12:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a63ac1 net-misc/r8168: add 8.050.00 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.050.00.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 754be2f2f379..497e72dd1f42 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 +DIST r8168-8.050.00.tar.bz2 115418 BLAKE2B b3e24d0548494f1904b5d3341994bdda35a05a71dce85a64c9e87cbde7f40807b0b1bcd78401928ff7625e67606918d5c844e8254cbbab62ed3f8e8058a3f15b SHA512 04043fd01ea877ea9f422b8f2319630b8664a49b41363039fc725ed382dc5afb732dda59ba63021a94c50b12ed2f0b3585cd668d969bc06fdc40d08420dbdb95 diff --git a/net-misc/r8168/r8168-8.050.00.ebuild b/net-misc/r8168/r8168-8.050.00.ebuild new file mode 100644 index ..df0f69ffed62 --- /dev/null +++ b/net-misc/r8168/r8168-8.050.00.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.17" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +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." + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" + BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: ddf0856db016c95553f69b4bfc6b75e4d6f06f08 Author: Pacho Ramos gentoo org> AuthorDate: Sun Mar 27 09:31:50 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Mar 27 09:32:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf0856d net-misc/r8168: drop 8.048.03-r1, 8.049.02 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.048.03-r1.ebuild | 34 - net-misc/r8168/r8168-8.049.02.ebuild| 34 - 3 files changed, 69 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index d780aca28ae1..754be2f2f379 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1 @@ -DIST r8168-8.048.03.tar.bz2 109351 BLAKE2B f31ef24d42af737a97986f0e46bc6c737c43e8ccfe9fac8386eb9957a5d81620faa62602e1bec15840792785444b1d1bf8bafa2e5878c21f1962c7141d9bb32e SHA512 8da615a96cca413ca172e260c52c9f77a782e4feb466e4a4296ae11d895e9cc56bde0ed8634cc3a7a531a292072b68d19dcbe74d20ad9549266d3ee8e082096f DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 diff --git a/net-misc/r8168/r8168-8.048.03-r1.ebuild b/net-misc/r8168/r8168-8.048.03-r1.ebuild deleted file mode 100644 index 49c108910168.. --- a/net-misc/r8168/r8168-8.048.03-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - einstalldocs -} diff --git a/net-misc/r8168/r8168-8.049.02.ebuild b/net-misc/r8168/r8168-8.049.02.ebuild deleted file mode 100644 index 7a3513fe3b08.. --- a/net-misc/r8168/r8168-8.049.02.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: 13afe46537e99157756939d331bebed49169dfc6 Author: Pacho Ramos gentoo org> AuthorDate: Sun Mar 27 09:29:07 2022 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Mar 27 09:30:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13afe465 net-misc/r8168: Fix build with kernel 5.17 Thanks-to: Peter Levine Closes: https://bugs.gentoo.org/836129 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch | 70 ++ net-misc/r8168/r8168-8.049.02-r1.ebuild| 7 ++- 2 files changed, 75 insertions(+), 2 deletions(-) diff --git a/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch b/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch new file mode 100644 index ..9e4e77615458 --- /dev/null +++ b/net-misc/r8168/files/r8168-8.049.02-5.17-fix.patch @@ -0,0 +1,70 @@ +PDE_DATA has been replaced with pde_data +netdev->dev_addr is now const and uses assignment helpers like eth_hw_addr_set + +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=359745d +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48eab83 +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adeef3e + +--- a/src/r8168_n.c b/src/r8168_n.c +@@ -95,6 +95,10 @@ + #include + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) ++#define PDE_DATA pde_data ++#endif ++ + #define FIRMWARE_8168D_1"rtl_nic/rtl8168d-1.fw" + #define FIRMWARE_8168D_2"rtl_nic/rtl8168d-2.fw" + #define FIRMWARE_8168E_1"rtl_nic/rtl8168e-1.fw" +@@ -563,7 +567,7 @@ + static void rtl8168_down(struct net_device *dev); + + static int rtl8168_set_mac_address(struct net_device *dev, void *p); +-void rtl8168_rar_set(struct rtl8168_private *tp, uint8_t *addr); ++void rtl8168_rar_set(struct rtl8168_private *tp, const uint8_t *addr); + static void rtl8168_desc_addr_fill(struct rtl8168_private *); + static void rtl8168_tx_desc_init(struct rtl8168_private *tp); + static void rtl8168_rx_desc_init(struct rtl8168_private *tp); +@@ -24129,9 +24133,17 @@ + rtl8168_rar_set(tp, mac_addr); + + for (i = 0; i < MAC_ADDR_LEN; i++) { ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0) + dev->dev_addr[i] = RTL_R8(tp, MAC0 + i); + tp->org_mac_addr[i] = dev->dev_addr[i]; /* keep the original MAC address */ ++#else ++mac_addr[i] = RTL_R8(tp, MAC0 + i); ++tp->org_mac_addr[i] = mac_addr[i]; /* keep the original MAC address */ ++#endif + } ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) ++eth_hw_addr_set(dev, mac_addr); ++#endif + #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) + memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); + #endif +@@ -24159,9 +24171,11 @@ + return -EADDRNOTAVAIL; + + spin_lock_irqsave(>lock, flags); +- ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0) + memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); +- ++#else ++eth_hw_addr_set(dev, addr->sa_data); ++#endif + rtl8168_rar_set(tp, dev->dev_addr); + + spin_unlock_irqrestore(>lock, flags); +@@ -24177,7 +24191,7 @@ + */ + void + rtl8168_rar_set(struct rtl8168_private *tp, +-uint8_t *addr) ++const uint8_t *addr) + { + uint32_t rar_low = 0; + uint32_t rar_high = 0; diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild index 2f271eb31f74..6686979b10d9 100644 --- a/net-misc/r8168/r8168-8.049.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.049.02-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit linux-info linux-mod @@ -24,6 +24,9 @@ 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}/r8168-8.049.02-5.17-fix.patch" +) pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: d515615d81c069039425e4cc3ca5e95549d67b96 Author: Jakov Smolić gentoo org> AuthorDate: Thu Nov 11 18:57:25 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Nov 11 18:57:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d515615d net-misc/r8168: Stabilize 8.049.02-r1 x86, #823110 Signed-off-by: Jakov Smolić gentoo.org> net-misc/r8168/r8168-8.049.02-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild index d3813afa717..2f271eb31f7 100644 --- a/net-misc/r8168/r8168-8.049.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.049.02-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 1dca9562d9edafbe9591e830950a26b1e8e21e4f Author: Jakov Smolić gentoo org> AuthorDate: Thu Nov 11 17:57:04 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Nov 11 17:57:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dca9562 net-misc/r8168: Stabilize 8.049.02-r1 amd64, #823110 Signed-off-by: Jakov Smolić gentoo.org> net-misc/r8168/r8168-8.049.02-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild index 47810f27e05..d3813afa717 100644 --- a/net-misc/r8168/r8168-8.049.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.049.02-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: c11f89c54c7e2ba7d5ccf3bd4fb4c1dc29035779 Author: Karlson2k (Evgeny Grin) narod ru> AuthorDate: Fri Jul 2 20:30:28 2021 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 21 21:46:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11f89c5 net-misc/r8168: added USE flag * Added USE flag to enable firmware loading support * Demoted kernel config check from error to warning Signed-off-by: Karlson2k (Evgeny Grin) narod.ru> Closes: https://github.com/gentoo/gentoo/pull/21739 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/metadata.xml | 3 +++ net-misc/r8168/r8168-8.049.02-r1.ebuild | 36 + 2 files changed, 39 insertions(+) diff --git a/net-misc/r8168/metadata.xml b/net-misc/r8168/metadata.xml index 1b220df0967..b8dfb31fc70 100644 --- a/net-misc/r8168/metadata.xml +++ b/net-misc/r8168/metadata.xml @@ -8,4 +8,7 @@ Official Realtek r8168 linux driver. The following cards are currently supported: RTL8111B RTL8168B RTL8111 RTL8168 RTL8111C RTL8111CP RTL8111D(L) RTL8168C RTL8111DP RTL8111E RTL8168E RTL8111F RTL8411 + + Enable support for automatic firmware loading + diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild new file mode 100644 index 000..f298adf1751 --- /dev/null +++ b/net-misc/r8168/r8168-8.049.02-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +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." + +pkg_setup() { +linux-mod_pkg_setup +BUILD_PARAMS="KERNELDIR=${KV_DIR}" +BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" +} + +src_install() { +linux-mod_src_install +einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 0380945054373d3d4ffc7288901cd216473e2198 Author: Pacho Ramos gentoo org> AuthorDate: Wed Jul 21 21:49:15 2021 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 21 21:51:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03809450 net-misc/r8168: Fix indentation Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.049.02-r1.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-misc/r8168/r8168-8.049.02-r1.ebuild b/net-misc/r8168/r8168-8.049.02-r1.ebuild index f298adf1751..47810f27e05 100644 --- a/net-misc/r8168/r8168-8.049.02-r1.ebuild +++ b/net-misc/r8168/r8168-8.049.02-r1.ebuild @@ -25,12 +25,12 @@ 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." pkg_setup() { -linux-mod_pkg_setup -BUILD_PARAMS="KERNELDIR=${KV_DIR}" -BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" + BUILD_PARAMS+=" ENABLE_USE_FIRMWARE_FILE=$(usex use-firmware y n)" } src_install() { -linux-mod_src_install -einstalldocs + linux-mod_src_install + einstalldocs }
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 72782f1a78a8abb0f6c0c1dc29a6a7a4f1b56c1a Author: Pacho Ramos gentoo org> AuthorDate: Sun Jul 4 18:59:45 2021 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jul 4 19:00:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72782f1a net-misc/r8168: Bump to 8.049.02 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.049.02.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 44a50866fa5..d780aca28ae 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.048.03.tar.bz2 109351 BLAKE2B f31ef24d42af737a97986f0e46bc6c737c43e8ccfe9fac8386eb9957a5d81620faa62602e1bec15840792785444b1d1bf8bafa2e5878c21f1962c7141d9bb32e SHA512 8da615a96cca413ca172e260c52c9f77a782e4feb466e4a4296ae11d895e9cc56bde0ed8634cc3a7a531a292072b68d19dcbe74d20ad9549266d3ee8e082096f +DIST r8168-8.049.02.tar.bz2 113195 BLAKE2B ee34ac7249d732a867384fdd2c87321a513e7b2770c79d0c13666edca7d4bf752d853d7f91554d7ee716b3f30ec5f3a69aed96221a79a60282f0b6d2f70f05d6 SHA512 8ccb69ab533cde6ff88f0e8af2dd66f7e6ce9467020a727d47748c5109b64d6d14eee6bc151db5ddbe70a476a2def5f2faf3871902b335074f43dd05484d39e0 diff --git a/net-misc/r8168/r8168-8.049.02.ebuild b/net-misc/r8168/r8168-8.049.02.ebuild new file mode 100644 index 000..7a3513fe3b0 --- /dev/null +++ b/net-misc/r8168/r8168-8.049.02.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/
commit: 82165dfda1c22c0b331157ec2d328cde4a1bcb3f Author: Conrad Kostecki gentoo org> AuthorDate: Tue Feb 2 21:33:18 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Feb 2 21:33:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82165dfd net-misc/r8168: drop unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/19292 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/r8168/files/kernel56.patch | 50 - 1 file changed, 50 deletions(-) diff --git a/net-misc/r8168/files/kernel56.patch b/net-misc/r8168/files/kernel56.patch deleted file mode 100644 index 23bb3a1856a..000 --- a/net-misc/r8168/files/kernel56.patch +++ /dev/null @@ -1,50 +0,0 @@ r8168-8.048.00/src/r8168_n.c 2019-11-26 08:32:35.0 + -+++ r8168-8.048.00/src/r8168_n.c 2020-03-16 12:34:04.893511463 + -@@ -456,7 +456,13 @@ static void rtl8168_hw_config(struct net - static void rtl8168_hw_start(struct net_device *dev); - static int rtl8168_close(struct net_device *dev); - static void rtl8168_set_rx_mode(struct net_device *dev); -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) - static void rtl8168_tx_timeout(struct net_device *dev); -+#else -+static void rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue); -+#endif -+ - static struct net_device_stats *rtl8168_get_stats(struct net_device *dev); - static int rtl8168_rx_interrupt(struct net_device *, struct rtl8168_private *, napi_budget); - static int rtl8168_change_mtu(struct net_device *dev, int new_mtu); -@@ -1616,12 +1622,21 @@ static int rtl8168_proc_open(struct inod - return single_open(file, show, dev); - } - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) - static const struct file_operations rtl8168_proc_fops = { - .open = rtl8168_proc_open, - .read = seq_read, - .llseek = seq_lseek, - .release= single_release, - }; -+#else -+static const struct proc_ops rtl8168_proc_fops = { -+ .proc_open = rtl8168_proc_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release= single_release, -+}; -+#endif - #endif - - /* -@@ -27844,7 +27859,11 @@ static void rtl8168_reset_task(struct wo - } - - static void -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) - rtl8168_tx_timeout(struct net_device *dev) -+#else -+rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue) -+#endif - { - struct rtl8168_private *tp = netdev_priv(dev); - unsigned long flags; \ No newline at end of file
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: da2ece7fb2a6cfa49a59d88f5a718fb982acabc7 Author: Pacho Ramos gentoo org> AuthorDate: Sun Nov 29 11:37:40 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Nov 29 11:37:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2ece7f net-misc/r8168: Drop old Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 2 -- net-misc/r8168/r8168-8.048.00-r1.ebuild | 34 --- net-misc/r8168/r8168-8.048.02-r1.ebuild | 36 - 3 files changed, 72 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 61614f5a369..44a50866fa5 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1 @@ -DIST r8168-8.048.00.tar.bz2 109018 BLAKE2B e3587fda9cdad8a8433933daef7f05b123b661e6079703c840fb20562ff8511424bf183781970957fa3b0371ebcb4c7a5b7ef84101c3ac5bed7d3eee1236194c SHA512 425d3e0fc56006e9371c31078d32f6fd135a038b13ec1c4f1b809f68e73e8fd15e4a4c2d027c0b4a2cee9ef0dda348b478cc855fb123eb05e4157564ab9de12a -DIST r8168-8.048.02.tar.bz2 109232 BLAKE2B 24c04cd0e47fce427ef7de1a2e41e384fd7c0d8dd028715411cc6f47901b703c824dd9c15bc0ed90f649520bd5fd25dbd48cdc37f94ca8f838a07faa99c8aa84 SHA512 d9d828e4717d2857bd38e8c9b9005de19387419db9bc8d174f5c8a8ea120c81c3094770b164a1f92cec7833696d7a1302332ef473c5852146fff5dbf9a69196e DIST r8168-8.048.03.tar.bz2 109351 BLAKE2B f31ef24d42af737a97986f0e46bc6c737c43e8ccfe9fac8386eb9957a5d81620faa62602e1bec15840792785444b1d1bf8bafa2e5878c21f1962c7141d9bb32e SHA512 8da615a96cca413ca172e260c52c9f77a782e4feb466e4a4296ae11d895e9cc56bde0ed8634cc3a7a531a292072b68d19dcbe74d20ad9549266d3ee8e082096f diff --git a/net-misc/r8168/r8168-8.048.00-r1.ebuild b/net-misc/r8168/r8168-8.048.00-r1.ebuild deleted file mode 100644 index 3d0aad6e797..000 --- a/net-misc/r8168/r8168-8.048.00-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - einstalldocs -} diff --git a/net-misc/r8168/r8168-8.048.02-r1.ebuild b/net-misc/r8168/r8168-8.048.02-r1.ebuild deleted file mode 100644 index 2496884f96e..000 --- a/net-misc/r8168/r8168-8.048.02-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; - -# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, -# we need to mirror it to avoid users from needing to fill a captcha to -# download -SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -PATCHES=( "${FILESDIR}/kernel56.patch" ) - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 9786a742d4f4b9648e4d1e4fe4b3687583bea158 Author: Pacho Ramos gentoo org> AuthorDate: Sat Aug 8 13:21:05 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Aug 8 13:21:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9786a742 net-misc/r8168: amd64 stable, bug #733570 Closes: https://bugs.gentoo.org/733570 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.048.03-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.048.03-r1.ebuild b/net-misc/r8168/r8168-8.048.03-r1.ebuild index e15feb0e347..49c10891016 100644 --- a/net-misc/r8168/r8168-8.048.03-r1.ebuild +++ b/net-misc/r8168/r8168-8.048.03-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 9ccb29bc8b427bf78dd68a17852aee4f5778bff0 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Aug 7 11:09:22 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Aug 8 12:18:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccb29bc net-misc/r8168: migrate to sys-apps/kmod Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada gentoo.org> net-misc/r8168/{r8168-8.048.00.ebuild => r8168-8.048.00-r1.ebuild} | 0 net-misc/r8168/{r8168-8.048.02.ebuild => r8168-8.048.02-r1.ebuild} | 0 net-misc/r8168/{r8168-8.048.03.ebuild => r8168-8.048.03-r1.ebuild} | 0 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/net-misc/r8168/r8168-8.048.00.ebuild b/net-misc/r8168/r8168-8.048.00-r1.ebuild similarity index 100% rename from net-misc/r8168/r8168-8.048.00.ebuild rename to net-misc/r8168/r8168-8.048.00-r1.ebuild diff --git a/net-misc/r8168/r8168-8.048.02.ebuild b/net-misc/r8168/r8168-8.048.02-r1.ebuild similarity index 100% rename from net-misc/r8168/r8168-8.048.02.ebuild rename to net-misc/r8168/r8168-8.048.02-r1.ebuild diff --git a/net-misc/r8168/r8168-8.048.03.ebuild b/net-misc/r8168/r8168-8.048.03-r1.ebuild similarity index 100% rename from net-misc/r8168/r8168-8.048.03.ebuild rename to net-misc/r8168/r8168-8.048.03-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: d98e07d295b79d3abc3eb7f6b0ea77fcd25d9af2 Author: Pacho Ramos gentoo org> AuthorDate: Sun May 31 11:32:33 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sun May 31 12:42:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98e07d2 net-misc/r8168: Bump to 8.048.03 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.048.03.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index f1ac5992372..61614f5a369 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.048.00.tar.bz2 109018 BLAKE2B e3587fda9cdad8a8433933daef7f05b123b661e6079703c840fb20562ff8511424bf183781970957fa3b0371ebcb4c7a5b7ef84101c3ac5bed7d3eee1236194c SHA512 425d3e0fc56006e9371c31078d32f6fd135a038b13ec1c4f1b809f68e73e8fd15e4a4c2d027c0b4a2cee9ef0dda348b478cc855fb123eb05e4157564ab9de12a DIST r8168-8.048.02.tar.bz2 109232 BLAKE2B 24c04cd0e47fce427ef7de1a2e41e384fd7c0d8dd028715411cc6f47901b703c824dd9c15bc0ed90f649520bd5fd25dbd48cdc37f94ca8f838a07faa99c8aa84 SHA512 d9d828e4717d2857bd38e8c9b9005de19387419db9bc8d174f5c8a8ea120c81c3094770b164a1f92cec7833696d7a1302332ef473c5852146fff5dbf9a69196e +DIST r8168-8.048.03.tar.bz2 109351 BLAKE2B f31ef24d42af737a97986f0e46bc6c737c43e8ccfe9fac8386eb9957a5d81620faa62602e1bec15840792785444b1d1bf8bafa2e5878c21f1962c7141d9bb32e SHA512 8da615a96cca413ca172e260c52c9f77a782e4feb466e4a4296ae11d895e9cc56bde0ed8634cc3a7a531a292072b68d19dcbe74d20ad9549266d3ee8e082096f diff --git a/net-misc/r8168/r8168-8.048.03.ebuild b/net-misc/r8168/r8168-8.048.03.ebuild new file mode 100644 index 000..54bd8991ee4 --- /dev/null +++ b/net-misc/r8168/r8168-8.048.03.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: d57e468c3843d5054939febed0adba28eb48cf7f Author: Richard Yao gentoo org> AuthorDate: Mon May 25 03:23:53 2020 + Commit: Richard Yao gentoo org> CommitDate: Mon May 25 03:24:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57e468c net-misc/r8168: Fix comment in 8.048.02 This version supports up to Linux 5.6 according to upstream. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Richard Yao gentoo.org> net-misc/r8168/r8168-8.048.02.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.048.02.ebuild b/net-misc/r8168/r8168-8.048.02.ebuild index 299ab1010e4..2496884f96e 100644 --- a/net-misc/r8168/r8168-8.048.02.ebuild +++ b/net-misc/r8168/r8168-8.048.02.ebuild @@ -8,7 +8,7 @@ inherit linux-info linux-mod DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; -# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link, +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, # we need to mirror it to avoid users from needing to fill a captcha to # download SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2;
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: aa2fdf6947e9f98d25d726f0e648fd88cb42bdbe Author: Pacho Ramos gentoo org> AuthorDate: Fri Apr 3 18:49:49 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Apr 3 18:50:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2fdf69 net-misc/r8168: Bump to 8.048.02 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/files/kernel56.patch | 50 net-misc/r8168/r8168-8.048.02.ebuild | 36 ++ 3 files changed, 87 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index fe7c83a9a60..f1ac5992372 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.048.00.tar.bz2 109018 BLAKE2B e3587fda9cdad8a8433933daef7f05b123b661e6079703c840fb20562ff8511424bf183781970957fa3b0371ebcb4c7a5b7ef84101c3ac5bed7d3eee1236194c SHA512 425d3e0fc56006e9371c31078d32f6fd135a038b13ec1c4f1b809f68e73e8fd15e4a4c2d027c0b4a2cee9ef0dda348b478cc855fb123eb05e4157564ab9de12a +DIST r8168-8.048.02.tar.bz2 109232 BLAKE2B 24c04cd0e47fce427ef7de1a2e41e384fd7c0d8dd028715411cc6f47901b703c824dd9c15bc0ed90f649520bd5fd25dbd48cdc37f94ca8f838a07faa99c8aa84 SHA512 d9d828e4717d2857bd38e8c9b9005de19387419db9bc8d174f5c8a8ea120c81c3094770b164a1f92cec7833696d7a1302332ef473c5852146fff5dbf9a69196e diff --git a/net-misc/r8168/files/kernel56.patch b/net-misc/r8168/files/kernel56.patch new file mode 100644 index 000..23bb3a1856a --- /dev/null +++ b/net-misc/r8168/files/kernel56.patch @@ -0,0 +1,50 @@ +--- r8168-8.048.00/src/r8168_n.c 2019-11-26 08:32:35.0 + r8168-8.048.00/src/r8168_n.c 2020-03-16 12:34:04.893511463 + +@@ -456,7 +456,13 @@ static void rtl8168_hw_config(struct net + static void rtl8168_hw_start(struct net_device *dev); + static int rtl8168_close(struct net_device *dev); + static void rtl8168_set_rx_mode(struct net_device *dev); ++ ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) + static void rtl8168_tx_timeout(struct net_device *dev); ++#else ++static void rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue); ++#endif ++ + static struct net_device_stats *rtl8168_get_stats(struct net_device *dev); + static int rtl8168_rx_interrupt(struct net_device *, struct rtl8168_private *, napi_budget); + static int rtl8168_change_mtu(struct net_device *dev, int new_mtu); +@@ -1616,12 +1622,21 @@ static int rtl8168_proc_open(struct inod + return single_open(file, show, dev); + } + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) + static const struct file_operations rtl8168_proc_fops = { + .open = rtl8168_proc_open, + .read = seq_read, + .llseek = seq_lseek, + .release= single_release, + }; ++#else ++static const struct proc_ops rtl8168_proc_fops = { ++ .proc_open = rtl8168_proc_open, ++ .proc_read = seq_read, ++ .proc_lseek = seq_lseek, ++ .proc_release= single_release, ++}; ++#endif + #endif + + /* +@@ -27844,7 +27859,11 @@ static void rtl8168_reset_task(struct wo + } + + static void ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) + rtl8168_tx_timeout(struct net_device *dev) ++#else ++rtl8168_tx_timeout(struct net_device *dev, unsigned int txqueue) ++#endif + { + struct rtl8168_private *tp = netdev_priv(dev); + unsigned long flags; \ No newline at end of file diff --git a/net-misc/r8168/r8168-8.048.02.ebuild b/net-misc/r8168/r8168-8.048.02.ebuild new file mode 100644 index 000..299ab1010e4 --- /dev/null +++ b/net-misc/r8168/r8168-8.048.02.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +PATCHES=( "${FILESDIR}/kernel56.patch" ) + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/, net-misc/r8168/files/
commit: 9ff4293235593b372f1602d9d1e299618d2aa352 Author: Pacho Ramos gentoo org> AuthorDate: Wed Apr 1 23:00:01 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Apr 1 23:06:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff42932 net-misc/r8168: Drop old Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 2 - net-misc/r8168/files/linux-4.15-2.patch | 85 - net-misc/r8168/files/linux-5.4.patch| 12 - net-misc/r8168/r8168-8.045.08.ebuild| 33 - net-misc/r8168/r8168-8.047.05.ebuild| 38 --- 5 files changed, 170 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 856f3c7114f..fe7c83a9a60 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1 @@ -DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 -DIST r8168-8.047.05.tar.bz2 108933 BLAKE2B 03e0bd90c970fc5f98f3e2e2a5d724891a6ffdfe53dc9de1e30b6c855658d53944ed1d8f996edf63ac448194d917685ef8902d6960fafebfe695453e8ea34e51 SHA512 a58cbbdfd836373ad65607908bd84e48a93222966c65d190ae5dff20621b55976c044c31a18e1c00ea5c4c6d66ac300acdc7537d4dec5dd1e281f0ad33bb24e6 DIST r8168-8.048.00.tar.bz2 109018 BLAKE2B e3587fda9cdad8a8433933daef7f05b123b661e6079703c840fb20562ff8511424bf183781970957fa3b0371ebcb4c7a5b7ef84101c3ac5bed7d3eee1236194c SHA512 425d3e0fc56006e9371c31078d32f6fd135a038b13ec1c4f1b809f68e73e8fd15e4a4c2d027c0b4a2cee9ef0dda348b478cc855fb123eb05e4157564ab9de12a diff --git a/net-misc/r8168/files/linux-4.15-2.patch b/net-misc/r8168/files/linux-4.15-2.patch deleted file mode 100644 index 5f5f17c551c..000 --- a/net-misc/r8168/files/linux-4.15-2.patch +++ /dev/null @@ -1,85 +0,0 @@ -Author: Alois Nespor -Description: fix module build for Linux 4.15 -Origin: vendor, https://aur.archlinux.org/cgit/aur.git/tree/linux-4.15-2.patch?h=r8168-dkms - a/src/r8168_n.c -+++ b/src/r8168_n.c -@@ -407,8 +407,14 @@ MODULE_VERSION(RTL8168_VERSION); - static void rtl8168_sleep_rx_enable(struct net_device *dev); - static void rtl8168_dsm(struct net_device *dev, int dev_state); - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+static void rtl8168_esd_timer(struct timer_list *timer); -+static void rtl8168_link_timer(struct timer_list *timer); -+#else - static void rtl8168_esd_timer(unsigned long __opaque); - static void rtl8168_link_timer(unsigned long __opaque); -+#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+ - static void rtl8168_tx_clear(struct rtl8168_private *tp); - static void rtl8168_rx_clear(struct rtl8168_private *tp); - -@@ -22964,7 +22970,11 @@ static inline void rtl8168_request_esd_t - struct rtl8168_private *tp = netdev_priv(dev); - struct timer_list *timer = >esd_timer; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+timer_setup(timer, rtl8168_esd_timer, 0); -+#else - setup_timer(timer, rtl8168_esd_timer, (unsigned long)dev); -+#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) - mod_timer(timer, jiffies + RTL8168_ESD_TIMEOUT); - } - -@@ -22978,7 +22988,11 @@ static inline void rtl8168_request_link_ - struct rtl8168_private *tp = netdev_priv(dev); - struct timer_list *timer = >link_timer; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+timer_setup(timer, rtl8168_link_timer, 0); -+#else - setup_timer(timer, rtl8168_link_timer, (unsigned long)dev); -+#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) - mod_timer(timer, jiffies + RTL8168_LINK_TIMEOUT); - } - -@@ -24717,12 +24731,19 @@ err_out: - #define PCI_DEVICE_SERIAL_NUMBER (0x0164) - - static void -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+rtl8168_esd_timer(struct timer_list *timer) -+{ -+struct rtl8168_private *tp = from_timer(tp, timer, esd_timer); -+struct net_device *dev = tp->dev; -+#else - rtl8168_esd_timer(unsigned long __opaque) - { - struct net_device *dev = (struct net_device *)__opaque; - struct rtl8168_private *tp = netdev_priv(dev); --struct pci_dev *pdev = tp->pci_dev; - struct timer_list *timer = >esd_timer; -+#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+struct pci_dev *pdev = tp->pci_dev; - unsigned long timeout = RTL8168_ESD_TIMEOUT; - unsigned long flags; - u8 cmd; -@@ -24856,11 +24877,18 @@ rtl8168_esd_timer(unsigned long __opaque - } - - static void -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) -+rtl8168_link_timer(struct timer_list *timer) -+{ -+struct rtl8168_private *tp = from_timer(tp, timer, link_timer); -+struct net_device
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 3310d93369953df77a66d7b2803c2034c07c0f2d Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Mar 31 12:26:33 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Mar 31 12:26:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3310d933 net-misc/r8168: x86 stable wrt bug #711176 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/r8168/r8168-8.048.00.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.048.00.ebuild b/net-misc/r8168/r8168-8.048.00.ebuild index d78f520b188..3d0aad6e797 100644 --- a/net-misc/r8168/r8168-8.048.00.ebuild +++ b/net-misc/r8168/r8168-8.048.00.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 3ae710303c881d3feefdb7f7434e59949b236346 Author: Pacho Ramos gentoo org> AuthorDate: Wed Mar 11 21:33:12 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Mar 11 21:33:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae71030 net-misc/r8168: amd64 stable, bug #711176 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.048.00.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.048.00.ebuild b/net-misc/r8168/r8168-8.048.00.ebuild index 0ef2e5c2951..d78f520b188 100644 --- a/net-misc/r8168/r8168-8.048.00.ebuild +++ b/net-misc/r8168/r8168-8.048.00.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: bf51615a09c53b53dbf976b6288c0467581eaaef Author: Mikle Kolyada gentoo org> AuthorDate: Sun Feb 9 08:41:19 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Feb 9 08:42:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf51615a net-misc/r8168: amd64 stable wrt bug #705718 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Mikle Kolyada gentoo.org> net-misc/r8168/r8168-8.047.05.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.047.05.ebuild b/net-misc/r8168/r8168-8.047.05.ebuild index 99f290f5063..beff876a09c 100644 --- a/net-misc/r8168/r8168-8.047.05.ebuild +++ b/net-misc/r8168/r8168-8.047.05.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 2cba953f5f9fa3e8f0656946c25a28e78d7e4cf5 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 19 19:23:47 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 19 19:30:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cba953f net-misc/r8168: Take the package Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-misc/r8168/metadata.xml b/net-misc/r8168/metadata.xml index cc09120dcec..1b220df0967 100644 --- a/net-misc/r8168/metadata.xml +++ b/net-misc/r8168/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + + pa...@gentoo.org + Pacho Ramos + Official Realtek r8168 linux driver. The following cards are currently supported: RTL8111B RTL8168B RTL8111 RTL8168 RTL8111C RTL8111CP RTL8111D(L) RTL8168C RTL8111DP RTL8111E RTL8168E RTL8111F RTL8411
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: d588693f14bece797cf08a6eca2670bffebe6612 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 19 19:30:03 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 19 19:30:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d588693f net-misc/r8168: Bump to 8.048.00 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.048.00.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 7df922a25a8..856f3c7114f 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 DIST r8168-8.047.05.tar.bz2 108933 BLAKE2B 03e0bd90c970fc5f98f3e2e2a5d724891a6ffdfe53dc9de1e30b6c855658d53944ed1d8f996edf63ac448194d917685ef8902d6960fafebfe695453e8ea34e51 SHA512 a58cbbdfd836373ad65607908bd84e48a93222966c65d190ae5dff20621b55976c044c31a18e1c00ea5c4c6d66ac300acdc7537d4dec5dd1e281f0ad33bb24e6 +DIST r8168-8.048.00.tar.bz2 109018 BLAKE2B e3587fda9cdad8a8433933daef7f05b123b661e6079703c840fb20562ff8511424bf183781970957fa3b0371ebcb4c7a5b7ef84101c3ac5bed7d3eee1236194c SHA512 425d3e0fc56006e9371c31078d32f6fd135a038b13ec1c4f1b809f68e73e8fd15e4a4c2d027c0b4a2cee9ef0dda348b478cc855fb123eb05e4157564ab9de12a diff --git a/net-misc/r8168/r8168-8.048.00.ebuild b/net-misc/r8168/r8168-8.048.00.ebuild new file mode 100644 index 000..0ef2e5c2951 --- /dev/null +++ b/net-misc/r8168/r8168-8.048.00.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; + +# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 78675ec30bae913f1fa524149c66f47ae921c7ba Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 19 19:25:36 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 19 19:30:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78675ec3 net-misc/r8168: Use tarball from my devspace Bug: https://bugs.gentoo.org/705718 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> net-misc/r8168/r8168-8.047.05.ebuild | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/net-misc/r8168/r8168-8.047.05.ebuild b/net-misc/r8168/r8168-8.047.05.ebuild index 152d2ec6ffc..99f290f5063 100644 --- a/net-misc/r8168/r8168-8.047.05.ebuild +++ b/net-misc/r8168/r8168-8.047.05.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,11 +7,15 @@ inherit linux-info linux-mod eutils DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; -SRC_URI="${P}.tar.bz2" + +# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2; + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="fetch" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules" @@ -23,12 +27,6 @@ PATCHES=( "${FILESDIR}"/linux-5.4.patch ) -pkg_nofetch() { - einfo "Please download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." -} - pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 9844e7688b203d8465da5e934c22b8a829519388 Author: James Le Cuirot gentoo org> AuthorDate: Fri Dec 27 15:23:48 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 27 15:23:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9844e768 net-misc/r8168: Drop to maintainer-needed Sorry, I haven't had this hardware in years and it's an awkward package to maintain. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net-misc/r8168/metadata.xml b/net-misc/r8168/metadata.xml index 31b4221e42e..cc09120dcec 100644 --- a/net-misc/r8168/metadata.xml +++ b/net-misc/r8168/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - ch...@gentoo.org - James Le Cuirot - + Official Realtek r8168 linux driver. The following cards are currently supported: RTL8111B RTL8168B RTL8111 RTL8168 RTL8111C RTL8111CP RTL8111D(L) RTL8168C RTL8111DP RTL8111E RTL8168E RTL8111F RTL8411
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/, net-misc/r8168/files/
commit: e7e2b380d2ca4eaa70a011507e90bc7dc4729d58 Author: James Le Cuirot gentoo org> AuthorDate: Fri Dec 27 15:22:03 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 27 15:22:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e2b380 net-misc/r8168: Fix building 8.047.05 on Linux 5.4 Closes: https://bugs.gentoo.org/701200 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/files/linux-5.4.patch | 12 net-misc/r8168/r8168-8.047.05.ebuild | 4 2 files changed, 16 insertions(+) diff --git a/net-misc/r8168/files/linux-5.4.patch b/net-misc/r8168/files/linux-5.4.patch new file mode 100644 index 000..197983597be --- /dev/null +++ b/net-misc/r8168/files/linux-5.4.patch @@ -0,0 +1,12 @@ +diff -Naur r8168-8.047.05.orig/src/r8168_n.c r8168-8.047.05/src/r8168_n.c +--- r8168-8.047.05.orig/src/r8168_n.c 2019-07-23 10:22:09.0 +0800 r8168-8.047.05/src/r8168_n.c 2019-12-23 00:55:34.121947346 +0800 +@@ -56,7 +56,7 @@ + #include + #include + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) && LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0) + #include + #endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,37) diff --git a/net-misc/r8168/r8168-8.047.05.ebuild b/net-misc/r8168/r8168-8.047.05.ebuild index 5d05429e616..152d2ec6ffc 100644 --- a/net-misc/r8168/r8168-8.047.05.ebuild +++ b/net-misc/r8168/r8168-8.047.05.ebuild @@ -19,6 +19,10 @@ BUILD_TARGETS="modules" CONFIG_CHECK="!R8169" ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" +PATCHES=( + "${FILESDIR}"/linux-5.4.patch +) + pkg_nofetch() { einfo "Please download ${SRC_URI} from:" einfo " ${HOMEPAGE}"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: ccf483de79f4de454360c21170a359fb9597be47 Author: Sergey Alirzaev gmail com> AuthorDate: Sun Nov 17 08:41:10 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Nov 17 21:37:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf483de net-misc/r8168: bump up to 8.047.05 Signed-off-by: Sergey Alirzaev gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13682 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.047.05.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 4f0384d871c..facd88ba0e5 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 DIST r8168-8.047.04.tar.bz2 108928 BLAKE2B 825426342d482a710b8d0f120f91356fdad03a924ed263c51e6ff3cf3ee3b7f470144364ee1a2f43acd45a90237f65eb77191b210a7991e8d74c48d104d1b059 SHA512 29d4405cdf9e7588a8a8b75ba99a1fadf9022f139e25b521eb9f5b6b61a96772239e9a7cdf442fae213f6b0a91c98bae892e2a8e076a5f5ef6c17e69db4482c1 +DIST r8168-8.047.05.tar.bz2 108933 BLAKE2B 03e0bd90c970fc5f98f3e2e2a5d724891a6ffdfe53dc9de1e30b6c855658d53944ed1d8f996edf63ac448194d917685ef8902d6960fafebfe695453e8ea34e51 SHA512 a58cbbdfd836373ad65607908bd84e48a93222966c65d190ae5dff20621b55976c044c31a18e1c00ea5c4c6d66ac300acdc7537d4dec5dd1e281f0ad33bb24e6 diff --git a/net-misc/r8168/r8168-8.047.05.ebuild b/net-misc/r8168/r8168-8.047.05.ebuild new file mode 100644 index 000..5d05429e616 --- /dev/null +++ b/net-misc/r8168/r8168-8.047.05.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; +SRC_URI="${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="fetch" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." +} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 3240df684b44898b66a021470b1415976a112ce2 Author: James Le Cuirot gentoo org> AuthorDate: Sun Nov 17 21:38:25 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Nov 17 21:38:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3240df68 net-misc/r8168: Drop old 8.047.04 Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.047.04.ebuild | 36 2 files changed, 37 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index facd88ba0e5..7df922a25a8 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 -DIST r8168-8.047.04.tar.bz2 108928 BLAKE2B 825426342d482a710b8d0f120f91356fdad03a924ed263c51e6ff3cf3ee3b7f470144364ee1a2f43acd45a90237f65eb77191b210a7991e8d74c48d104d1b059 SHA512 29d4405cdf9e7588a8a8b75ba99a1fadf9022f139e25b521eb9f5b6b61a96772239e9a7cdf442fae213f6b0a91c98bae892e2a8e076a5f5ef6c17e69db4482c1 DIST r8168-8.047.05.tar.bz2 108933 BLAKE2B 03e0bd90c970fc5f98f3e2e2a5d724891a6ffdfe53dc9de1e30b6c855658d53944ed1d8f996edf63ac448194d917685ef8902d6960fafebfe695453e8ea34e51 SHA512 a58cbbdfd836373ad65607908bd84e48a93222966c65d190ae5dff20621b55976c044c31a18e1c00ea5c4c6d66ac300acdc7537d4dec5dd1e281f0ad33bb24e6 diff --git a/net-misc/r8168/r8168-8.047.04.ebuild b/net-misc/r8168/r8168-8.047.04.ebuild deleted file mode 100644 index 5d05429e616..000 --- a/net-misc/r8168/r8168-8.047.04.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; -SRC_URI="${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="fetch" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." -} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 4741a0253d7917536cca684aa0e97ef129fdfe3a Author: James Le Cuirot gentoo org> AuthorDate: Fri Sep 6 22:27:17 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 6 22:27:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4741a025 net-misc/r8168: Drop old 8.047.02 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.047.02.ebuild | 36 2 files changed, 37 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index ed8617a9219..4f0384d871c 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 -DIST r8168-8.047.02.tar.bz2 108923 BLAKE2B 9503d70f44d5d729662ececf93b5a98d06734e8fb262b7b3dd8307c992ff64dd4d7b20d428cca2674d739df9b2fa0b7249bf7679cbe018526879e99b7ac26f5d SHA512 6689c18c7c32f7f9b5798b4d9b2103734363094eef45e2880167e00169b86822ca1f6de4c9ca0352f0a0fa721bf228be2ccdaa512b02c321073985ffd441b0d0 DIST r8168-8.047.04.tar.bz2 108928 BLAKE2B 825426342d482a710b8d0f120f91356fdad03a924ed263c51e6ff3cf3ee3b7f470144364ee1a2f43acd45a90237f65eb77191b210a7991e8d74c48d104d1b059 SHA512 29d4405cdf9e7588a8a8b75ba99a1fadf9022f139e25b521eb9f5b6b61a96772239e9a7cdf442fae213f6b0a91c98bae892e2a8e076a5f5ef6c17e69db4482c1 diff --git a/net-misc/r8168/r8168-8.047.02.ebuild b/net-misc/r8168/r8168-8.047.02.ebuild deleted file mode 100644 index 5d05429e616..000 --- a/net-misc/r8168/r8168-8.047.02.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; -SRC_URI="${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="fetch" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." -} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: b93ed160388d17575da2a5495dee414c0206929d Author: Sergey Alirzaev gmail com> AuthorDate: Fri Sep 6 21:52:49 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 6 22:27:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b93ed160 net-misc/r8168: Version bump to 8.047.04 Signed-off-by: Sergey Alirzaev gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12880 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.047.04.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 69de8cdc39c..ed8617a9219 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 DIST r8168-8.047.02.tar.bz2 108923 BLAKE2B 9503d70f44d5d729662ececf93b5a98d06734e8fb262b7b3dd8307c992ff64dd4d7b20d428cca2674d739df9b2fa0b7249bf7679cbe018526879e99b7ac26f5d SHA512 6689c18c7c32f7f9b5798b4d9b2103734363094eef45e2880167e00169b86822ca1f6de4c9ca0352f0a0fa721bf228be2ccdaa512b02c321073985ffd441b0d0 +DIST r8168-8.047.04.tar.bz2 108928 BLAKE2B 825426342d482a710b8d0f120f91356fdad03a924ed263c51e6ff3cf3ee3b7f470144364ee1a2f43acd45a90237f65eb77191b210a7991e8d74c48d104d1b059 SHA512 29d4405cdf9e7588a8a8b75ba99a1fadf9022f139e25b521eb9f5b6b61a96772239e9a7cdf442fae213f6b0a91c98bae892e2a8e076a5f5ef6c17e69db4482c1 diff --git a/net-misc/r8168/r8168-8.047.04.ebuild b/net-misc/r8168/r8168-8.047.04.ebuild new file mode 100644 index 000..5d05429e616 --- /dev/null +++ b/net-misc/r8168/r8168-8.047.04.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; +SRC_URI="${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="fetch" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." +} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 47af93bcee583d91fd2291068e0b3310f43765c0 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jun 27 21:11:37 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jun 27 21:12:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47af93bc net-misc/r8168: Drop old 8.047.01 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.047.01.ebuild | 36 2 files changed, 37 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index bcbd4800bf1..69de8cdc39c 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 -DIST r8168-8.047.01.tar.bz2 108629 BLAKE2B 35f92226726f5310edee0d0c62e5a257dd5963394ab0c0b1ce542efed3ac3b5788387f262f1426f1bc75e6bb1eb1d23a79e2b2114d0a5a60a6beb58844e2e318 SHA512 88957fb8dcfff123331b69319f4d719e6550a0a581a1079fd216c0ab346ee1bec8c3a1197c2daf9b0454f614f458606a597f0635e677627cf7bac13485b59b03 DIST r8168-8.047.02.tar.bz2 108923 BLAKE2B 9503d70f44d5d729662ececf93b5a98d06734e8fb262b7b3dd8307c992ff64dd4d7b20d428cca2674d739df9b2fa0b7249bf7679cbe018526879e99b7ac26f5d SHA512 6689c18c7c32f7f9b5798b4d9b2103734363094eef45e2880167e00169b86822ca1f6de4c9ca0352f0a0fa721bf228be2ccdaa512b02c321073985ffd441b0d0 diff --git a/net-misc/r8168/r8168-8.047.01.ebuild b/net-misc/r8168/r8168-8.047.01.ebuild deleted file mode 100644 index 5d05429e616..000 --- a/net-misc/r8168/r8168-8.047.01.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; -SRC_URI="${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="fetch" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." -} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 860667d74eb8f77b8e5162b816d39b5ce06e9bc6 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jun 27 21:11:09 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jun 27 21:12:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860667d7 net-misc/r8168: Version bump to 8.047.02 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.047.02.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index c1877b985cb..bcbd4800bf1 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 DIST r8168-8.047.01.tar.bz2 108629 BLAKE2B 35f92226726f5310edee0d0c62e5a257dd5963394ab0c0b1ce542efed3ac3b5788387f262f1426f1bc75e6bb1eb1d23a79e2b2114d0a5a60a6beb58844e2e318 SHA512 88957fb8dcfff123331b69319f4d719e6550a0a581a1079fd216c0ab346ee1bec8c3a1197c2daf9b0454f614f458606a597f0635e677627cf7bac13485b59b03 +DIST r8168-8.047.02.tar.bz2 108923 BLAKE2B 9503d70f44d5d729662ececf93b5a98d06734e8fb262b7b3dd8307c992ff64dd4d7b20d428cca2674d739df9b2fa0b7249bf7679cbe018526879e99b7ac26f5d SHA512 6689c18c7c32f7f9b5798b4d9b2103734363094eef45e2880167e00169b86822ca1f6de4c9ca0352f0a0fa721bf228be2ccdaa512b02c321073985ffd441b0d0 diff --git a/net-misc/r8168/r8168-8.047.02.ebuild b/net-misc/r8168/r8168-8.047.02.ebuild new file mode 100644 index 000..5d05429e616 --- /dev/null +++ b/net-misc/r8168/r8168-8.047.02.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; +SRC_URI="${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="fetch" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." +} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 03e131951155f62ada39500c1d7825115f5ebde6 Author: James Le Cuirot gentoo org> AuthorDate: Thu May 9 20:11:03 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Thu May 9 20:12:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e13195 net-misc/r8168: Version bump to 8.047.01, EAPI 7 The download is now behind an email + CAPTCHA barrier so has to be fetch restricted. There is an unofficial mirror on GitHub but I don't know whether it is trustworthy. Bug: https://bugs.gentoo.org/685338 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.047.01.ebuild | 36 2 files changed, 37 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index eae877f341a..c1877b985cb 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 +DIST r8168-8.047.01.tar.bz2 108629 BLAKE2B 35f92226726f5310edee0d0c62e5a257dd5963394ab0c0b1ce542efed3ac3b5788387f262f1426f1bc75e6bb1eb1d23a79e2b2114d0a5a60a6beb58844e2e318 SHA512 88957fb8dcfff123331b69319f4d719e6550a0a581a1079fd216c0ab346ee1bec8c3a1197c2daf9b0454f614f458606a597f0635e677627cf7bac13485b59b03 diff --git a/net-misc/r8168/r8168-8.047.01.ebuild b/net-misc/r8168/r8168-8.047.01.ebuild new file mode 100644 index 000..5d05429e616 --- /dev/null +++ b/net-misc/r8168/r8168-8.047.01.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software; +SRC_URI="${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="fetch" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" + +CONFIG_CHECK="!R8169" +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." +} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/files/, net-misc/r8168/
commit: ee232457ed7bad1c3d62c4c509419086b6ea3a65 Author: James Le Cuirot gentoo org> AuthorDate: Fri Apr 27 21:09:01 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Apr 27 21:09:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee232457 net-misc/r8168: Drop old 8.044.02 Closes: https://bugs.gentoo.org/646114 Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-misc/r8168/Manifest| 1 - .../r8168/files/r8168-8.044.02-linux-4.11.patch| 27 -- net-misc/r8168/r8168-8.044.02.ebuild | 33 -- 3 files changed, 61 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 3455812608f..eae877f341a 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1 @@ -DIST r8168-8.044.02.tar.bz2 95880 BLAKE2B f153b077f8112c2b3c81a923a9a9c7d5096d141adb1cc8dd220f9fdf5df32af90c30f19512dc95bb2761febcfe3a59b6634e9fdec8fbb08b6b493a15aad99d0f SHA512 d7e4fd73ee4f17440613b78163777fc0b9e472490a900fdf8e66c4e16f413cc01f49991a68c7bfb19ddf9577e706d0410ff7c8e85ced53e9740e69efda729512 DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 diff --git a/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch b/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch deleted file mode 100644 index ba1dd372dfa..000 --- a/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff a/src/r8168.h b/src/r8168.h a/src/r8168.h 2017-01-11 14:19:18.0 +0800 -+++ b/src/r8168.h 2017-05-02 21:18:54.541652414 +0800 -@@ -36,6 +36,10 @@ - #include "r8168_realwow.h" - #include "r8168_fiber.h" - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) -+#include -+#endif -+ - #if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) - #if defined(skb_vlan_tag_present) && !defined(vlan_tx_tag_present) - #define vlan_tx_tag_present skb_vlan_tag_present -diff a/src/r8168_n.c b/src/r8168_n.c a/src/r8168_n.c2017-01-11 14:18:43.0 +0800 -+++ b/src/r8168_n.c2017-05-02 21:20:57.488644205 +0800 -@@ -25732,7 +25732,9 @@ - if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0) - rtl8168_rx_skb(tp, skb); - -+#if (LINUX_VERSION_CODE <= KERNEL_VERSION(4, 10, 0)) - dev->last_rx = jiffies; -+#endif - RTLDEV->stats.rx_bytes += pkt_size; - RTLDEV->stats.rx_packets++; - } diff --git a/net-misc/r8168/r8168-8.044.02.ebuild b/net-misc/r8168/r8168-8.044.02.ebuild deleted file mode 100644 index 4822eb15079..000 --- a/net-misc/r8168/r8168-8.044.02.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="http://www.realtek.com.tw; -SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0009-${P}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" - -CONFIG_CHECK="!R8169" -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -PATCHES=( - "${FILESDIR}"/${P}-linux-4.11.patch -) - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: a53352323ca4f7009c5aeda080c4b283a90b25db Author: Mikle Kolyada gentoo org> AuthorDate: Thu Apr 26 21:03:59 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Apr 26 21:03:59 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5335232 net-misc/r8168: amd64 stable wrt bug #654102 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-misc/r8168/r8168-8.045.08.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.045.08.ebuild b/net-misc/r8168/r8168-8.045.08.ebuild index 968ed32b377..c9ecc0bee43 100644 --- a/net-misc/r8168/r8168-8.045.08.ebuild +++ b/net-misc/r8168/r8168-8.045.08.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0010-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: f42bd59b607b3e1daaa96edea9c2f54110667a23 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Apr 26 19:21:13 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Apr 26 19:22:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f42bd59b net-misc/r8168: x86 stable (bug #654102) Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-misc/r8168/r8168-8.045.08.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.045.08.ebuild b/net-misc/r8168/r8168-8.045.08.ebuild index aefe5b84ce6..968ed32b377 100644 --- a/net-misc/r8168/r8168-8.045.08.ebuild +++ b/net-misc/r8168/r8168-8.045.08.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0010-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/, net-misc/r8168/files/
commit: 111b4f5bee7a6ac6538c8df1ae1f427c3cf5ddcb Author: James Le Cuirot gentoo org> AuthorDate: Thu Feb 1 22:26:32 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Feb 1 22:26:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111b4f5b net-misc/r8168: Version bump to 8.045.08 Includes patch for 4.15. Thanks to Alois Nespor from Arch Linux. Bug: https://bugs.gentoo.org/646114 Package-Manager: Portage-2.3.21, Repoman-2.3.6 net-misc/r8168/Manifest | 1 + net-misc/r8168/files/linux-4.15-2.patch | 85 + net-misc/r8168/r8168-8.045.08.ebuild| 33 + 3 files changed, 119 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 337f96ab143..3455812608f 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.044.02.tar.bz2 95880 BLAKE2B f153b077f8112c2b3c81a923a9a9c7d5096d141adb1cc8dd220f9fdf5df32af90c30f19512dc95bb2761febcfe3a59b6634e9fdec8fbb08b6b493a15aad99d0f SHA512 d7e4fd73ee4f17440613b78163777fc0b9e472490a900fdf8e66c4e16f413cc01f49991a68c7bfb19ddf9577e706d0410ff7c8e85ced53e9740e69efda729512 +DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 diff --git a/net-misc/r8168/files/linux-4.15-2.patch b/net-misc/r8168/files/linux-4.15-2.patch new file mode 100644 index 000..5f5f17c551c --- /dev/null +++ b/net-misc/r8168/files/linux-4.15-2.patch @@ -0,0 +1,85 @@ +Author: Alois Nespor+Description: fix module build for Linux 4.15 +Origin: vendor, https://aur.archlinux.org/cgit/aur.git/tree/linux-4.15-2.patch?h=r8168-dkms + +--- a/src/r8168_n.c b/src/r8168_n.c +@@ -407,8 +407,14 @@ MODULE_VERSION(RTL8168_VERSION); + static void rtl8168_sleep_rx_enable(struct net_device *dev); + static void rtl8168_dsm(struct net_device *dev, int dev_state); + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++static void rtl8168_esd_timer(struct timer_list *timer); ++static void rtl8168_link_timer(struct timer_list *timer); ++#else + static void rtl8168_esd_timer(unsigned long __opaque); + static void rtl8168_link_timer(unsigned long __opaque); ++#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++ + static void rtl8168_tx_clear(struct rtl8168_private *tp); + static void rtl8168_rx_clear(struct rtl8168_private *tp); + +@@ -22964,7 +22970,11 @@ static inline void rtl8168_request_esd_t + struct rtl8168_private *tp = netdev_priv(dev); + struct timer_list *timer = >esd_timer; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++timer_setup(timer, rtl8168_esd_timer, 0); ++#else + setup_timer(timer, rtl8168_esd_timer, (unsigned long)dev); ++#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) + mod_timer(timer, jiffies + RTL8168_ESD_TIMEOUT); + } + +@@ -22978,7 +22988,11 @@ static inline void rtl8168_request_link_ + struct rtl8168_private *tp = netdev_priv(dev); + struct timer_list *timer = >link_timer; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++timer_setup(timer, rtl8168_link_timer, 0); ++#else + setup_timer(timer, rtl8168_link_timer, (unsigned long)dev); ++#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) + mod_timer(timer, jiffies + RTL8168_LINK_TIMEOUT); + } + +@@ -24717,12 +24731,19 @@ err_out: + #define PCI_DEVICE_SERIAL_NUMBER (0x0164) + + static void ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++rtl8168_esd_timer(struct timer_list *timer) ++{ ++struct rtl8168_private *tp = from_timer(tp, timer, esd_timer); ++struct net_device *dev = tp->dev; ++#else + rtl8168_esd_timer(unsigned long __opaque) + { + struct net_device *dev = (struct net_device *)__opaque; + struct rtl8168_private *tp = netdev_priv(dev); +-struct pci_dev *pdev = tp->pci_dev; + struct timer_list *timer = >esd_timer; ++#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++struct pci_dev *pdev = tp->pci_dev; + unsigned long timeout = RTL8168_ESD_TIMEOUT; + unsigned long flags; + u8 cmd; +@@ -24856,11 +24877,18 @@ rtl8168_esd_timer(unsigned long __opaque + } + + static void ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) ++rtl8168_link_timer(struct timer_list *timer) ++{ ++struct rtl8168_private *tp = from_timer(tp, timer, link_timer); ++struct net_device *dev = tp->dev; ++#else + rtl8168_link_timer(unsigned long __opaque) + { + struct net_device *dev = (struct net_device *)__opaque; + struct rtl8168_private *tp = netdev_priv(dev); + struct timer_list *timer = >link_timer; ++#endif//LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) + unsigned
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 8b69b23888eea46953c89dd09de57cf61d571981 Author: James Le Cuirot gentoo org> AuthorDate: Tue May 16 08:32:01 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Tue May 16 08:32:01 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b69b238 net-misc/r8168: Remove old 8.042.00 Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.042.00.ebuild | 40 2 files changed, 41 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 1f48dc6f3bd..4ed6b61814e 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1 @@ -DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f DIST r8168-8.044.02.tar.bz2 95880 SHA256 ad3cd1becb35efab52ed11e0326c1108806c55c62fd2b5e1cf7eaa749fb75027 SHA512 d7e4fd73ee4f17440613b78163777fc0b9e472490a900fdf8e66c4e16f413cc01f49991a68c7bfb19ddf9577e706d0410ff7c8e85ced53e9740e69efda729512 WHIRLPOOL 6fc45e7a2ada3cf184d5c16a7c5bc5349bec7d6f45932c74dd281bf2383f82a9ec3353a5f623f97d9338f65b846b5fa12aece0b7fc9b36cdf7d59d8b22cfcef7 diff --git a/net-misc/r8168/r8168-8.042.00.ebuild b/net-misc/r8168/r8168-8.042.00.ebuild deleted file mode 100644 index 26fd58ed62c..000 --- a/net-misc/r8168/r8168-8.042.00.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="http://www.realtek.com.tw; -SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0005-${P}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -CONFIG_CHECK="!R8169" - -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_prepare() { - default - - if kernel_is -ge 4 7; then - sed -i \ - -e '/gso_min_segs/d' \ - -e 's/dev->trans_start = jiffies/netif_trans_update(dev)/g' \ - src/r8168_n.c || die - fi -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: a9d476ed000f930318194fb1be18213bf8024cec Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 15 14:14:43 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 15 14:14:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d476ed net-misc/r8168: amd64 stable wrt bug #618368 Package-Manager: Portage-2.3.5, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/r8168/r8168-8.044.02.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.044.02.ebuild b/net-misc/r8168/r8168-8.044.02.ebuild index 8c730a06229..deedca01f0a 100644 --- a/net-misc/r8168/r8168-8.044.02.ebuild +++ b/net-misc/r8168/r8168-8.044.02.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0009-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/, net-misc/r8168/files/
commit: 2a44760d0dc295cd1f9c3a85a487833034f5e95a Author: James Le Cuirot gentoo org> AuthorDate: Sat May 13 19:38:18 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Sat May 13 19:39:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a44760d net-misc/r8168: Fix 8.044.02 against Linux 4.11, bug #618340 Package-Manager: Portage-2.3.5, Repoman-2.3.2 .../r8168/files/r8168-8.044.02-linux-4.11.patch| 27 ++ net-misc/r8168/r8168-8.044.02.ebuild | 6 - 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch b/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch new file mode 100644 index 000..ba1dd372dfa --- /dev/null +++ b/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch @@ -0,0 +1,27 @@ +diff a/src/r8168.h b/src/r8168.h +--- a/src/r8168.h 2017-01-11 14:19:18.0 +0800 b/src/r8168.h 2017-05-02 21:18:54.541652414 +0800 +@@ -36,6 +36,10 @@ + #include "r8168_realwow.h" + #include "r8168_fiber.h" + ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) ++#include ++#endif ++ + #if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) + #if defined(skb_vlan_tag_present) && !defined(vlan_tx_tag_present) + #define vlan_tx_tag_present skb_vlan_tag_present +diff a/src/r8168_n.c b/src/r8168_n.c +--- a/src/r8168_n.c2017-01-11 14:18:43.0 +0800 b/src/r8168_n.c2017-05-02 21:20:57.488644205 +0800 +@@ -25732,7 +25732,9 @@ + if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0) + rtl8168_rx_skb(tp, skb); + ++#if (LINUX_VERSION_CODE <= KERNEL_VERSION(4, 10, 0)) + dev->last_rx = jiffies; ++#endif + RTLDEV->stats.rx_bytes += pkt_size; + RTLDEV->stats.rx_packets++; + } diff --git a/net-misc/r8168/r8168-8.044.02.ebuild b/net-misc/r8168/r8168-8.044.02.ebuild index c9db5561b3a..8c730a06229 100644 --- a/net-misc/r8168/r8168-8.044.02.ebuild +++ b/net-misc/r8168/r8168-8.044.02.ebuild @@ -14,10 +14,14 @@ KEYWORDS="~amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules" -CONFIG_CHECK="!R8169" +CONFIG_CHECK="!R8169" ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" +PATCHES=( + "${FILESDIR}"/${P}-linux-4.11.patch +) + pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: de416b9ce3bc686b35fcdf50e0ee9e13b1ea4843 Author: James Le Cuirot gentoo org> AuthorDate: Mon Mar 27 22:00:04 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 27 22:00:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de416b9c net-misc/r8168: Remove old 8.043.01 Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.043.01.ebuild | 29 - 2 files changed, 30 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 836c5f281cb..1f48dc6f3bd 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f -DIST r8168-8.043.01.tar.bz2 92785 SHA256 b25c9d3a368ca0aad7f5b1a82e82e41861f481a49ab54e68e20737d94ce7eddc SHA512 a06a30f9b2dbc5120b8734d87b55dc977e98d45b348af36d013da753b8a98863f0f615784764eb17c1b8db637fadd92096fb80f6ff1cddf7a0fdcd95d53521d5 WHIRLPOOL 35189db9da253016bc694dc59c91bd9b4e6c744ae6af66f5b39bd031c71efe1eb5f3bb8dcc8595ba21dcc2d330d64f3d4816b7958b00a25f3d2239d49e7c5f9b DIST r8168-8.044.02.tar.bz2 95880 SHA256 ad3cd1becb35efab52ed11e0326c1108806c55c62fd2b5e1cf7eaa749fb75027 SHA512 d7e4fd73ee4f17440613b78163777fc0b9e472490a900fdf8e66c4e16f413cc01f49991a68c7bfb19ddf9577e706d0410ff7c8e85ced53e9740e69efda729512 WHIRLPOOL 6fc45e7a2ada3cf184d5c16a7c5bc5349bec7d6f45932c74dd281bf2383f82a9ec3353a5f623f97d9338f65b846b5fa12aece0b7fc9b36cdf7d59d8b22cfcef7 diff --git a/net-misc/r8168/r8168-8.043.01.ebuild b/net-misc/r8168/r8168-8.043.01.ebuild deleted file mode 100644 index 3469ce59f40..000 --- a/net-misc/r8168/r8168-8.043.01.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="http://www.realtek.com.tw; -SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0006-${P}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -CONFIG_CHECK="!R8169" - -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 724f6684f096812e4eeb3fb0227444fead114ef2 Author: James Le Cuirot gentoo org> AuthorDate: Mon Mar 27 21:59:15 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 27 21:59:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724f6684 net-misc/r8168: Version bump to 8.044.02 Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.044.02.ebuild | 29 + 2 files changed, 30 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 3b3c06a01f8..836c5f281cb 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f DIST r8168-8.043.01.tar.bz2 92785 SHA256 b25c9d3a368ca0aad7f5b1a82e82e41861f481a49ab54e68e20737d94ce7eddc SHA512 a06a30f9b2dbc5120b8734d87b55dc977e98d45b348af36d013da753b8a98863f0f615784764eb17c1b8db637fadd92096fb80f6ff1cddf7a0fdcd95d53521d5 WHIRLPOOL 35189db9da253016bc694dc59c91bd9b4e6c744ae6af66f5b39bd031c71efe1eb5f3bb8dcc8595ba21dcc2d330d64f3d4816b7958b00a25f3d2239d49e7c5f9b +DIST r8168-8.044.02.tar.bz2 95880 SHA256 ad3cd1becb35efab52ed11e0326c1108806c55c62fd2b5e1cf7eaa749fb75027 SHA512 d7e4fd73ee4f17440613b78163777fc0b9e472490a900fdf8e66c4e16f413cc01f49991a68c7bfb19ddf9577e706d0410ff7c8e85ced53e9740e69efda729512 WHIRLPOOL 6fc45e7a2ada3cf184d5c16a7c5bc5349bec7d6f45932c74dd281bf2383f82a9ec3353a5f623f97d9338f65b846b5fa12aece0b7fc9b36cdf7d59d8b22cfcef7 diff --git a/net-misc/r8168/r8168-8.044.02.ebuild b/net-misc/r8168/r8168-8.044.02.ebuild new file mode 100644 index 000..c9db5561b3a --- /dev/null +++ b/net-misc/r8168/r8168-8.044.02.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="http://www.realtek.com.tw; +SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0009-${P}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +CONFIG_CHECK="!R8169" + +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 3c2b843a7e2f56554610250822db79b84b87c2b0 Author: James Le Cuirot gentoo org> AuthorDate: Wed Dec 21 10:33:14 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Dec 21 10:33:53 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c2b843a net-misc/r8168: Remove old 8.040.00 Package-Manager: portage-2.3.3 net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.040.00.ebuild | 32 2 files changed, 33 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 7cc7000..3b3c06a 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ -DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f DIST r8168-8.043.01.tar.bz2 92785 SHA256 b25c9d3a368ca0aad7f5b1a82e82e41861f481a49ab54e68e20737d94ce7eddc SHA512 a06a30f9b2dbc5120b8734d87b55dc977e98d45b348af36d013da753b8a98863f0f615784764eb17c1b8db637fadd92096fb80f6ff1cddf7a0fdcd95d53521d5 WHIRLPOOL 35189db9da253016bc694dc59c91bd9b4e6c744ae6af66f5b39bd031c71efe1eb5f3bb8dcc8595ba21dcc2d330d64f3d4816b7958b00a25f3d2239d49e7c5f9b diff --git a/net-misc/r8168/r8168-8.040.00.ebuild b/net-misc/r8168/r8168-8.040.00.ebuild deleted file mode 100644 index 8c60d05.. --- a/net-misc/r8168/r8168-8.040.00.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="http://www.realtek.com.tw; -SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0002-${P}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -KEYWORDS="amd64 x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -CONFIG_CHECK="!R8169" - -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: dc01fd74d402abeaf54d3f424eb01040b79a0f70 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Dec 21 10:25:21 2016 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Dec 21 10:25:21 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc01fd74 net-misc/r8168: x86 stable (bug #597870) Package-Manager: Portage-2.3.2, Repoman-2.3.1 net-misc/r8168/r8168-8.042.00.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.042.00.ebuild b/net-misc/r8168/r8168-8.042.00.ebuild index 0452705..b3b1555 100644 --- a/net-misc/r8168/r8168-8.042.00.ebuild +++ b/net-misc/r8168/r8168-8.042.00.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0005-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: b7eafe578db3756bd46050aec1ebf7d4f2c3ae87 Author: Tobias Klausmann gentoo org> AuthorDate: Wed Dec 21 09:56:10 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Wed Dec 21 09:56:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7eafe57 net-misc/r8168-8.042.00-r0: stable on amd64 Gentoo-Bug: 597870 net-misc/r8168/r8168-8.042.00.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/r8168/r8168-8.042.00.ebuild b/net-misc/r8168/r8168-8.042.00.ebuild index c646233..0452705 100644 --- a/net-misc/r8168/r8168-8.042.00.ebuild +++ b/net-misc/r8168/r8168-8.042.00.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0005-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" BUILD_TARGETS="modules"
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 91a3f8dbbe34b351d07f2b69b5060d1fe3c0655b Author: James Le Cuirot gentoo org> AuthorDate: Mon Oct 24 21:20:56 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Oct 24 21:20:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a3f8db net-misc/r8168: Version bump to 8.043.01 Tested on Linux 4.8.3. Package-Manager: portage-2.3.2 net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.043.01.ebuild | 30 ++ 2 files changed, 31 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 2374ff3..7cc7000 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f +DIST r8168-8.043.01.tar.bz2 92785 SHA256 b25c9d3a368ca0aad7f5b1a82e82e41861f481a49ab54e68e20737d94ce7eddc SHA512 a06a30f9b2dbc5120b8734d87b55dc977e98d45b348af36d013da753b8a98863f0f615784764eb17c1b8db637fadd92096fb80f6ff1cddf7a0fdcd95d53521d5 WHIRLPOOL 35189db9da253016bc694dc59c91bd9b4e6c744ae6af66f5b39bd031c71efe1eb5f3bb8dcc8595ba21dcc2d330d64f3d4816b7958b00a25f3d2239d49e7c5f9b diff --git a/net-misc/r8168/r8168-8.043.01.ebuild b/net-misc/r8168/r8168-8.043.01.ebuild new file mode 100644 index ..5649ccf --- /dev/null +++ b/net-misc/r8168/r8168-8.043.01.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="http://www.realtek.com.tw; +SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0006-${P}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +CONFIG_CHECK="!R8169" + +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 4bd05e22623dcda115dafaa7490eb8e4bc11ab7d Author: James Le Cuirot gentoo org> AuthorDate: Fri Jul 1 18:17:39 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Jul 1 21:33:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd05e22 net-misc/r8168: Version bump to 8.042.00 I have included fixes for Linux 4.7. Package-Manager: portage-2.3.0 net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.042.00.ebuild | 41 2 files changed, 42 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 00195d6..333471d 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c DIST r8168-8.041.00.tar.bz2 88154 SHA256 13fca576fac856510e8eb70645c84954bdcfed68cd26cf4773138915690ba36e SHA512 56816b8a98bd81c93aeff31ee111de95a827a4da96ef8832d735483abe412e1df9f1de097f5e0c1cce4d9d94932e0747630e94f2869368c4ea06a9e145ad542b WHIRLPOOL 83b70a21ce3d2e29b249f0c6305425348405c64aa9741f32bfb7cd27abbdf314f1bad1207d696296a5f24dcbc99c357280be6b7687aed1e234f41b51af5cba41 +DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f diff --git a/net-misc/r8168/r8168-8.042.00.ebuild b/net-misc/r8168/r8168-8.042.00.ebuild new file mode 100644 index 000..c646233 --- /dev/null +++ b/net-misc/r8168/r8168-8.042.00.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="http://www.realtek.com.tw; +SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0005-${P}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +CONFIG_CHECK="!R8169" + +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_prepare() { + default + + if kernel_is -ge 4 7; then + sed -i \ + -e '/gso_min_segs/d' \ + -e 's/dev->trans_start = jiffies/netif_trans_update(dev)/g' \ + src/r8168_n.c || die + fi +} + +src_install() { + linux-mod_src_install + dodoc README +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: 797721015b391e58a739826abece942f5b68574d Author: James Le Cuirot gentoo org> AuthorDate: Fri Jul 1 18:18:31 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Jul 1 21:33:15 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79772101 net-misc/r8168: Remove old 8.041.00-r1 Package-Manager: portage-2.3.0 net-misc/r8168/Manifest | 1 - net-misc/r8168/r8168-8.041.00-r1.ebuild | 38 - 2 files changed, 39 deletions(-) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 333471d..2374ff3 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,3 +1,2 @@ DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c -DIST r8168-8.041.00.tar.bz2 88154 SHA256 13fca576fac856510e8eb70645c84954bdcfed68cd26cf4773138915690ba36e SHA512 56816b8a98bd81c93aeff31ee111de95a827a4da96ef8832d735483abe412e1df9f1de097f5e0c1cce4d9d94932e0747630e94f2869368c4ea06a9e145ad542b WHIRLPOOL 83b70a21ce3d2e29b249f0c6305425348405c64aa9741f32bfb7cd27abbdf314f1bad1207d696296a5f24dcbc99c357280be6b7687aed1e234f41b51af5cba41 DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f diff --git a/net-misc/r8168/r8168-8.041.00-r1.ebuild b/net-misc/r8168/r8168-8.041.00-r1.ebuild deleted file mode 100644 index b32b2e2..000 --- a/net-misc/r8168/r8168-8.041.00-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit linux-info linux-mod eutils - -DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" -HOMEPAGE="http://www.realtek.com.tw; -SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0003-${P}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULE_NAMES="r8168(net:${S}/src)" -BUILD_TARGETS="modules" -CONFIG_CHECK="!R8169" - -ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERNELDIR=${KV_DIR}" -} - -src_prepare() { - default - - if kernel_is -ge 4 5; then - sed -i 's/NETIF_F_ALL_CSUM/NETIF_F_CSUM_MASK/g' src/r8168_n.c || die - fi -} - -src_install() { - linux-mod_src_install - dodoc README -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: c8905a00654e1e7c9f0a109875519a753696cec8 Author: James Le Cuirot gentoo org> AuthorDate: Sun Feb 21 14:18:27 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Feb 21 14:18:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8905a00 net-misc/r8168: Linux 4.5 fix and EAPI bump Package-Manager: portage-2.2.27 .../{r8168-8.041.00.ebuild => r8168-8.041.00-r1.ebuild} | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/net-misc/r8168/r8168-8.041.00.ebuild b/net-misc/r8168/r8168-8.041.00-r1.ebuild similarity index 75% rename from net-misc/r8168/r8168-8.041.00.ebuild rename to net-misc/r8168/r8168-8.041.00-r1.ebuild index 382e7b0..b32b2e2 100644 --- a/net-misc/r8168/r8168-8.041.00.ebuild +++ b/net-misc/r8168/r8168-8.041.00-r1.ebuild @@ -1,18 +1,16 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit linux-mod eutils +inherit linux-info linux-mod eutils DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" HOMEPAGE="http://www.realtek.com.tw; SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0003-${P}.tar.bz2 -> ${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -IUSE="" - KEYWORDS="~amd64 ~x86" MODULE_NAMES="r8168(net:${S}/src)" @@ -26,6 +24,14 @@ pkg_setup() { BUILD_PARAMS="KERNELDIR=${KV_DIR}" } +src_prepare() { + default + + if kernel_is -ge 4 5; then + sed -i 's/NETIF_F_ALL_CSUM/NETIF_F_CSUM_MASK/g' src/r8168_n.c || die + fi +} + src_install() { linux-mod_src_install dodoc README
[gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
commit: a1a2e13a2ee9ae1d2d479856fca558f6aacd9800 Author: James Le Cuirot gentoo org> AuthorDate: Fri Dec 25 21:51:54 2015 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 25 21:52:37 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a2e13a net-misc/r8168: Version bump, closes bug #569080 Package-Manager: portage-2.2.26 net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.041.00.ebuild | 32 2 files changed, 33 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 1227058..00195d6 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1 +1,2 @@ DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c +DIST r8168-8.041.00.tar.bz2 88154 SHA256 13fca576fac856510e8eb70645c84954bdcfed68cd26cf4773138915690ba36e SHA512 56816b8a98bd81c93aeff31ee111de95a827a4da96ef8832d735483abe412e1df9f1de097f5e0c1cce4d9d94932e0747630e94f2869368c4ea06a9e145ad542b WHIRLPOOL 83b70a21ce3d2e29b249f0c6305425348405c64aa9741f32bfb7cd27abbdf314f1bad1207d696296a5f24dcbc99c357280be6b7687aed1e234f41b51af5cba41 diff --git a/net-misc/r8168/r8168-8.041.00.ebuild b/net-misc/r8168/r8168-8.041.00.ebuild new file mode 100644 index 000..382e7b0 --- /dev/null +++ b/net-misc/r8168/r8168-8.041.00.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="http://www.realtek.com.tw; +SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0003-${P}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +CONFIG_CHECK="!R8169" + +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + dodoc README +}