1 |
commit: 80b5c0764e0917a1147b4b41c71ee9eac71e7186 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 15 14:22:44 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 15 14:23:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b5c076 |
7 |
|
8 |
sys-kernel/linux-firmware: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
sys-kernel/linux-firmware/Manifest | 5 - |
13 |
.../linux-firmware-20180103-r2.ebuild | 119 --------------------- |
14 |
.../linux-firmware-20180606-r1.ebuild | 115 -------------------- |
15 |
.../linux-firmware-20180717-r1.ebuild | 115 -------------------- |
16 |
.../linux-firmware/linux-firmware-20180730.ebuild | 114 -------------------- |
17 |
5 files changed, 468 deletions(-) |
18 |
|
19 |
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest |
20 |
index 8a1b8a17203..cc3a65a3b70 100644 |
21 |
--- a/sys-kernel/linux-firmware/Manifest |
22 |
+++ b/sys-kernel/linux-firmware/Manifest |
23 |
@@ -1,7 +1,2 @@ |
24 |
-DIST linux-firmware-20180103.tar.gz 138263360 BLAKE2B b7af0f94bf7111a1f4a10c7403f43dbfe837912ccf3afd4bcc362e483bcf15e02df76a37b112b2545c67bfbb2df031890dead100552e402ffc4727041409d891 SHA512 ed95205c075b47a2f30d9c96181ca0047de017abb1b5904f7c504a0afb8ea673c179980eb92d5690dd1a5cfb29815f224f384b4dcc472f80ddc90af3b2cbd4ce |
25 |
-DIST linux-firmware-20180606.tar.gz 152670671 BLAKE2B 7c4fb07451c1c459bd0bf8bec15e3bff41bdb64166decfd7776650c85f0b373c97dfa23330ebb7ddd4bc144bffb57751f3a94bb4a352e5f8ef1dd0b8a3679c81 SHA512 4eb02e11beffde5bf8daff45af78304881e01eb51004ff0758bfff3a4a4cb59f6a2e081b7a3c3e07734a29954f09fa6277f920c2bdab6aeb608065936861c650 |
26 |
-DIST linux-firmware-20180717.tar.gz 155038756 BLAKE2B be94a60c95b23ad14008ed2c1d6eb1e126ef4b959bb9375b9d6c7374d16de0b503c434c00975cb9be74cc8d191db826ec58312a1405c558eb476807dfcf247cd SHA512 e885b31d01c7aa7864742dc3f2b67888aa93166390d5572ae56d191656991876e4aea1e412e452f4caa6ee031d0ab10c26f615f639cfde6f15bdea47a9819816 |
27 |
-DIST linux-firmware-20180730.tar.gz 156004891 BLAKE2B 38472066f4af965f5d3186d719b324e65874d4c25cec335fa522555e29d9a67d7cd22594977cb8800f10915da122cfe9906e0e64675c3733b9659c2338eaee69 SHA512 dc1a5b118b7f4f7760115ba45ab6c836661f5b1d68f4daad294c88f9f7448a0e42ee0de5be27cca418acf57c2d214ca166b6e7ab6711f8a68b6c8c3e68c2812e |
28 |
DIST linux-firmware-20180825.tar.gz 156618714 BLAKE2B 1bf44c456a87dce2e0622c8ef80bacae9d1aa76efacbb1519718be4a2c3e36a72b8baced8dc17953515052be923b85a8368179dfad591fbc7402521bce564e20 SHA512 583623fedf18a987a20cb6f5337146131a7b17a95ee79cb4b35199b6ecf42af039b824623235501685db18839c0d7e9e81cd79ed47fb993b4e72346bf9159021 |
29 |
DIST linux-firmware-20180913.tar.gz 157719795 BLAKE2B 6eb2b9f4c753cf2b9fbef7e720d4fedcc452ca694c330a4884e5713050fbe2461e5ad135b6b514c8e84b3c2d8ae587b4b4017d390dcf7180d63c58e67c135d0c SHA512 1db808849d1858e1c7c444315adbe3e112c12ec739bc98f5b56e07b756563dec79fd84f709200d0c2c5e0b76134caac006ea747d224b67bfdf949dfcff6ce83c |
30 |
-DIST microcode_amd_fam17h.tar.gz 2204 BLAKE2B 20f3b006587f49fced335fd38711da2384a1f5cd0b93a483d7022d8aa211dc855427a637583dd2eae9f108120f2fda4b80db081d48d3332da906de8e10b94464 SHA512 d3b52797a5968f8da76d39322780e61d04bab5d810b0b07d64e469fcd67998e4191b0e0a9ab7e4c27189941369ef1b2850bbbb1458fd9bbeb958c98f6e378510 |
31 |
|
32 |
diff --git a/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild |
33 |
deleted file mode 100644 |
34 |
index 266dd651989..00000000000 |
35 |
--- a/sys-kernel/linux-firmware/linux-firmware-20180103-r2.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,119 +0,0 @@ |
38 |
-# Copyright 1999-2018 Gentoo Foundation |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-EAPI=6 |
42 |
-inherit savedconfig |
43 |
- |
44 |
-if [[ ${PV} == 99999999* ]]; then |
45 |
- inherit git-r3 |
46 |
- SRC_URI="" |
47 |
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
48 |
- KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" |
49 |
-else |
50 |
- GIT_COMMIT="2eefafb2e9dcbafdf4b83d8c43fcd6b75fd4ac78" |
51 |
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz |
52 |
- mirror://gentoo/microcode_amd_fam17h.tar.gz |
53 |
- https://dev.gentoo.org/~whissi/dist/${PN}/microcode_amd_fam17h.tar.gz" |
54 |
- KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" |
55 |
-fi |
56 |
- |
57 |
-DESCRIPTION="Linux firmware files" |
58 |
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" |
59 |
- |
60 |
-LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist" |
61 |
-SLOT="0" |
62 |
-IUSE="savedconfig" |
63 |
- |
64 |
-DEPEND="" |
65 |
-RDEPEND="!savedconfig? ( |
66 |
- !sys-firmware/alsa-firmware[alsa_cards_ca0132] |
67 |
- !sys-firmware/alsa-firmware[alsa_cards_korg1212] |
68 |
- !sys-firmware/alsa-firmware[alsa_cards_maestro3] |
69 |
- !sys-firmware/alsa-firmware[alsa_cards_sb16] |
70 |
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci] |
71 |
- !media-tv/cx18-firmware |
72 |
- !<sys-firmware/ivtv-firmware-20080701-r1 |
73 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] |
74 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] |
75 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] |
76 |
- !net-dialup/ueagle-atm |
77 |
- !net-dialup/ueagle4-atm |
78 |
- !net-wireless/ar9271-firmware |
79 |
- !net-wireless/i2400m-fw |
80 |
- !net-wireless/libertas-firmware |
81 |
- !sys-firmware/rt61-firmware |
82 |
- !net-wireless/rt73-firmware |
83 |
- !net-wireless/rt2860-firmware |
84 |
- !net-wireless/rt2870-firmware |
85 |
- !sys-block/qla-fc-firmware |
86 |
- !sys-firmware/amd-ucode |
87 |
- !sys-firmware/iwl1000-ucode |
88 |
- !sys-firmware/iwl2000-ucode |
89 |
- !sys-firmware/iwl2030-ucode |
90 |
- !sys-firmware/iwl3945-ucode |
91 |
- !sys-firmware/iwl4965-ucode |
92 |
- !sys-firmware/iwl5000-ucode |
93 |
- !sys-firmware/iwl5150-ucode |
94 |
- !sys-firmware/iwl6000-ucode |
95 |
- !sys-firmware/iwl6005-ucode |
96 |
- !sys-firmware/iwl6030-ucode |
97 |
- !sys-firmware/iwl6050-ucode |
98 |
- !sys-firmware/iwl3160-ucode |
99 |
- !sys-firmware/iwl7260-ucode |
100 |
- !sys-firmware/iwl7265-ucode |
101 |
- !sys-firmware/iwl3160-7260-bt-ucode |
102 |
- !sys-firmware/radeon-ucode |
103 |
- )" |
104 |
-#add anything else that collides to this |
105 |
- |
106 |
-RESTRICT="binchecks strip" |
107 |
- |
108 |
-src_unpack() { |
109 |
- if [[ ${PV} == 99999999* ]]; then |
110 |
- git-r3_src_unpack |
111 |
- else |
112 |
- default |
113 |
- # rename directory from git snapshot tarball |
114 |
- mv ${PN}-*/ ${P} || die |
115 |
- fi |
116 |
-} |
117 |
- |
118 |
-src_prepare() { |
119 |
- default |
120 |
- |
121 |
- mv "${WORKDIR}"/microcode_amd_fam17h.bin "${S}"/amd-ucode || die |
122 |
- |
123 |
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
124 |
- find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
125 |
- |
126 |
- if use savedconfig; then |
127 |
- restore_config ${PN}.conf |
128 |
- ebegin "Removing all files not listed in config" |
129 |
- find * \( \! -type d -and \! -name ${PN}.conf \) \ |
130 |
- | sort ${PN}.conf ${PN}.conf - \ |
131 |
- | uniq -u | xargs -r rm |
132 |
- eend $? || die |
133 |
- # remove empty directories, bug #396073 |
134 |
- find -type d -empty -delete || die |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- if use !savedconfig; then |
140 |
- save_config ${PN}.conf |
141 |
- fi |
142 |
- rm ${PN}.conf || die |
143 |
- insinto /lib/firmware/ |
144 |
- doins -r * |
145 |
-} |
146 |
- |
147 |
-pkg_preinst() { |
148 |
- if use savedconfig; then |
149 |
- ewarn "USE=savedconfig is active. You must handle file collisions manually." |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-pkg_postinst() { |
154 |
- elog "If you are only interested in particular firmware files, edit the saved" |
155 |
- elog "configfile and remove those that you do not want." |
156 |
-} |
157 |
|
158 |
diff --git a/sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild |
159 |
deleted file mode 100644 |
160 |
index 3fd71f1cf7f..00000000000 |
161 |
--- a/sys-kernel/linux-firmware/linux-firmware-20180606-r1.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,115 +0,0 @@ |
164 |
-# Copyright 1999-2018 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
- |
167 |
-EAPI=6 |
168 |
-inherit savedconfig |
169 |
- |
170 |
-if [[ ${PV} == 99999999* ]]; then |
171 |
- inherit git-r3 |
172 |
- SRC_URI="" |
173 |
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
174 |
- KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
175 |
-else |
176 |
- GIT_COMMIT="d1147327232ec4616a66ab898df84f9700c816c1" |
177 |
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
178 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
179 |
-fi |
180 |
- |
181 |
-DESCRIPTION="Linux firmware files" |
182 |
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" |
183 |
- |
184 |
-LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist" |
185 |
-SLOT="0" |
186 |
-IUSE="savedconfig" |
187 |
- |
188 |
-DEPEND="" |
189 |
-RDEPEND="!savedconfig? ( |
190 |
- !sys-firmware/alsa-firmware[alsa_cards_ca0132] |
191 |
- !sys-firmware/alsa-firmware[alsa_cards_korg1212] |
192 |
- !sys-firmware/alsa-firmware[alsa_cards_maestro3] |
193 |
- !sys-firmware/alsa-firmware[alsa_cards_sb16] |
194 |
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci] |
195 |
- !media-tv/cx18-firmware |
196 |
- !<sys-firmware/ivtv-firmware-20080701-r1 |
197 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] |
198 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] |
199 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] |
200 |
- !net-dialup/ueagle-atm |
201 |
- !net-dialup/ueagle4-atm |
202 |
- !net-wireless/ar9271-firmware |
203 |
- !net-wireless/i2400m-fw |
204 |
- !net-wireless/libertas-firmware |
205 |
- !sys-firmware/rt61-firmware |
206 |
- !net-wireless/rt73-firmware |
207 |
- !net-wireless/rt2860-firmware |
208 |
- !net-wireless/rt2870-firmware |
209 |
- !sys-block/qla-fc-firmware |
210 |
- !sys-firmware/amd-ucode |
211 |
- !sys-firmware/iwl1000-ucode |
212 |
- !sys-firmware/iwl2000-ucode |
213 |
- !sys-firmware/iwl2030-ucode |
214 |
- !sys-firmware/iwl3945-ucode |
215 |
- !sys-firmware/iwl4965-ucode |
216 |
- !sys-firmware/iwl5000-ucode |
217 |
- !sys-firmware/iwl5150-ucode |
218 |
- !sys-firmware/iwl6000-ucode |
219 |
- !sys-firmware/iwl6005-ucode |
220 |
- !sys-firmware/iwl6030-ucode |
221 |
- !sys-firmware/iwl6050-ucode |
222 |
- !sys-firmware/iwl3160-ucode |
223 |
- !sys-firmware/iwl7260-ucode |
224 |
- !sys-firmware/iwl7265-ucode |
225 |
- !sys-firmware/iwl3160-7260-bt-ucode |
226 |
- !sys-firmware/radeon-ucode |
227 |
- )" |
228 |
-#add anything else that collides to this |
229 |
- |
230 |
-RESTRICT="binchecks strip" |
231 |
- |
232 |
-src_unpack() { |
233 |
- if [[ ${PV} == 99999999* ]]; then |
234 |
- git-r3_src_unpack |
235 |
- else |
236 |
- default |
237 |
- # rename directory from git snapshot tarball |
238 |
- mv ${PN}-*/ ${P} || die |
239 |
- fi |
240 |
-} |
241 |
- |
242 |
-src_prepare() { |
243 |
- default |
244 |
- |
245 |
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
246 |
- find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
247 |
- |
248 |
- if use savedconfig; then |
249 |
- restore_config ${PN}.conf |
250 |
- ebegin "Removing all files not listed in config" |
251 |
- find * \( \! -type d -and \! -name ${PN}.conf \) \ |
252 |
- | sort ${PN}.conf ${PN}.conf - \ |
253 |
- | uniq -u | xargs -r rm |
254 |
- eend $? || die |
255 |
- # remove empty directories, bug #396073 |
256 |
- find -type d -empty -delete || die |
257 |
- fi |
258 |
-} |
259 |
- |
260 |
-src_install() { |
261 |
- if use !savedconfig; then |
262 |
- save_config ${PN}.conf |
263 |
- fi |
264 |
- rm ${PN}.conf || die |
265 |
- insinto /lib/firmware/ |
266 |
- doins -r * |
267 |
-} |
268 |
- |
269 |
-pkg_preinst() { |
270 |
- if use savedconfig; then |
271 |
- ewarn "USE=savedconfig is active. You must handle file collisions manually." |
272 |
- fi |
273 |
-} |
274 |
- |
275 |
-pkg_postinst() { |
276 |
- elog "If you are only interested in particular firmware files, edit the saved" |
277 |
- elog "configfile and remove those that you do not want." |
278 |
-} |
279 |
|
280 |
diff --git a/sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild |
281 |
deleted file mode 100644 |
282 |
index 3341a3e7e99..00000000000 |
283 |
--- a/sys-kernel/linux-firmware/linux-firmware-20180717-r1.ebuild |
284 |
+++ /dev/null |
285 |
@@ -1,115 +0,0 @@ |
286 |
-# Copyright 1999-2018 Gentoo Foundation |
287 |
-# Distributed under the terms of the GNU General Public License v2 |
288 |
- |
289 |
-EAPI=6 |
290 |
-inherit savedconfig |
291 |
- |
292 |
-if [[ ${PV} == 99999999* ]]; then |
293 |
- inherit git-r3 |
294 |
- SRC_URI="" |
295 |
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
296 |
- KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
297 |
-else |
298 |
- GIT_COMMIT="8d69bab7a3da1913113ea98cefb73d5fa6988286" |
299 |
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
300 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
301 |
-fi |
302 |
- |
303 |
-DESCRIPTION="Linux firmware files" |
304 |
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" |
305 |
- |
306 |
-LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist" |
307 |
-SLOT="0" |
308 |
-IUSE="savedconfig" |
309 |
- |
310 |
-DEPEND="" |
311 |
-RDEPEND="!savedconfig? ( |
312 |
- !sys-firmware/alsa-firmware[alsa_cards_ca0132] |
313 |
- !sys-firmware/alsa-firmware[alsa_cards_korg1212] |
314 |
- !sys-firmware/alsa-firmware[alsa_cards_maestro3] |
315 |
- !sys-firmware/alsa-firmware[alsa_cards_sb16] |
316 |
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci] |
317 |
- !media-tv/cx18-firmware |
318 |
- !<sys-firmware/ivtv-firmware-20080701-r1 |
319 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] |
320 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] |
321 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] |
322 |
- !net-dialup/ueagle-atm |
323 |
- !net-dialup/ueagle4-atm |
324 |
- !net-wireless/ar9271-firmware |
325 |
- !net-wireless/i2400m-fw |
326 |
- !net-wireless/libertas-firmware |
327 |
- !sys-firmware/rt61-firmware |
328 |
- !net-wireless/rt73-firmware |
329 |
- !net-wireless/rt2860-firmware |
330 |
- !net-wireless/rt2870-firmware |
331 |
- !sys-block/qla-fc-firmware |
332 |
- !sys-firmware/amd-ucode |
333 |
- !sys-firmware/iwl1000-ucode |
334 |
- !sys-firmware/iwl2000-ucode |
335 |
- !sys-firmware/iwl2030-ucode |
336 |
- !sys-firmware/iwl3945-ucode |
337 |
- !sys-firmware/iwl4965-ucode |
338 |
- !sys-firmware/iwl5000-ucode |
339 |
- !sys-firmware/iwl5150-ucode |
340 |
- !sys-firmware/iwl6000-ucode |
341 |
- !sys-firmware/iwl6005-ucode |
342 |
- !sys-firmware/iwl6030-ucode |
343 |
- !sys-firmware/iwl6050-ucode |
344 |
- !sys-firmware/iwl3160-ucode |
345 |
- !sys-firmware/iwl7260-ucode |
346 |
- !sys-firmware/iwl7265-ucode |
347 |
- !sys-firmware/iwl3160-7260-bt-ucode |
348 |
- !sys-firmware/radeon-ucode |
349 |
- )" |
350 |
-#add anything else that collides to this |
351 |
- |
352 |
-RESTRICT="binchecks strip" |
353 |
- |
354 |
-src_unpack() { |
355 |
- if [[ ${PV} == 99999999* ]]; then |
356 |
- git-r3_src_unpack |
357 |
- else |
358 |
- default |
359 |
- # rename directory from git snapshot tarball |
360 |
- mv ${PN}-*/ ${P} || die |
361 |
- fi |
362 |
-} |
363 |
- |
364 |
-src_prepare() { |
365 |
- default |
366 |
- |
367 |
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
368 |
- find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
369 |
- |
370 |
- if use savedconfig; then |
371 |
- restore_config ${PN}.conf |
372 |
- ebegin "Removing all files not listed in config" |
373 |
- find * \( \! -type d -and \! -name ${PN}.conf \) \ |
374 |
- | sort ${PN}.conf ${PN}.conf - \ |
375 |
- | uniq -u | xargs -r rm |
376 |
- eend $? || die |
377 |
- # remove empty directories, bug #396073 |
378 |
- find -type d -empty -delete || die |
379 |
- fi |
380 |
-} |
381 |
- |
382 |
-src_install() { |
383 |
- if use !savedconfig; then |
384 |
- save_config ${PN}.conf |
385 |
- fi |
386 |
- rm ${PN}.conf || die |
387 |
- insinto /lib/firmware/ |
388 |
- doins -r * |
389 |
-} |
390 |
- |
391 |
-pkg_preinst() { |
392 |
- if use savedconfig; then |
393 |
- ewarn "USE=savedconfig is active. You must handle file collisions manually." |
394 |
- fi |
395 |
-} |
396 |
- |
397 |
-pkg_postinst() { |
398 |
- elog "If you are only interested in particular firmware files, edit the saved" |
399 |
- elog "configfile and remove those that you do not want." |
400 |
-} |
401 |
|
402 |
diff --git a/sys-kernel/linux-firmware/linux-firmware-20180730.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180730.ebuild |
403 |
deleted file mode 100644 |
404 |
index 278a8cd4ce5..00000000000 |
405 |
--- a/sys-kernel/linux-firmware/linux-firmware-20180730.ebuild |
406 |
+++ /dev/null |
407 |
@@ -1,114 +0,0 @@ |
408 |
-# Copyright 1999-2018 Gentoo Foundation |
409 |
-# Distributed under the terms of the GNU General Public License v2 |
410 |
- |
411 |
-EAPI="6" |
412 |
-inherit savedconfig |
413 |
- |
414 |
-if [[ ${PV} == 99999999* ]]; then |
415 |
- inherit git-r3 |
416 |
- SRC_URI="" |
417 |
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
418 |
-else |
419 |
- GIT_COMMIT="7b5835fd37630d18ac0c755329172f6a17c1af29" |
420 |
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
421 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" |
422 |
-fi |
423 |
- |
424 |
-DESCRIPTION="Linux firmware files" |
425 |
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" |
426 |
- |
427 |
-LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist" |
428 |
-SLOT="0" |
429 |
-IUSE="savedconfig" |
430 |
- |
431 |
-DEPEND="" |
432 |
-RDEPEND="!savedconfig? ( |
433 |
- !sys-firmware/alsa-firmware[alsa_cards_ca0132] |
434 |
- !sys-firmware/alsa-firmware[alsa_cards_korg1212] |
435 |
- !sys-firmware/alsa-firmware[alsa_cards_maestro3] |
436 |
- !sys-firmware/alsa-firmware[alsa_cards_sb16] |
437 |
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci] |
438 |
- !media-tv/cx18-firmware |
439 |
- !<sys-firmware/ivtv-firmware-20080701-r1 |
440 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] |
441 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] |
442 |
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] |
443 |
- !net-dialup/ueagle-atm |
444 |
- !net-dialup/ueagle4-atm |
445 |
- !net-wireless/ar9271-firmware |
446 |
- !net-wireless/i2400m-fw |
447 |
- !net-wireless/libertas-firmware |
448 |
- !sys-firmware/rt61-firmware |
449 |
- !net-wireless/rt73-firmware |
450 |
- !net-wireless/rt2860-firmware |
451 |
- !net-wireless/rt2870-firmware |
452 |
- !sys-block/qla-fc-firmware |
453 |
- !sys-firmware/amd-ucode |
454 |
- !sys-firmware/iwl1000-ucode |
455 |
- !sys-firmware/iwl2000-ucode |
456 |
- !sys-firmware/iwl2030-ucode |
457 |
- !sys-firmware/iwl3945-ucode |
458 |
- !sys-firmware/iwl4965-ucode |
459 |
- !sys-firmware/iwl5000-ucode |
460 |
- !sys-firmware/iwl5150-ucode |
461 |
- !sys-firmware/iwl6000-ucode |
462 |
- !sys-firmware/iwl6005-ucode |
463 |
- !sys-firmware/iwl6030-ucode |
464 |
- !sys-firmware/iwl6050-ucode |
465 |
- !sys-firmware/iwl3160-ucode |
466 |
- !sys-firmware/iwl7260-ucode |
467 |
- !sys-firmware/iwl7265-ucode |
468 |
- !sys-firmware/iwl3160-7260-bt-ucode |
469 |
- !sys-firmware/radeon-ucode |
470 |
- )" |
471 |
-#add anything else that collides to this |
472 |
- |
473 |
-RESTRICT="binchecks strip" |
474 |
- |
475 |
-src_unpack() { |
476 |
- if [[ ${PV} == 99999999* ]]; then |
477 |
- git-r3_src_unpack |
478 |
- else |
479 |
- default |
480 |
- # rename directory from git snapshot tarball |
481 |
- mv ${PN}-*/ ${P} || die |
482 |
- fi |
483 |
-} |
484 |
- |
485 |
-src_prepare() { |
486 |
- default |
487 |
- |
488 |
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
489 |
- find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
490 |
- |
491 |
- if use savedconfig; then |
492 |
- restore_config ${PN}.conf |
493 |
- ebegin "Removing all files not listed in config" |
494 |
- find * \( \! -type d -and \! -name ${PN}.conf \) \ |
495 |
- | sort ${PN}.conf ${PN}.conf - \ |
496 |
- | uniq -u | xargs -r rm |
497 |
- eend $? || die |
498 |
- # remove empty directories, bug #396073 |
499 |
- find -type d -empty -delete || die |
500 |
- fi |
501 |
-} |
502 |
- |
503 |
-src_install() { |
504 |
- if use !savedconfig; then |
505 |
- save_config ${PN}.conf |
506 |
- fi |
507 |
- rm ${PN}.conf || die |
508 |
- insinto /lib/firmware/ |
509 |
- doins -r * |
510 |
-} |
511 |
- |
512 |
-pkg_preinst() { |
513 |
- if use savedconfig; then |
514 |
- ewarn "USE=savedconfig is active. You must handle file collisions manually." |
515 |
- fi |
516 |
-} |
517 |
- |
518 |
-pkg_postinst() { |
519 |
- elog "If you are only interested in particular firmware files, edit the saved" |
520 |
- elog "configfile and remove those that you do not want." |
521 |
-} |