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