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: Mon, 29 Oct 2018 23:06:35
Message-Id: 1540854377.43e3d19b0cc60d534ce8277e4b4affe494ae70de.whissi@gentoo
1 commit: 43e3d19b0cc60d534ce8277e4b4affe494ae70de
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 29 23:06:00 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 29 23:06:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e3d19b
7
8 sys-kernel/linux-firmware: drop old
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-kernel/linux-firmware/Manifest | 2 -
14 .../linux-firmware/linux-firmware-20180825.ebuild | 114 ---------------------
15 .../linux-firmware/linux-firmware-20181001.ebuild | 114 ---------------------
16 3 files changed, 230 deletions(-)
17
18 diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
19 index 6f37da8e9a8..a3a4e303626 100644
20 --- a/sys-kernel/linux-firmware/Manifest
21 +++ b/sys-kernel/linux-firmware/Manifest
22 @@ -1,3 +1 @@
23 -DIST linux-firmware-20180825.tar.gz 156618714 BLAKE2B 1bf44c456a87dce2e0622c8ef80bacae9d1aa76efacbb1519718be4a2c3e36a72b8baced8dc17953515052be923b85a8368179dfad591fbc7402521bce564e20 SHA512 583623fedf18a987a20cb6f5337146131a7b17a95ee79cb4b35199b6ecf42af039b824623235501685db18839c0d7e9e81cd79ed47fb993b4e72346bf9159021
24 -DIST linux-firmware-20181001.tar.gz 158397569 BLAKE2B 2694014f847fb60f5f0c208a479f4cdf0b422ef249735f22f0ef72e0fd385e8ba6737da1b1cf24daf74fd5f28c3c69b96e14850520f16b8a556c7ca734a3557e SHA512 f20b65122381423597cebd5a3018bbe55f0f8697a03b5ae3e7c1c6dd1cddcb1da4f3fddc8e4accb2d780faf1c0e66bed7dda6b1ab1c48d2e0b2435a5a7eb03f7
25 DIST linux-firmware-20181026.tar.gz 167486645 BLAKE2B 9923b9a8ab692023022d7bceb238b2ec4eba395062307864be558d969fba657301ada317b95071cad82a7a883a2d08f63f0ed34ecc7914a36f31ce85f55ac31f SHA512 4d6eff765557888dea432e0a28973c8ec067354a57aa4c37198e887618ca17e9d5e1243a618820fb470a86a5ce4b6255290f1c2c3835baba4fb87148372cafb0
26
27 diff --git a/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild
28 deleted file mode 100644
29 index 3a8fcad736e..00000000000
30 --- a/sys-kernel/linux-firmware/linux-firmware-20180825.ebuild
31 +++ /dev/null
32 @@ -1,114 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
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="fea76a04f25fd0a217c0d566ff5ff8f23ad3e648"
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+ freedist"
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 - find * \( \! -type d -and \! -name ${PN}.conf \) \
120 - | sort ${PN}.conf ${PN}.conf - \
121 - | uniq -u | xargs -r rm
122 - eend $? || die
123 - # remove empty directories, bug #396073
124 - find -type d -empty -delete || die
125 - fi
126 -}
127 -
128 -src_install() {
129 - if use !savedconfig; then
130 - save_config ${PN}.conf
131 - fi
132 - rm ${PN}.conf || die
133 - insinto /lib/firmware/
134 - doins -r *
135 -}
136 -
137 -pkg_preinst() {
138 - if use savedconfig; then
139 - ewarn "USE=savedconfig is active. You must handle file collisions manually."
140 - fi
141 -}
142 -
143 -pkg_postinst() {
144 - elog "If you are only interested in particular firmware files, edit the saved"
145 - elog "configfile and remove those that you do not want."
146 -}
147
148 diff --git a/sys-kernel/linux-firmware/linux-firmware-20181001.ebuild b/sys-kernel/linux-firmware/linux-firmware-20181001.ebuild
149 deleted file mode 100644
150 index f095154ff46..00000000000
151 --- a/sys-kernel/linux-firmware/linux-firmware-20181001.ebuild
152 +++ /dev/null
153 @@ -1,114 +0,0 @@
154 -# Copyright 1999-2018 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI="6"
158 -inherit savedconfig
159 -
160 -if [[ ${PV} == 99999999* ]]; then
161 - inherit git-r3
162 - SRC_URI=""
163 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
164 -else
165 - GIT_COMMIT="7c81f23ad903f72e87e2102d8f52408305c0f7a2"
166 - SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
167 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 mips ppc ppc64 s390 sh sparc x86"
168 -fi
169 -
170 -DESCRIPTION="Linux firmware files"
171 -HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
172 -
173 -LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
174 -SLOT="0"
175 -IUSE="savedconfig"
176 -
177 -DEPEND=""
178 -RDEPEND="!savedconfig? (
179 - !sys-firmware/alsa-firmware[alsa_cards_ca0132]
180 - !sys-firmware/alsa-firmware[alsa_cards_korg1212]
181 - !sys-firmware/alsa-firmware[alsa_cards_maestro3]
182 - !sys-firmware/alsa-firmware[alsa_cards_sb16]
183 - !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
184 - !media-tv/cx18-firmware
185 - !<sys-firmware/ivtv-firmware-20080701-r1
186 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
187 - !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
188 - !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
189 - !net-dialup/ueagle-atm
190 - !net-dialup/ueagle4-atm
191 - !net-wireless/ar9271-firmware
192 - !net-wireless/i2400m-fw
193 - !net-wireless/libertas-firmware
194 - !sys-firmware/rt61-firmware
195 - !net-wireless/rt73-firmware
196 - !net-wireless/rt2860-firmware
197 - !net-wireless/rt2870-firmware
198 - !sys-block/qla-fc-firmware
199 - !sys-firmware/amd-ucode
200 - !sys-firmware/iwl1000-ucode
201 - !sys-firmware/iwl2000-ucode
202 - !sys-firmware/iwl2030-ucode
203 - !sys-firmware/iwl3945-ucode
204 - !sys-firmware/iwl4965-ucode
205 - !sys-firmware/iwl5000-ucode
206 - !sys-firmware/iwl5150-ucode
207 - !sys-firmware/iwl6000-ucode
208 - !sys-firmware/iwl6005-ucode
209 - !sys-firmware/iwl6030-ucode
210 - !sys-firmware/iwl6050-ucode
211 - !sys-firmware/iwl3160-ucode
212 - !sys-firmware/iwl7260-ucode
213 - !sys-firmware/iwl7265-ucode
214 - !sys-firmware/iwl3160-7260-bt-ucode
215 - !sys-firmware/radeon-ucode
216 - )"
217 -#add anything else that collides to this
218 -
219 -RESTRICT="binchecks strip"
220 -
221 -src_unpack() {
222 - if [[ ${PV} == 99999999* ]]; then
223 - git-r3_src_unpack
224 - else
225 - default
226 - # rename directory from git snapshot tarball
227 - mv ${PN}-*/ ${P} || die
228 - fi
229 -}
230 -
231 -src_prepare() {
232 - default
233 -
234 - echo "# Remove files that shall not be installed from this list." > ${PN}.conf
235 - find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
236 -
237 - if use savedconfig; then
238 - restore_config ${PN}.conf
239 - ebegin "Removing all files not listed in config"
240 - find * \( \! -type d -and \! -name ${PN}.conf \) \
241 - | sort ${PN}.conf ${PN}.conf - \
242 - | uniq -u | xargs -r rm
243 - eend $? || die
244 - # remove empty directories, bug #396073
245 - find -type d -empty -delete || die
246 - fi
247 -}
248 -
249 -src_install() {
250 - if use !savedconfig; then
251 - save_config ${PN}.conf
252 - fi
253 - rm ${PN}.conf || die
254 - insinto /lib/firmware/
255 - doins -r *
256 -}
257 -
258 -pkg_preinst() {
259 - if use savedconfig; then
260 - ewarn "USE=savedconfig is active. You must handle file collisions manually."
261 - fi
262 -}
263 -
264 -pkg_postinst() {
265 - elog "If you are only interested in particular firmware files, edit the saved"
266 - elog "configfile and remove those that you do not want."
267 -}