Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/portage: ChangeLog portage-2.1.3.11.ebuild portage-2.1.3.10.ebuild
Date: Fri, 28 Sep 2007 23:18:58
Message-Id: E1IbOyI-0003KV-Nc@stork.gentoo.org
1 zmedico 07/09/28 23:10:10
2
3 Modified: ChangeLog
4 Added: portage-2.1.3.11.ebuild
5 Removed: portage-2.1.3.10.ebuild
6 Log:
7 2.1.3.11 bump. This fixes bugs #192706, #193548, and #194081. Most
8 important is bug #194081 which is a regression in 2.1.3.10 that causes
9 'Device or resource busy' errors during unmerge. Bug #194041 tracks
10 all bugs fixed since 2.1.3.9.
11 (Portage version: 2.1.3.11)
12
13 Revision Changes Path
14 1.446 sys-apps/portage/ChangeLog
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.446&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.446&content-type=text/plain
18 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?r1=1.445&r2=1.446
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v
23 retrieving revision 1.445
24 retrieving revision 1.446
25 diff -u -r1.445 -r1.446
26 --- ChangeLog 28 Sep 2007 00:03:51 -0000 1.445
27 +++ ChangeLog 28 Sep 2007 23:10:10 -0000 1.446
28 @@ -1,6 +1,14 @@
29 # ChangeLog for sys-apps/portage
30 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.445 2007/09/28 00:03:51 zmedico Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.446 2007/09/28 23:10:10 zmedico Exp $
33 +
34 +*portage-2.1.3.11 (28 Sep 2007)
35 +
36 + 28 Sep 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.11.ebuild:
37 + 2.1.3.11 bump. This fixes bugs #192706, #193548, and #194081. Most
38 + important is bug #194081 which is a regression in 2.1.3.10 that causes
39 + 'Device or resource busy' errors during unmerge. Bug #194041 tracks
40 + all bugs fixed since 2.1.3.9.
41
42 *portage-2.1.3.10 (27 Sep 2007)
43
44 @@ -43,24 +51,6 @@
45 08 Sep 2007; Joseph Jezak <josejx@g.o> portage-2.1.2.12.ebuild:
46 Marked ppc64 stable for bug #189289.
47
48 -*portage-2.1.3.8 (07 Sep 2007)
49 -
50 - 07 Sep 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.8.ebuild:
51 - 2.1.3.8 bump. This fixes bugs #110443, #190144, #190214, #190268,
52 - #190406. Bug #181949 tracks all bugs fixed since 2.1.2.x. This release
53 - also includes a merge order optimization that causes installed
54 - dependencies to be rebuilt earlier which helps avoid build failures
55 - during `emerge -e system` after the CHOST has been changed (like when
56 - building a stage3 from a stage2).
57 -
58 -*portage-2.1.3.7 (24 Aug 2007)
59 -
60 - 24 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.7.ebuild:
61 - 2.1.3.7 bump. This fixes bugs #184443, #188703, #189219, #189743,
62 - and #189791. This release also includes a performance optimization
63 - that makes large dependency calculations significantly faster.
64 - Bug #181949 tracks all bugs fixed since 2.1.2.x.
65 -
66 24 Aug 2007; Raúl Porcel <armin76@g.o> portage-2.1.2.12.ebuild:
67 alpha/ia64 stable wrt #189289
68
69 @@ -96,41 +86,9 @@
70 for revdep-rebuild (2.1.2.11 has a regression relative to 2.1.2.9
71 that causes revdep-rebuild to produce bad merge order).
72
73 -*portage-2.1.3.6 (15 Aug 2007)
74 -
75 - 15 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.6.ebuild:
76 - 2.1.3.6 bump. This fixes bugs #188449, #188619, #188782, and #188807.
77 - Most notable is the fix for bug #188782 which optimizes merge order
78 - for revdep-rebuild. Bug #181949 tracks all bugs fixed since 2.1.2.x.
79 -
80 -*portage-2.1.3.5 (12 Aug 2007)
81 -
82 - 12 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.5.ebuild:
83 - 2.1.3.5 bump. This fixes bug #188559 (files are sometimes unmerged
84 - from lib dirs when they're supposed to stay installed). Bug #181949
85 - tracks all bugs fixed since 2.1.2.x.
86 -
87 -*portage-2.1.3.4 (10 Aug 2007)
88 -
89 - 10 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.4.ebuild:
90 - 2.1.3.4 bump. This fixes bugs #187741, #187795, #187806, and #187953.
91 - Bug #181949 tracks all bugs fixed since 2.1.2.x.
92 -
93 06 Aug 2007; Joshua Kinard <kumba@g.o> portage-2.1.2.11.ebuild:
94 Stable on mips, per #187334.
95
96 -*portage-2.1.3.3 (03 Aug 2007)
97 -
98 - 03 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.3.ebuild:
99 - 2.1.3.3 bump. This fixes bug #187597 (EAGAIN errors on FreeBSD). Bug
100 - #181949 tracks all bugs fixed since 2.1.2.x.
101 -
102 -*portage-2.1.3.2 (02 Aug 2007)
103 -
104 - 02 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.2.ebuild:
105 - 2.1.3.2 bump. This fixes bugs #187480 and #187518. Bug #181949 tracks
106 - all bugs fixed since 2.1.2.x.
107 -
108 02 Aug 2007; Mike Frysinger <vapier@g.o> portage-2.1.3.1.ebuild:
109 Pull in newer eclass-manpages rather than portage-manpages via USE=doc.
110
111 @@ -141,12 +99,6 @@
112 01 Aug 2007; Christoph Mende <angelos@g.o> portage-2.1.2.11.ebuild:
113 Stable on amd64 wrt bug #187334
114
115 -*portage-2.1.3.1 (01 Aug 2007)
116 -
117 - 01 Aug 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.1.ebuild:
118 - 2.1.3.1 bump. This fixes bugs #185305, #186876, #187016, #187142,
119 - and #187375. Bug #181949 tracks all bugs fixed since 2.1.2.x.
120 -
121 01 Aug 2007; Jeroen Roovers <jer@g.o> portage-2.1.2.11.ebuild:
122 Stable for HPPA (bug #187334).
123
124 @@ -171,37 +123,6 @@
125 #185048, #185504, #185670, #185930, #186610, #186639, and #186960.
126 Bug #187293 tracks all of the above bugs.
127
128 -*portage-2.1.3 (28 Jul 2007)
129 -
130 - 28 Jul 2007; Zac Medico <zmedico@g.o> +portage-2.1.3.ebuild:
131 - 2.1.3 release. This fixes bugs #185048, #186337, #186480, #186639,
132 - and #186826. Bug #181949 tracks all bugs fixed since 2.1.2.x.
133 -
134 -*portage-2.1.3_rc9 (22 Jul 2007)
135 -
136 - 22 Jul 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc9.ebuild:
137 - 2.1.3_rc9 bump. This fixes bugs #2938, #151653, #169500, #184774, #184983,
138 - #185153, #185278, #185389, #185670, and #185930. Bug #181949 tracks all
139 - bugs fixed since 2.1.2.x.
140 -
141 -*portage-2.1.3_rc8 (11 Jul 2007)
142 -
143 - 11 Jul 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc8.ebuild:
144 - 2.1.3_rc8 bump. This fixes bugs #184604, #184679, #184687, #184806,
145 - and #184843. Bug #181949 tracks all bugs fixed since 2.1.2.x.
146 -
147 -*portage-2.1.3_rc7 (08 Jul 2007)
148 -
149 - 08 Jul 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc7.ebuild:
150 - 2.1.3_rc7 bump. This fixes bugs #131030, #166324, #180045, #183639, #183861,
151 - #184412, and #184566. Bug #181949 tracks all bugs fixed since 2.1.2.x.
152 - The world file now supports slot atoms such as 'sys-devel/gcc:3.4'. In some
153 - cases, emerge --depclean may remove slots that it would not have removed
154 - in the past. The emerge --noreplace command can be used to add an atom to
155 - the world file and prevent matching packages from being removed. A slot
156 - atom will be recorded in the world file for any atom that is precise enough
157 - to identify a specific slot.
158 -
159 05 Jul 2007; Brent Baude <ranger@g.o> portage-2.1.2.9.ebuild:
160 Marking portage-2.1.2.9 ppc64 stable for bug 183728
161
162 @@ -227,59 +148,6 @@
163 30 Jun 2007; Joshua Kinard <kumba@g.o> portage-2.1.2.9.ebuild:
164 Stable on mips, per #183728.
165
166 -*portage-2.1.3_rc6 (29 Jun 2007)
167 -
168 - 29 Jun 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc6.ebuild:
169 - 2.1.3_rc6 bump. This fixes bugs #139600, #141550, #142473, #144333,
170 - #144440, #147558, #148514, #175891, #180706, #182786, #182964, #183167,
171 - and #183431.
172 -
173 -*portage-2.1.3_rc5 (23 Jun 2007)
174 -
175 - 23 Jun 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc5.ebuild:
176 - 2.1.3_rc5 bump. This fixes bugs #143340, #180165, #182428, and #182571.
177 - The "save_summary" and "echo" elog modules are now enabled by default.
178 - Setting PORTAGE_ELOG_SYSTEM in make.conf will override this, so if you
179 - don't want elog set PORTAGE_ELOG_SYSTEM="" in make.conf.
180 -
181 -*portage-2.1.3_rc4 (17 Jun 2007)
182 -
183 - 17 Jun 2007; Zac Medico <zmedico@g.o> -portage-2.1.3_rc3.ebuild,
184 - +portage-2.1.3_rc4.ebuild:
185 - 2.1.3_rc4 bump for bug #182346 (use device/inode numbers to determine
186 - file ownership during unmerge so that files are not accidentally
187 - unmerged due to path mismatch that can be caused by symlinks).
188 -
189 -*portage-2.1.3_rc3 (15 Jun 2007)
190 -
191 - 15 Jun 2007; Zac Medico <zmedico@g.o> -portage-2.1.3_rc2.ebuild,
192 - +portage-2.1.3_rc3.ebuild:
193 - 2.1.3_rc3 bump for bug #182157 (don't chmod 0 symlinks before unlink
194 - and don't aggressively unmerge symlinks to directories).
195 -
196 -*portage-2.1.3_rc2 (15 Jun 2007)
197 -
198 - 15 Jun 2007; Zac Medico <zmedico@g.o> -portage-2.1.3_rc1.ebuild,
199 - +portage-2.1.3_rc2.ebuild:
200 - 2.1.3_rc2 bump for bug #182105 (fix a traceback that is triggered at
201 - emerge exit if PROMPT_COMMAND is exported).
202 -
203 -*portage-2.1.3_rc1 (15 Jun 2007)
204 -
205 - 15 Jun 2007; Zac Medico <zmedico@g.o> +portage-2.1.3_rc1.ebuild:
206 - 2.1.3_rc1 release candidate. This fixes bugs #81097, #134620, #148702,
207 - #153109, #181355, #181387, #181551, and #181953.
208 -
209 - 09 Jun 2007; Zac Medico <zmedico@g.o> -portage-2.1.2.10.ebuild:
210 - Punt 2.1.2.10 due to bug #181387.
211 -
212 -*portage-2.1.2.10 (09 Jun 2007)
213 -
214 - 09 Jun 2007; Zac Medico <zmedico@g.o> +portage-2.1.2.10.ebuild:
215 - 2.1.2.10 maintenance release. This fixes bugs #47442, #82378, #139383,
216 - #149397, #152828, #156536, #164655, #170604, #172194, #172886, #181021,
217 - and #181104.
218 -
219 *portage-2.1.2.9 (31 May 2007)
220
221 31 May 2007; Zac Medico <zmedico@g.o> +portage-2.1.2.9.ebuild:
222 @@ -449,20 +317,6 @@
223 portage-2.1.1-r2.ebuild:
224 Stable on MIPS; bug #154510
225
226 -*portage-2.1.2 (15 Jan 2007)
227 -
228 - 15 Jan 2007; Zac Medico <zmedico@g.o> +portage-2.1.2.ebuild:
229 - 2.1.2 final release. Bug #147007 tracks fixes since 2.1.1.
230 -
231 -*portage-2.1.2_rc2 (18 Nov 2006)
232 -
233 - 18 Nov 2006; Zac Medico <zmedico@g.o> +portage-2.1.2_rc2.ebuild:
234 - 2.1.2_rc2 release. This fixes bugs #141118, #153591, #155477, and #155484.
235 - Implicit RDEPEND behavior has been reverted back to the way it was in
236 - <portage-2.0.52. portage-2.1.1-r2 has the same behavior change and has been
237 - unmasked in coordination with this release. Please refer to bug #153591 and
238 - the postinst ewarn message for more information.
239 -
240 15 Nov 2006; Chris Gianelloni <wolf31o2@g.o>
241 portage-2.1.1-r2.ebuild:
242 Stable on alpha wrt bug #154510.
243 @@ -495,173 +349,3 @@
244 because implicit RDEPEND behavior has been reverted back to the way it was
245 in <portage-2.0.52. Please refer to bug #153591 and the postinst ewarn
246 message for more information.
247 -
248 - 30 Oct 2006; Gustavo Zacarias <gustavoz@g.o>
249 - portage-2.1.1-r1.ebuild:
250 - Stable on sparc
251 -
252 - 29 Oct 2006; Andrej Kacian <ticho@g.o> portage-2.1.1-r1.ebuild:
253 - Stable on x86, bug #152935.
254 -
255 - 17 Oct 2006; Aron Griffis <agriffis@g.o> portage-2.1.1-r1.ebuild:
256 - Mark 2.1.1-r1 stable on alpha
257 -
258 - 17 Oct 2006; Roy Marples <uberlord@g.o>
259 - portage-2.1.2_pre3-r3.ebuild:
260 - Added ~sparc-fbsd keyword.
261 -
262 - 26 Sep 2006; Tobias Scherbaum <dertobi123@g.o>
263 - portage-2.1.1-r1.ebuild:
264 - ppc stable, bug #149062
265 -
266 - 26 Sep 2006; Simon Stelling <blubb@g.o> portage-2.1.1-r1.ebuild:
267 - stable on amd64; 149062
268 -
269 - 26 Sep 2006; Markus Rothe <corsair@g.o> portage-2.1.1-r1.ebuild:
270 - Stable on ppc64; bug #149062
271 -
272 -*portage-2.1.1-r1 (26 Sep 2006)
273 -
274 - 26 Sep 2006; <zmedico@g.o> +portage-2.1.1-r1.ebuild:
275 - 2.1.1-r1 revbump. This fixes bugs #80846, #145601, #146879, #147010,
276 - #147428, and #149062.
277 -
278 - 16 Sep 2006; Zac Medico <zmedico@g.o> -portage-2.0.54-r2.ebuild:
279 - Remove an old version.
280 -
281 - 13 Sep 2006; Stephanie Lockwood-Childs <wormo@g.o>
282 - portage-2.1.1.ebuild:
283 - stable on ppc (Bug # 146881)
284 -
285 - 12 Sep 2006; Gustavo Zacarias <gustavoz@g.o> portage-2.1.1.ebuild:
286 - Stable on hppa and sparc wrt #146881
287 -
288 - 11 Sep 2006; Daniel Gryniewicz <dang@g.o> portage-2.1.1.ebuild:
289 - Marked stable on amd64 for bug #146881
290 -
291 - 10 Sep 2006; Brent Baude <ranger@g.o> portage-2.1.1.ebuild:
292 - Marking portage-2.1.1.ebuild for bug 146881
293 -
294 - 09 Sep 2006; Aron Griffis <agriffis@g.o> portage-2.1.1.ebuild:
295 - Mark 2.1.1 stable on ia64. #146881
296 -
297 - 09 Sep 2006; <ticho@g.o> portage-2.1.1.ebuild:
298 - Stable on x86, bug #146881.
299 -
300 - 09 Sep 2006; Zac Medico <zmedico@g.o> portage-2.1.1.ebuild:
301 - Added references to bugs related to --newuse changes as suggested by
302 - Bo Ørsted Andresen <bo.andresen@××××.dk> in bug #146881.
303 -
304 - 08 Sep 2006; Fabian Groffen <grobian@g.o> portage-2.1.1.ebuild:
305 - Marked ppc-macos stable (bug #146881)
306 -
307 -*portage-2.1.1 (08 Sep 2006)
308 -
309 - 08 Sep 2006; Zac Medico <zmedico@g.o> +portage-2.1.1.ebuild:
310 - 2.1.1 final release. Please note that emerge --newuse is now sensitive to
311 - changes in IUSE. Immediately after upgrade from 2.1, users may notice a
312 - significantly larger number of packages pulled in by --newuse, but that
313 - behavior is normal. For additional information regarding this change, please
314 - see bugs #116955, #144333, #144661, and #146060.
315 -
316 - 23 Aug 2006; Zac Medico <zmedico@g.o> portage-2.0.51.22-r3.ebuild,
317 - portage-2.0.54-r2.ebuild, -portage-2.1-r1.ebuild, portage-2.1-r2.ebuild,
318 - portage-2.1.1_pre5-r1.ebuild, portage-2.1.1_pre5-r3.ebuild:
319 - Add append-lfs-flags to src_compile for bug #144754 and punt old 2.1-r1.
320 -
321 - 11 Aug 2006; Brent Baude <ranger@g.o> portage-2.1-r2.ebuild:
322 - Marking portage-2.1-r2 ppc64 stable wrt to bug # 142283
323 -
324 - 11 Aug 2006; Chris Gianelloni <wolf31o2@g.o> portage-2.1-r2.ebuild:
325 - Stable on alpha/ia64/mips/x86 wrt bug #142283.
326 -
327 - 06 Aug 2006; Luis Medinas <metalgod@g.o> portage-2.1-r2.ebuild:
328 - Stable on amd64 see bug #142283.
329 -
330 - 05 Aug 2006; <nixnut@g.o> portage-2.1-r2.ebuild:
331 - Stable on ppc. Bug #142283
332 -
333 - 03 Aug 2006; Gustavo Zacarias <gustavoz@g.o> portage-2.1-r2.ebuild:
334 - Stable on hppa wrt #142283
335 -
336 - 03 Aug 2006; Gustavo Zacarias <gustavoz@g.o> portage-2.1-r2.ebuild:
337 - Stable on sparc wrt #142283
338 -
339 - 02 Aug 2006; Fabian Groffen <grobian@g.o> portage-2.1-r2.ebuild:
340 - Marked ppc-macos stable (bug #142283)
341 -
342 -*portage-2.1-r2 (31 Jul 2006)
343 -
344 - 31 Jul 2006; Zac Medico <zmedico@g.o> +portage-2.1-r2.ebuild:
345 - 2.1-r2 revbump. This fixes bugs #105384, #108449, #126748, #132601, #135834,
346 - #137607, #137965, #138394, #138911, #139449, #139662, #140041, #140591,
347 - #141643, and #141843.
348 -
349 - 06 Jul 2006; Marius Mauch <genone@g.o> portage-2.0.51.22-r3.ebuild,
350 - portage-2.0.54-r2.ebuild, portage-2.1.ebuild, portage-2.1-r1.ebuild,
351 - portage-2.1.1_pre1-r5.ebuild, portage-2.1.1_pre2-r2.ebuild,
352 - portage-2.1.1_pre2-r4.ebuild:
353 - replace einfo with elog
354 -
355 - 30 Jun 2006; Thomas Cort <tcort@g.o> portage-2.1-r1.ebuild:
356 - Stable on alpha wrt Bug #137445.
357 -
358 - 25 Jun 2006; Guy Martin <gmsoft@g.o> portage-2.1-r1.ebuild:
359 - Stable on hppa.
360 -
361 - 25 Jun 2006; Marcus D. Hanwell <cryos@g.o> portage-2.1-r1.ebuild:
362 - Marked stable on amd64, bug 137445.
363 -
364 - 25 Jun 2006; Tobias Scherbaum <dertobi123@g.o>
365 - portage-2.1-r1.ebuild:
366 - ppc stable, bug #137445
367 -
368 - 25 Jun 2006; Joshua Kinard <kumba@g.o> portage-2.1-r1.ebuild:
369 - Marked stable on mips.
370 -
371 - 23 Jun 2006; Markus Rothe <corsair@g.o> portage-2.1-r1.ebuild:
372 - Stable on ppc64; bug #137445
373 -
374 - 23 Jun 2006; Fabian Groffen <grobian@g.o> portage-2.1-r1.ebuild:
375 - Marked ppc-macos (bug #137445)
376 -
377 - 22 Jun 2006; Chris Gianelloni <wolf31o2@g.o> portage-2.1-r1.ebuild:
378 - Stable on x86 wrt bug #137445.
379 -
380 - 22 Jun 2006; Gustavo Zacarias <gustavoz@g.o> portage-2.1-r1.ebuild:
381 - Stable on sparc wrt #137445
382 -
383 -*portage-2.1-r1 (21 Jun 2006)
384 -
385 - 21 Jun 2006; Zac Medico <zmedico@g.o> +portage-2.1-r1.ebuild:
386 - 2.1-r1 revbump. This fixes bugs #85576, #96331, #116637, #123677, #126793,
387 - #133740, #136199, #136208, #136236, #136278, #136313, #136404, #136532
388 - 136705, #136818, #136947, #137032, #137177, and #137269. For compatibility
389 - with catalyst, the change in unmerge behavior from bug #118515 has been
390 - reverted.
391 -
392 - 11 Jun 2006; Zac Medico <zmedico@g.o> portage-2.1.ebuild:
393 - Add einfo about the default USE_ORDER change.
394 -
395 - 11 Jun 2006; Simon Stelling <blubb@g.o> portage-2.1.ebuild:
396 - stable on amd64
397 -
398 - 10 Jun 2006; Jason Wever <weeve@g.o> portage-2.1.ebuild:
399 - Stable on SPARC wrt bug #136198.
400 -
401 - 10 Jun 2006; Chris Gianelloni <wolf31o2@g.o> portage-2.1.ebuild:
402 - Stable on x86 wrt bug #136198.
403 -
404 - 09 Jun 2006; Guy Martin <gmsoft@g.o> portage-2.1.ebuild:
405 - Stable on hppa.
406 -
407 - 09 Jun 2006; Emanuele Giaquinta <exg@g.o> portage-2.1.ebuild:
408 - Stable on ppc; bug #136198
409 -
410 - 09 Jun 2006; Markus Rothe <corsair@g.o> portage-2.1.ebuild:
411 - Stable on ppc64; bug #136198
412 -
413 -*portage-2.1 (09 Jun 2006)
414 -
415 - 09 Jun 2006; Zac Medico <zmedico@g.o> +portage-2.1.ebuild:
416 - 2.1 final release.
417
418
419
420 1.1 sys-apps/portage/portage-2.1.3.11.ebuild
421
422 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.1.3.11.ebuild?rev=1.1&view=markup
423 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.1.3.11.ebuild?rev=1.1&content-type=text/plain
424
425 Index: portage-2.1.3.11.ebuild
426 ===================================================================
427 # Copyright 1999-2007 Gentoo Foundation
428 # Distributed under the terms of the GNU General Public License v2
429 # $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.3.11.ebuild,v 1.1 2007/09/28 23:10:10 zmedico Exp $
430
431 inherit toolchain-funcs eutils flag-o-matic multilib
432
433 DESCRIPTION="The Portage Package Management System. The primary package management and distribution system for Gentoo."
434 HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
435 LICENSE="GPL-2"
436 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
437 PROVIDE="virtual/portage"
438 SLOT="0"
439 # USE_EXPAND_HIDDEN hides ELIBC and USERLAND expansions from emerge output (see make.conf.5).
440 IUSE_ELIBC="elibc_glibc elibc_uclibc elibc_FreeBSD"
441 IUSE="build doc epydoc selinux linguas_pl userland_GNU ${IUSE_ELIBC}"
442 DEPEND=">=dev-lang/python-2.4
443 !build? ( >=sys-apps/sed-4.0.5 )
444 doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
445 epydoc? ( >=dev-python/epydoc-2.0 )"
446 RDEPEND=">=dev-lang/python-2.4
447 !build? ( >=sys-apps/sed-4.0.5
448 >=app-shells/bash-3.1_p17 )
449 elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
450 elibc_glibc? ( >=sys-apps/sandbox-1.2.17 )
451 elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 )
452 >=app-misc/pax-utils-0.1.13
453 selinux? ( >=dev-python/python-selinux-2.16 )"
454 PDEPEND="
455 doc? (
456 || ( app-portage/eclass-manpages app-portage/portage-manpages )
457 )
458 !build? (
459 >=net-misc/rsync-2.6.4
460 userland_GNU? ( >=sys-apps/coreutils-6.4 )
461 || ( >=dev-lang/python-2.5 >=dev-python/pycrypto-2.0.1-r6 )
462 )"
463 # coreutils-6.4 rdep is for date format in emerge-webrsync #164532
464 # rsync-2.6.4 rdep is for the --filter option #167668
465 SRC_ARCHIVES="http://dev.gentoo.org/~zmedico/portage/archives"
466
467 PV_PL="2.1.2"
468 PATCHVER_PL=""
469 TARBALL_PV="${PV%.*}"
470 SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
471 ${SRC_ARCHIVES}/${PN}-${TARBALL_PV}.tar.bz2
472 linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}.tar.bz2
473 ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}.tar.bz2 )"
474
475 PATCHVER="${PVR}"
476 if [ -n "${PATCHVER}" ]; then
477 SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PATCHVER}.patch.bz2
478 ${SRC_ARCHIVES}/${PN}-${PATCHVER}.patch.bz2"
479 fi
480
481 if [ -n "${PATCHVER_PL}" ]; then
482 SRC_URI="${SRC_URI} linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2
483 ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2 )"
484 fi
485
486 S="${WORKDIR}"/${PN}-${TARBALL_PV}
487 S_PL="${WORKDIR}"/${PN}-${PV_PL}
488
489 portage_docs() {
490 elog ""
491 elog "For help with using portage please consult the Gentoo Handbook"
492 elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
493 elog ""
494 }
495
496 src_unpack() {
497 unpack ${A}
498 cd "${S}"
499 if [ -n "${PATCHVER}" ]; then
500 cd "${S}"
501 epatch "${WORKDIR}/${PN}-${PATCHVER}.patch"
502 fi
503 einfo "Setting portage.VERSION to ${PVR} ..."
504 sed -i "s/^VERSION=.*/VERSION=\"${PVR}\"/" pym/portage.py || \
505 die "Failed to patch portage.VERSION"
506 eend 0
507 if [ -n "${PATCHVER_PL}" ]; then
508 use linguas_pl && \
509 epatch "${WORKDIR}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch"
510 fi
511 }
512
513 src_compile() {
514 append-lfs-flags
515
516 cd "${S}"/src
517 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \
518 die "Failed to build tbz2tool"
519
520 if use doc; then
521 cd "${S}"/doc
522 touch fragment/date
523 sed -i "s/svn-trunk/${PVR}/" fragment/version
524 make xhtml-nochunks || die "failed to make docs"
525 fi
526
527 if use epydoc; then
528 einfo "Generating api docs"
529 mkdir "${WORKDIR}"/api
530 local my_modules
531 my_modules="$(find "${S}/pym" -name "*.py" \
532 | sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \
533 -e 's:/:.:g')" || die "error listing modules"
534 PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api \
535 -qqqqq --ignore-param-mismatch --no-frames --show-imports \
536 --name "${PN}" --url "${HOMEPAGE}" \
537 ${my_modules} || die "epydoc failed"
538 fi
539 }
540
541 src_test() {
542 ./tests/runTests || \
543 die "test(s) failed"
544 }
545
546 src_install() {
547 local libdir=$(get_libdir)
548 local portage_base="/usr/${libdir}/portage"
549 cd "${S}"/cnf
550 insinto /etc
551 doins etc-update.conf dispatch-conf.conf make.globals
552 if [ -f "make.conf.${ARCH}".diff ]; then
553 patch make.conf "make.conf.${ARCH}".diff || \
554 die "Failed to patch make.conf.example"
555 newins make.conf make.conf.example
556 else
557 eerror ""
558 eerror "Portage does not have an arch-specific configuration for this arch."
559 eerror "Please notify the arch maintainer about this issue. Using generic."
560 eerror ""
561 newins make.conf make.conf.example
562 fi
563
564 insinto /etc/logrotate.d
565 doins "${S}"/cnf/logrotate.d/elog-save-summary
566
567 dodir ${portage_base}/bin
568 exeinto ${portage_base}/bin
569 # BSD and OSX need a sed wrapper so that find/xargs work properly
570 if use userland_GNU; then
571 rm "${S}"/bin/sed || die "Failed to remove sed wrapper"
572 fi
573 cd "${S}"/bin
574 doexe *
575 doexe "${S}"/src/tbz2tool
576 dosym newins ${portage_base}/bin/donewins
577
578 for mydir in pym pym/cache pym/elog_modules; do
579 dodir ${portage_base}/${mydir}
580 insinto ${portage_base}/${mydir}
581 cd "${S}"/${mydir}
582 doins *.py
583 done
584
585 doman "${S}"/man/*.[0-9]
586 if use linguas_pl; then
587 doman -i18n=pl "${S_PL}"/man/pl/*.[0-9]
588 doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9]
589 fi
590 dodoc "${S}"/ChangeLog
591 dodoc "${S}"/NEWS
592 dodoc "${S}"/RELEASE-NOTES
593 use doc && dohtml "${S}"/doc/*.html
594 use epydoc && dohtml -r "${WORKDIR}"/api
595
596 dodir /usr/bin
597 for x in ebuild emerge portageq repoman tbz2tool xpak; do
598 dosym ../${libdir}/portage/bin/${x} /usr/bin/${x}
599 done
600
601 dodir /usr/sbin
602 local my_syms="archive-conf
603 dispatch-conf
604 emaint
605 emerge-webrsync
606 env-update
607 etc-update
608 fixpackages
609 quickpkg
610 regenworld"
611 local x
612 for x in ${my_syms}; do
613 dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x}
614 done
615 dosym env-update /usr/sbin/update-env
616 dosym etc-update /usr/sbin/update-etc
617
618 dodir /etc/portage
619 keepdir /etc/portage
620
621 echo PYTHONPATH=\"${portage_base}/pym\" > "${WORKDIR}"/05portage.envd
622 doenvd "${WORKDIR}"/05portage.envd
623 }
624
625 pkg_preinst() {
626 local portage_base="/usr/$(get_libdir)/portage"
627 if has livecvsportage ${FEATURES} && [ "${ROOT}" = "/" ]; then
628 rm -rf "${D}"/${portage_base}/pym/*
629 mv "${D}"/${portage_base}/bin/tbz2tool "${T}"
630 rm -rf "${D}"/${portage_base}/bin/*
631 mv "${T}"/tbz2tool "${D}"/${portage_base}/bin/
632 fi
633 }
634
635 pkg_postinst() {
636 local x
637
638 if [ ! -f "${ROOT}/var/lib/portage/world" ] &&
639 [ -f "${ROOT}"/var/cache/edb/world ] &&
640 [ ! -h "${ROOT}"/var/cache/edb/world ]; then
641 mv "${ROOT}"/var/cache/edb/world "${ROOT}"/var/lib/portage/world
642 ln -s ../../lib/portage/world /var/cache/edb/world
643 fi
644
645 for x in "${ROOT}"/etc/._cfg????_make.globals; do
646 # Overwrite the globals file automatically.
647 [ -e "${x}" ] && mv -f "${x}" "${ROOT}etc/make.globals"
648 done
649
650 # Compile all source files recursively. Any orphans
651 # will be identified and removed in postrm.
652 compile_all_python_bytecodes "${ROOT}usr/$(get_libdir)/portage/pym"
653
654 elog
655 elog "FEATURES=\"userfetch\" is now enabled by default. Depending on your \${DISTDIR}"
656 elog "permissions, this may result in Permission Denied errors. If you would like"
657 elog "to fetch with superuser privileges, add FEATURES=\"-userfetch\" to make.conf."
658 elog
659 elog "The world file now supports slot atoms such as 'sys-devel/gcc:3.4'. In some"
660 elog "cases, emerge --depclean may remove slots that it would not have removed"
661 elog "in the past. The emerge --noreplace command can be used to add an atom to"
662 elog "the world file and prevent matching packages from being removed. A slot"
663 elog "atom will be recorded in the world file for any atom that is precise enough"
664 elog "to identify a specific slot."
665
666 portage_docs
667 }
668
669 pkg_postrm() {
670 remove_orphan_python_bytecodes "${ROOT}usr/$(get_libdir)/portage/pym"
671 }
672
673 compile_all_python_bytecodes() {
674 python -c "from compileall import compile_dir; compile_dir('${1}', quiet=True)"
675 python -O -c "from compileall import compile_dir; compile_dir('${1}', quiet=True)"
676 }
677
678 remove_orphan_python_bytecodes() {
679 [[ -d ${1} ]] || return
680 find "${1}" -name '*.py[co]' -print0 | \
681 while read -d $'\0' f ; do
682 src_py=${f%[co]}
683 [[ -f ${src_py} ]] && continue
684 rm -f "${src_py}"[co]
685 done
686 }
687
688
689
690 --
691 gentoo-commits@g.o mailing list