1 |
chithanh 12/02/03 22:56:13 |
2 |
|
3 |
Modified: linux-firmware-20110731.ebuild |
4 |
linux-firmware-20110818.ebuild ChangeLog |
5 |
linux-firmware-99999999.ebuild |
6 |
Added: linux-firmware-20120125.ebuild |
7 |
Log: |
8 |
New snapshot. Update download locations. Avoid installing empty directories, bug #396073. |
9 |
|
10 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.7 sys-kernel/linux-firmware/linux-firmware-20110731.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild?rev=1.7&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild?rev=1.7&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild?r1=1.6&r2=1.7 |
18 |
|
19 |
Index: linux-firmware-20110731.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild,v |
22 |
retrieving revision 1.6 |
23 |
retrieving revision 1.7 |
24 |
diff -u -r1.6 -r1.7 |
25 |
--- linux-firmware-20110731.ebuild 1 Nov 2011 14:40:57 -0000 1.6 |
26 |
+++ linux-firmware-20110731.ebuild 3 Feb 2012 22:56:13 -0000 1.7 |
27 |
@@ -1,6 +1,6 @@ |
28 |
-# Copyright 1999-2011 Gentoo Foundation |
29 |
+# Copyright 1999-2012 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild,v 1.6 2011/11/01 14:40:57 chithanh Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110731.ebuild,v 1.7 2012/02/03 22:56:13 chithanh Exp $ |
33 |
|
34 |
EAPI=3 |
35 |
inherit savedconfig |
36 |
@@ -10,7 +10,7 @@ |
37 |
SRC_URI="" |
38 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/${PN}.git" |
39 |
else |
40 |
- SRC_URI="mirror://kernel/linux/kernel/people/dwmw2/firmware/${P}.tar.bz2" |
41 |
+ SRC_URI="mirror://gentoo/${P}.tar.bz2" |
42 |
fi |
43 |
|
44 |
DESCRIPTION="Linux firmware files" |
45 |
|
46 |
|
47 |
|
48 |
1.4 sys-kernel/linux-firmware/linux-firmware-20110818.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild?rev=1.4&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild?rev=1.4&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild?r1=1.3&r2=1.4 |
53 |
|
54 |
Index: linux-firmware-20110818.ebuild |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild,v |
57 |
retrieving revision 1.3 |
58 |
retrieving revision 1.4 |
59 |
diff -u -r1.3 -r1.4 |
60 |
--- linux-firmware-20110818.ebuild 1 Nov 2011 14:40:57 -0000 1.3 |
61 |
+++ linux-firmware-20110818.ebuild 3 Feb 2012 22:56:13 -0000 1.4 |
62 |
@@ -1,6 +1,6 @@ |
63 |
-# Copyright 1999-2011 Gentoo Foundation |
64 |
+# Copyright 1999-2012 Gentoo Foundation |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild,v 1.3 2011/11/01 14:40:57 chithanh Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild,v 1.4 2012/02/03 22:56:13 chithanh Exp $ |
68 |
|
69 |
EAPI=3 |
70 |
inherit savedconfig |
71 |
@@ -10,7 +10,7 @@ |
72 |
SRC_URI="" |
73 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/${PN}.git" |
74 |
else |
75 |
- SRC_URI="mirror://kernel/linux/kernel/people/dwmw2/firmware/${P}.tar.bz2" |
76 |
+ SRC_URI="mirror://gentoo/${P}.tar.bz2" |
77 |
fi |
78 |
|
79 |
DESCRIPTION="Linux firmware files" |
80 |
|
81 |
|
82 |
|
83 |
1.32 sys-kernel/linux-firmware/ChangeLog |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.32&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.32&content-type=text/plain |
87 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?r1=1.31&r2=1.32 |
88 |
|
89 |
Index: ChangeLog |
90 |
=================================================================== |
91 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v |
92 |
retrieving revision 1.31 |
93 |
retrieving revision 1.32 |
94 |
diff -u -r1.31 -r1.32 |
95 |
--- ChangeLog 2 Feb 2012 13:15:29 -0000 1.31 |
96 |
+++ ChangeLog 3 Feb 2012 22:56:13 -0000 1.32 |
97 |
@@ -1,6 +1,14 @@ |
98 |
# ChangeLog for sys-kernel/linux-firmware |
99 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
100 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.31 2012/02/02 13:15:29 chithanh Exp $ |
101 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.32 2012/02/03 22:56:13 chithanh Exp $ |
102 |
+ |
103 |
+*linux-firmware-20120125 (03 Feb 2012) |
104 |
+ |
105 |
+ 03 Feb 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
106 |
+ linux-firmware-20110731.ebuild, linux-firmware-20110818.ebuild, |
107 |
+ +linux-firmware-20120125.ebuild, linux-firmware-99999999.ebuild: |
108 |
+ New snapshot. Update download locations. Avoid installing empty directories, |
109 |
+ bug #396073. |
110 |
|
111 |
02 Feb 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
112 |
linux-firmware-99999999.ebuild: |
113 |
|
114 |
|
115 |
|
116 |
1.14 sys-kernel/linux-firmware/linux-firmware-99999999.ebuild |
117 |
|
118 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild?rev=1.14&view=markup |
119 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild?rev=1.14&content-type=text/plain |
120 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild?r1=1.13&r2=1.14 |
121 |
|
122 |
Index: linux-firmware-99999999.ebuild |
123 |
=================================================================== |
124 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild,v |
125 |
retrieving revision 1.13 |
126 |
retrieving revision 1.14 |
127 |
diff -u -r1.13 -r1.14 |
128 |
--- linux-firmware-99999999.ebuild 2 Feb 2012 13:15:29 -0000 1.13 |
129 |
+++ linux-firmware-99999999.ebuild 3 Feb 2012 22:56:13 -0000 1.14 |
130 |
@@ -1,8 +1,8 @@ |
131 |
# Copyright 1999-2012 Gentoo Foundation |
132 |
# Distributed under the terms of the GNU General Public License v2 |
133 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild,v 1.13 2012/02/02 13:15:29 chithanh Exp $ |
134 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild,v 1.14 2012/02/03 22:56:13 chithanh Exp $ |
135 |
|
136 |
-EAPI=3 |
137 |
+EAPI=4 |
138 |
inherit savedconfig |
139 |
|
140 |
if [[ ${PV} == 99999999* ]]; then |
141 |
@@ -10,7 +10,7 @@ |
142 |
SRC_URI="" |
143 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
144 |
else |
145 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2" |
146 |
+ SRC_URI="mirror://gentoo/${P}.tar.gz" |
147 |
fi |
148 |
|
149 |
DESCRIPTION="Linux firmware files" |
150 |
@@ -53,6 +53,16 @@ |
151 |
)" |
152 |
#add anything else that collides to this |
153 |
|
154 |
+src_unpack() { |
155 |
+ if [[ ${PV} == 99999999* ]]; then |
156 |
+ git-2_src_unpack |
157 |
+ else |
158 |
+ default |
159 |
+ # rename directory from git snapshot tarball |
160 |
+ mv ${PN}-*/ ${P} || die |
161 |
+ fi |
162 |
+} |
163 |
+ |
164 |
src_prepare() { |
165 |
echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
166 |
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
167 |
@@ -64,6 +74,8 @@ |
168 |
| sort ${PN}.conf ${PN}.conf - \ |
169 |
| uniq -u | xargs -r rm |
170 |
eend $? || die |
171 |
+ # remove empty directories, bug #396073 |
172 |
+ find -type d -empty -delete || die |
173 |
fi |
174 |
} |
175 |
|
176 |
@@ -71,7 +83,7 @@ |
177 |
save_config ${PN}.conf |
178 |
rm ${PN}.conf || die |
179 |
insinto /lib/firmware/ |
180 |
- doins -r * || die "Install failed!" |
181 |
+ doins -r * |
182 |
} |
183 |
|
184 |
pkg_preinst() { |
185 |
|
186 |
|
187 |
|
188 |
1.1 sys-kernel/linux-firmware/linux-firmware-20120125.ebuild |
189 |
|
190 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20120125.ebuild?rev=1.1&view=markup |
191 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20120125.ebuild?rev=1.1&content-type=text/plain |
192 |
|
193 |
Index: linux-firmware-20120125.ebuild |
194 |
=================================================================== |
195 |
# Copyright 1999-2012 Gentoo Foundation |
196 |
# Distributed under the terms of the GNU General Public License v2 |
197 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20120125.ebuild,v 1.1 2012/02/03 22:56:13 chithanh Exp $ |
198 |
|
199 |
EAPI=4 |
200 |
inherit savedconfig |
201 |
|
202 |
if [[ ${PV} == 99999999* ]]; then |
203 |
inherit git-2 |
204 |
SRC_URI="" |
205 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" |
206 |
else |
207 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
208 |
fi |
209 |
|
210 |
DESCRIPTION="Linux firmware files" |
211 |
HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" |
212 |
|
213 |
LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist" |
214 |
KEYWORDS="~amd64 ~arm ~x86" |
215 |
SLOT="0" |
216 |
IUSE="savedconfig" |
217 |
|
218 |
DEPEND="" |
219 |
RDEPEND="!savedconfig? ( |
220 |
!media-sound/alsa-firmware[alsa_cards_korg1212] |
221 |
!media-sound/alsa-firmware[alsa_cards_maestro3] |
222 |
!media-sound/alsa-firmware[alsa_cards_sb16] |
223 |
!media-sound/alsa-firmware[alsa_cards_ymfpci] |
224 |
!media-tv/cx18-firmware |
225 |
!media-tv/ivtv-firmware |
226 |
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx] |
227 |
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885] |
228 |
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700] |
229 |
!net-dialup/ueagle-atm |
230 |
!net-dialup/ueagle4-atm |
231 |
!net-wireless/ar9271-firmware |
232 |
!net-wireless/i2400m-fw |
233 |
!net-wireless/iwl1000-ucode |
234 |
!net-wireless/iwl3945-ucode |
235 |
!net-wireless/iwl4965-ucode |
236 |
!net-wireless/iwl5000-ucode |
237 |
!net-wireless/iwl5150-ucode |
238 |
!net-wireless/iwl6000-ucode |
239 |
!net-wireless/iwl6005-ucode |
240 |
!net-wireless/iwl6030-ucode |
241 |
!net-wireless/iwl6050-ucode |
242 |
!net-wireless/libertas-firmware |
243 |
!net-wireless/rt61-firmware |
244 |
!net-wireless/rt73-firmware |
245 |
!sys-block/qla-fc-firmware |
246 |
!x11-drivers/radeon-ucode |
247 |
)" |
248 |
#add anything else that collides to this |
249 |
|
250 |
src_unpack() { |
251 |
if [[ ${PV} == 99999999* ]]; then |
252 |
git-2_src_unpack |
253 |
else |
254 |
default |
255 |
# rename directory from git snapshot tarball |
256 |
mv ${PN}-*/ ${P} || die |
257 |
fi |
258 |
} |
259 |
|
260 |
src_prepare() { |
261 |
echo "# Remove files that shall not be installed from this list." > ${PN}.conf |
262 |
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf |
263 |
|
264 |
if use savedconfig; then |
265 |
restore_config ${PN}.conf |
266 |
ebegin "Removing all files not listed in config" |
267 |
find * \( \! -type d -and \! -name ${PN}.conf \) \ |
268 |
| sort ${PN}.conf ${PN}.conf - \ |
269 |
| uniq -u | xargs -r rm |
270 |
eend $? || die |
271 |
# remove empty directories, bug #396073 |
272 |
find -type d -empty -delete || die |
273 |
fi |
274 |
} |
275 |
|
276 |
src_install() { |
277 |
save_config ${PN}.conf |
278 |
rm ${PN}.conf || die |
279 |
insinto /lib/firmware/ |
280 |
doins -r * |
281 |
} |
282 |
|
283 |
pkg_preinst() { |
284 |
if use savedconfig; then |
285 |
ewarn "USE=savedconfig is active. You must handle file collisions manually." |
286 |
fi |
287 |
} |
288 |
|
289 |
pkg_postinst() { |
290 |
elog "If you are only interested in particular firmware files, edit the saved" |
291 |
elog "configfile and remove those that you do not want." |
292 |
} |