Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/
Date: Wed, 13 Mar 2019 22:58:30
Message-Id: 1552517893.549503df97b439ee9cbea68356e0b2fd8f6f5704.whissi@gentoo
1 commit: 549503df97b439ee9cbea68356e0b2fd8f6f5704
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 13 22:44:12 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 13 22:58:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549503df
7
8 sys-kernel/linux-firmware: drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-kernel/linux-firmware/Manifest | 2 -
14 .../linux-firmware/linux-firmware-20190213.ebuild | 135 ---------------------
15 .../linux-firmware-20190221-r1.ebuild | 135 ---------------------
16 3 files changed, 272 deletions(-)
17
18 diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
19 index 9ac0076fab6..20edbf7d28c 100644
20 --- a/sys-kernel/linux-firmware/Manifest
21 +++ b/sys-kernel/linux-firmware/Manifest
22 @@ -1,3 +1 @@
23 -DIST linux-firmware-20190213.tar.gz 177329601 BLAKE2B f103805a84342650cc994cfdf398a617bec083c9769d9303a274d33b91b0ab0390f92a736168e0f6b8977e7a93d4592dcdca64983617b884a6a7b64de50b7a4c SHA512 f0f56b511c02427b6923ef5ea2e3a00a42172fe52b86bcdfd170146b9496295dcb6f4a3986642674192b27fdfcb4b9961b3b45ccb29f030af76f7dcad2119485
24 -DIST linux-firmware-20190221-r1.tar.gz 177469962 BLAKE2B 23b8966183249df6b13019fac89e39dd4007e4506e85e1528944a363cc21feae4f1e323271a8c3377e0a5d8e7e030513ca9286200829e0dad5d408b758444bcd SHA512 1884c9969afc3b77306bd49c8ac099bfcaa93cba2d6c7da66d22085f85fe94f58b13cdf7f0a191eab46c1832899b6d58eab41f7d0cf4769a8e7fdcdae98d1009
25 DIST linux-firmware-20190313.tar.gz 177810569 BLAKE2B 410206491591115505964ca1cefb5effe6bb43002234489285a0985c7a87f80071ed22dd5678f5457ec6611bdd702ac9610ba89b3e44174f8d222b75b5d32d2a SHA512 eec933ebdefe83d466bfcf0babe710f95f67d319317f3187e43518a15a273b47e63ae88a35106932f0a8d5ce54f8a4c5325d7ab9da8b1789eed532a4a500fafd
26
27 diff --git a/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild
28 deleted file mode 100644
29 index ed558fb8a0c..00000000000
30 --- a/sys-kernel/linux-firmware/linux-firmware-20190213.ebuild
31 +++ /dev/null
32 @@ -1,135 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -inherit savedconfig
38 -
39 -if [[ ${PV} == 99999999* ]]; then
40 - inherit git-r3
41 - SRC_URI=""
42 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
43 -else
44 - GIT_COMMIT="710963fe53ee3f227556d36839df3858daf6e232"
45 - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
47 -fi
48 -
49 -DESCRIPTION="Linux firmware files"
50 -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
51 -
52 -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+"
53 -SLOT="0"
54 -IUSE="savedconfig"
55 -
56 -DEPEND=""
57 -RDEPEND="!savedconfig? (
58 - !sys-firmware/alsa-firmware[alsa_cards_ca0132]
59 - !sys-firmware/alsa-firmware[alsa_cards_korg1212]
60 - !sys-firmware/alsa-firmware[alsa_cards_maestro3]
61 - !sys-firmware/alsa-firmware[alsa_cards_sb16]
62 - !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
63 - !media-tv/cx18-firmware
64 - !<sys-firmware/ivtv-firmware-20080701-r1
65 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
66 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
67 - !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
68 - !net-dialup/ueagle-atm
69 - !net-dialup/ueagle4-atm
70 - !net-wireless/ar9271-firmware
71 - !net-wireless/i2400m-fw
72 - !net-wireless/libertas-firmware
73 - !sys-firmware/rt61-firmware
74 - !net-wireless/rt73-firmware
75 - !net-wireless/rt2860-firmware
76 - !net-wireless/rt2870-firmware
77 - !sys-block/qla-fc-firmware
78 - !sys-firmware/amd-ucode
79 - !sys-firmware/iwl1000-ucode
80 - !sys-firmware/iwl2000-ucode
81 - !sys-firmware/iwl2030-ucode
82 - !sys-firmware/iwl3945-ucode
83 - !sys-firmware/iwl4965-ucode
84 - !sys-firmware/iwl5000-ucode
85 - !sys-firmware/iwl5150-ucode
86 - !sys-firmware/iwl6000-ucode
87 - !sys-firmware/iwl6005-ucode
88 - !sys-firmware/iwl6030-ucode
89 - !sys-firmware/iwl6050-ucode
90 - !sys-firmware/iwl3160-ucode
91 - !sys-firmware/iwl7260-ucode
92 - !sys-firmware/iwl7265-ucode
93 - !sys-firmware/iwl3160-7260-bt-ucode
94 - !sys-firmware/radeon-ucode
95 - )"
96 -#add anything else that collides to this
97 -
98 -RESTRICT="binchecks strip"
99 -
100 -src_unpack() {
101 - if [[ ${PV} == 99999999* ]]; then
102 - git-r3_src_unpack
103 - else
104 - default
105 - # rename directory from git snapshot tarball
106 - mv ${PN}-*/ ${P} || die
107 - fi
108 -}
109 -
110 -src_prepare() {
111 - default
112 -
113 - echo "# Remove files that shall not be installed from this list." > ${PN}.conf
114 - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
115 -
116 - if use savedconfig; then
117 - restore_config ${PN}.conf
118 - ebegin "Removing all files not listed in config"
119 -
120 - local file delete_file preserved_file preserved_files=()
121 -
122 - while IFS= read -r file; do
123 - # Ignore comments.
124 - if [[ ${file} != "#"* ]]; then
125 - preserved_files+=("${file}")
126 - fi
127 - done < ${PN}.conf || die
128 -
129 - while IFS= read -d "" -r file; do
130 - delete_file=true
131 - for preserved_file in "${preserved_files[@]}"; do
132 - if [[ "${file}" == "${preserved_file}" ]]; then
133 - delete_file=false
134 - fi
135 - done
136 -
137 - if ${delete_file}; then
138 - rm "${file}" || die
139 - fi
140 - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die)
141 -
142 - eend || die
143 -
144 - # remove empty directories, bug #396073
145 - find -type d -empty -delete || die
146 - fi
147 -}
148 -
149 -src_install() {
150 - if use !savedconfig; then
151 - save_config ${PN}.conf
152 - fi
153 - rm ${PN}.conf || die
154 - insinto /lib/firmware/
155 - doins -r *
156 -}
157 -
158 -pkg_preinst() {
159 - if use savedconfig; then
160 - ewarn "USE=savedconfig is active. You must handle file collisions manually."
161 - fi
162 -}
163 -
164 -pkg_postinst() {
165 - elog "If you are only interested in particular firmware files, edit the saved"
166 - elog "configfile and remove those that you do not want."
167 -}
168
169 diff --git a/sys-kernel/linux-firmware/linux-firmware-20190221-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190221-r1.ebuild
170 deleted file mode 100644
171 index cf5dfcdd014..00000000000
172 --- a/sys-kernel/linux-firmware/linux-firmware-20190221-r1.ebuild
173 +++ /dev/null
174 @@ -1,135 +0,0 @@
175 -# Copyright 1999-2019 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI="6"
179 -inherit savedconfig
180 -
181 -if [[ ${PV} == 99999999* ]]; then
182 - inherit git-r3
183 - SRC_URI=""
184 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
185 -else
186 - GIT_COMMIT="9ee52be785cf91fc6a3c6aa27d484873f8270b72"
187 - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}-r1.tar.gz"
188 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86"
189 -fi
190 -
191 -DESCRIPTION="Linux firmware files"
192 -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
193 -
194 -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+"
195 -SLOT="0"
196 -IUSE="savedconfig"
197 -
198 -DEPEND=""
199 -RDEPEND="!savedconfig? (
200 - !sys-firmware/alsa-firmware[alsa_cards_ca0132]
201 - !sys-firmware/alsa-firmware[alsa_cards_korg1212]
202 - !sys-firmware/alsa-firmware[alsa_cards_maestro3]
203 - !sys-firmware/alsa-firmware[alsa_cards_sb16]
204 - !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
205 - !media-tv/cx18-firmware
206 - !<sys-firmware/ivtv-firmware-20080701-r1
207 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
208 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
209 - !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
210 - !net-dialup/ueagle-atm
211 - !net-dialup/ueagle4-atm
212 - !net-wireless/ar9271-firmware
213 - !net-wireless/i2400m-fw
214 - !net-wireless/libertas-firmware
215 - !sys-firmware/rt61-firmware
216 - !net-wireless/rt73-firmware
217 - !net-wireless/rt2860-firmware
218 - !net-wireless/rt2870-firmware
219 - !sys-block/qla-fc-firmware
220 - !sys-firmware/amd-ucode
221 - !sys-firmware/iwl1000-ucode
222 - !sys-firmware/iwl2000-ucode
223 - !sys-firmware/iwl2030-ucode
224 - !sys-firmware/iwl3945-ucode
225 - !sys-firmware/iwl4965-ucode
226 - !sys-firmware/iwl5000-ucode
227 - !sys-firmware/iwl5150-ucode
228 - !sys-firmware/iwl6000-ucode
229 - !sys-firmware/iwl6005-ucode
230 - !sys-firmware/iwl6030-ucode
231 - !sys-firmware/iwl6050-ucode
232 - !sys-firmware/iwl3160-ucode
233 - !sys-firmware/iwl7260-ucode
234 - !sys-firmware/iwl7265-ucode
235 - !sys-firmware/iwl3160-7260-bt-ucode
236 - !sys-firmware/radeon-ucode
237 - )"
238 -#add anything else that collides to this
239 -
240 -RESTRICT="binchecks strip"
241 -
242 -src_unpack() {
243 - if [[ ${PV} == 99999999* ]]; then
244 - git-r3_src_unpack
245 - else
246 - default
247 - # rename directory from git snapshot tarball
248 - mv ${PN}-*/ ${P} || die
249 - fi
250 -}
251 -
252 -src_prepare() {
253 - default
254 -
255 - echo "# Remove files that shall not be installed from this list." > ${PN}.conf
256 - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
257 -
258 - if use savedconfig; then
259 - restore_config ${PN}.conf
260 - ebegin "Removing all files not listed in config"
261 -
262 - local file delete_file preserved_file preserved_files=()
263 -
264 - while IFS= read -r file; do
265 - # Ignore comments.
266 - if [[ ${file} != "#"* ]]; then
267 - preserved_files+=("${file}")
268 - fi
269 - done < ${PN}.conf || die
270 -
271 - while IFS= read -d "" -r file; do
272 - delete_file=true
273 - for preserved_file in "${preserved_files[@]}"; do
274 - if [[ "${file}" == "${preserved_file}" ]]; then
275 - delete_file=false
276 - fi
277 - done
278 -
279 - if ${delete_file}; then
280 - rm "${file}" || die
281 - fi
282 - done < <(find * \( \! -type d -and \! -name ${PN}.conf \) -print0 || die)
283 -
284 - eend || die
285 -
286 - # remove empty directories, bug #396073
287 - find -type d -empty -delete || die
288 - fi
289 -}
290 -
291 -src_install() {
292 - if use !savedconfig; then
293 - save_config ${PN}.conf
294 - fi
295 - rm ${PN}.conf || die
296 - insinto /lib/firmware/
297 - doins -r *
298 -}
299 -
300 -pkg_preinst() {
301 - if use savedconfig; then
302 - ewarn "USE=savedconfig is active. You must handle file collisions manually."
303 - fi
304 -}
305 -
306 -pkg_postinst() {
307 - elog "If you are only interested in particular firmware files, edit the saved"
308 - elog "configfile and remove those that you do not want."
309 -}