1 |
commit: 2f7a2ce0e8e234be0604d27e9e6c08412e64d3d3 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 16:09:30 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 16:09:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7a2ce0 |
7 |
|
8 |
net-misc/realtek-r8152: treeclean |
9 |
|
10 |
Closes: https://bugs.gentoo.org/822831 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
net-misc/realtek-r8152/Manifest | 2 - |
14 |
net-misc/realtek-r8152/metadata.xml | 8 --- |
15 |
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 59 ---------------------- |
16 |
net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild | 59 ---------------------- |
17 |
profiles/package.mask | 7 --- |
18 |
5 files changed, 135 deletions(-) |
19 |
|
20 |
diff --git a/net-misc/realtek-r8152/Manifest b/net-misc/realtek-r8152/Manifest |
21 |
deleted file mode 100644 |
22 |
index 6827d73dcf86..000000000000 |
23 |
--- a/net-misc/realtek-r8152/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1,2 +0,0 @@ |
26 |
-DIST realtek-r8152-2.14.0.tar.gz 88356 BLAKE2B c530080cab5e6f7433aa6452e3c5f1f19f14c2ac473751958d85efa5553d2b2889d80cc47c2ad4064ad5673008df97dce197254f445c5fc7ae3905c7833e1641 SHA512 2908e9963b6bec9d638514e6a54ab8bca0b56c4866245f476889e4c8462c36f2bece86abac2e5ece9aee1776f00f7d4a67fd5561d830a67e02e386d79aba07dd |
27 |
-DIST realtek-r8152-2.15.0.tar.gz 93420 BLAKE2B 24b7a71adfddde3ff2ecc8c0b92d51f50202dada31a2f86a19d518f37814dd52d7ca5ffb5f81f07c7a92436f4fef53c8538a64d6bc5afbb0b6b7ccbace0a7923 SHA512 b46012d6e9c48ebb0eb0b7387933977bc56df7a9e010f0707907719e833a8f409d5af55ef84ebb0d54de89239e69697b6995c75e194ef7d0fa2c371d5fc362ba |
28 |
|
29 |
diff --git a/net-misc/realtek-r8152/metadata.xml b/net-misc/realtek-r8152/metadata.xml |
30 |
deleted file mode 100644 |
31 |
index 8ac26ba5990d..000000000000 |
32 |
--- a/net-misc/realtek-r8152/metadata.xml |
33 |
+++ /dev/null |
34 |
@@ -1,8 +0,0 @@ |
35 |
-<?xml version="1.0" encoding="UTF-8"?> |
36 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
37 |
-<pkgmetadata> |
38 |
- <maintainer type="person"> |
39 |
- <email>slashbeast@g.o</email> |
40 |
- <name>Piotr Karbowski</name> |
41 |
- </maintainer> |
42 |
-</pkgmetadata> |
43 |
|
44 |
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild |
45 |
deleted file mode 100644 |
46 |
index 82668bc49329..000000000000 |
47 |
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,59 +0,0 @@ |
50 |
-# Copyright 2021 Gentoo Authors |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
- |
53 |
-EAPI=7 |
54 |
- |
55 |
-inherit linux-mod linux-info udev |
56 |
- |
57 |
-SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
58 |
-KEYWORDS="amd64 x86" |
59 |
- |
60 |
-DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs" |
61 |
-HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software" |
62 |
- |
63 |
-SLOT="0" |
64 |
-LICENSE="GPL-2" |
65 |
-IUSE="" |
66 |
- |
67 |
-DEPEND=" |
68 |
- virtual/linux-sources |
69 |
- sys-kernel/linux-headers |
70 |
-" |
71 |
-RDEPEND="" |
72 |
- |
73 |
-MODULE_NAMES="r8152(net/usb)" |
74 |
- |
75 |
-pkg_setup() { |
76 |
- linux_config_exists |
77 |
- |
78 |
- for module in USB_USBNET USB_NET_CDC_NCM USB_NET_CDCETHER; do |
79 |
- linux_chkconfig_module "${module}" || ewarn "CONFIG_${module} needs to be built as module (builtin doesn't work)" |
80 |
- done |
81 |
- |
82 |
- linux_chkconfig_present MII || ewarn "CONFIG_MII needs to be built as module or builtin into the kernel" |
83 |
- |
84 |
- linux_chkconfig_present USB_RTL8152 && ewarn "CONFIG_USB_RTL8152 must NOT be enabled in the kernel!" |
85 |
- |
86 |
- linux-mod_pkg_setup |
87 |
- |
88 |
- BUILD_TARGETS="modules" |
89 |
- BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERNELDIR=${KERNEL_DIR}" |
90 |
-} |
91 |
- |
92 |
-src_install() { |
93 |
- linux-mod_src_install |
94 |
- |
95 |
- udev_newrules 50-usb-realtek-net.rules 50-usb-realtek-net.rules |
96 |
-} |
97 |
- |
98 |
-pkg_postinst() { |
99 |
- linux-mod_pkg_postinst |
100 |
- udev_reload |
101 |
- |
102 |
- echo |
103 |
- elog "If the cdc_ncm was loaded before this r8152 driver, one might get a flood" |
104 |
- elog "of 'usbN: network connection: disconnected' in kernel log." |
105 |
- elog "In that case one needs to unload r8152, cdc_ether and cdc_ncm modules and" |
106 |
- elog "let udev load them in right order or manually load r8152." |
107 |
- echo |
108 |
-} |
109 |
|
110 |
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild |
111 |
deleted file mode 100644 |
112 |
index b8439d39d198..000000000000 |
113 |
--- a/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,59 +0,0 @@ |
116 |
-# Copyright 2021 Gentoo Authors |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI=7 |
120 |
- |
121 |
-inherit linux-mod linux-info udev |
122 |
- |
123 |
-SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
124 |
-KEYWORDS="~amd64 ~x86" |
125 |
- |
126 |
-DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs" |
127 |
-HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software" |
128 |
- |
129 |
-SLOT="0" |
130 |
-LICENSE="GPL-2" |
131 |
-IUSE="" |
132 |
- |
133 |
-DEPEND=" |
134 |
- virtual/linux-sources |
135 |
- sys-kernel/linux-headers |
136 |
-" |
137 |
-RDEPEND="" |
138 |
- |
139 |
-MODULE_NAMES="r8152(net/usb)" |
140 |
- |
141 |
-pkg_setup() { |
142 |
- linux_config_exists |
143 |
- |
144 |
- for module in USB_USBNET USB_NET_CDC_NCM USB_NET_CDCETHER; do |
145 |
- linux_chkconfig_module "${module}" || ewarn "CONFIG_${module} needs to be built as module (builtin doesn't work)" |
146 |
- done |
147 |
- |
148 |
- linux_chkconfig_present MII || ewarn "CONFIG_MII needs to be built as module or builtin into the kernel" |
149 |
- |
150 |
- linux_chkconfig_present USB_RTL8152 && ewarn "CONFIG_USB_RTL8152 must NOT be enabled in the kernel!" |
151 |
- |
152 |
- linux-mod_pkg_setup |
153 |
- |
154 |
- BUILD_TARGETS="modules" |
155 |
- BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERNELDIR=${KERNEL_DIR}" |
156 |
-} |
157 |
- |
158 |
-src_install() { |
159 |
- linux-mod_src_install |
160 |
- |
161 |
- udev_newrules 50-usb-realtek-net.rules 50-usb-realtek-net.rules |
162 |
-} |
163 |
- |
164 |
-pkg_postinst() { |
165 |
- linux-mod_pkg_postinst |
166 |
- udev_reload |
167 |
- |
168 |
- echo |
169 |
- elog "If the cdc_ncm was loaded before this r8152 driver, one might get a flood" |
170 |
- elog "of 'usbN: network connection: disconnected' in kernel log." |
171 |
- elog "In that case one needs to unload r8152, cdc_ether and cdc_ncm modules and" |
172 |
- elog "let udev load them in right order or manually load r8152." |
173 |
- echo |
174 |
-} |
175 |
|
176 |
diff --git a/profiles/package.mask b/profiles/package.mask |
177 |
index 56b476428cbd..23d17cdf8977 100644 |
178 |
--- a/profiles/package.mask |
179 |
+++ b/profiles/package.mask |
180 |
@@ -350,13 +350,6 @@ net-im/gg-transport |
181 |
media-libs/libtaginfo |
182 |
media-sound/xnoise |
183 |
|
184 |
-# Piotr Karbowski <slashbeast@g.o> (2022-03-25) |
185 |
-# Abandoned upstream, officialy limited to kernel 5.6, |
186 |
-# no longer builds with kernel >=5.14. Use kernel's |
187 |
-# CONFIG_USB_RTL8152 and CONFIG_USB_USBNET since 5.13. |
188 |
-# Removal on 2022-04-25. |
189 |
-net-misc/realtek-r8152 |
190 |
- |
191 |
# David Seifert <soap@g.o> (2022-03-20) |
192 |
# Mask gcc-8 branch (ended upstream support). Please switch |
193 |
# to a fresher gcc branch. |