1 |
kumba 09/03/22 03:34:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mips-sources-2.6.28.8.ebuild |
5 |
mips-sources-2.6.27.20.ebuild |
6 |
Removed: mips-sources-2.6.28.7-r1.ebuild |
7 |
mips-sources-2.6.27.18.ebuild |
8 |
Log: |
9 |
Update to 2.6.27.20 and 2.6.28.8, and include some ext4 fixes from gentoo-sources/lkml, and build fixes from linux-mips. |
10 |
(Portage version: 2.1.6.9/cvs/Linux mips64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.126 sys-kernel/mips-sources/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.126&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.126&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?r1=1.125&r2=1.126 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v |
22 |
retrieving revision 1.125 |
23 |
retrieving revision 1.126 |
24 |
diff -u -r1.125 -r1.126 |
25 |
--- ChangeLog 16 Mar 2009 06:29:45 -0000 1.125 |
26 |
+++ ChangeLog 22 Mar 2009 03:34:07 -0000 1.126 |
27 |
@@ -1,6 +1,21 @@ |
28 |
# ChangeLog for sys-kernel/mips-sources |
29 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.125 2009/03/16 06:29:45 kumba Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.126 2009/03/22 03:34:07 kumba Exp $ |
32 |
+ |
33 |
+ 22 Mar 2009; Joshua Kinard <kumba@g.o> |
34 |
+ -mips-sources-2.6.27.18.ebuild, +mips-sources-2.6.27.20.ebuild, |
35 |
+ -mips-sources-2.6.28.7-r1.ebuild, +mips-sources-2.6.28.8.ebuild: |
36 |
+ Update to 2.6.27.20 and 2.6.28.8, and include some ext4 fixes from |
37 |
+ gentoo-sources/lkml, and build fixes from linux-mips. |
38 |
+ |
39 |
+*mips-sources-2.6.28.8 (18 Mar 2009) |
40 |
+*mips-sources-2.6.27.20 (18 Mar 2009) |
41 |
+ |
42 |
+ 18 Mar 2009; Joshua Kinard <kumba@g.o> |
43 |
+ -mips-sources-2.6.27.18.ebuild, +mips-sources-2.6.27.20.ebuild, |
44 |
+ -mips-sources-2.6.28.7-r1.ebuild, +mips-sources-2.6.28.8.ebuild: |
45 |
+ Update 2.6.27.18 to 2.6.27.20 and 2.6.28.7 to 2.6.28.8 (lots of ext4 |
46 |
+ fixes). |
47 |
|
48 |
*mips-sources-2.6.28.7-r1 (16 Mar 2009) |
49 |
*mips-sources-2.6.27.18 (16 Mar 2009) |
50 |
|
51 |
|
52 |
|
53 |
1.1 sys-kernel/mips-sources/mips-sources-2.6.28.8.ebuild |
54 |
|
55 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.28.8.ebuild?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.28.8.ebuild?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: mips-sources-2.6.28.8.ebuild |
59 |
=================================================================== |
60 |
# Copyright 1999-2009 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.28.8.ebuild,v 1.1 2009/03/22 03:34:07 kumba Exp $ |
63 |
|
64 |
# INCLUDED: |
65 |
# 1) linux sources from kernel.org |
66 |
# 2) linux-mips.org GIT snapshot diff |
67 |
# 3) Generic Fixes |
68 |
# 4) Patch for the IOC3 Metadriver (IP27, IP30) |
69 |
# 5) Patch for IP30 Support |
70 |
# 6) Patch for IP28 Graphics Support (SolidImpact) |
71 |
# 7) Experimental patches (if needed) |
72 |
|
73 |
#//------------------------------------------------------------------------------ |
74 |
|
75 |
# Version Data |
76 |
OKV=${PV/_/-} |
77 |
GITDATE="20090315" # Date of diff between kernel.org and lmo GIT |
78 |
GENPATCHREV="2" # Tarball revision for patches |
79 |
|
80 |
# Directories |
81 |
S="${WORKDIR}/linux-${OKV}-${GITDATE}" |
82 |
MIPS_PATCHES="${WORKDIR}/mips-patches" |
83 |
|
84 |
# Kernel-2 Vars |
85 |
K_SECURITY_UNSUPPORTED="1" |
86 |
K_NOUSENAME="0" |
87 |
K_NOUSEPR="0" |
88 |
K_USEPV="0" |
89 |
ETYPE="sources" |
90 |
|
91 |
# Inherit Eclasses |
92 |
inherit kernel-2 eutils |
93 |
detect_version |
94 |
|
95 |
# Version Data |
96 |
F_KV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" |
97 |
[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" |
98 |
|
99 |
# Portage Vars |
100 |
HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" |
101 |
SLOT="${OKV}" |
102 |
PROVIDE="virtual/linux-sources virtual/alsa" |
103 |
KEYWORDS="-* ~mips" |
104 |
IUSE="cobalt ip27 ip28 ip30 ip32r10k" |
105 |
DEPEND=">=sys-devel/gcc-4.1.1" |
106 |
RDEPEND="" |
107 |
|
108 |
# Machine Support Control Variables |
109 |
DO_IP22="yes" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) |
110 |
DO_IP27="yes" # IP27 support (SGI Origin) |
111 |
DO_IP28="yes" # IP28 support (SGI Indigo2 Impact R10000) |
112 |
DO_IP30="yes" # IP30 support (SGI Octane) |
113 |
DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) |
114 |
DO_CBLT="yes" # Cobalt Support (Cobalt Microsystems) |
115 |
|
116 |
# Machine Stable Version Variables |
117 |
SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version |
118 |
SV_IP27="" # DO_IP27 == "no", IP27 |
119 |
SV_IP28="" # DO_IP28 == "no", IP28 |
120 |
SV_IP30="" # DO_IP30 == "no", IP30 |
121 |
SV_IP32="" # DO_IP32 == "no", IP32 |
122 |
SV_CBLT="" # DO_CBLT == "no", Cobalt |
123 |
|
124 |
|
125 |
DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" |
126 |
SRC_URI="${KERNEL_URI} |
127 |
mirror://gentoo/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2 |
128 |
mirror://gentoo/${PN}-${F_KV}-patches-v${GENPATCHREV}.tar.bz2" |
129 |
|
130 |
|
131 |
UNIPATCH_STRICTORDER="1" |
132 |
UNIPATCH_LIST="${DISTDIR}/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2" |
133 |
|
134 |
#//------------------------------------------------------------------------------ |
135 |
|
136 |
# Eblit Handling Functions |
137 |
# |
138 |
# They'll likely be superseded someday by better ideas, possibly elibs. |
139 |
|
140 |
# eblit-core |
141 |
# Usage: <function> [version] |
142 |
# Main eblit engine |
143 |
eblit-core() { |
144 |
local e v func=$1 ver=$2 |
145 |
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do |
146 |
e="${FILESDIR}/eblits/${func}${v}.eblit" |
147 |
if [[ -e ${e} ]] ; then |
148 |
. "${e}" |
149 |
[[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" |
150 |
return 0 |
151 |
fi |
152 |
done |
153 |
return 1 |
154 |
} |
155 |
|
156 |
# eblit-include |
157 |
# Usage: [--skip] <function> [version] |
158 |
# Includes an "eblit" -- a chunk of common code among ebuilds in a given |
159 |
# package so that its functions can be sourced and utilized within the |
160 |
# ebuild. |
161 |
eblit-include() { |
162 |
local skipable=false r=0 |
163 |
[[ $1 == "--skip" ]] && skipable=true && shift |
164 |
[[ $1 == pkg_* ]] && skipable=true |
165 |
|
166 |
[[ -z $1 ]] && die "Usage: eblit-include <function> [version]" |
167 |
eblit-core $1 $2 |
168 |
r="$?" |
169 |
${skipable} && return 0 |
170 |
[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" |
171 |
} |
172 |
|
173 |
# eblit-run-maybe |
174 |
# Usage: <function> |
175 |
# Runs a function if it is defined in an eblit |
176 |
eblit-run-maybe() { |
177 |
[[ $(type -t "$@") == "function" ]] && "$@" |
178 |
} |
179 |
|
180 |
# eblit-run |
181 |
# Usage: <function> [version] |
182 |
# Runs a function defined in an eblit |
183 |
eblit-run() { |
184 |
eblit-include --skip common "${*:2}" |
185 |
eblit-include "$@" |
186 |
eblit-run-maybe eblit-$1-pre |
187 |
eblit-${PN}-$1 |
188 |
eblit-run-maybe eblit-$1-post |
189 |
} |
190 |
|
191 |
# eblit-pkg |
192 |
# Usage: <phase> [version] |
193 |
# Runs the pkg_* functions AND evals them so they're included in the binpkgs |
194 |
eblit-pkg() { |
195 |
[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" |
196 |
eblit-core pkg_$1 $2 |
197 |
} |
198 |
|
199 |
#//------------------------------------------------------------------------------ |
200 |
|
201 |
# All are in ${FILESDIR}/eblits |
202 |
# If a message for a given machine needs to change, |
203 |
# then we create a new eblit and increment the |
204 |
# version and reference it here. |
205 |
eblit-include err_disabled_mach v1 |
206 |
eblit-include err_only_one_mach_allowed v1 |
207 |
eblit-include show_ip22_info v1 |
208 |
eblit-include show_ip27_info v1 |
209 |
eblit-include show_ip28_info v1 |
210 |
eblit-include show_ip30_info v1 |
211 |
eblit-include show_ip32_info v1 |
212 |
eblit-include show_cobalt_info v1 |
213 |
|
214 |
# This makes sure pkg_setup & pkg_postinst gets into any binpkg. |
215 |
# Neccessary because we can't guarantee FILESDIR is around for binpkgs. |
216 |
eblit-pkg setup v1 |
217 |
eblit-pkg postinst v1 |
218 |
|
219 |
src_unpack() { eblit-run src_unpack v1 ; } |
220 |
|
221 |
#//------------------------------------------------------------------------------ |
222 |
|
223 |
|
224 |
|
225 |
1.1 sys-kernel/mips-sources/mips-sources-2.6.27.20.ebuild |
226 |
|
227 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.27.20.ebuild?rev=1.1&view=markup |
228 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.27.20.ebuild?rev=1.1&content-type=text/plain |
229 |
|
230 |
Index: mips-sources-2.6.27.20.ebuild |
231 |
=================================================================== |
232 |
# Copyright 1999-2009 Gentoo Foundation |
233 |
# Distributed under the terms of the GNU General Public License v2 |
234 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.27.20.ebuild,v 1.1 2009/03/22 03:34:07 kumba Exp $ |
235 |
|
236 |
# INCLUDED: |
237 |
# 1) linux sources from kernel.org |
238 |
# 2) linux-mips.org GIT snapshot diff |
239 |
# 3) Generic Fixes |
240 |
# 4) Patch for the IOC3 Metadriver (IP27, IP30) |
241 |
# 5) Patch for IP30 Support |
242 |
# 6) Patch for IP28 Graphics Support (SolidImpact) |
243 |
# 7) Experimental patches (if needed) |
244 |
|
245 |
#//------------------------------------------------------------------------------ |
246 |
|
247 |
# Version Data |
248 |
OKV=${PV/_/-} |
249 |
GITDATE="20090315" # Date of diff between kernel.org and lmo GIT |
250 |
GENPATCHREV="2" # Tarball revision for patches |
251 |
|
252 |
# Directories |
253 |
S="${WORKDIR}/linux-${OKV}-${GITDATE}" |
254 |
MIPS_PATCHES="${WORKDIR}/mips-patches" |
255 |
|
256 |
# Kernel-2 Vars |
257 |
K_SECURITY_UNSUPPORTED="1" |
258 |
K_NOUSENAME="0" |
259 |
K_NOUSEPR="0" |
260 |
K_USEPV="0" |
261 |
ETYPE="sources" |
262 |
|
263 |
# Inherit Eclasses |
264 |
inherit kernel-2 eutils |
265 |
detect_version |
266 |
|
267 |
# Version Data |
268 |
F_KV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" |
269 |
[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" |
270 |
|
271 |
# Portage Vars |
272 |
HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" |
273 |
SLOT="${OKV}" |
274 |
PROVIDE="virtual/linux-sources virtual/alsa" |
275 |
KEYWORDS="-* ~mips" |
276 |
IUSE="cobalt ip27 ip28 ip30 ip32r10k" |
277 |
DEPEND=">=sys-devel/gcc-4.1.1" |
278 |
RDEPEND="" |
279 |
|
280 |
# Machine Support Control Variables |
281 |
DO_IP22="yes" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) |
282 |
DO_IP27="yes" # IP27 support (SGI Origin) |
283 |
DO_IP28="yes" # IP28 support (SGI Indigo2 Impact R10000) |
284 |
DO_IP30="yes" # IP30 support (SGI Octane) |
285 |
DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) |
286 |
DO_CBLT="yes" # Cobalt Support (Cobalt Microsystems) |
287 |
|
288 |
# Machine Stable Version Variables |
289 |
SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version |
290 |
SV_IP27="" # DO_IP27 == "no", IP27 |
291 |
SV_IP28="" # DO_IP28 == "no", IP28 |
292 |
SV_IP30="" # DO_IP30 == "no", IP30 |
293 |
SV_IP32="" # DO_IP32 == "no", IP32 |
294 |
SV_CBLT="" # DO_CBLT == "no", Cobalt |
295 |
|
296 |
|
297 |
DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" |
298 |
SRC_URI="${KERNEL_URI} |
299 |
mirror://gentoo/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2 |
300 |
mirror://gentoo/${PN}-${F_KV}-patches-v${GENPATCHREV}.tar.bz2" |
301 |
|
302 |
|
303 |
UNIPATCH_STRICTORDER="1" |
304 |
UNIPATCH_LIST="${DISTDIR}/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2" |
305 |
|
306 |
#//------------------------------------------------------------------------------ |
307 |
|
308 |
# Eblit Handling Functions |
309 |
# |
310 |
# They'll likely be superseded someday by better ideas, possibly elibs. |
311 |
|
312 |
# eblit-core |
313 |
# Usage: <function> [version] |
314 |
# Main eblit engine |
315 |
eblit-core() { |
316 |
local e v func=$1 ver=$2 |
317 |
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do |
318 |
e="${FILESDIR}/eblits/${func}${v}.eblit" |
319 |
if [[ -e ${e} ]] ; then |
320 |
. "${e}" |
321 |
[[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" |
322 |
return 0 |
323 |
fi |
324 |
done |
325 |
return 1 |
326 |
} |
327 |
|
328 |
# eblit-include |
329 |
# Usage: [--skip] <function> [version] |
330 |
# Includes an "eblit" -- a chunk of common code among ebuilds in a given |
331 |
# package so that its functions can be sourced and utilized within the |
332 |
# ebuild. |
333 |
eblit-include() { |
334 |
local skipable=false r=0 |
335 |
[[ $1 == "--skip" ]] && skipable=true && shift |
336 |
[[ $1 == pkg_* ]] && skipable=true |
337 |
|
338 |
[[ -z $1 ]] && die "Usage: eblit-include <function> [version]" |
339 |
eblit-core $1 $2 |
340 |
r="$?" |
341 |
${skipable} && return 0 |
342 |
[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" |
343 |
} |
344 |
|
345 |
# eblit-run-maybe |
346 |
# Usage: <function> |
347 |
# Runs a function if it is defined in an eblit |
348 |
eblit-run-maybe() { |
349 |
[[ $(type -t "$@") == "function" ]] && "$@" |
350 |
} |
351 |
|
352 |
# eblit-run |
353 |
# Usage: <function> [version] |
354 |
# Runs a function defined in an eblit |
355 |
eblit-run() { |
356 |
eblit-include --skip common "${*:2}" |
357 |
eblit-include "$@" |
358 |
eblit-run-maybe eblit-$1-pre |
359 |
eblit-${PN}-$1 |
360 |
eblit-run-maybe eblit-$1-post |
361 |
} |
362 |
|
363 |
# eblit-pkg |
364 |
# Usage: <phase> [version] |
365 |
# Runs the pkg_* functions AND evals them so they're included in the binpkgs |
366 |
eblit-pkg() { |
367 |
[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" |
368 |
eblit-core pkg_$1 $2 |
369 |
} |
370 |
|
371 |
#//------------------------------------------------------------------------------ |
372 |
|
373 |
# All are in ${FILESDIR}/eblits |
374 |
# If a message for a given machine needs to change, |
375 |
# then we create a new eblit and increment the |
376 |
# version and reference it here. |
377 |
eblit-include err_disabled_mach v1 |
378 |
eblit-include err_only_one_mach_allowed v1 |
379 |
eblit-include show_ip22_info v1 |
380 |
eblit-include show_ip27_info v1 |
381 |
eblit-include show_ip28_info v1 |
382 |
eblit-include show_ip30_info v1 |
383 |
eblit-include show_ip32_info v1 |
384 |
eblit-include show_cobalt_info v1 |
385 |
|
386 |
# This makes sure pkg_setup & pkg_postinst gets into any binpkg. |
387 |
# Neccessary because we can't guarantee FILESDIR is around for binpkgs. |
388 |
eblit-pkg setup v1 |
389 |
eblit-pkg postinst v1 |
390 |
|
391 |
src_unpack() { eblit-run src_unpack v1 ; } |
392 |
|
393 |
#//------------------------------------------------------------------------------ |