Gentoo Archives: gentoo-commits

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