1 |
kumba 09/03/25 05:18:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mips-sources-2.6.29-r1.ebuild |
5 |
Removed: mips-sources-2.6.29.ebuild |
6 |
Log: |
7 |
Add a quick fix to 2.6.29 to revert a patch in upstream that causes the networking stack to slowly die. |
8 |
(Portage version: 2.1.6.10/cvs/Linux mips64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.128 sys-kernel/mips-sources/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.128&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?rev=1.128&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/ChangeLog?r1=1.127&r2=1.128 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v |
20 |
retrieving revision 1.127 |
21 |
retrieving revision 1.128 |
22 |
diff -u -r1.127 -r1.128 |
23 |
--- ChangeLog 24 Mar 2009 05:33:37 -0000 1.127 |
24 |
+++ ChangeLog 25 Mar 2009 05:18:07 -0000 1.128 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-kernel/mips-sources |
27 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.127 2009/03/24 05:33:37 kumba Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.128 2009/03/25 05:18:07 kumba Exp $ |
30 |
+ |
31 |
+*mips-sources-2.6.29-r1 (25 Mar 2009) |
32 |
+ |
33 |
+ 25 Mar 2009; Joshua Kinard <kumba@g.o> -mips-sources-2.6.29.ebuild, |
34 |
+ +mips-sources-2.6.29-r1.ebuild: |
35 |
+ Add a quick fix to 2.6.29 to revert a patch in upstream that causes the |
36 |
+ networking stack to slowly die. |
37 |
|
38 |
*mips-sources-2.6.29 (24 Mar 2009) |
39 |
*mips-sources-2.6.28.9 (24 Mar 2009) |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-kernel/mips-sources/mips-sources-2.6.29-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.29-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.29-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mips-sources-2.6.29-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.29-r1.ebuild,v 1.1 2009/03/25 05:18:07 kumba Exp $ |
53 |
|
54 |
# INCLUDED: |
55 |
# 1) linux sources from kernel.org |
56 |
# 2) linux-mips.org GIT snapshot diff |
57 |
# 3) Generic Fixes |
58 |
# 4) Patch for the IOC3 Metadriver (IP27, IP30) |
59 |
# 5) Patch for IP30 Support |
60 |
# 6) Patch for IP28 Graphics Support (SolidImpact) |
61 |
# 7) Experimental patches (if needed) |
62 |
|
63 |
#//------------------------------------------------------------------------------ |
64 |
|
65 |
# Version Data |
66 |
OKV=${PV/_/-} |
67 |
GITDATE="20090324" # Date of diff between kernel.org and lmo GIT |
68 |
GENPATCHREV="1" # Tarball revision for patches |
69 |
|
70 |
# Directories |
71 |
S="${WORKDIR}/linux-${OKV}-${GITDATE}" |
72 |
MIPS_PATCHES="${WORKDIR}/mips-patches" |
73 |
|
74 |
# Kernel-2 Vars |
75 |
K_SECURITY_UNSUPPORTED="1" |
76 |
K_NOUSENAME="0" |
77 |
K_NOUSEPR="0" |
78 |
K_USEPV="0" |
79 |
ETYPE="sources" |
80 |
|
81 |
# Inherit Eclasses |
82 |
inherit kernel-2 eutils |
83 |
detect_version |
84 |
|
85 |
# Version Data |
86 |
F_KV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}" |
87 |
[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}" |
88 |
|
89 |
# Portage Vars |
90 |
HOMEPAGE="http://www.linux-mips.org/ http://www.gentoo.org/" |
91 |
SLOT="${OKV}" |
92 |
PROVIDE="virtual/linux-sources virtual/alsa" |
93 |
KEYWORDS="-* ~mips" |
94 |
IUSE="cobalt ip27 ip28 ip30 ip32r10k impactdebug" |
95 |
DEPEND=">=sys-devel/gcc-4.1.1" |
96 |
RDEPEND="" |
97 |
|
98 |
# Machine Support Control Variables |
99 |
DO_IP22="yes" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00) |
100 |
DO_IP27="yes" # IP27 support (SGI Origin) |
101 |
DO_IP28="yes" # IP28 support (SGI Indigo2 Impact R10000) |
102 |
DO_IP30="yes" # IP30 support (SGI Octane) |
103 |
DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only) |
104 |
DO_CBLT="yes" # Cobalt Support (Cobalt Microsystems) |
105 |
|
106 |
# Machine Stable Version Variables |
107 |
SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version |
108 |
SV_IP27="" # DO_IP27 == "no", IP27 |
109 |
SV_IP28="" # DO_IP28 == "no", IP28 |
110 |
SV_IP30="" # DO_IP30 == "no", IP30 |
111 |
SV_IP32="" # DO_IP32 == "no", IP32 |
112 |
SV_CBLT="" # DO_CBLT == "no", Cobalt |
113 |
|
114 |
|
115 |
DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" |
116 |
SRC_URI="${KERNEL_URI} |
117 |
mirror://gentoo/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2 |
118 |
mirror://gentoo/${PN}-${F_KV}-patches-v${GENPATCHREV}.tar.bz2" |
119 |
|
120 |
|
121 |
UNIPATCH_STRICTORDER="1" |
122 |
UNIPATCH_LIST="${DISTDIR}/mipsgit-${F_KV}${KVE}-${GITDATE}.diff.bz2" |
123 |
|
124 |
#//------------------------------------------------------------------------------ |
125 |
|
126 |
# Eblit Handling Functions |
127 |
# |
128 |
# They'll likely be superseded someday by better ideas, possibly elibs. |
129 |
|
130 |
# eblit-core |
131 |
# Usage: <function> [version] |
132 |
# Main eblit engine |
133 |
eblit-core() { |
134 |
local e v func=$1 ver=$2 |
135 |
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do |
136 |
e="${FILESDIR}/eblits/${func}${v}.eblit" |
137 |
if [[ -e ${e} ]] ; then |
138 |
. "${e}" |
139 |
[[ ${func} == pkg_* ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" |
140 |
return 0 |
141 |
fi |
142 |
done |
143 |
return 1 |
144 |
} |
145 |
|
146 |
# eblit-include |
147 |
# Usage: [--skip] <function> [version] |
148 |
# Includes an "eblit" -- a chunk of common code among ebuilds in a given |
149 |
# package so that its functions can be sourced and utilized within the |
150 |
# ebuild. |
151 |
eblit-include() { |
152 |
local skipable=false r=0 |
153 |
[[ $1 == "--skip" ]] && skipable=true && shift |
154 |
[[ $1 == pkg_* ]] && skipable=true |
155 |
|
156 |
[[ -z $1 ]] && die "Usage: eblit-include <function> [version]" |
157 |
eblit-core $1 $2 |
158 |
r="$?" |
159 |
${skipable} && return 0 |
160 |
[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" |
161 |
} |
162 |
|
163 |
# eblit-run-maybe |
164 |
# Usage: <function> |
165 |
# Runs a function if it is defined in an eblit |
166 |
eblit-run-maybe() { |
167 |
[[ $(type -t "$@") == "function" ]] && "$@" |
168 |
} |
169 |
|
170 |
# eblit-run |
171 |
# Usage: <function> [version] |
172 |
# Runs a function defined in an eblit |
173 |
eblit-run() { |
174 |
eblit-include --skip common "${*:2}" |
175 |
eblit-include "$@" |
176 |
eblit-run-maybe eblit-$1-pre |
177 |
eblit-${PN}-$1 |
178 |
eblit-run-maybe eblit-$1-post |
179 |
} |
180 |
|
181 |
# eblit-pkg |
182 |
# Usage: <phase> [version] |
183 |
# Runs the pkg_* functions AND evals them so they're included in the binpkgs |
184 |
eblit-pkg() { |
185 |
[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" |
186 |
eblit-core pkg_$1 $2 |
187 |
} |
188 |
|
189 |
#//------------------------------------------------------------------------------ |
190 |
|
191 |
# All are in ${FILESDIR}/eblits |
192 |
# If a message for a given machine needs to change, |
193 |
# then we create a new eblit and increment the |
194 |
# version and reference it here. |
195 |
eblit-include err_disabled_mach v1 |
196 |
eblit-include err_only_one_mach_allowed v1 |
197 |
eblit-include show_ip22_info v1 |
198 |
eblit-include show_ip27_info v1 |
199 |
eblit-include show_ip28_info v1 |
200 |
eblit-include show_ip30_info v1 |
201 |
eblit-include show_ip32_info v1 |
202 |
eblit-include show_cobalt_info v1 |
203 |
|
204 |
# This makes sure pkg_setup & pkg_postinst gets into any binpkg. |
205 |
# Neccessary because we can't guarantee FILESDIR is around for binpkgs. |
206 |
eblit-pkg setup v1 |
207 |
eblit-pkg postinst v1 |
208 |
|
209 |
src_unpack() { eblit-run src_unpack v2 ; } |
210 |
|
211 |
#//------------------------------------------------------------------------------ |