1 |
commit: 8dc4e5ef03be72b20112aa487009c12018debb9e |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 25 05:01:15 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 25 05:01:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/android.git/commit/?id=8dc4e5ef |
7 |
|
8 |
sys-devel/binutils-config: merged. |
9 |
|
10 |
Bug: 531616 |
11 |
|
12 |
sys-devel/binutils-config/ChangeLog | 348 --------------- |
13 |
sys-devel/binutils-config/Manifest | 7 - |
14 |
.../binutils-config/binutils-config-5-r2.ebuild | 43 -- |
15 |
sys-devel/binutils-config/binutils-config-5.ebuild | 43 -- |
16 |
sys-devel/binutils-config/files/binutils-config-5 | 486 --------------------- |
17 |
sys-devel/binutils-config/files/binutils-config.8 | 77 ---- |
18 |
sys-devel/binutils-config/files/binutils.eselect | 45 -- |
19 |
sys-devel/binutils-config/metadata.xml | 5 - |
20 |
8 files changed, 1054 deletions(-) |
21 |
|
22 |
diff --git a/sys-devel/binutils-config/ChangeLog b/sys-devel/binutils-config/ChangeLog |
23 |
deleted file mode 100644 |
24 |
index 1eac8c7..0000000 |
25 |
--- a/sys-devel/binutils-config/ChangeLog |
26 |
+++ /dev/null |
27 |
@@ -1,348 +0,0 @@ |
28 |
-# ChangeLog for sys-devel/binutils-config |
29 |
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/ChangeLog,v 1.79 2015/05/25 06:07:20 vapier Exp $ |
31 |
- |
32 |
-*binutils-config-4-r3 (25 May 2015) |
33 |
- |
34 |
- 25 May 2015; Mike Frysinger <vapier@g.o> +binutils-config-4-r3.ebuild, |
35 |
- files/binutils-config-4: |
36 |
- Do not delete native ld.so.conf.d fragment when uninstalling cross binutils |
37 |
- #549708 by Alexander Tsoy. |
38 |
- |
39 |
- 25 May 2015; Mike Frysinger <vapier@g.o> binutils-config-4-r2.ebuild: |
40 |
- Mark arm64/m68k/s390/sh stable. |
41 |
- |
42 |
- 26 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
43 |
- ia64 stable wrt bug #547330 |
44 |
- |
45 |
- 26 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
46 |
- alpha stable wrt bug #547330 |
47 |
- |
48 |
- 26 Apr 2015; Pacho Ramos <pacho@g.o> binutils-config-4-r2.ebuild: |
49 |
- ppc stable wrt bug #547330 |
50 |
- |
51 |
- 24 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
52 |
- arm stable wrt bug #547330 |
53 |
- |
54 |
- 23 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
55 |
- sparc stable wrt bug #547330 |
56 |
- |
57 |
- 23 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
58 |
- x86 stable wrt bug #547330 |
59 |
- |
60 |
- 22 Apr 2015; Jeroen Roovers <jer@g.o> binutils-config-4-r2.ebuild: |
61 |
- Stable for PPC64 (bug #547330). |
62 |
- |
63 |
- 22 Apr 2015; Jeroen Roovers <jer@g.o> binutils-config-4-r2.ebuild: |
64 |
- Stable for HPPA (bug #547330). |
65 |
- |
66 |
- 22 Apr 2015; Mikle Kolyada <zlogene@g.o> binutils-config-4-r2.ebuild: |
67 |
- amd64 stable wrt bug #547330 |
68 |
- |
69 |
-*binutils-config-4-r2 (09 Feb 2015) |
70 |
- |
71 |
- 09 Feb 2015; Mike Frysinger <vapier@g.o> +binutils-config-4-r2.ebuild, |
72 |
- files/binutils-config-4: |
73 |
- Fix by Ruud Koolen for ROOT handling with man/info paths #532610 by Ruud |
74 |
- Koolen. |
75 |
- |
76 |
-*binutils-config-4-r1 (30 Dec 2014) |
77 |
- |
78 |
- 30 Dec 2014; Anthony G. Basile <blueness@g.o> |
79 |
- +binutils-config-4-r1.ebuild, -binutils-config-4.ebuild, |
80 |
- files/binutils-config-4: |
81 |
- Address bug #504120 |
82 |
- |
83 |
-*binutils-config-4 (29 Jul 2014) |
84 |
- |
85 |
- 29 Jul 2014; Mike Frysinger <vapier@g.o> +binutils-config-4.ebuild, |
86 |
- +files/binutils-config-4, files/binutils-config.8: |
87 |
- Drop FAKE_TARGETS support as gcc dropped it a while ago too #467488. |
88 |
- |
89 |
- 18 Jan 2014; Mike Frysinger <vapier@g.o> binutils-config-3-r3.ebuild: |
90 |
- Add arm64 love. |
91 |
- |
92 |
- 05 May 2013; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
93 |
- Also try to rmdir target bin/libexec paths when uninstalling. |
94 |
- |
95 |
- 18 Nov 2012; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
96 |
- Add elfedit and ld.{bfd,gold} to uninstall list. |
97 |
- |
98 |
- 18 Aug 2012; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
99 |
- Fix relative ROOT handling #431104 by Greg Turner. |
100 |
- |
101 |
- 29 Jul 2012; Raúl Porcel <armin76@g.o> binutils-config-3-r3.ebuild: |
102 |
- alpha/ia64/m68k/s390/sh/sparc stable wrt #420355 |
103 |
- |
104 |
- 03 Jul 2012; Brent Baude <ranger@g.o> binutils-config-3-r3.ebuild: |
105 |
- Marking binutils-config-3-r3 ppc for bug 420355 |
106 |
- |
107 |
- 22 Jun 2012; Brent Baude <ranger@g.o> binutils-config-3-r3.ebuild: |
108 |
- Marking binutils-config-3-r3 ppc64 for bug 420355 |
109 |
- |
110 |
- 17 Jun 2012; Markus Meier <maekke@g.o> binutils-config-3-r3.ebuild: |
111 |
- arm stable, bug #420355 |
112 |
- |
113 |
- 14 Jun 2012; Jeroen Roovers <jer@g.o> binutils-config-3-r3.ebuild: |
114 |
- Stable for HPPA (bug #420355). |
115 |
- |
116 |
- 11 Jun 2012; Agostino Sarubbo <ago@g.o> binutils-config-3-r3.ebuild: |
117 |
- Stable for amd64, wrt bug #420355 |
118 |
- |
119 |
- 09 Jun 2012; Jeff Horelick <jdhore@g.o> binutils-config-3-r3.ebuild: |
120 |
- marked x86 per bug 420355 |
121 |
- |
122 |
- 26 Apr 2012; Alexis Ballier <aballier@g.o> |
123 |
- binutils-config-3-r3.ebuild: |
124 |
- keyword ~amd64-fbsd |
125 |
- |
126 |
-*binutils-config-3-r3 (02 Mar 2012) |
127 |
- |
128 |
- 02 Mar 2012; Mike Frysinger <vapier@g.o> files/binutils-config-3, |
129 |
- -binutils-config-3-r2.ebuild, +binutils-config-3-r3.ebuild: |
130 |
- Fix uninstall handling to work even after most files are removed. |
131 |
- |
132 |
-*binutils-config-3-r2 (01 Mar 2012) |
133 |
- |
134 |
- 01 Mar 2012; Mike Frysinger <vapier@g.o> files/binutils-config-3, |
135 |
- -binutils-config-3-r1.ebuild, +binutils-config-3-r2.ebuild: |
136 |
- Drop old upgrade logic that is only there for systems 4.5+ years old as it is |
137 |
- causing issues with newer ones, and 4.5+ upgrade time is plenty #381633 by |
138 |
- Tim Harder. |
139 |
- |
140 |
- 05 Dec 2011; Mike Frysinger <vapier@g.o> binutils-config-3-r1.ebuild: |
141 |
- Use a blocker dep to avoid pulling in packages we do not need. |
142 |
- |
143 |
-*binutils-config-3-r1 (29 Sep 2011) |
144 |
- |
145 |
- 29 Sep 2011; Mike Frysinger <vapier@g.o> files/binutils-config-3, |
146 |
- -binutils-config-3.ebuild, +binutils-config-3-r1.ebuild: |
147 |
- Make linker switching more general, and add a `die` helper. |
148 |
- |
149 |
- 29 Aug 2011; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
150 |
- Make profile switching more atomic #380759. |
151 |
- |
152 |
- 23 Aug 2011; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
153 |
- Make sure all the profile specs still work after previous rework. |
154 |
- |
155 |
- 12 Aug 2011; Mike Frysinger <vapier@g.o> files/binutils-config-3, |
156 |
- files/binutils-config.8: |
157 |
- Add support for profile selection based on the active version of a specified |
158 |
- target. |
159 |
- |
160 |
- 12 Aug 2011; Mike Frysinger <vapier@g.o> files/binutils-config-3: |
161 |
- Also support linker switching for current profile, and add some helpful user |
162 |
- output so they can see what is going on. |
163 |
- |
164 |
-*binutils-config-3 (12 Aug 2011) |
165 |
- |
166 |
- 12 Aug 2011; Mike Frysinger <vapier@g.o> +files/binutils-config-3, |
167 |
- +binutils-config-3.ebuild, files/binutils-config.8: |
168 |
- Add options to switch the linker on the fly between gold and bfd, and clean |
169 |
- up the tangled profile/target logic. |
170 |
- |
171 |
- 10 Jul 2011; Mark Loeser <halcy0n@g.o> binutils-config-2-r1.ebuild: |
172 |
- Stable for ppc64; bug #361849 |
173 |
- |
174 |
- 23 Apr 2011; Raúl Porcel <armin76@g.o> binutils-config-2-r1.ebuild: |
175 |
- alpha/ia64/m68k/s390/sh/sparc/x86 stable wrt #361849 |
176 |
- |
177 |
- 13 Apr 2011; Brent Baude <ranger@g.o> binutils-config-2-r1.ebuild: |
178 |
- Marking binutils-config-2-r1 ppc for bug 361849 |
179 |
- |
180 |
- 12 Apr 2011; Markus Meier <maekke@g.o> binutils-config-2-r1.ebuild: |
181 |
- arm stable, bug #361849 |
182 |
- |
183 |
- 08 Apr 2011; Jeroen Roovers <jer@g.o> binutils-config-2-r1.ebuild: |
184 |
- Stable for HPPA (bug #361849). |
185 |
- |
186 |
- 05 Apr 2011; Christoph Mende <angelos@g.o> |
187 |
- binutils-config-2-r1.ebuild: |
188 |
- Stable on amd64 wrt bug #361849 |
189 |
- |
190 |
- 06 Feb 2011; Mart Raudsepp <leio@g.o> binutils-config-1.9-r4.ebuild: |
191 |
- Drop to ~mips |
192 |
- |
193 |
-*binutils-config-2-r1 (15 Aug 2010) |
194 |
- |
195 |
- 15 Aug 2010; Mike Frysinger <vapier@g.o> files/binutils-config-2, |
196 |
- +binutils-config-2-r1.ebuild: |
197 |
- Fix incorrect header deletion when switching profiles #330299 by Pinky. |
198 |
- |
199 |
-*binutils-config-2 (20 Dec 2009) |
200 |
- |
201 |
- 20 Dec 2009; Mike Frysinger <vapier@g.o> +files/binutils-config-2, |
202 |
- +binutils-config-2.ebuild: |
203 |
- Touch up code a bit and add support for /etc/ld.so.conf.d/. |
204 |
- |
205 |
-*binutils-config-1.9-r4 (06 May 2007) |
206 |
- |
207 |
- 06 May 2007; Mike Frysinger <vapier@g.o> files/binutils-config-1.9, |
208 |
- +binutils-config-1.9-r4.ebuild: |
209 |
- Fix ldscript symlink generation #171486 by Alan Hourihane. |
210 |
- |
211 |
-*binutils-config-1.9-r3 (26 Nov 2006) |
212 |
- |
213 |
- 26 Nov 2006; Mike Frysinger <vapier@g.o> files/binutils-config-1.9, |
214 |
- +binutils-config-1.9-r3.ebuild: |
215 |
- Fix from James Le Cuirot for handling of $ROOT in ldscript cleanup #156118. |
216 |
- |
217 |
- 19 Oct 2006; Diego Pettenò <flameeyes@g.o> |
218 |
- binutils-config-1.9-r2.ebuild: |
219 |
- Make findutils a dep only on GNU userland. |
220 |
- |
221 |
- 19 Oct 2006; Mike Frysinger <vapier@g.o> files/binutils-config-1.9, |
222 |
- binutils-config-1.9-r2.ebuild: |
223 |
- Force newer findutils and use portable options #150352. |
224 |
- |
225 |
- 18 Oct 2006; Roy Marples <uberlord@g.o> |
226 |
- binutils-config-1.9-r2.ebuild: |
227 |
- Added ~sparc-fbsd keyword. |
228 |
- |
229 |
- 02 Oct 2006; Daniel Gryniewicz <dang@g.o> |
230 |
- binutils-config-1.9-r2.ebuild: |
231 |
- Marked stable on amd64 for bug #149050 |
232 |
- |
233 |
- 27 Sep 2006; Fernando J. Pereda <ferdy@g.o> |
234 |
- binutils-config-1.9-r2.ebuild: |
235 |
- Stable on alpha as per bug #149050 |
236 |
- |
237 |
- 26 Sep 2006; Gustavo Zacarias <gustavoz@g.o> |
238 |
- binutils-config-1.9-r2.ebuild: |
239 |
- Stable on sparc wrt #149050 |
240 |
- |
241 |
- 26 Sep 2006; Gustavo Zacarias <gustavoz@g.o> |
242 |
- binutils-config-1.9-r2.ebuild: |
243 |
- Stable on hppa wrt #149050 |
244 |
- |
245 |
- 26 Sep 2006; Joshua Jackson <tsunam@g.o> |
246 |
- binutils-config-1.9-r2.ebuild: |
247 |
- Stable x86; bug #149050 |
248 |
- |
249 |
- 25 Sep 2006; <nixnut@g.o> binutils-config-1.9-r2.ebuild: |
250 |
- Stable on ppc wrt bug 149050 |
251 |
- |
252 |
- 25 Sep 2006; Markus Rothe <corsair@g.o> |
253 |
- binutils-config-1.9-r2.ebuild: |
254 |
- Stable on ppc64; bug #149050 |
255 |
- |
256 |
-*binutils-config-1.9-r2 (17 Sep 2006) |
257 |
- |
258 |
- 17 Sep 2006; Mike Frysinger <vapier@g.o> files/binutils-config-1.9, |
259 |
- -binutils-config-1.9-r1.ebuild, +binutils-config-1.9-r2.ebuild: |
260 |
- Symlink ldscripts into gcc-exec path #147155 by Heiko Rosemann. |
261 |
- |
262 |
-*binutils-config-1.9-r1 (27 Aug 2006) |
263 |
- |
264 |
- 27 Aug 2006; Mike Frysinger <vapier@g.o> files/binutils-config-1.9, |
265 |
- -binutils-config-1.9.ebuild, +binutils-config-1.9-r1.ebuild: |
266 |
- Now that we have moved binutils stuff, make sure the binaries can still be |
267 |
- found automatically by the gcc cross-compiler. |
268 |
- |
269 |
-*binutils-config-1.9 (27 Aug 2006) |
270 |
- |
271 |
- 27 Aug 2006; Mike Frysinger <vapier@g.o> |
272 |
- +files/binutils-config-1.9, +binutils-config-1.9.ebuild: |
273 |
- Keep cross-compiler files in /usr/CHOST/CTARGET/ #144700. |
274 |
- |
275 |
-*binutils-config-1.8-r7 (10 Apr 2006) |
276 |
- |
277 |
- 10 Apr 2006; Mike Frysinger <vapier@g.o> files/binutils-config-1.8, |
278 |
- -binutils-config-1.8-r6.ebuild, +binutils-config-1.8-r7.ebuild: |
279 |
- Use sysroot-ed path for the include dir. |
280 |
- |
281 |
- 30 Mar 2006; Diego Pettenò <flameeyes@g.o> |
282 |
- binutils-config-1.8-r6.ebuild: |
283 |
- Add ~x86-fbsd keyword. |
284 |
- |
285 |
-*binutils-config-1.8-r6 (20 Nov 2005) |
286 |
- |
287 |
- 20 Nov 2005; Mike Frysinger <vapier@g.o> files/binutils-config-1.8, |
288 |
- -binutils-config-1.8-r5.ebuild, +binutils-config-1.8-r6.ebuild: |
289 |
- Allow people to select profiles via version only. |
290 |
- |
291 |
-*binutils-config-1.8-r5 (27 Aug 2005) |
292 |
- |
293 |
- 27 Aug 2005; Mike Frysinger <vapier@g.o> files/binutils-config-1.8, |
294 |
- -binutils-config-1.8-r4.ebuild, +binutils-config-1.8-r5.ebuild: |
295 |
- Ooops, last change removed a cd line by accident. |
296 |
- |
297 |
-*binutils-config-1.8-r3 (13 Jun 2005) |
298 |
- |
299 |
- 13 Jun 2005; Mike Frysinger <vapier@g.o> files/binutils-config-1.8, |
300 |
- +binutils-config-1.8-r3.ebuild: |
301 |
- When uninstalling, clean out a few more dirs if they are empty. |
302 |
- |
303 |
-*binutils-config-1.8-r2 (03 Apr 2005) |
304 |
- |
305 |
- 03 Apr 2005; Mike Frysinger <vapier@g.o> files/binutils-config-1.8, |
306 |
- -binutils-config-1.8-r1.ebuild, +binutils-config-1.8-r2.ebuild: |
307 |
- Touch up the unistall so it works with the eclass again. |
308 |
- |
309 |
-*binutils-config-1.8-r1 (22 Feb 2005) |
310 |
- |
311 |
- 22 Feb 2005; Mike Frysinger <vapier@g.o> |
312 |
- +binutils-config-1.8-r1.ebuild: |
313 |
- Make sure manpage gets installed #81553 by Aron Griffis. |
314 |
- |
315 |
-*binutils-config-1.8 (30 Jan 2005) |
316 |
- |
317 |
- 30 Jan 2005; Mike Frysinger <vapier@g.o> +files/binutils-config-1.8, |
318 |
- files/binutils-config.8, +binutils-config-1.8.ebuild: |
319 |
- Add support for generating fake arm/mips little/big targets. Also make it so |
320 |
- the user can select which profile to fake against. |
321 |
- |
322 |
-*binutils-config-1.7 (13 Jan 2005) |
323 |
- |
324 |
- 13 Jan 2005; Mike Frysinger <vapier@g.o> |
325 |
- +files/binutils-config-1.7, +files/binutils-config.8, |
326 |
- +binutils-config-1.7.ebuild: |
327 |
- Allow users to install fake x86/amd64 symlinks easily and add a manpage. |
328 |
- |
329 |
-*binutils-config-1.6 (01 Jan 2005) |
330 |
- |
331 |
- 01 Jan 2005; Mike Frysinger <vapier@g.o> |
332 |
- +files/binutils-config-1.6, +binutils-config-1.6.ebuild: |
333 |
- Upgrade support for FAKE_TARGETS. |
334 |
- |
335 |
-*binutils-config-1.5-r1 (31 Dec 2004) |
336 |
- |
337 |
- 31 Dec 2004; Jeremy Huddleston <eradicator@g.o> |
338 |
- files/binutils-config-1.5: |
339 |
- Fixed syntax error in binutils-condif-1.5. |
340 |
- |
341 |
-*binutils-config-1.5 (30 Dec 2004) |
342 |
- |
343 |
- 30 Dec 2004; Mike Frysinger <vapier@g.o> |
344 |
- +files/binutils-config-1.5, +binutils-config-1.5.ebuild: |
345 |
- New version to support extra symlink generation for multilib systems. |
346 |
- |
347 |
-*binutils-config-1.4 (26 Dec 2004) |
348 |
- |
349 |
- 26 Dec 2004; Mike Frysinger <vapier@g.o> |
350 |
- +files/binutils-config-1.4, +binutils-config-1.4.ebuild: |
351 |
- Fill out {INFO,LD,MAN}PATH variables to fix #74726 and #75636. |
352 |
- |
353 |
-*binutils-config-1.3 (15 Dec 2004) |
354 |
- |
355 |
- 15 Dec 2004; Mike Frysinger <vapier@g.o> |
356 |
- +files/binutils-config-1.3, +binutils-config-1.3.ebuild: |
357 |
- Support $(get_libdir) for funky arches. |
358 |
- |
359 |
-*binutils-config-1.2 (15 Dec 2004) |
360 |
- |
361 |
- 15 Dec 2004; Mike Frysinger <vapier@g.o> |
362 |
- +files/binutils-config-1.2, +binutils-config-1.2.ebuild: |
363 |
- Version bump to resolve upgrade issues #74348. |
364 |
- |
365 |
-*binutils-config-1.1 (08 Dec 2004) |
366 |
- |
367 |
- 08 Dec 2004; Mike Frysinger <vapier@g.o> |
368 |
- +files/binutils-config-1.1, +binutils-config-1.1.ebuild: |
369 |
- Support unmerging of targets and move the symlink generation out of packages |
370 |
- and into binutils. |
371 |
- |
372 |
-*binutils-config-1.0 (14 Nov 2004) |
373 |
- |
374 |
- 14 Nov 2004; Mike Frysinger <vapier@g.o> : |
375 |
- Initial import. Ebuild submitted by me. |
376 |
|
377 |
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest |
378 |
deleted file mode 100644 |
379 |
index 2790be3..0000000 |
380 |
--- a/sys-devel/binutils-config/Manifest |
381 |
+++ /dev/null |
382 |
@@ -1,7 +0,0 @@ |
383 |
-AUX binutils-config-5 12290 SHA256 cc2c12e218d02b5d2bcfdbee27e14d0769a8fbcb0f0d69d2baec65672752debe SHA512 c3334ff4a07a56246abfb32823c098d977c92a849de84a360a7d103c64abd7ed29c4fc03eff029781bd15a01270e63d4b718a7697a99306d1f639e54e3b4ea91 WHIRLPOOL c5371d7f4e71fcd16e9f7233d7303f08298f599d9fc7059e9e373865b75863f44860b2c6177cd9edb6123b88c32c3048c08f3c930c74f744b776c5fc77715f48 |
384 |
-AUX binutils-config.8 2837 SHA256 20817cd2e6e3a8ace12ada7b73ada556d597527adcad02876e522e0b6396d4a3 SHA512 66a260499c1100dc71469e4ca1e2b0f71410382138c381e6a6ed4e4aa19520607407ffa6a28e0388e0abe5ee86769b662cec29cdb2ff02cc6c05af64314db5d9 WHIRLPOOL 8bbc5c525b1c7a3ec147458569d570a3312034da2c75c1f31c4cd888db5205aa0a8c8ec061b2354d8ac80b43bdbdf1559a92e904dae5f681345fe758794c2535 |
385 |
-AUX binutils.eselect 810 SHA256 e579d3bffc645730f396ebc01d9f9f1043ee8db5edb1f41d5aeadeedcf6aa295 SHA512 105d2c50fbe2a988e669810db3f2d278cb70c24ee85a16c85a3f63c6e8e9e32bd91f430e4f9ec347e0ccb1a88ca4edb2eba9cbda73356e44d0871cb7ab9eb203 WHIRLPOOL 5ae5fd07213e2be381824aea237aa2cc47a987a2ee6508fcd8f18424f8e3de89be71f1de781240af45b98f7525048be2ab7cb60893384efbcde8f8a92a32c73a |
386 |
-EBUILD binutils-config-5-r2.ebuild 1112 SHA256 bb2ccd53900844fd04f4e2e0f6995dd8beb2cf1d1e9ce9d9378c1e85c225d896 SHA512 e606b9c67ce1518023cff4381feea4e0a4ad997c44c9455c090632f57c54aafa6a1bf387c9c3048db5da6bc263de1461b1e142c5db63ba4a41e1aa597109cef8 WHIRLPOOL db39cc32f3bab60c089597b937d6f35c949d1d7074b4b905011cdb404006d2e0bdb4abb066c148374889d994c9e4fbb9ec888a1cdaf5477a8d807bfcf11d8d50 |
387 |
-EBUILD binutils-config-5.ebuild 1125 SHA256 a1a1cd27a4b811b64bd37dcdd4197100ca70d307552e9c949b64f327cca097d1 SHA512 dfa0b5f117e9ca4e33217bef5f58af2617453812ddff0cf7df7c99f91c1ee817c3bca1f44bd257ff523e2e5f61352c124483fb88bf40bf7dc45fb51fde2e8857 WHIRLPOOL f461af19822633deeda305750bfae39464acd28b98fbf67db8b2466263b66f32ecb70cb720a0308bcf60ff7091e786905ef7afcf56337417d375d400f179904a |
388 |
-MISC ChangeLog 12757 SHA256 996edd94d7f8b82e690fa028e8e729ba1aafff0e2e8dd2fa358718ee990546df SHA512 bf644ca23b2dcd20d8a7279377711d976211e91bf4c41f10638383dc1a3e2c215864e3328984f50f0d2137474a9d07dcd499eca16a8e2df757f54295a52b5ac3 WHIRLPOOL 5de7f1e57ca53bca17deef27b6a2c52b816d7df586fbbfc92304d8a518a2fd6ef31911f4b2012fb9b8b10210038fcfab05a3871a67545b7f4dfd6eab04c85c4e |
389 |
-MISC metadata.xml 162 SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a SHA512 2a857e10b277827773a6c7967e070d7bfff23d75f44fa4d4fa8a7339df3225e6dba512a865d91c9c55bdb013dafdce85dface1b845acfbb5473e232666cdda45 WHIRLPOOL f7586c1570803b3e646f0be89ba6c767e82ec6889ef92d15f62a38f1410ed9d82c36892e5e83f694471959783d0d5ad667f1a39b7eb51f2080c269d5fa23d819 |
390 |
|
391 |
diff --git a/sys-devel/binutils-config/binutils-config-5-r2.ebuild b/sys-devel/binutils-config/binutils-config-5-r2.ebuild |
392 |
deleted file mode 100644 |
393 |
index 8e45dbb..0000000 |
394 |
--- a/sys-devel/binutils-config/binutils-config-5-r2.ebuild |
395 |
+++ /dev/null |
396 |
@@ -1,43 +0,0 @@ |
397 |
-# Copyright 1999-2015 Gentoo Foundation |
398 |
-# Distributed under the terms of the GNU General Public License v2 |
399 |
-# $Id$ |
400 |
- |
401 |
-EAPI="4" |
402 |
- |
403 |
-inherit prefix |
404 |
-DESCRIPTION="Utility to change the binutils version being used" |
405 |
-HOMEPAGE="https://www.gentoo.org/" |
406 |
-SRC_URI="" |
407 |
- |
408 |
-LICENSE="GPL-2" |
409 |
-SLOT="0" |
410 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
411 |
-IUSE="" |
412 |
- |
413 |
-# We also RDEPEND on sys-apps/findutils which is in base @system |
414 |
-RDEPEND="sys-apps/gentoo-functions |
415 |
- !<app-admin/eselect-1.4.5" |
416 |
- |
417 |
-S=${WORKDIR} |
418 |
- |
419 |
-src_install() { |
420 |
- cp "${FILESDIR}"/${PN}-${PV} "${T}"/ || die "cp failed" |
421 |
- eprefixify "${T}"/${PN}-${PV} |
422 |
- newbin "${T}"/${PN}-${PV} ${PN} |
423 |
- doman "${FILESDIR}"/${PN}.8 |
424 |
- |
425 |
- insinto /usr/share/eselect/modules |
426 |
- doins "${FILESDIR}"/binutils.eselect |
427 |
-} |
428 |
- |
429 |
-pkg_preinst() { |
430 |
- # Force a refresh when upgrading from an older version that symlinked |
431 |
- # in all the libs & includes that binutils-libs handles. #528088 |
432 |
- if has_version "<${CATEGORY}/${PN}-5" ; then |
433 |
- local bc current |
434 |
- bc="${ED}/usr/bin/binutils-config" |
435 |
- if current=$("${bc}" -c) ; then |
436 |
- "${bc}" "${current}" |
437 |
- fi |
438 |
- fi |
439 |
-} |
440 |
|
441 |
diff --git a/sys-devel/binutils-config/binutils-config-5.ebuild b/sys-devel/binutils-config/binutils-config-5.ebuild |
442 |
deleted file mode 100644 |
443 |
index 2ae6f8f..0000000 |
444 |
--- a/sys-devel/binutils-config/binutils-config-5.ebuild |
445 |
+++ /dev/null |
446 |
@@ -1,43 +0,0 @@ |
447 |
-# Copyright 1999-2015 Gentoo Foundation |
448 |
-# Distributed under the terms of the GNU General Public License v2 |
449 |
-# $Id$ |
450 |
- |
451 |
-EAPI="4" |
452 |
- |
453 |
-inherit prefix |
454 |
-DESCRIPTION="Utility to change the binutils version being used" |
455 |
-HOMEPAGE="https://www.gentoo.org/" |
456 |
-SRC_URI="" |
457 |
- |
458 |
-LICENSE="GPL-2" |
459 |
-SLOT="0" |
460 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
461 |
-IUSE="" |
462 |
- |
463 |
-# We also RDEPEND on sys-apps/findutils which is in base @system |
464 |
-RDEPEND="sys-apps/gentoo-functions |
465 |
- !<app-admin/eselect-1.4.5" |
466 |
- |
467 |
-S=${WORKDIR} |
468 |
- |
469 |
-src_install() { |
470 |
- cp "${FILESDIR}"/${PN}-${PV} "${T}"/ || die "cp failed" |
471 |
- eprefixify "${T}"/${PN}-${PV} |
472 |
- newbin "${T}"/${PN}-${PV} ${PN} |
473 |
- doman "${FILESDIR}"/${PN}.8 |
474 |
- |
475 |
- insinto /usr/share/eselect/modules |
476 |
- doins "${FILESDIR}"/binutils.eselect |
477 |
-} |
478 |
- |
479 |
-pkg_preinst() { |
480 |
- # Force a refresh when upgrading from an older version that symlinked |
481 |
- # in all the libs & includes that binutils-libs handles. #528088 |
482 |
- if has_version "<${CATEGORY}/${PN}-5" ; then |
483 |
- local bc current |
484 |
- bc="${ED}/usr/bin/binutils-config" |
485 |
- if current=$("${bc}" -c) ; then |
486 |
- "${bc}" "${current}" |
487 |
- fi |
488 |
- fi |
489 |
-} |
490 |
|
491 |
diff --git a/sys-devel/binutils-config/files/binutils-config-5 b/sys-devel/binutils-config/files/binutils-config-5 |
492 |
deleted file mode 100755 |
493 |
index b0d8760..0000000 |
494 |
--- a/sys-devel/binutils-config/files/binutils-config-5 |
495 |
+++ /dev/null |
496 |
@@ -1,486 +0,0 @@ |
497 |
-#!/bin/bash |
498 |
-# Copyright 1999-2015 Gentoo Foundation |
499 |
-# Distributed under the terms of the GNU General Public License v2 |
500 |
-# $Id$ |
501 |
- |
502 |
-# Format of /etc/env.d/binutils/: |
503 |
-# config-TARGET: CURRENT=version for TARGET |
504 |
-# TARGET-VER: has a TARGET and VER variable |
505 |
- |
506 |
-EPREFIX="@GENTOO_PORTAGE_EPREFIX@" |
507 |
-if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then |
508 |
- EPREFIX="" |
509 |
-fi |
510 |
- |
511 |
-: ${ROOT:=/} |
512 |
-[[ ${ROOT} != */ ]] && ROOT="${ROOT}/" |
513 |
-[[ ${ROOT} != /* ]] && ROOT="${PWD%/}/${ROOT}" |
514 |
- |
515 |
-EROOT="${ROOT%/}${EPREFIX}/" |
516 |
- |
517 |
-cd "${EPREFIX}/" |
518 |
- |
519 |
-trap ":" INT QUIT TSTP |
520 |
- |
521 |
-argv0=${0##*/} |
522 |
-FUNCTIONS_SH="${EPREFIX}/lib/gentoo/functions.sh" |
523 |
-source ${FUNCTIONS_SH} || { |
524 |
- echo "${argv0}: Could not source ${FUNCTIONS_SH}!" 1>&2 |
525 |
- exit 1 |
526 |
-} |
527 |
-esyslog() { :; } |
528 |
-die() { eerror "${argv0}: $*"; exit 1; } |
529 |
-umask 022 |
530 |
- |
531 |
-usage() { |
532 |
-cat << USAGE_END |
533 |
-Usage: ${HILITE}binutils-config${NORMAL} ${GOOD}[options]${NORMAL} ${BRACKET}[binutils profile]${NORMAL} |
534 |
- |
535 |
-${HILITE}General Options:${NORMAL} |
536 |
- ${GOOD}-c, --get-current-profile${NORMAL} Print current profile |
537 |
- ${GOOD}-l, --list-profiles${NORMAL} Print a list of available profiles |
538 |
- ${GOOD}-u, --uninstall${NORMAL} Remove all signs of specified target |
539 |
- ${GOOD}-d, --debug${NORMAL} Execute with debug output |
540 |
- |
541 |
-${HILITE}General Cruft:${NORMAL} |
542 |
- ${GOOD}--linker${NORMAL} <linker> Switch to specified linker (if supported) |
543 |
- |
544 |
-Profile names are of the form: ${BRACKET}<CTARGET>-<binutils version>${NORMAL} |
545 |
-For example: ${BRACKET}i686-pc-linux-gnu-2.15.92.0.2${NORMAL} |
546 |
- |
547 |
-For more info, please see ${HILITE}binutils-config${NORMAL}(8). |
548 |
-USAGE_END |
549 |
- |
550 |
- exit ${1:-1} |
551 |
-} |
552 |
- |
553 |
-mv_if_diff() { |
554 |
- if cmp -s "$1" "$2" ; then |
555 |
- rm -f "$1" |
556 |
- else |
557 |
- mv -f "$1" "$2" |
558 |
- fi |
559 |
-} |
560 |
-atomic_ln() { |
561 |
- local target=$1 linkdir=$2 linkname=$3 linktmp linkfull |
562 |
- linktmp="${linkdir}/.binutils-config.tmp.${linkname}" |
563 |
- linkfull="${linkdir}/${linkname}" |
564 |
- if [[ -d ${linkfull} ]] ; then |
565 |
- # if linking to a dir, we need a little magic to |
566 |
- # make it atomic since `mv -T` is not portable |
567 |
- rm -rf "${linktmp}" |
568 |
- mkdir -p "${linktmp}" |
569 |
- ln -sf "${target}" "${linktmp}/${linkname}" |
570 |
- mv "${linktmp}/${linkname}" "${linktmp}/../" |
571 |
- rmdir "${linktmp}" |
572 |
- else |
573 |
- # `ln` will expand into unlink();symlink(); which |
574 |
- # is not atomic for a small amount of time, but |
575 |
- # `mv` is a single rename() call |
576 |
- ln -sf "${target}" "${linktmp}" |
577 |
- mv "${linktmp}" "${linkfull}" |
578 |
- fi |
579 |
-} |
580 |
- |
581 |
-setup_env() { |
582 |
- unset TARGET VER LIBPATH |
583 |
- source "${ENV_D}/${PROFILE}" |
584 |
- if [[ -z ${TARGET} ]] ; then |
585 |
- eerror "${PROFILE} is invalid (no \$TARGET defined) :(" |
586 |
- return 1 |
587 |
- fi |
588 |
- if [[ -z ${VER} ]] ; then |
589 |
- eerror "${PROFILE} is invalid (no \$VER defined) :(" |
590 |
- return 1 |
591 |
- fi |
592 |
- |
593 |
- # |
594 |
- # Generate binary symlinks |
595 |
- # |
596 |
- BINPATH="" |
597 |
- BINPATH_LINKS="" |
598 |
- if [[ ${TARGET} != ${HOST} ]] ; then |
599 |
- # |
600 |
- # Newer paths: /usr/${HOST}/${TARGET}/... |
601 |
- # Older paths: /usr/${TARGET}/... |
602 |
- # |
603 |
- if [[ -d "${EROOT}"/usr/${HOST}/${TARGET}/binutils-bin/${VER} ]] ; then |
604 |
- BINPATH="${EPREFIX}"/usr/${HOST}/${TARGET}/binutils-bin/${VER} |
605 |
- BINPATH_LINKS="${EPREFIX}"/usr/libexec/gcc/${TARGET} |
606 |
- fi |
607 |
- fi |
608 |
- if [[ -z ${BINPATH} ]] ; then |
609 |
- BINPATH="${EPREFIX}"/usr/${TARGET}/binutils-bin/${VER} |
610 |
- BINPATH_LINKS="${EPREFIX}"/usr/${TARGET}/bin |
611 |
- fi |
612 |
-} |
613 |
- |
614 |
-# Lists of headers that various versions have installed. |
615 |
-HEADERS=( |
616 |
- ansidecl.h bfd.h bfdlink.h demangle.h dis-asm.h dyn-string.h |
617 |
- fibheap.h hashtab.h libiberty.h objalloc.h plugin-api.h |
618 |
- splay-tree.h symcat.h |
619 |
-) |
620 |
- |
621 |
-switch_profile() { |
622 |
- local x |
623 |
- |
624 |
- ebegin "Switching to ${PROFILE}" |
625 |
- |
626 |
- setup_env || return 1 |
627 |
- |
628 |
- cd "${ROOT}/${BINPATH}" || exit 1 |
629 |
- mkdir -p "${ROOT}/${BINPATH_LINKS}" "${EROOT}/usr/bin" |
630 |
- for x in * ; do |
631 |
- atomic_ln "${BINPATH}/${x}" "${ROOT}/${BINPATH_LINKS}" "${x}" |
632 |
- atomic_ln "${BINPATH_LINKS}/${x}" "${EROOT}/usr/bin" "${TARGET}-${x}" |
633 |
- if [[ ${TARGET} == ${HOST} ]] ; then |
634 |
- atomic_ln "${TARGET}-${x}" "${EROOT}/usr/bin" "${x}" |
635 |
- fi |
636 |
- done |
637 |
- |
638 |
- # |
639 |
- # Generate library / ldscripts symlinks |
640 |
- # |
641 |
- : ${LIBPATH:=${EPREFIX}/usr/lib/binutils/${TARGET}/${VER}} |
642 |
- cd "${ROOT}/${LIBPATH}" || exit 1 |
643 |
- if [[ ${TARGET} == ${HOST} ]] ; then |
644 |
- dstlib=${EROOT}/usr/${HOST}/lib |
645 |
- else |
646 |
- dstlib=${EROOT}/usr/${HOST}/${TARGET}/lib |
647 |
- fi |
648 |
- # When upgrading, we need to clean up ldscripts and libs. |
649 |
- # Don't symlink back in the libs -- the binutils-lib package handles |
650 |
- # these now. |
651 |
- # TODO: Stop requiring even the ldscripts symlink. |
652 |
- mkdir -p "${dstlib}" |
653 |
- rm -rf "${ROOT}/${BINPATH_LINKS}"/ldscripts |
654 |
- atomic_ln "${LIBPATH}/ldscripts" "${dstlib}" "ldscripts" |
655 |
- find -L "${dstlib}" -xtype l -name 'lib*' -exec rm -f {} + |
656 |
- |
657 |
- # |
658 |
- # Clean out old generated include symlinks |
659 |
- # |
660 |
- INCPATH=${LIBPATH}/include |
661 |
- if [[ -d ${ROOT}/${INCPATH} ]] ; then |
662 |
- cd "${ROOT}/${INCPATH}" || exit 1 |
663 |
- if [[ ${HOST} == ${TARGET} ]] ; then |
664 |
- # The binutils-lib package handles these files now. |
665 |
- for x in libiberty "${HEADERS[@]}" ; do |
666 |
- x="${EROOT}/usr/include/${x}" |
667 |
- if [[ -L ${x} ]] ; then |
668 |
- rm "${x}" |
669 |
- fi |
670 |
- done |
671 |
- else |
672 |
- # Clean out old path -- cannot use '-exec {} +' syntax here |
673 |
- find . -type f -exec rm -f "${EROOT}/usr/${TARGET}/usr/include/{}" \; |
674 |
- rmdir "${EROOT}/usr/${TARGET}/usr/include" >& /dev/null |
675 |
- rmdir "${EROOT}/usr/${TARGET}/usr" >& /dev/null |
676 |
- rmdir "${EROOT}/usr/${TARGET}" >& /dev/null |
677 |
- fi |
678 |
- fi |
679 |
- |
680 |
- # |
681 |
- # Make sure proper paths get updated |
682 |
- # |
683 |
- local env_update_flag="--no-ldconfig" |
684 |
- if [[ ${TARGET} == ${HOST} ]] ; then |
685 |
- # Delete old config now that binutils-libs installs these files. |
686 |
- # Note: This skips ldconfig update if env.d had LDPATH, but meh. |
687 |
- # Most people have upgraded to ld.so.conf.d, and someone else will |
688 |
- # eventually re-run ldconfig for us. |
689 |
- x="${EROOT}"/etc/ld.so.conf.d/05binutils.conf |
690 |
- if [[ -e ${x} ]]; then |
691 |
- rm -f "${x}" |
692 |
- env_update_flag="" |
693 |
- fi |
694 |
- |
695 |
- DATAPATH="${EPREFIX}"/usr/share/binutils-data/${TARGET}/${VER} |
696 |
- local e="${EROOT}"/etc/env.d/05binutils |
697 |
- local ee="${e}.tmp" |
698 |
- rm -f "${ee}" |
699 |
- [[ -d ${ROOT}/${DATAPATH}/man ]] && echo "MANPATH=${DATAPATH}/man" >> "${ee}" |
700 |
- [[ -d ${ROOT}/${DATAPATH}/info ]] && echo "INFOPATH=${DATAPATH}/info" >> "${ee}" |
701 |
- mv_if_diff "${ee}" "${e}" |
702 |
- fi |
703 |
- |
704 |
- local c="${ENV_D}/config-${TARGET}" |
705 |
- local cc="${c}.tmp" |
706 |
- echo "CURRENT=${VER}" > "${cc}" |
707 |
- mv_if_diff "${cc}" "${c}" |
708 |
- |
709 |
- eend 0 |
710 |
- |
711 |
- # |
712 |
- # Regen env.d if need/can be |
713 |
- # |
714 |
- if [[ ${ROOT} == "/" ]] && [[ ${TARGET} == ${HOST} ]] ; then |
715 |
- env-update ${env_update_flag} |
716 |
- echo |
717 |
- ewarn "Please remember to run:" |
718 |
- echo |
719 |
- ewarn " # . ${EPREFIX}/etc/profile" |
720 |
- echo |
721 |
- fi |
722 |
- |
723 |
- return 0 |
724 |
-} |
725 |
- |
726 |
-uninstall_target() { |
727 |
- : ${TARGET:=${UARG}} |
728 |
- |
729 |
- if [[ ${TARGET} == ${HOST} ]] ; then |
730 |
- die "refusing to uninstall native binutils" |
731 |
- fi |
732 |
- |
733 |
- shopt -s nullglob |
734 |
- PROFILE="" |
735 |
- |
736 |
- for PROFILE in "${ENV_D}"/${TARGET}-* ; do |
737 |
- ewarn "Removing all signs of ${PROFILE##*/}" |
738 |
- rm -f "${ENV_D}"/${PROFILE} |
739 |
- done |
740 |
- if [[ -z ${PROFILE} ]] && [[ ! -e ${ENV_D}/config-${TARGET} ]] ; then |
741 |
- die "no profiles exist for '${TARGET}'" |
742 |
- fi |
743 |
- |
744 |
- rm -f "${ENV_D}"/config-${TARGET} |
745 |
- |
746 |
- local x |
747 |
- for x in \ |
748 |
- addr2line ar as c++filt elf2flt elfedit flthdr gprof \ |
749 |
- ld ld.{bfd,gold,real} \ |
750 |
- nm objcopy objdump ranlib readelf size strings strip |
751 |
- do |
752 |
- x=( |
753 |
- "${EROOT}"/usr/bin/${TARGET}-${x} |
754 |
- "${EROOT}"/usr/{${HOST}/,}${TARGET}/bin/${x} |
755 |
- "${EROOT}"/usr/libexec/gcc/${TARGET}/${x} |
756 |
- ) |
757 |
- rm -f "${x[@]}" |
758 |
- done |
759 |
- for x in "${HEADERS[@]}" ; do |
760 |
- rm -f "${EROOT}"/usr/{${HOST}/,}${TARGET}/{usr/,}include/${x} |
761 |
- done |
762 |
- for x in bfd iberty opcodes ; do |
763 |
- rm -f "${EROOT}"/usr/${HOST}/${TARGET}/lib/lib${x}{{-*,}.so,.a,.la} |
764 |
- done |
765 |
- # Delete broken symlinks |
766 |
- local destdir="${EROOT}/usr/${HOST}/${TARGET}" |
767 |
- rm -f "${destdir}"/lib/ldscripts |
768 |
- find -L "${destdir}"/lib -type l -exec rm {} + |
769 |
- rmdir \ |
770 |
- "${destdir}"/{bin,include,lib,usr} \ |
771 |
- "${destdir}" \ |
772 |
- "${EROOT}"/var/db/pkg/cross-${TARGET} \ |
773 |
- "${EROOT}"/usr/{${HOST}/,}${TARGET}/bin \ |
774 |
- "${EROOT}"/usr/libexec/gcc/${TARGET} \ |
775 |
- 2>/dev/null |
776 |
- |
777 |
- rm -f "${ENV_D}"/${TARGET}-* |
778 |
-} |
779 |
- |
780 |
-set_current_profile() { |
781 |
- if [[ ! -f ${ENV_D}/config-${TARGET} ]] ; then |
782 |
- eerror "${argv0}: unable to locate a profile for target: ${TARGET}" |
783 |
- return 1 |
784 |
- fi |
785 |
- |
786 |
- source "${ENV_D}/config-${TARGET}" |
787 |
- |
788 |
- if [[ -z ${CURRENT} ]] ; then |
789 |
- eerror "${argv0}: no binutils profile is active!" |
790 |
- return 1 |
791 |
- fi |
792 |
- |
793 |
- echo "${TARGET}-${CURRENT}" |
794 |
- |
795 |
- return 0 |
796 |
-} |
797 |
-get_current_profile() { echo "${PROFILE}" ; } |
798 |
- |
799 |
-list_profiles() { |
800 |
- local x i target |
801 |
- |
802 |
- if [[ ${ROOT} != / ]] ; then |
803 |
- echo "Using binutils-config info in ${ROOT}" |
804 |
- fi |
805 |
- |
806 |
- set -- "${ENV_D}"/* |
807 |
- target= |
808 |
- i=1 |
809 |
- |
810 |
- for x ; do |
811 |
- # skip broken links and config files |
812 |
- [[ -f ${x} ]] || continue |
813 |
- [[ ${x} == */config-* ]] && continue |
814 |
- |
815 |
- source "${x}" |
816 |
- if [[ ${target} != ${TARGET} ]] ; then |
817 |
- [[ -n ${target} ]] && echo |
818 |
- target=${TARGET} |
819 |
- fi |
820 |
- |
821 |
- x=${x##*/} |
822 |
- if [[ -e ${ENV_D}/config-${TARGET} ]] ; then |
823 |
- source "${ENV_D}/config-${TARGET}" |
824 |
- if [[ ${VER} == ${CURRENT} ]] ; then |
825 |
- [[ ${TARGET} == ${HOST} ]] \ |
826 |
- && x="${x} ${GOOD}*${NORMAL}" \ |
827 |
- || x="${x} ${HILITE}*${NORMAL}" |
828 |
- fi |
829 |
- fi |
830 |
- |
831 |
- # We would align the [...] field like so: |
832 |
- #printf ' [%*ss] %s\n' ${##} "${i}" "${x}" |
833 |
- # but this breaks simple scripting: `binutils -l | awk '{print $2}'` |
834 |
- |
835 |
- # Or we could align the target col like so: |
836 |
- #printf ' [%s]%*s %s\n' "${i}" $(( ${##} - ${#i} )) "" "${x}" |
837 |
- # but i'm not sold that it looks better |
838 |
- |
839 |
- # So keep it simple ... only makes a diff anyways for crazy people |
840 |
- # like me which have 100+ binutils packages installed ... |
841 |
- echo " [$i] ${x}" |
842 |
- ((++i)) |
843 |
- done |
844 |
-} |
845 |
- |
846 |
-switch_linker() { |
847 |
- local bpath ld=$1 |
848 |
- |
849 |
- case ${ld} in |
850 |
- ld.*) ;; |
851 |
- *) die "not supported: linker must start with 'ld.'" ;; |
852 |
- esac |
853 |
- |
854 |
- setup_env || return 1 |
855 |
- bpath="${ROOT}/${BINPATH}" |
856 |
- |
857 |
- # does this binutils even support the requested linker ? |
858 |
- if [[ ! -e ${bpath}/${ld} ]] ; then |
859 |
- die "sorry, but ${PROFILE} doesn't support the ${ld} linker" |
860 |
- fi |
861 |
- |
862 |
- # switch it up |
863 |
- ebegin "Setting default linker to ${ld} for ${PROFILE}" |
864 |
- atomic_ln ${ld} "${bpath}" ld |
865 |
- eend $? |
866 |
-} |
867 |
- |
868 |
-set_HOST() { |
869 |
- # Set HOST to CHOST if it isn't already set |
870 |
- : ${HOST:=${CHOST:-$(portageq envvar CHOST)}} |
871 |
-} |
872 |
- |
873 |
-ENV_D="${EROOT}etc/env.d/binutils" |
874 |
- |
875 |
-DEBUG="no" |
876 |
-NEED_ACTION="yes" |
877 |
-DOIT="switch_profile" |
878 |
-PROFILE="current" |
879 |
-HOST="" |
880 |
-TARGET="" |
881 |
-unset UARG |
882 |
- |
883 |
-select_action() { |
884 |
- if [[ ${NEED_ACTION} != "no" ]] ; then |
885 |
- NEED_ACTION="no" |
886 |
- DOIT=$1 |
887 |
- else |
888 |
- die "one action at a time!" |
889 |
- fi |
890 |
-} |
891 |
- |
892 |
-while [[ $# -gt 0 ]] ; do |
893 |
- x=$1 |
894 |
- shift |
895 |
- case ${x} in |
896 |
- -c|--get-current-profile) select_action get_current_profile ;; |
897 |
- -l|--list|--list-profiles) select_action list_profiles ;; |
898 |
- -u|--uninstall) select_action uninstall_target ;; |
899 |
- --linker) select_action "switch_linker $1"; shift ;; |
900 |
- -d|--debug) DEBUG="yes" ;; |
901 |
- -h|--help) usage 0 ;; |
902 |
- -V|--version) |
903 |
- unset Header |
904 |
- cvsver="$Id$" |
905 |
- cvsver=${cvsver##*binutils-config-} |
906 |
- bver=${cvsver%%,v *} |
907 |
- cvsver=${cvsver#* } |
908 |
- echo "binutils-config-${bver} (r${cvsver%% *})" |
909 |
- exit 0 |
910 |
- ;; |
911 |
- -*) |
912 |
- die "invalid switch! Try '--help'." |
913 |
- ;; |
914 |
- *) |
915 |
- if [[ ${UARG+set} == "set" ]] ; then |
916 |
- die "only one profile/target at a time please" |
917 |
- fi |
918 |
- NEED_ACTION="maybe" |
919 |
- UARG=${x} |
920 |
- ;; |
921 |
- esac |
922 |
-done |
923 |
- |
924 |
-[[ ${NEED_ACTION} == "yes" ]] && usage 1 |
925 |
-[[ ${DEBUG} == "yes" ]] && set -x |
926 |
- |
927 |
-# All operations need to know the current HOST to figure out |
928 |
-# what is a native target and what is a cross target |
929 |
-set_HOST |
930 |
- |
931 |
-# All operations need to know the profile the user wants |
932 |
-case ${DOIT} in |
933 |
-switch_profile|switch_linker_*) |
934 |
- # decode user's profile choice |
935 |
- x=${UARG:-$(TARGET=${HOST} set_current_profile)} |
936 |
- PROFILE="" |
937 |
- if [[ -z $(echo ${x} | tr -d '[:digit:]') ]] ; then |
938 |
- # User gave us a # representing the profile |
939 |
- i=1 |
940 |
- for y in "${ENV_D}"/* ; do |
941 |
- [[ ${y/config-} != ${y} ]] && continue |
942 |
- |
943 |
- if [[ -f ${y} ]] && [[ ${x} -eq ${i} ]] ; then |
944 |
- PROFILE=${y##*/} |
945 |
- break |
946 |
- fi |
947 |
- ((++i)) |
948 |
- done |
949 |
- fi |
950 |
- |
951 |
- if [[ -z ${PROFILE} ]] ; then |
952 |
- # User gave us a full HOST-ver |
953 |
- x=${x##*/} |
954 |
- if [[ -f ${ENV_D}/${x} ]] ; then |
955 |
- # Valid HOST-ver yeah! |
956 |
- PROFILE=${x} |
957 |
- else |
958 |
- # Not a valid HOST-ver ... |
959 |
- if [[ ! -f ${ENV_D}/config-${x} ]] ; then |
960 |
- # Maybe they just gave us a ver ... |
961 |
- if [[ -f ${ENV_D}/${HOST}-${x} ]] ; then |
962 |
- x=${HOST}-${x} |
963 |
- else |
964 |
- die "could not locate '$x' in '${ENV_D}/'!" |
965 |
- fi |
966 |
- PROFILE=${x} |
967 |
- else |
968 |
- # Maybe they just gave us a target ... pick active profile |
969 |
- PROFILE=$(TARGET=${x} set_current_profile) |
970 |
- fi |
971 |
- fi |
972 |
- fi |
973 |
- ;; |
974 |
-*) |
975 |
- # lookup current profile as the user gave us a target |
976 |
- PROFILE=$(TARGET=${UARG:-${HOST}} set_current_profile) || exit 1 |
977 |
- ;; |
978 |
-esac |
979 |
- |
980 |
-eval ${DOIT} |
981 |
- |
982 |
-# vim:ts=4 |
983 |
|
984 |
diff --git a/sys-devel/binutils-config/files/binutils-config.8 b/sys-devel/binutils-config/files/binutils-config.8 |
985 |
deleted file mode 100644 |
986 |
index 0d8adb5..0000000 |
987 |
--- a/sys-devel/binutils-config/files/binutils-config.8 |
988 |
+++ /dev/null |
989 |
@@ -1,77 +0,0 @@ |
990 |
-.TH "BINUTILS-CONFIG" "8" "Jan 2005" "Gentoo" "Gentoo" |
991 |
-.SH "NAME" |
992 |
-binutils-config \- manage active versions of the binutils programs |
993 |
-.SH "DESCRIPTION" |
994 |
-The \fBbinutils-config\fR script allows you to switch between different |
995 |
-versions of binutils when you have installed multiple copies (see |
996 |
-USE=multislot). It also allows you to manage multiple cross-compiling |
997 |
-targets simultaneously. |
998 |
- |
999 |
-Remember, you may have one version of binutils active per \fICTARGET\fR, |
1000 |
-and changing the version for one target has no bearing on any other. So |
1001 |
-changing an active cross-compiler will not break your native compiler |
1002 |
-(i.e. \fICHOST\fR). |
1003 |
-.SH "SYNOPSIS" |
1004 |
-\fBbinutils-config\fR [\fIcrufty options\fR] \fIPROFILE\fR |
1005 |
- |
1006 |
-\fBbinutils-config\fR \fB--get-current-profile\fR \fI[TARGET]\fR |
1007 |
- |
1008 |
-\fBbinutils-config\fR \fB--list-profiles\fR |
1009 |
- |
1010 |
-\fBbinutils-config\fR \fB--uninstall\fR \fITARGET\fR |
1011 |
-.SH "GENERIC OPTIONS" |
1012 |
-.TP |
1013 |
-\fBPROFILE\fR |
1014 |
-Change the system to use the specified binutils version. This may take the |
1015 |
-form of the list index number (the number shown on the left in the |
1016 |
-\fB\-\-list\-profiles\fR output), a full \fITARGET-VERSION\fR (useful when |
1017 |
-working with cross-compilers), just a \fITARGET\fR where the \fIVERSION\fR |
1018 |
-is picked from the active, or just a binutils \fIVERSION\fR where the |
1019 |
-\fITARGET\fR is assumed to be the native \fIHOST\fR value. |
1020 |
-.TP |
1021 |
-\fBTARGET\fR |
1022 |
-Similiar to \fBPROFILE\fR, but this is only the target and no version info |
1023 |
-(i.e. \fICTARGET\fR or \fICHOST\fR). |
1024 |
-.TP |
1025 |
-\fB\-c\fR, \fB\-\-get\-current\-profile\fR \fI[TARGET]\fR |
1026 |
-Display the active profile for \fITARGET\fR. If none is specified, the |
1027 |
-host system's \fITARGET\fR will be shown (i.e. \fICHOST\fR). |
1028 |
-.TP |
1029 |
-\fB\-l\fR, \fB\-\-list\-profiles\fR |
1030 |
-Show all the profiles that your system currently has installed and what |
1031 |
-versions are active. The active native version is noted with a bright green |
1032 |
-asterisk while the active cross-compiler versions are noted with a light blue |
1033 |
-asterisk. |
1034 |
-.TP |
1035 |
-\fB-u\fR, \fB\-\-uninstall\fR \fITARGET\fR |
1036 |
-This is really for internal use only. Used to remove all traces of the |
1037 |
-\fITARGET\fR binutils from your system. |
1038 |
-.SH "CRUFTY OPTIONS" |
1039 |
-.TP |
1040 |
-\fB\-\-gold\fR |
1041 |
-Change the default linker for the specified \fIPROFILE\fR to the [newer] gold |
1042 |
-linker. This only works if the binutils actually supports gold. Note that |
1043 |
-not all options supported by the bfd linker are supportd by the gold linker. |
1044 |
-.TP |
1045 |
-\fB\-\-bfd\fR |
1046 |
-Change the default linker for the specified \fIPROFILE\fR to the [older but |
1047 |
-stable] bfd linker. If unsure, stick to this one. |
1048 |
-.SH "REPORTING BUGS" |
1049 |
-Please report bugs via http://bugs.gentoo.org/ |
1050 |
-.SH "SEE ALSO" |
1051 |
-.BR ar (1), |
1052 |
-.BR as (1), |
1053 |
-.BR ld (1), |
1054 |
-.BR nm (1), |
1055 |
-.BR objcopy (1), |
1056 |
-.BR ranlib (1), |
1057 |
-.BR readelf (1), |
1058 |
-.BR strings (1), |
1059 |
-.BR strip (1) |
1060 |
-.SH "FILES" |
1061 |
-.nf |
1062 |
-.BR /usr/bin/binutils-config |
1063 |
-.BR /etc/env.d/binutils/* |
1064 |
-.fi |
1065 |
-.SH "AUTHORS" |
1066 |
-Mike Frysinger <vapier@g.o> |
1067 |
|
1068 |
diff --git a/sys-devel/binutils-config/files/binutils.eselect b/sys-devel/binutils-config/files/binutils.eselect |
1069 |
deleted file mode 100644 |
1070 |
index a89655a..0000000 |
1071 |
--- a/sys-devel/binutils-config/files/binutils.eselect |
1072 |
+++ /dev/null |
1073 |
@@ -1,45 +0,0 @@ |
1074 |
-# -*-eselect-*- vim: ft=eselect |
1075 |
-# Copyright 2005-2015 Gentoo Foundation |
1076 |
-# Distributed under the terms of the GNU GPL version 2 or later |
1077 |
- |
1078 |
-DESCRIPTION="Manage installed versions of sys-devel/binutils" |
1079 |
-MAINTAINER="toolchain@g.o" |
1080 |
- |
1081 |
-### list action |
1082 |
- |
1083 |
-describe_list() { |
1084 |
- echo "List all installed version of binutils" |
1085 |
-} |
1086 |
- |
1087 |
-do_list() { |
1088 |
- binutils-config -l |
1089 |
-} |
1090 |
- |
1091 |
-### set action |
1092 |
- |
1093 |
-describe_set() { |
1094 |
- echo "Activate one of the installed binutils" |
1095 |
-} |
1096 |
- |
1097 |
-describe_set_parameters() { |
1098 |
- echo "<target>" |
1099 |
-} |
1100 |
- |
1101 |
-describe_set_options() { |
1102 |
- echo "target : Target name or number (from 'list' action)" |
1103 |
-} |
1104 |
- |
1105 |
-do_set() { |
1106 |
- [[ $# -eq 1 ]] || die -q "Please specify exactly one version to activate!" |
1107 |
- binutils-config "$1" |
1108 |
-} |
1109 |
- |
1110 |
-### show action |
1111 |
- |
1112 |
-describe_show() { |
1113 |
- echo "Print the currently active binutils version" |
1114 |
-} |
1115 |
- |
1116 |
-do_show() { |
1117 |
- binutils-config -c |
1118 |
-} |
1119 |
|
1120 |
diff --git a/sys-devel/binutils-config/metadata.xml b/sys-devel/binutils-config/metadata.xml |
1121 |
deleted file mode 100644 |
1122 |
index fb4199e..0000000 |
1123 |
--- a/sys-devel/binutils-config/metadata.xml |
1124 |
+++ /dev/null |
1125 |
@@ -1,5 +0,0 @@ |
1126 |
-<?xml version="1.0" encoding="UTF-8"?> |
1127 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1128 |
-<pkgmetadata> |
1129 |
-<herd>toolchain</herd> |
1130 |
-</pkgmetadata> |