1 |
commit: 77b478d9e2b83d2b6a2ed5efdc7c1bc07d8b4a93 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 30 15:24:47 2013 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 30 15:25:44 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/heroxbd.git;a=commit;h=77b478d9 |
7 |
|
8 |
add back accidentally deleted profiles |
9 |
|
10 |
--- |
11 |
profiles/bootstrap/glibc/make.defaults | 4 ++++ |
12 |
profiles/bootstrap/glibc/make.defaults.in | 4 ++++ |
13 |
profiles/bootstrap/glibc/parent | 1 + |
14 |
profiles/bootstrap/glibc/profile.bashrc | 9 +++++++++ |
15 |
profiles/bootstrap/make.defaults | 9 +++++++++ |
16 |
profiles/bootstrap/package.use | 9 +++++++++ |
17 |
profiles/bootstrap/parent | 1 + |
18 |
profiles/bootstrap/use.mask | 15 +++++++++++++++ |
19 |
profiles/categories | 2 ++ |
20 |
profiles/default/linux/amd64/13.0/eapi | 1 + |
21 |
profiles/default/linux/amd64/13.0/rap/make.defaults | 3 +++ |
22 |
profiles/default/linux/amd64/13.0/rap/parent | 2 ++ |
23 |
profiles/default/linux/arm/13.0/armv5te/rap/make.defaults | 3 +++ |
24 |
profiles/default/linux/arm/13.0/armv5te/rap/parent | 2 ++ |
25 |
profiles/default/linux/arm/13.0/armv7a/rap/make.defaults | 3 +++ |
26 |
profiles/default/linux/arm/13.0/armv7a/rap/parent | 2 ++ |
27 |
profiles/default/linux/x86/13.0/rap/make.defaults | 3 +++ |
28 |
profiles/default/linux/x86/13.0/rap/parent | 2 ++ |
29 |
profiles/eapi | 1 + |
30 |
profiles/features/rap/make.defaults | 2 ++ |
31 |
profiles/features/rap/packages | 11 +++++++++++ |
32 |
profiles/features/rap/profile.bashrc | 9 +++++++++ |
33 |
profiles/features/rap/use.force | 5 +++++ |
34 |
profiles/features/rap/use.mask | 8 ++++++++ |
35 |
profiles/profiles.desc | 1 + |
36 |
profiles/repo_name | 1 + |
37 |
26 files changed, 113 insertions(+) |
38 |
|
39 |
diff --git a/profiles/bootstrap/glibc/make.defaults b/profiles/bootstrap/glibc/make.defaults |
40 |
new file mode 100644 |
41 |
index 0000000..6d9b6b7 |
42 |
--- /dev/null |
43 |
+++ b/profiles/bootstrap/glibc/make.defaults |
44 |
@@ -0,0 +1,4 @@ |
45 |
+# Set correct PYTHONPATH for Portage, since our Python lives in |
46 |
+# $EPREFIX/tmp, bug #407573 |
47 |
+ |
48 |
+PYTHONPATH=/opt/gentoo/usr/lib/portage/pym |
49 |
|
50 |
diff --git a/profiles/bootstrap/glibc/make.defaults.in b/profiles/bootstrap/glibc/make.defaults.in |
51 |
new file mode 100644 |
52 |
index 0000000..4ee3272 |
53 |
--- /dev/null |
54 |
+++ b/profiles/bootstrap/glibc/make.defaults.in |
55 |
@@ -0,0 +1,4 @@ |
56 |
+# Set correct PYTHONPATH for Portage, since our Python lives in |
57 |
+# $EPREFIX/tmp, bug #407573 |
58 |
+ |
59 |
+PYTHONPATH=@GENTOO_PORTAGE_EPREFIX@/usr/lib/portage/pym |
60 |
|
61 |
diff --git a/profiles/bootstrap/glibc/parent b/profiles/bootstrap/glibc/parent |
62 |
new file mode 100644 |
63 |
index 0000000..f3229c5 |
64 |
--- /dev/null |
65 |
+++ b/profiles/bootstrap/glibc/parent |
66 |
@@ -0,0 +1 @@ |
67 |
+.. |
68 |
|
69 |
diff --git a/profiles/bootstrap/glibc/profile.bashrc b/profiles/bootstrap/glibc/profile.bashrc |
70 |
new file mode 100644 |
71 |
index 0000000..37d3907 |
72 |
--- /dev/null |
73 |
+++ b/profiles/bootstrap/glibc/profile.bashrc |
74 |
@@ -0,0 +1,9 @@ |
75 |
+# Hack for bash because curses is not always available (linux). |
76 |
+[[ ${PN} == "bash" ]] && EXTRA_ECONF="--without-curses" |
77 |
+ |
78 |
+if [[ ${PN} == gcc ]]; then |
79 |
+ CPPFLAGS="-I\"${EPREFIX}\"/usr/include" |
80 |
+ local dlprefix=$(realpath ${EPREFIX}/lib/$(gcc -print-multi-os-directory)) |
81 |
+ local libprefix=$(realpath ${EPREFIX}/usr/lib/$(gcc -print-multi-os-directory)) |
82 |
+ LDFLAGS="-L\"${libprefix}\" -Wl,--dynamic-linker=\"$(echo ${dlprefix}/ld-linux*.so.*)\"" |
83 |
+fi |
84 |
|
85 |
diff --git a/profiles/bootstrap/make.defaults b/profiles/bootstrap/make.defaults |
86 |
new file mode 100644 |
87 |
index 0000000..ecbd1e6 |
88 |
--- /dev/null |
89 |
+++ b/profiles/bootstrap/make.defaults |
90 |
@@ -0,0 +1,9 @@ |
91 |
+# and we don't need to spam the user about news until after a --sync |
92 |
+# because the tools aren't available to read the news item yet anyway. |
93 |
+ |
94 |
+FEATURES="${FEATURES} -news" |
95 |
+ |
96 |
+# Disable the STALE warning because the snapshot frequently gets stale. |
97 |
+# DON'T REMOVE this one, stage3's tree check relies on this one |
98 |
+ |
99 |
+PORTAGE_SYNC_STALE=0 |
100 |
|
101 |
diff --git a/profiles/bootstrap/package.use b/profiles/bootstrap/package.use |
102 |
new file mode 100644 |
103 |
index 0000000..45aa99c |
104 |
--- /dev/null |
105 |
+++ b/profiles/bootstrap/package.use |
106 |
@@ -0,0 +1,9 @@ |
107 |
+# Most binary Linux distributions seem to fancy toolchains that do not |
108 |
+# do c++ support (need to install a separate package). Since we don't |
109 |
+# check for g++, just make sure binutils won't try to build gold |
110 |
+# (needs c++), it will get there once we built our own GCC with c++ |
111 |
+# support. For that reason we cannot globally mask cxx, because then |
112 |
+# GCC will be built without c++ support too. |
113 |
+ |
114 |
+sys-devel/binutils -cxx |
115 |
+dev-libs/gmp -cxx |
116 |
|
117 |
diff --git a/profiles/bootstrap/parent b/profiles/bootstrap/parent |
118 |
new file mode 100644 |
119 |
index 0000000..291864c |
120 |
--- /dev/null |
121 |
+++ b/profiles/bootstrap/parent |
122 |
@@ -0,0 +1 @@ |
123 |
+../default/linux/amd64/13.0/rap |
124 |
|
125 |
diff --git a/profiles/bootstrap/use.mask b/profiles/bootstrap/use.mask |
126 |
new file mode 100644 |
127 |
index 0000000..7edafc8 |
128 |
--- /dev/null |
129 |
+++ b/profiles/bootstrap/use.mask |
130 |
@@ -0,0 +1,15 @@ |
131 |
+# The default profiles (and IUSE defaults) introduce circular deps. By |
132 |
+# shoving this USE line here, we can ensure that the |
133 |
+# end-user always avoids circular deps while bootstrapping. |
134 |
+ |
135 |
+berkdb |
136 |
+fortran |
137 |
+gdbm |
138 |
+git |
139 |
+nls |
140 |
+pcre |
141 |
+ssl |
142 |
+python |
143 |
+readline |
144 |
+acl |
145 |
+ |
146 |
|
147 |
diff --git a/profiles/categories b/profiles/categories |
148 |
new file mode 100644 |
149 |
index 0000000..9e746aa |
150 |
--- /dev/null |
151 |
+++ b/profiles/categories |
152 |
@@ -0,0 +1,2 @@ |
153 |
+cross-armv5tel-softfloat-linux-gnueabi |
154 |
+cross-x86_64-pc-linux-gnu |
155 |
|
156 |
diff --git a/profiles/default/linux/amd64/13.0/eapi b/profiles/default/linux/amd64/13.0/eapi |
157 |
new file mode 100644 |
158 |
index 0000000..7ed6ff8 |
159 |
--- /dev/null |
160 |
+++ b/profiles/default/linux/amd64/13.0/eapi |
161 |
@@ -0,0 +1 @@ |
162 |
+5 |
163 |
|
164 |
diff --git a/profiles/default/linux/amd64/13.0/rap/make.defaults b/profiles/default/linux/amd64/13.0/rap/make.defaults |
165 |
new file mode 100644 |
166 |
index 0000000..fc2914e |
167 |
--- /dev/null |
168 |
+++ b/profiles/default/linux/amd64/13.0/rap/make.defaults |
169 |
@@ -0,0 +1,3 @@ |
170 |
+# accept unstable keyword before RAP matures |
171 |
+# accept Prefix keyword to use Prefix overlay for transition |
172 |
+ACCEPT_KEYWORDS="~amd64 ~amd64-linux" |
173 |
|
174 |
diff --git a/profiles/default/linux/amd64/13.0/rap/parent b/profiles/default/linux/amd64/13.0/rap/parent |
175 |
new file mode 100644 |
176 |
index 0000000..e87bf03 |
177 |
--- /dev/null |
178 |
+++ b/profiles/default/linux/amd64/13.0/rap/parent |
179 |
@@ -0,0 +1,2 @@ |
180 |
+gentoo_prefix:default/linux/amd64/13.0/no-multilib |
181 |
+../../../../../features/rap |
182 |
|
183 |
diff --git a/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults b/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults |
184 |
new file mode 100644 |
185 |
index 0000000..61ca581 |
186 |
--- /dev/null |
187 |
+++ b/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults |
188 |
@@ -0,0 +1,3 @@ |
189 |
+# accept unstable keyword before RAP matures |
190 |
+# accept Prefix keyword to use Prefix overlay for transition |
191 |
+ACCEPT_KEYWORDS="~arm ~arm-linux" |
192 |
|
193 |
diff --git a/profiles/default/linux/arm/13.0/armv5te/rap/parent b/profiles/default/linux/arm/13.0/armv5te/rap/parent |
194 |
new file mode 100644 |
195 |
index 0000000..a67a6e3 |
196 |
--- /dev/null |
197 |
+++ b/profiles/default/linux/arm/13.0/armv5te/rap/parent |
198 |
@@ -0,0 +1,2 @@ |
199 |
+gentoo_prefix:default/linux/arm/13.0/armv5te |
200 |
+../../../../../../features/rap |
201 |
|
202 |
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults |
203 |
new file mode 100644 |
204 |
index 0000000..61ca581 |
205 |
--- /dev/null |
206 |
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults |
207 |
@@ -0,0 +1,3 @@ |
208 |
+# accept unstable keyword before RAP matures |
209 |
+# accept Prefix keyword to use Prefix overlay for transition |
210 |
+ACCEPT_KEYWORDS="~arm ~arm-linux" |
211 |
|
212 |
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/parent b/profiles/default/linux/arm/13.0/armv7a/rap/parent |
213 |
new file mode 100644 |
214 |
index 0000000..b105425 |
215 |
--- /dev/null |
216 |
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/parent |
217 |
@@ -0,0 +1,2 @@ |
218 |
+gentoo_prefix:default/linux/arm/13.0/armv7a |
219 |
+../../../../../../features/rap |
220 |
|
221 |
diff --git a/profiles/default/linux/x86/13.0/rap/make.defaults b/profiles/default/linux/x86/13.0/rap/make.defaults |
222 |
new file mode 100644 |
223 |
index 0000000..5682e93 |
224 |
--- /dev/null |
225 |
+++ b/profiles/default/linux/x86/13.0/rap/make.defaults |
226 |
@@ -0,0 +1,3 @@ |
227 |
+# accept unstable keyword before RAP matures |
228 |
+# accept Prefix keyword to use Prefix overlay for transition |
229 |
+ACCEPT_KEYWORDS="~x86 ~x86-linux" |
230 |
|
231 |
diff --git a/profiles/default/linux/x86/13.0/rap/parent b/profiles/default/linux/x86/13.0/rap/parent |
232 |
new file mode 100644 |
233 |
index 0000000..313b23f |
234 |
--- /dev/null |
235 |
+++ b/profiles/default/linux/x86/13.0/rap/parent |
236 |
@@ -0,0 +1,2 @@ |
237 |
+gentoo_prefix:default/linux/x86/13.0 |
238 |
+../../../../../features/rap |
239 |
|
240 |
diff --git a/profiles/eapi b/profiles/eapi |
241 |
new file mode 100644 |
242 |
index 0000000..7ed6ff8 |
243 |
--- /dev/null |
244 |
+++ b/profiles/eapi |
245 |
@@ -0,0 +1 @@ |
246 |
+5 |
247 |
|
248 |
diff --git a/profiles/features/rap/make.defaults b/profiles/features/rap/make.defaults |
249 |
new file mode 100644 |
250 |
index 0000000..ed808e9 |
251 |
--- /dev/null |
252 |
+++ b/profiles/features/rap/make.defaults |
253 |
@@ -0,0 +1,2 @@ |
254 |
+# sandbox not prefixified yet. |
255 |
+FEATURES="-sandbox" |
256 |
|
257 |
diff --git a/profiles/features/rap/packages b/profiles/features/rap/packages |
258 |
new file mode 100644 |
259 |
index 0000000..c574b8e |
260 |
--- /dev/null |
261 |
+++ b/profiles/features/rap/packages |
262 |
@@ -0,0 +1,11 @@ |
263 |
+# kmod has not been prefixified |
264 |
+-*virtual/modutils |
265 |
+ |
266 |
+# shadow has not been prefixified |
267 |
+-*virtual/shadow |
268 |
+ |
269 |
+# don't need in rap |
270 |
+-*virtual/dev-manager |
271 |
+ |
272 |
+# permission is not handled by portage for normal users |
273 |
+-*net-misc/iputils |
274 |
|
275 |
diff --git a/profiles/features/rap/profile.bashrc b/profiles/features/rap/profile.bashrc |
276 |
new file mode 100644 |
277 |
index 0000000..5f7a4a4 |
278 |
--- /dev/null |
279 |
+++ b/profiles/features/rap/profile.bashrc |
280 |
@@ -0,0 +1,9 @@ |
281 |
+# use sysroot of toolchain to get include and library at compile time work |
282 |
+# Benda Xu <heroxbd@g.o> (17 Jun, 2013) |
283 |
+ |
284 |
+if [[ ${CATEGORY} == sys-devel ]] && [[ ${PN} == binutils || ${PN} == libtool ]] \ |
285 |
+ && [[ ${EBUILD_PHASE} == unpack ]]; then |
286 |
+ elog "append --with-sysroot=${EPREFIX} to configure for Prefix libc" |
287 |
+ EXTRA_ECONF+="--with-sysroot=${EPREFIX}" |
288 |
+fi |
289 |
+ |
290 |
|
291 |
diff --git a/profiles/features/rap/use.force b/profiles/features/rap/use.force |
292 |
new file mode 100644 |
293 |
index 0000000..193e6d8 |
294 |
--- /dev/null |
295 |
+++ b/profiles/features/rap/use.force |
296 |
@@ -0,0 +1,5 @@ |
297 |
+# force Prefix |
298 |
+prefix |
299 |
+ |
300 |
+# force rap (Prefix with libc) |
301 |
+rap |
302 |
|
303 |
diff --git a/profiles/features/rap/use.mask b/profiles/features/rap/use.mask |
304 |
new file mode 100644 |
305 |
index 0000000..4c45f2d |
306 |
--- /dev/null |
307 |
+++ b/profiles/features/rap/use.mask |
308 |
@@ -0,0 +1,8 @@ |
309 |
+# unmask prefix |
310 |
+-prefix |
311 |
+ |
312 |
+# sys-libs/gpm has not been prefixified |
313 |
+gpm |
314 |
+ |
315 |
+# sys-libs/pam has not been prefixified |
316 |
+pam |
317 |
|
318 |
diff --git a/profiles/profiles.desc b/profiles/profiles.desc |
319 |
new file mode 100644 |
320 |
index 0000000..a7d42e7 |
321 |
--- /dev/null |
322 |
+++ b/profiles/profiles.desc |
323 |
@@ -0,0 +1 @@ |
324 |
+x86 default/linux/x86/13.0/rap stable |
325 |
|
326 |
diff --git a/profiles/repo_name b/profiles/repo_name |
327 |
new file mode 100644 |
328 |
index 0000000..84678fa |
329 |
--- /dev/null |
330 |
+++ b/profiles/repo_name |
331 |
@@ -0,0 +1 @@ |
332 |
+heroxbd |