1 |
commit: fbc84bdfc33665ed20e6d164cf5398825c2e35b2 |
2 |
Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 4 19:51:55 2014 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 4 19:56:24 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dilfridge.git;a=commit;h=fbc84bdf |
7 |
|
8 |
[dev-vcs/git] copy from main tree |
9 |
|
10 |
--- |
11 |
dev-vcs/git/ChangeLog | 288 +++ |
12 |
dev-vcs/git/ChangeLog-2012 | 2705 ++++++++++++++++++++ |
13 |
dev-vcs/git/Manifest | 61 + |
14 |
dev-vcs/git/files/50git-gentoo.el | 13 + |
15 |
.../git/files/git-1.7.12-git-svn-backport.patch | 1288 ++++++++++ |
16 |
dev-vcs/git/files/git-1.7.12-optional-cvs.patch | 368 +++ |
17 |
dev-vcs/git/files/git-1.8.2-optional-cvs.patch | 369 +++ |
18 |
dev-vcs/git/files/git-1.8.2-texinfo.patch | 19 + |
19 |
dev-vcs/git/files/git-1.8.4-optional-cvs.patch | 370 +++ |
20 |
dev-vcs/git/files/git-1.8.5-optional-cvs.patch | 362 +++ |
21 |
dev-vcs/git/files/git-daemon.confd | 19 + |
22 |
dev-vcs/git/files/git-daemon.initd | 30 + |
23 |
dev-vcs/git/files/git-daemon.socket | 9 + |
24 |
dev-vcs/git/files/git-daemon.xinetd | 13 + |
25 |
dev-vcs/git/files/git-daemon_at.service | 13 + |
26 |
dev-vcs/git/git-1.8.1.5-r1.ebuild | 600 +++++ |
27 |
dev-vcs/git/git-1.8.1.5.ebuild | 598 +++++ |
28 |
dev-vcs/git/git-1.8.2.1.ebuild | 610 +++++ |
29 |
dev-vcs/git/git-1.8.3.2-r1.ebuild | 614 +++++ |
30 |
dev-vcs/git/git-1.8.4.5.ebuild | 619 +++++ |
31 |
dev-vcs/git/git-1.8.5.1.ebuild | 619 +++++ |
32 |
dev-vcs/git/git-1.8.5.2.ebuild | 619 +++++ |
33 |
dev-vcs/git/git-9999.ebuild | 618 +++++ |
34 |
dev-vcs/git/metadata.xml | 40 + |
35 |
24 files changed, 10864 insertions(+) |
36 |
|
37 |
diff --git a/dev-vcs/git/ChangeLog b/dev-vcs/git/ChangeLog |
38 |
new file mode 100644 |
39 |
index 0000000..ab73814 |
40 |
--- /dev/null |
41 |
+++ b/dev-vcs/git/ChangeLog |
42 |
@@ -0,0 +1,288 @@ |
43 |
+# ChangeLog for dev-vcs/git |
44 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
45 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/ChangeLog,v 1.236 2013/12/18 12:19:15 polynomial-c Exp $ |
46 |
+ |
47 |
+*git-1.8.5.2 (18 Dec 2013) |
48 |
+ |
49 |
+ 18 Dec 2013; Lars Wendler <polynomial-c@g.o> +git-1.8.5.2.ebuild: |
50 |
+ Version bump. |
51 |
+ |
52 |
+ 11 Dec 2013; Sergey Popov <pinkbyte@g.o> git-1.8.3.2-r1.ebuild: |
53 |
+ Stable on arm, wrt bug #480306 |
54 |
+ |
55 |
+ 11 Dec 2013; Lars Wendler <polynomial-c@g.o> git-1.8.1.5.ebuild, |
56 |
+ git-1.8.1.5-r1.ebuild, git-1.8.2.1.ebuild, git-1.8.3.2-r1.ebuild, |
57 |
+ git-1.8.4.5.ebuild, git-1.8.5.1.ebuild, git-9999.ebuild: |
58 |
+ Added t9402-git-cvsserver-refs.sh and t9604-cvsimport-timestamps.sh to the |
59 |
+ cvs-only tests (bug #492556). |
60 |
+ |
61 |
+ 09 Dec 2013; Mikle Kolyada <zlogene@g.o> git-1.8.3.2-r1.ebuild: |
62 |
+ ia64 stable wrt bug #480306 |
63 |
+ |
64 |
+ 07 Dec 2013; Johannes Huber <johu@g.o> git-1.8.3.2-r1.ebuild: |
65 |
+ x86 stable, bug #480306 |
66 |
+ |
67 |
+ 06 Dec 2013; Lars Wendler <polynomial-c@g.o> git-1.8.1.5.ebuild, |
68 |
+ git-1.8.1.5-r1.ebuild, git-1.8.2.1.ebuild, -git-1.8.3.2.ebuild, |
69 |
+ -git-1.8.4.ebuild, -git-1.8.4.2.ebuild, -git-1.8.4.3.ebuild, |
70 |
+ -git-1.8.4.4.ebuild: |
71 |
+ Fixed remaining ebuilds who suffer from bug #485166. Removed some older |
72 |
+ versions. |
73 |
+ |
74 |
+ 05 Dec 2013; Lars Wendler <polynomial-c@g.o> git-9999.ebuild: |
75 |
+ Added changes to live ebuild. |
76 |
+ |
77 |
+*git-1.8.5.1 (05 Dec 2013) |
78 |
+ |
79 |
+ 05 Dec 2013; Lars Wendler <polynomial-c@g.o> -git-1.6.4.5.ebuild, |
80 |
+ -git-1.7.2.5.ebuild, -git-1.7.3.4-r1.ebuild, -git-1.7.8.6.ebuild, |
81 |
+ -git-1.7.12.4.ebuild, -git-1.8.0.2.ebuild, +git-1.8.5.1.ebuild, |
82 |
+ -files/git-1.6.6.1-interix6.patch, -files/git-1.7.1-interix.patch, |
83 |
+ -files/git-1.7.2-always-install-js.patch, -files/git-1.7.3.2-interix.patch, |
84 |
+ -files/git-1.7.3.4-avoid-shell-issues.patch, |
85 |
+ -files/git-1.7.3.4-fix-perl-test-prereq.patch, |
86 |
+ -files/git-1.7.3.5-optional-cvs.patch, -files/git-1.7.11-optional-cvs.patch, |
87 |
+ +files/git-1.8.5-optional-cvs.patch, metadata.xml: |
88 |
+ Version bump. Removed old. |
89 |
+ |
90 |
+*git-1.8.4.5 (04 Dec 2013) |
91 |
+ |
92 |
+ 04 Dec 2013; Lars Wendler <polynomial-c@g.o> +git-1.8.4.5.ebuild: |
93 |
+ Version bump (bug #493348). |
94 |
+ |
95 |
+*git-1.8.4.4 (21 Nov 2013) |
96 |
+ |
97 |
+ 21 Nov 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.4.4.ebuild: |
98 |
+ Bump. |
99 |
+ |
100 |
+ 09 Nov 2013; Pacho Ramos <pacho@g.o> git-1.8.3.2-r1.ebuild: |
101 |
+ amd64 stable, bug #480306 |
102 |
+ |
103 |
+*git-1.8.4.3 (09 Nov 2013) |
104 |
+ |
105 |
+ 09 Nov 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.4.3.ebuild: |
106 |
+ Bump. |
107 |
+ |
108 |
+ 06 Nov 2013; Patrick Lauer <patrick@g.o> git-1.8.3.2-r1.ebuild: |
109 |
+ Un-stabling for amd64 as dependencies are not ready |
110 |
+ |
111 |
+ 05 Nov 2013; Mikle Kolyada <zlogene@g.o> git-1.8.3.2-r1.ebuild: |
112 |
+ amd64 stable wrt bug #480306 |
113 |
+ |
114 |
+ 03 Nov 2013; Matt Turner <mattst88@g.o> git-1.8.3.2-r1.ebuild: |
115 |
+ alpha stable, bug 480306. |
116 |
+ |
117 |
+ 03 Nov 2013; Matthew Thode <prometheanfire@g.o> metadata.xml: |
118 |
+ just adding myself to the list of maintianers |
119 |
+ |
120 |
+ 01 Nov 2013; Lars Wendler <polynomial-c@g.o> metadata.xml: |
121 |
+ Added myself as maintainer. |
122 |
+ |
123 |
+*git-1.8.4.2 (28 Oct 2013) |
124 |
+ |
125 |
+ 28 Oct 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.4.2.ebuild: |
126 |
+ Bump. |
127 |
+ |
128 |
+ 20 Oct 2013; Fabian Groffen <grobian@g.o> git-1.8.4.ebuild, |
129 |
+ git-9999.ebuild: |
130 |
+ Fix sed expression not to be too greedy, bug #488440 |
131 |
+ |
132 |
+ 17 Oct 2013; Jeroen Roovers <jer@g.o> git-1.8.3.2-r1.ebuild: |
133 |
+ Stable for HPPA (bug #480306). |
134 |
+ |
135 |
+*git-1.8.3.2-r1 (15 Oct 2013) |
136 |
+ |
137 |
+ 15 Oct 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.3.2-r1.ebuild: |
138 |
+ Backport fixes for bug #477096: Fix git-remote-bzr file collision & bug |
139 |
+ #479628: Fix pthread usage to 1.8.3. |
140 |
+ |
141 |
+*git-1.8.4 (15 Oct 2013) |
142 |
+ |
143 |
+ 15 Oct 2013; Robin H. Johnson <robbat2@g.o> |
144 |
+ +files/git-1.8.4-optional-cvs.patch, +git-1.8.4.ebuild, git-9999.ebuild: |
145 |
+ Bug #485844: Bump. Bug #477096: Fix git-remote-bzr file collision. Bug |
146 |
+ #479628: Fix pthread usage. |
147 |
+ |
148 |
+ 15 Oct 2013; Mikle Kolyada <zlogene@g.o> git-1.8.1.5-r1.ebuild: |
149 |
+ x86 stable wrt bug #480054 |
150 |
+ |
151 |
+ 14 Oct 2013; Tony Vroon <chainsaw@g.o> git-1.8.1.5-r1.ebuild: |
152 |
+ Marked stable on AMD64 based on arch tester report by Elijah "Armageddon" El |
153 |
+ Lazkani in bug #480054. |
154 |
+ |
155 |
+ 07 Oct 2013; William Hubbs <williamh@g.o> git-9999.ebuild: |
156 |
+ sync live ebuild |
157 |
+ |
158 |
+ 07 Oct 2013; Rick Farina <zerochaos@g.o> git-1.8.3.2.ebuild: |
159 |
+ changing dep to make error message more useful because earlier version of dev- |
160 |
+ python/pygtksourceview:2 have no [] |
161 |
+ |
162 |
+ 06 Oct 2013; Jeroen Roovers <jer@g.o> git-1.8.1.5-r1.ebuild: |
163 |
+ Stable for HPPA (bug #480054). |
164 |
+ |
165 |
+ 06 Oct 2013; Markus Meier <maekke@g.o> git-1.8.1.5-r1.ebuild: |
166 |
+ arm stable, bug #480054 |
167 |
+ |
168 |
+*git-1.8.1.5-r1 (28 Sep 2013) |
169 |
+ |
170 |
+ 28 Sep 2013; Pacho Ramos <pacho@g.o> +git-1.8.1.5-r1.ebuild: |
171 |
+ Backport unit files to allow faster stabilization |
172 |
+ |
173 |
+ 16 Sep 2013; Michał Górny <mgorny@g.o> git-1.8.3.2.ebuild, |
174 |
+ git-9999.ebuild: |
175 |
+ Use ${PYTHON} rather than $(python_get_PYTHON). It is exported anyway. |
176 |
+ |
177 |
+ 31 Jul 2013; Matt Turner <mattst88@g.o> git-1.8.3.2.ebuild, |
178 |
+ git-9999.ebuild: |
179 |
+ Allow building against >=dev-lang/perl-5.16 without 'build' in IUSE. |
180 |
+ |
181 |
+ 26 Jul 2013; William Hubbs <williamh@g.o> git-9999.ebuild: |
182 |
+ non-maintainer commit: sync live ebuild with git-1.8.3.2. |
183 |
+ |
184 |
+ 15 Jul 2013; Jonathan Callen <abcd@g.o> git-1.8.3.2.ebuild: |
185 |
+ Non-maintainer update: make ${PYTHON_REQUIRED_USE} conditional on USE=python; |
186 |
+ fix pygtk and pygtksourceview deps to require that they be built with the same |
187 |
+ version of python as this package; replace built_with_use calls with |
188 |
+ has_version; remove python 2.5 support as none of the dependencies support it. |
189 |
+ |
190 |
+ 11 Jul 2013; Lars Wendler <polynomial-c@g.o> git-1.8.3.2.ebuild: |
191 |
+ Non-maintainer commit: Fixed test failure when built with USE="-perl" (bug |
192 |
+ #476472). Also fixed wrong located python_optimize call. Thanks to Arfrever |
193 |
+ for pointing this out in IRC and mgorny for giving advice how to fix this. |
194 |
+ |
195 |
+*git-1.8.3.2 (09 Jul 2013) |
196 |
+ |
197 |
+ 09 Jul 2013; Lars Wendler <polynomial-c@g.o> +git-1.8.3.2.ebuild: |
198 |
+ Non-maintainer commit: Version bump (bug #467856). Converted ebuild to EAPI-5 |
199 |
+ and python-single-r1 eclass. Added gtk -> python REQUIRED_USE (bug #451374). |
200 |
+ Hopefully fixed test failure with USE=-perl (bug #470592). Added installation |
201 |
+ of git-remote-hg (bug #465808) and git-remote-bzr with USE=python. |
202 |
+ |
203 |
+ 18 May 2013; Fabio Erculiani <lxnay@g.o> git-1.8.2.1.ebuild, |
204 |
+ git-9999.ebuild, +files/git-daemon.socket, +files/git-daemon_at.service: |
205 |
+ add systemd unit supporting socket activation to 1.8.21 and 9999, fix bug |
206 |
+ #468846 |
207 |
+ |
208 |
+ 19 Apr 2013; Mike Frysinger <vapier@g.o> git-1.8.2.1.ebuild: |
209 |
+ Add missing pthreads linkage for svn-fe #466178 by Mike Gilbert. |
210 |
+ |
211 |
+ 17 Apr 2013; Robin H. Johnson <robbat2@g.o> git-1.8.2.1.ebuild: |
212 |
+ Bug #466178: better use of variables to make svn-fe always compile right. |
213 |
+ |
214 |
+*git-1.8.2.1 (16 Apr 2013) |
215 |
+ |
216 |
+ 16 Apr 2013; Robin H. Johnson <robbat2@g.o> |
217 |
+ +files/git-1.8.2-optional-cvs.patch, +files/git-1.8.2-texinfo.patch, |
218 |
+ +git-1.8.2.1.ebuild: |
219 |
+ Verbump. Bug #464210: fix texinfo 5.1 @anchor handling. |
220 |
+ |
221 |
+ 19 Mar 2013; Agostino Sarubbo <ago@g.o> -git-1.7.12-r1.ebuild, |
222 |
+ -git-1.7.12-r2.ebuild, -git-1.7.12.3-r1.ebuild, -git-1.7.12.3.ebuild, |
223 |
+ -git-1.7.12.ebuild, -git-1.8.0-r1.ebuild, -git-1.8.0.ebuild, |
224 |
+ -git-1.8.1.1.ebuild, -git-1.8.1.2.ebuild, -git-1.8.1.4.ebuild, |
225 |
+ -git-1.8.1.ebuild: |
226 |
+ Remove old |
227 |
+ |
228 |
+ 10 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
229 |
+ Stable for s390, wrt bug #459158 |
230 |
+ |
231 |
+ 09 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
232 |
+ Stable for sparc, wrt bug #459158 |
233 |
+ |
234 |
+ 09 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
235 |
+ Stable for ia64, wrt bug #459158 |
236 |
+ |
237 |
+ 09 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
238 |
+ Stable for alpha, wrt bug #459158 |
239 |
+ |
240 |
+ 09 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
241 |
+ Stable for ppc64, wrt bug #459158 |
242 |
+ |
243 |
+ 08 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
244 |
+ Stable for arm, wrt bug #459158 |
245 |
+ |
246 |
+ 06 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
247 |
+ Stable for sh, wrt bug #459158 |
248 |
+ |
249 |
+ 05 Mar 2013; Jeroen Roovers <jer@g.o> git-1.8.1.5.ebuild: |
250 |
+ Stable for HPPA (bug #459158). |
251 |
+ |
252 |
+ 04 Mar 2013; Brent Baude <ranger@g.o> git-1.8.1.5.ebuild: |
253 |
+ Marking git-1.8.1.5 ppc for bug 459158 |
254 |
+ |
255 |
+ 04 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
256 |
+ Stable for x86, wrt bug #459158 |
257 |
+ |
258 |
+ 04 Mar 2013; Agostino Sarubbo <ago@g.o> git-1.8.1.5.ebuild: |
259 |
+ Stable for amd64, wrt bug #459158 |
260 |
+ |
261 |
+*git-1.8.1.5 (01 Mar 2013) |
262 |
+ |
263 |
+ 01 Mar 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.1.5.ebuild: |
264 |
+ Bump. |
265 |
+ |
266 |
+ 24 Feb 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
267 |
+ Stable for sh, wrt bug #436704 |
268 |
+ |
269 |
+ 22 Feb 2013; Zac Medico <zmedico@g.o> git-1.8.1.2.ebuild, |
270 |
+ git-1.8.1.4.ebuild, git-9999.ebuild: |
271 |
+ Add ~arm-linux keywords. |
272 |
+ |
273 |
+*git-1.8.1.4 (20 Feb 2013) |
274 |
+ |
275 |
+ 20 Feb 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.1.4.ebuild: |
276 |
+ Bump. |
277 |
+ |
278 |
+ 20 Feb 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
279 |
+ Stable for s390, wrt bug #436704 |
280 |
+ |
281 |
+ 29 Jan 2013; Fabian Groffen <grobian@g.o> git-1.8.0.2.ebuild, |
282 |
+ git-1.8.1.2.ebuild: |
283 |
+ Do not install git daemon init.d script on Prefix |
284 |
+ |
285 |
+*git-1.8.1.2 (28 Jan 2013) |
286 |
+ |
287 |
+ 28 Jan 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.1.2.ebuild: |
288 |
+ Autobump. |
289 |
+ |
290 |
+ 21 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
291 |
+ Stable for sparc, wrt bug #436704 |
292 |
+ |
293 |
+ 21 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
294 |
+ Stable for ia64, wrt bug #436704 |
295 |
+ |
296 |
+ 20 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
297 |
+ Stable for alpha, wrt bug #436704 |
298 |
+ |
299 |
+ 16 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
300 |
+ Stable for ppc64, wrt bug #436704 |
301 |
+ |
302 |
+ 16 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
303 |
+ Stable for ppc, wrt bug #436704 |
304 |
+ |
305 |
+ 15 Jan 2013; Markus Meier <maekke@g.o> git-1.7.12.4.ebuild: |
306 |
+ arm stable, bug #436704 |
307 |
+ |
308 |
+*git-1.8.1.1 (15 Jan 2013) |
309 |
+ |
310 |
+ 15 Jan 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.1.1.ebuild: |
311 |
+ Bump. |
312 |
+ |
313 |
+ 15 Jan 2013; Jeroen Roovers <jer@g.o> git-1.7.12.4.ebuild: |
314 |
+ Stable for HPPA (bug #436704). |
315 |
+ |
316 |
+ 10 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
317 |
+ Stable for x86, wrt bug #436704 |
318 |
+ |
319 |
+ 10 Jan 2013; Agostino Sarubbo <ago@g.o> git-1.7.12.4.ebuild: |
320 |
+ Stable for amd64, wrt bug #436704 |
321 |
+ |
322 |
+*git-1.8.1 (03 Jan 2013) |
323 |
+ |
324 |
+ 03 Jan 2013; Robin H. Johnson <robbat2@g.o> +git-1.8.1.ebuild: |
325 |
+ Bump. |
326 |
+ |
327 |
+ 01 Jan 2013; Andreas K. Huettel <dilfridge@g.o> +ChangeLog-2012: |
328 |
+ Split ChangeLog. |
329 |
+ |
330 |
+ For previous entries, please see ChangeLog-2012. |
331 |
|
332 |
diff --git a/dev-vcs/git/ChangeLog-2012 b/dev-vcs/git/ChangeLog-2012 |
333 |
new file mode 100644 |
334 |
index 0000000..0efb9f3 |
335 |
--- /dev/null |
336 |
+++ b/dev-vcs/git/ChangeLog-2012 |
337 |
@@ -0,0 +1,2705 @@ |
338 |
+# ChangeLog for dev-vcs/git |
339 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
340 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/ChangeLog-2012,v 1.1 2013/01/01 13:19:51 dilfridge Exp $ |
341 |
+ |
342 |
+*git-1.8.0.2 (11 Dec 2012) |
343 |
+ |
344 |
+ 11 Dec 2012; Robin H. Johnson <robbat2@g.o> +git-1.8.0.2.ebuild: |
345 |
+ Bump. |
346 |
+ |
347 |
+ 06 Dec 2012; Robin H. Johnson <robbat2@g.o> git-1.8.0-r1.ebuild, |
348 |
+ git-9999.ebuild: |
349 |
+ Bug #441740: Update doc build deps. |
350 |
+ |
351 |
+ 18 Nov 2012; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
352 |
+ Bug #439154: Copy latest ebuild back to 9999 revision. |
353 |
+ |
354 |
+ 09 Nov 2012; Fabian Groffen <grobian@g.o> git-1.8.0-r1.ebuild, |
355 |
+ git-9999.ebuild: |
356 |
+ Fix linking on Solaris, it needs libiconv |
357 |
+ |
358 |
+*git-1.8.0-r1 (02 Nov 2012) |
359 |
+ |
360 |
+ 02 Nov 2012; Robin H. Johnson <robbat2@g.o> +git-1.8.0-r1.ebuild: |
361 |
+ Update contrib extras, per bug #434098. |
362 |
+ |
363 |
+*git-1.8.0 (02 Nov 2012) |
364 |
+ |
365 |
+ 02 Nov 2012; Robin H. Johnson <robbat2@g.o> +git-1.8.0.ebuild: |
366 |
+ Bump. |
367 |
+ |
368 |
+ 31 Oct 2012; Mike Frysinger <vapier@g.o> metadata.xml: |
369 |
+ Add information on USE=curl. |
370 |
+ |
371 |
+*git-1.7.12.4 (18 Oct 2012) |
372 |
+ |
373 |
+ 18 Oct 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.12.4.ebuild: |
374 |
+ Bump. |
375 |
+ |
376 |
+*git-1.7.12.3-r1 (11 Oct 2012) |
377 |
+ |
378 |
+ 11 Oct 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.12.3-r1.ebuild: |
379 |
+ 1.7.12.3 was based off 1.7.12-r1 instead of 1.7.12-r2, revbump to get the |
380 |
+ other fixes again. |
381 |
+ |
382 |
+*git-1.7.12.3 (10 Oct 2012) |
383 |
+ |
384 |
+ 10 Oct 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.12.3.ebuild: |
385 |
+ Version bump per bug 437870. |
386 |
+ |
387 |
+ 24 Aug 2012; Robin H. Johnson <robbat2@g.o> |
388 |
+ -files/git-1.7.10.2-optional-cvs.patch, |
389 |
+ -files/git-1.7.11.1-optional-cvs.patch, -files/git-1.7.5-interix.patch, |
390 |
+ -files/git-1.7.6-interix.patch, |
391 |
+ -files/git-1.7.8-git-svn-1.7-canonical-path.patch, -git-1.7.10.2.ebuild, |
392 |
+ -git-1.7.10.ebuild, -git-1.7.11.1.ebuild, -git-1.7.9.1.ebuild, |
393 |
+ -git-1.7.9.2.ebuild, -git-1.7.9.3.ebuild, -git-1.7.9.4.ebuild, |
394 |
+ -git-1.7.9.7.ebuild, -git-1.7.9.ebuild, -git-1.7.9_rc2.ebuild: |
395 |
+ Trim versions that were always masked. |
396 |
+ |
397 |
+ 24 Aug 2012; Robin H. Johnson <robbat2@g.o> git-1.7.12-r2.ebuild, |
398 |
+ git-1.7.8.6.ebuild: |
399 |
+ Warn about the bash completion split: prompt is now in a seperate bashcomp |
400 |
+ file. |
401 |
+ |
402 |
+ 24 Aug 2012; Zac Medico <zmedico@g.o> git-1.7.10.2.ebuild, |
403 |
+ git-1.7.10.ebuild, git-1.7.11.1.ebuild, git-1.7.12-r1.ebuild, |
404 |
+ git-1.7.12-r2.ebuild, git-1.7.12.ebuild, git-1.7.9.1.ebuild, |
405 |
+ git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, git-1.7.9.4.ebuild, |
406 |
+ git-1.7.9.7.ebuild, git-1.7.9.ebuild, git-1.7.9_rc2.ebuild, git-9999.ebuild: |
407 |
+ Fix IUSE.missing for new highlight flag. |
408 |
+ |
409 |
+ 23 Aug 2012; Robin H. Johnson <robbat2@g.o> git-1.6.4.5.ebuild, |
410 |
+ git-1.7.10.2.ebuild, git-1.7.10.ebuild, git-1.7.11.1.ebuild, |
411 |
+ git-1.7.12-r1.ebuild, git-1.7.12-r2.ebuild, git-1.7.12.ebuild, |
412 |
+ git-1.7.2.5.ebuild, git-1.7.3.4-r1.ebuild, git-1.7.8.6.ebuild, |
413 |
+ git-1.7.9.1.ebuild, git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, |
414 |
+ git-1.7.9.4.ebuild, git-1.7.9.7.ebuild, git-1.7.9.ebuild, |
415 |
+ git-1.7.9_rc2.ebuild, git-9999.ebuild, metadata.xml: |
416 |
+ Bug #432388: Make app-text/highlight optional as has heavy dependencies and is |
417 |
+ disabled by default in gitweb. |
418 |
+ |
419 |
+*git-1.7.12-r2 (23 Aug 2012) |
420 |
+ |
421 |
+ 23 Aug 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.12-r2.ebuild, |
422 |
+ files/git-daemon.confd: |
423 |
+ Bug #373335: missing --base-path in conf.d/git. Bug #414437: OpenSSL is |
424 |
+ required for more parts of Git now. Bug #423605: OSX keychain helper. Bug |
425 |
+ #432328: Upstream has split the bash completion in two parts: git & git- |
426 |
+ prompt; the latter defines __git_ps1 for your nice prompt. |
427 |
+ |
428 |
+ 22 Aug 2012; Zac Medico <zmedico@g.o> git-1.7.12-r1.ebuild: |
429 |
+ Quick fix for USE=-perl. |
430 |
+ |
431 |
+ 22 Aug 2012; Robin H. Johnson <robbat2@g.o> git-1.7.12-r1.ebuild, |
432 |
+ git-1.7.12.ebuild, git-9999.ebuild: |
433 |
+ ~amd64-fbsd was not placed in all ebuilds. Also sync live ebuild. |
434 |
+ |
435 |
+*git-1.7.12-r1 (22 Aug 2012) |
436 |
+*git-1.7.12 (22 Aug 2012) |
437 |
+ |
438 |
+ 22 Aug 2012; Robin H. Johnson <robbat2@g.o> |
439 |
+ +files/git-1.7.12-git-svn-backport.patch, |
440 |
+ +files/git-1.7.12-optional-cvs.patch, +git-1.7.12-r1.ebuild, |
441 |
+ +git-1.7.12.ebuild: |
442 |
+ Finally, a Git that works with SVN 1.7, per bug #418431! 1.7.12-r1 contains |
443 |
+ backported ms/git-svn-1.7 branch that will be merged into Git 1.7.13. |
444 |
+ 1.7.12-r0 excludes that backport but is otherwise identical. Thanks to Michael |
445 |
+ Schwern for the development work! |
446 |
+ |
447 |
+ 19 Aug 2012; Raúl Porcel <armin76@g.o> git-1.7.8.6.ebuild: |
448 |
+ alpha/s390/sh/sparc stable wrt #418381 |
449 |
+ |
450 |
+ 27 Jul 2012; Fabian Groffen <grobian@g.o> git-1.7.8.6.ebuild, |
451 |
+ git-1.7.9.7.ebuild: |
452 |
+ Fix compilation on Solaris (libiconv), set perl path correctly for Prefix, |
453 |
+ drop applied/commented out interix patches |
454 |
+ |
455 |
+ 14 Jul 2012; Markus Meier <maekke@g.o> git-1.7.8.6.ebuild: |
456 |
+ arm stable, bug #418381 |
457 |
+ |
458 |
+ 10 Jul 2012; Brent Baude <ranger@g.o> git-1.7.8.6.ebuild: |
459 |
+ Marking git-1.7.8.6 ppc64 for bug 418381 |
460 |
+ |
461 |
+ 10 Jul 2012; Akinori Hattori <hattya@g.o> git-1.7.8.6.ebuild: |
462 |
+ ia64 stable wrt bug #418381 |
463 |
+ |
464 |
+ 08 Jul 2012; Michael Weber <xmw@g.o> git-1.7.8.6.ebuild: |
465 |
+ ppc stable (bug 418381) |
466 |
+ |
467 |
+*git-1.7.11.1 (07 Jul 2012) |
468 |
+ |
469 |
+ 07 Jul 2012; Robin H. Johnson <robbat2@g.o> |
470 |
+ +files/git-1.7.11.1-optional-cvs.patch, +git-1.7.11.1.ebuild: |
471 |
+ Version bump. Still suffers from bug #391707: git-svn failures. |
472 |
+ |
473 |
+ 03 Jul 2012; Jeroen Roovers <jer@g.o> git-1.7.8.6.ebuild: |
474 |
+ Stable for HPPA (bug #418381). |
475 |
+ |
476 |
+ 02 Jul 2012; Jeff Horelick <jdhore@g.o> git-1.7.8.6.ebuild: |
477 |
+ marked x86 per bug 418381 |
478 |
+ |
479 |
+ 27 Jun 2012; Agostino Sarubbo <ago@g.o> git-1.7.8.6.ebuild: |
480 |
+ Stable for amd64, wrt bug #418381 |
481 |
+ |
482 |
+ 26 Jun 2012; Jeremy Olexa <darkside@g.o> -git-1.7.3.5-r2.ebuild, |
483 |
+ -git-1.7.4.5.ebuild, -git-1.7.5.3.ebuild, -git-1.7.6.4.ebuild, |
484 |
+ -git-1.7.7.6.ebuild, -git-1.7.7.7.ebuild, -git-1.7.8.ebuild, |
485 |
+ -git-1.7.8.1.ebuild, -git-1.7.8.2.ebuild, -git-1.7.8.3.ebuild, |
486 |
+ -git-1.7.8.4.ebuild, -git-1.7.8.5.ebuild: |
487 |
+ Cleanup some unstable ebuilds |
488 |
+ |
489 |
+ 14 Jun 2012; Mike Frysinger <vapier@g.o> git-1.7.10.2.ebuild, |
490 |
+ git-1.7.10.ebuild, git-1.7.9.1.ebuild, git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, |
491 |
+ git-1.7.9.4.ebuild, git-1.7.9.7.ebuild, git-1.7.9.ebuild, git-9999.ebuild, |
492 |
+ metadata.xml: |
493 |
+ Put gpg dep behind a USE flag as this signing requirement only really matters |
494 |
+ to the client side when signing is in use. |
495 |
+ |
496 |
+ 14 Jun 2012; Mike Frysinger <vapier@g.o> git-1.7.9.1.ebuild, |
497 |
+ git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, git-1.7.9.4.ebuild, |
498 |
+ git-1.7.9.7.ebuild, git-1.7.9.ebuild, git-1.7.10.ebuild, |
499 |
+ git-1.7.10.2.ebuild, git-9999.ebuild: |
500 |
+ Add USE=nls support to control gettext requirement. |
501 |
+ |
502 |
+ 14 Jun 2012; Mike Frysinger <vapier@g.o> git-1.7.8.1.ebuild, |
503 |
+ git-1.7.8.2.ebuild, git-1.7.8.3.ebuild, git-1.7.8.4.ebuild, |
504 |
+ git-1.7.8.5.ebuild, git-1.7.8.6.ebuild, git-1.7.8.ebuild, git-1.7.9.1.ebuild, |
505 |
+ git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, git-1.7.9.4.ebuild, |
506 |
+ git-1.7.9.7.ebuild, git-1.7.9.ebuild, git-1.7.9_rc2.ebuild, |
507 |
+ git-1.7.10.ebuild, git-1.7.10.2.ebuild, git-9999.ebuild: |
508 |
+ Re-enable USE=-iconv support now that the bug originally disabling it was |
509 |
+ fixed in upstream, and make sure we default to USE=iconv so that |
510 |
+ unicode/etc... messages "just work" out of the box #355467 by Tom Lloyd. |
511 |
+ |
512 |
+*git-1.7.10.2 (20 May 2012) |
513 |
+ |
514 |
+ 20 May 2012; Robin H. Johnson <robbat2@g.o> |
515 |
+ +files/git-1.7.10.2-optional-cvs.patch, +files/git-1.7.11-optional-cvs.patch, |
516 |
+ +git-1.7.10.2.ebuild, git-9999.ebuild: |
517 |
+ Version bump, update optional CVS patch to apply on latest git HEAD and |
518 |
+ 1.7.10.2 release. Port libpcre changes to live ebuild. |
519 |
+ |
520 |
+ 09 May 2012; Alexis Ballier <aballier@g.o> git-1.7.8.6.ebuild: |
521 |
+ keyword ~amd64-fbsd |
522 |
+ |
523 |
+*git-1.7.9.7 (26 Apr 2012) |
524 |
+*git-1.7.7.7 (26 Apr 2012) |
525 |
+*git-1.7.8.6 (26 Apr 2012) |
526 |
+ |
527 |
+ 26 Apr 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.7.7.ebuild, |
528 |
+ +git-1.7.8.6.ebuild, +git-1.7.9.7.ebuild: |
529 |
+ Version bump. |
530 |
+ |
531 |
+ 23 Apr 2012; Mike Frysinger <vapier@g.o> git-1.7.10.ebuild, |
532 |
+ git-1.7.9.1.ebuild, git-1.7.9.2.ebuild, git-1.7.9.3.ebuild, |
533 |
+ git-1.7.9.4.ebuild, git-1.7.9.ebuild: |
534 |
+ Kill spurious backslash. |
535 |
+ |
536 |
+*git-1.7.10 (08 Apr 2012) |
537 |
+ |
538 |
+ 08 Apr 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.10.ebuild: |
539 |
+ Version bump. Still no keywords due to major git-svn breakage. |
540 |
+ |
541 |
+*git-1.7.9.4 (12 Mar 2012) |
542 |
+ |
543 |
+ 12 Mar 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.9.4.ebuild: |
544 |
+ Version bump. |
545 |
+ |
546 |
+*git-1.7.9.3 (06 Mar 2012) |
547 |
+ |
548 |
+ 06 Mar 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.9.3.ebuild: |
549 |
+ Version bump. SVN problem still not fixed by upstream. |
550 |
+ |
551 |
+*git-1.7.8.5 (28 Feb 2012) |
552 |
+ |
553 |
+ 28 Feb 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.8.5.ebuild: |
554 |
+ Version bump. |
555 |
+ |
556 |
+*git-1.7.9.2 (23 Feb 2012) |
557 |
+ |
558 |
+ 23 Feb 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.9.2.ebuild: |
559 |
+ Version bump. |
560 |
+ |
561 |
+*git-1.7.9.1 (15 Feb 2012) |
562 |
+ |
563 |
+ 15 Feb 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.9.1.ebuild: |
564 |
+ Version bump. |
565 |
+ |
566 |
+*git-1.7.9 (05 Feb 2012) |
567 |
+ |
568 |
+ 05 Feb 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.9.ebuild: |
569 |
+ Version bump. Please be careful of git-svn functionality with SVN 1.7 if your |
570 |
+ SVN repo URL, branch name or tag names contains characters that need URL |
571 |
+ escaping. |
572 |
+ |
573 |
+ 28 Jan 2012; Robin H. Johnson <robbat2@g.o> git-1.7.9_rc2.ebuild, |
574 |
+ git-9999.ebuild: |
575 |
+ Bug #384233: Fix the gitweb syntax highlighting implicit dependency on |
576 |
+ highlight. |
577 |
+ |
578 |
+ 20 Jan 2012; Robin H. Johnson <robbat2@g.o> -git-1.7.3.5-r1.ebuild, |
579 |
+ -git-1.7.3.5.ebuild, -git-1.7.4.1.ebuild, -git-1.7.4.4.ebuild, |
580 |
+ -git-1.7.4.ebuild, -git-1.7.5_rc1.ebuild, -git-1.7.5_rc3.ebuild, |
581 |
+ -git-1.7.6.1.ebuild, -git-1.7.6.ebuild, -git-1.7.7.1-r1.ebuild, |
582 |
+ -git-1.7.7.1.ebuild, -git-1.7.7.2.ebuild, -git-1.7.7.3.ebuild, |
583 |
+ -git-1.7.7.4.ebuild, -git-1.7.7.ebuild: |
584 |
+ Clean up some unstable ebuilds. |
585 |
+ |
586 |
+*git-1.7.7.6 (20 Jan 2012) |
587 |
+*git-1.7.8.4 (20 Jan 2012) |
588 |
+ |
589 |
+ 20 Jan 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.7.6.ebuild, |
590 |
+ +git-1.7.8.4.ebuild: |
591 |
+ Version bump. |
592 |
+ |
593 |
+*git-1.7.9_rc2 (20 Jan 2012) |
594 |
+ |
595 |
+ 20 Jan 2012; Robin H. Johnson <robbat2@g.o> |
596 |
+ +files/git-1.7.8-git-svn-1.7-canonical-path.patch, +git-1.7.9_rc2.ebuild, |
597 |
+ git-9999.ebuild: |
598 |
+ Version bump, keywords temporarily removed as git-svn has issues still. |
599 |
+ |
600 |
+ 13 Jan 2012; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
601 |
+ Propogate libpcre change to live ebuild. |
602 |
+ |
603 |
+*git-1.7.8.3 (07 Jan 2012) |
604 |
+ |
605 |
+ 07 Jan 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.8.3.ebuild: |
606 |
+ Version bump. |
607 |
+ |
608 |
+*git-1.7.8.2 (02 Jan 2012) |
609 |
+ |
610 |
+ 02 Jan 2012; Robin H. Johnson <robbat2@g.o> +git-1.7.8.2.ebuild: |
611 |
+ Version bump. |
612 |
+ |
613 |
+*git-1.7.8.1 (21 Dec 2011) |
614 |
+ |
615 |
+ 21 Dec 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.8.1.ebuild: |
616 |
+ Version bump. |
617 |
+ |
618 |
+*git-1.7.8 (03 Dec 2011) |
619 |
+ |
620 |
+ 03 Dec 2011; Robin H. Johnson <robbat2@g.o> -git-1.7.8_rc1.ebuild, |
621 |
+ -git-1.7.8_rc1-r1.ebuild, -git-1.7.8_rc3.ebuild, -git-1.7.8_rc4.ebuild, |
622 |
+ +git-1.7.8.ebuild: |
623 |
+ Version bump. |
624 |
+ |
625 |
+*git-1.7.8_rc4 (29 Nov 2011) |
626 |
+ |
627 |
+ 29 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.8_rc4.ebuild: |
628 |
+ Version bump. |
629 |
+ |
630 |
+ 22 Nov 2011; Pacho Ramos <pacho@g.o> metadata.xml: |
631 |
+ Drop maintainer due retirement, bug #195316 |
632 |
+ |
633 |
+*git-1.7.7.4 (18 Nov 2011) |
634 |
+ |
635 |
+ 18 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.7.4.ebuild: |
636 |
+ Version bump. |
637 |
+ |
638 |
+*git-1.7.8_rc3 (17 Nov 2011) |
639 |
+ |
640 |
+ 17 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.8_rc3.ebuild: |
641 |
+ Version bump. |
642 |
+ |
643 |
+*git-1.7.8_rc1-r1 (16 Nov 2011) |
644 |
+ |
645 |
+ 16 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.8_rc1-r1.ebuild: |
646 |
+ Bug #377883: build correctly with libpcre for git-grep -P. |
647 |
+ |
648 |
+*git-1.7.7.3 (09 Nov 2011) |
649 |
+ |
650 |
+ 09 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.7.3.ebuild: |
651 |
+ Version bump. |
652 |
+ |
653 |
+*git-1.7.8_rc1 (08 Nov 2011) |
654 |
+ |
655 |
+ 08 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.8_rc1.ebuild: |
656 |
+ Version bump. |
657 |
+ |
658 |
+*git-1.7.7.2 (02 Nov 2011) |
659 |
+ |
660 |
+ 02 Nov 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.7.2.ebuild: |
661 |
+ Version bump. |
662 |
+ |
663 |
+*git-1.7.7.1-r1 (24 Oct 2011) |
664 |
+ |
665 |
+ 24 Oct 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.7.1-r1.ebuild, |
666 |
+ git-9999.ebuild: |
667 |
+ EAPI=4 and bash-completion-r1 support now that python.eclass has EAPI4, now |
668 |
+ uses REQUIRED_USE instead of warning blocks. Patch by Tomas Chvatal |
669 |
+ <scarabeus@g.o>. |
670 |
+ |
671 |
+*git-1.7.7.1 (24 Oct 2011) |
672 |
+ |
673 |
+ 24 Oct 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.7.1.ebuild: |
674 |
+ Version bump. |
675 |
+ |
676 |
+ 03 Oct 2011; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
677 |
+ Update live ebuild to sync. |
678 |
+ |
679 |
+*git-1.7.7 (01 Oct 2011) |
680 |
+*git-1.7.6.4 (01 Oct 2011) |
681 |
+ |
682 |
+ 01 Oct 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.6.4.ebuild, |
683 |
+ +git-1.7.7.ebuild: |
684 |
+ Version bump. Was delayed by getting html/manpage tarballs on the alternative |
685 |
+ mirroring location. |
686 |
+ |
687 |
+*git-1.7.6.1 (25 Aug 2011) |
688 |
+ |
689 |
+ 25 Aug 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.6.1.ebuild: |
690 |
+ Version bump. |
691 |
+ |
692 |
+ 19 Aug 2011; Jeremy Olexa <darkside@g.o> git-1.7.2.5.ebuild, |
693 |
+ git-1.7.3.4-r1.ebuild, git-1.7.3.5.ebuild, git-1.7.3.5-r1.ebuild, |
694 |
+ git-1.7.3.5-r2.ebuild, git-1.7.4.ebuild, git-1.7.4.1.ebuild, |
695 |
+ git-1.7.4.4.ebuild, git-1.7.4.5.ebuild, git-1.7.5_rc1.ebuild, |
696 |
+ git-1.7.5_rc3.ebuild, git-1.7.5.3.ebuild, git-1.7.6.ebuild, git-9999.ebuild: |
697 |
+ Remove useless/redundant built_with_use check for subversion[perl] since the |
698 |
+ addition of USE-deps. Signed off by maintainer. Tangentially related to bug |
699 |
+ 250179 |
700 |
+ |
701 |
+ 13 Jul 2011; Markus Duft <mduft@g.o> git-1.7.6.ebuild, |
702 |
+ +files/git-1.7.6-interix.patch: |
703 |
+ re-added interix prefix specific patch, as some things didnt make it into the |
704 |
+ current release. |
705 |
+ |
706 |
+*git-1.7.6 (27 Jun 2011) |
707 |
+ |
708 |
+ 27 Jun 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.6.ebuild, |
709 |
+ git-9999.ebuild: |
710 |
+ Version bump. Bug #354439: instructions for bash completion. Bug #352693: |
711 |
+ revert env perl change from bug #326625. Bug #370579: One more test that |
712 |
+ requires FEATURES=userpriv. |
713 |
+ |
714 |
+ 30 May 2011; Markus Duft <mduft@g.o> git-1.7.5.3.ebuild, |
715 |
+ git-9999.ebuild, +files/git-1.7.5-interix.patch: |
716 |
+ add build fix for interix. |
717 |
+ |
718 |
+*git-1.7.5.2 (30 May 2011) |
719 |
+ |
720 |
+ 30 May 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.5.3.ebuild, |
721 |
+ git-9999.ebuild: |
722 |
+ Version bump. Sync keywords to -9999 ebuild. |
723 |
+ |
724 |
+ 03 May 2011; Fabian Groffen <grobian@g.o> git-1.7.5_rc3.ebuild: |
725 |
+ Marked ~x64-freebsd |
726 |
+ |
727 |
+*git-1.7.5_rc3 (27 Apr 2011) |
728 |
+*git-1.7.4.5 (27 Apr 2011) |
729 |
+ |
730 |
+ 27 Apr 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4.5.ebuild, |
731 |
+ +git-1.7.5_rc3.ebuild: |
732 |
+ Version bump. |
733 |
+ |
734 |
+ 20 Apr 2011; Tomáš Chvátal <scarabeus@g.o> git-9999.ebuild: |
735 |
+ Migrate to git-2 eclass. Update live/stable logic conditionals. |
736 |
+ |
737 |
+*git-1.7.5_rc1 (06 Apr 2011) |
738 |
+*git-1.7.4.4 (06 Apr 2011) |
739 |
+ |
740 |
+ 06 Apr 2011; Robin H. Johnson <robbat2@g.o> -git-1.7.4_rc1.ebuild, |
741 |
+ -git-1.7.4_rc1-r1.ebuild, -git-1.7.4_rc1-r2.ebuild, -git-1.7.4_rc2.ebuild, |
742 |
+ -git-1.7.4_rc3.ebuild, +git-1.7.4.4.ebuild, +git-1.7.5_rc1.ebuild: |
743 |
+ Clean up old 1.7.4_rc versions. Version bump to other new versions. |
744 |
+ |
745 |
+ 04 Apr 2011; Pacho Ramos <pacho@g.o> git-1.6.4.5.ebuild, |
746 |
+ git-1.7.2.5.ebuild, git-1.7.3.4-r1.ebuild, git-1.7.3.5.ebuild, |
747 |
+ git-1.7.3.5-r1.ebuild, git-1.7.3.5-r2.ebuild, git-1.7.4_rc1.ebuild, |
748 |
+ git-1.7.4_rc1-r1.ebuild, git-1.7.4_rc1-r2.ebuild, git-1.7.4_rc2.ebuild, |
749 |
+ git-1.7.4_rc3.ebuild, git-1.7.4.ebuild, git-1.7.4.1.ebuild, git-9999.ebuild: |
750 |
+ RDEPEND only in dev-python/pygtksourceview:2 as |
751 |
+ dev-python/gtksourceview-python will be dropped soon (bug #355049 with Robin |
752 |
+ Johnson authorization). |
753 |
+ |
754 |
+ 12 Feb 2011; Robin H. Johnson <robbat2@g.o> -git-1.6.4.4.ebuild, |
755 |
+ -git-1.6.4.4-r1.ebuild, -files/git-1.6.4.5-gitweb-cve-2010-3906.patch, |
756 |
+ -files/git-1.7.0-always-install-js.patch, |
757 |
+ -files/git-1.7.1-always-install-js.patch, |
758 |
+ -files/git-1.7.1-noiconv-segfault-fix.patch, -git-1.7.2.2.ebuild, |
759 |
+ -git-1.7.2.3.ebuild, -git-1.7.2.4.ebuild, -git-1.7.2.4-r1.ebuild, |
760 |
+ -git-1.7.3.2.ebuild, -git-1.7.3.2-r1.ebuild, -git-1.7.3.3.ebuild, |
761 |
+ -git-1.7.3.4.ebuild: |
762 |
+ Cleanup old files. |
763 |
+ |
764 |
+*git-1.7.4.1 (12 Feb 2011) |
765 |
+ |
766 |
+ 12 Feb 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4.1.ebuild: |
767 |
+ Version bump. |
768 |
+ |
769 |
+*git-1.7.4 (01 Feb 2011) |
770 |
+ |
771 |
+ 01 Feb 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4.ebuild: |
772 |
+ Version bump. |
773 |
+ |
774 |
+*git-1.7.4_rc3 (24 Jan 2011) |
775 |
+ |
776 |
+ 24 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4_rc3.ebuild: |
777 |
+ version bump |
778 |
+ |
779 |
+*git-1.7.4_rc2 (15 Jan 2011) |
780 |
+ |
781 |
+ 15 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4_rc2.ebuild, |
782 |
+ git-9999.ebuild: |
783 |
+ Version bump. |
784 |
+ |
785 |
+ 12 Jan 2011; Michael Haubenwallner <haubi@g.o> |
786 |
+ git-1.7.4_rc1-r2.ebuild: |
787 |
+ aix lacks FNMATCH_CASEFOLD |
788 |
+ |
789 |
+ 10 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
790 |
+ git-1.7.3.5-r2.ebuild, git-1.7.4_rc1-r2.ebuild, git-9999.ebuild: |
791 |
+ Call python_mod_optimize() and python_mod_cleanup() (bug #329479). |
792 |
+ |
793 |
+ 08 Jan 2011; Fabian Groffen <grobian@g.o> git-1.7.3.5-r2.ebuild, |
794 |
+ git-1.7.4_rc1-r2.ebuild, git-9999.ebuild: |
795 |
+ Fix for Prefix |
796 |
+ |
797 |
+ 08 Jan 2011; Robin H. Johnson <robbat2@g.o> git-1.7.3.4-r1.ebuild: |
798 |
+ Backport bug #350330 automagic CVS to stable ebuild. |
799 |
+ |
800 |
+ 08 Jan 2011; Robin H. Johnson <robbat2@g.o> git-1.7.3.5-r2.ebuild, |
801 |
+ -git-1.7.3.5-r2.ebuild.orig, git-1.7.4_rc1-r2.ebuild, git-9999.ebuild: |
802 |
+ Fix missing argument in call to python_convert_shebangs, and drop accidently |
803 |
+ added .orig file. |
804 |
+ |
805 |
+ 07 Jan 2011; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
806 |
+ Also import python improvements to 9999 ebuild. |
807 |
+ |
808 |
+*git-1.7.4_rc1-r2 (07 Jan 2011) |
809 |
+*git-1.7.3.5-r2 (07 Jan 2011) |
810 |
+ |
811 |
+ 07 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.3.5-r2.ebuild, |
812 |
+ +git-1.7.3.5-r2.ebuild.orig, +git-1.7.4_rc1-r2.ebuild: |
813 |
+ Bug #329479: improve python usage to new python eclass. Does not support |
814 |
+ multiple active versions of python easily. |
815 |
+ |
816 |
+ 07 Jan 2011; Robin H. Johnson <robbat2@g.o> git-1.7.4_rc1-r1.ebuild, |
817 |
+ git-9999.ebuild: |
818 |
+ Port bug #350330 fixes to newer ebuilds. |
819 |
+ |
820 |
+ 07 Jan 2011; Markos Chandras <hwoarang@g.o> git-1.6.4.5.ebuild, |
821 |
+ git-1.7.2.5.ebuild, git-1.7.3.4-r1.ebuild: |
822 |
+ Stable on amd64 wrt bug #349045 |
823 |
+ |
824 |
+ 07 Jan 2011; Robin H. Johnson <robbat2@g.o> git-1.7.3.5-r1.ebuild, |
825 |
+ +files/git-1.7.3.5-optional-cvs.patch: |
826 |
+ Bug #350330: Avoid automagic CVS. |
827 |
+ |
828 |
+ 07 Jan 2011; Fabian Groffen <grobian@g.o> git-1.7.3.5-r1.ebuild, |
829 |
+ git-1.7.4_rc1-r1.ebuild, git-9999.ebuild: |
830 |
+ Fix gitweb removal for Prefix |
831 |
+ |
832 |
+*git-1.7.4_rc1-r1 (07 Jan 2011) |
833 |
+ |
834 |
+ 07 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4_rc1-r1.ebuild, |
835 |
+ git-9999.ebuild: |
836 |
+ Port the 1.7.3.5-r1 Prefix USE=python code to newer ebuilds since Prefix team |
837 |
+ has tested. |
838 |
+ |
839 |
+*git-1.7.3.5-r1 (06 Jan 2011) |
840 |
+ |
841 |
+ 06 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.3.5-r1.ebuild: |
842 |
+ Bug #320647 redux: Full ability to disable Python usage for Prefix (needed to |
843 |
+ work around circular dependency loop). |
844 |
+ |
845 |
+*git-1.7.4_rc1 (06 Jan 2011) |
846 |
+ |
847 |
+ 06 Jan 2011; Robin H. Johnson <robbat2@g.o> +git-1.7.4_rc1.ebuild: |
848 |
+ Version bump for new major release. |
849 |
+ |
850 |
+*git-1.7.3.5 (06 Jan 2011) |
851 |
+ |
852 |
+ 06 Jan 2011; Robin H. Johnson <robbat2@g.o> git-1.7.3.4-r1.ebuild, |
853 |
+ +git-1.7.3.5.ebuild: |
854 |
+ Version bump. Also backport minor improvement to testsuite running to get |
855 |
+ cleaner repeat results. |
856 |
+ |
857 |
+ 01 Jan 2011; Raúl Porcel <armin76@g.o> git-1.6.4.5.ebuild, |
858 |
+ git-1.7.2.5.ebuild, git-1.7.3.4-r1.ebuild: |
859 |
+ alpha/arm/ia64/s390/sh/sparc stable wrt #349045 |
860 |
+ |
861 |
+ 31 Dec 2010; Christian Faulhammer <fauli@g.o> |
862 |
+ git-1.7.3.4-r1.ebuild: |
863 |
+ stable x86, security bug 349045 |
864 |
+ |
865 |
+ 29 Dec 2010; Robin H. Johnson <robbat2@g.o> git-1.7.3.4-r1.ebuild, |
866 |
+ +files/git-1.7.3.4-fix-perl-test-prereq.patch: |
867 |
+ Bug #350075: t/t9001: fix missing prereq on some tests. |
868 |
+ |
869 |
+ 27 Dec 2010; Brent Baude <ranger@g.o> git-1.6.4.5.ebuild, |
870 |
+ git-1.7.2.5.ebuild, git-1.7.3.4-r1.ebuild: |
871 |
+ marking -1.6.4.5 -1.7.2.5 -1.7.3.4-r1 ppc64 stable for bug 349045 |
872 |
+ |
873 |
+ 26 Dec 2010; Robin H. Johnson <robbat2@g.o> git-1.7.3.2.ebuild, |
874 |
+ git-1.7.3.2-r1.ebuild, git-1.7.3.3.ebuild, git-1.7.3.4.ebuild, |
875 |
+ git-1.7.3.4-r1.ebuild, +files/git-1.7.3.4-avoid-shell-issues.patch: |
876 |
+ Bug #349083: Fix a false positive in the Git testsuite, triggered when the |
877 |
+ portage user had a shell of /bin/false. |
878 |
+ |
879 |
+ 25 Dec 2010; Robin H. Johnson <robbat2@g.o> git-1.7.2.5.ebuild, |
880 |
+ git-1.7.3.4-r1.ebuild: |
881 |
+ Minor fail with displaying aggregate-results to fix. |
882 |
+ |
883 |
+ 25 Dec 2010; Robin H. Johnson <robbat2@g.o> git-1.7.2.5.ebuild, |
884 |
+ git-1.7.3.4-r1.ebuild: |
885 |
+ Improve output phase of src_test block for new stables. |
886 |
+ |
887 |
+ 23 Dec 2010; Jeroen Roovers <jer@g.o> git-1.7.3.4-r1.ebuild: |
888 |
+ Stable for HPPA PPC (bug #349045). |
889 |
+ |
890 |
+ 23 Dec 2010; Jeroen Roovers <jer@g.o> git-1.6.4.5.ebuild, |
891 |
+ git-1.7.2.5.ebuild: |
892 |
+ Stable for PPC (bug #349045). |
893 |
+ |
894 |
+ 22 Dec 2010; Jeroen Roovers <jer@g.o> git-1.7.2.5.ebuild: |
895 |
+ Stable for HPPA (bug #349045). |
896 |
+ |
897 |
+ 22 Dec 2010; Jeroen Roovers <jer@g.o> git-1.6.4.5.ebuild: |
898 |
+ Stable for HPPA (bug #349045). |
899 |
+ |
900 |
+ 20 Dec 2010; Tobias Klausmann <klausman@g.o> git-1.7.3.4-r1.ebuild: |
901 |
+ Stable on alpha, bug #349045 |
902 |
+ |
903 |
+ 20 Dec 2010; Tobias Klausmann <klausman@g.o> git-1.7.2.5.ebuild: |
904 |
+ Stable on alpha, bug #349045 |
905 |
+ |
906 |
+ 20 Dec 2010; Tobias Klausmann <klausman@g.o> git-1.6.4.5.ebuild: |
907 |
+ Stable on alpha, bug #349045 |
908 |
+ |
909 |
+ 20 Dec 2010; Robin H. Johnson <robbat2@g.o> git-1.6.4.4.ebuild, |
910 |
+ git-1.6.4.4-r1.ebuild, git-1.6.4.5.ebuild, git-1.7.2.2.ebuild, |
911 |
+ git-1.7.2.3.ebuild, git-1.7.2.4.ebuild, git-1.7.2.4-r1.ebuild, |
912 |
+ git-1.7.2.5.ebuild, git-1.7.3.2.ebuild: |
913 |
+ Backport the doman cosmetic fix to ALL ebuilds since I got yet another bug |
914 |
+ about it. |
915 |
+ |
916 |
+ 19 Dec 2010; Pawel Hajdan jr <phajdan.jr@g.o> git-1.6.4.5.ebuild, |
917 |
+ git-1.7.2.5.ebuild: |
918 |
+ x86 stable wrt security bug #349045 |
919 |
+ |
920 |
+*git-1.7.3.4-r1 (19 Dec 2010) |
921 |
+ |
922 |
+ 19 Dec 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.3.4-r1.ebuild: |
923 |
+ Bug #339278: Do not install gitweb with USE=-cgi. Bug #320647: Python path |
924 |
+ for G/FreeBSD. Bug #326625: Perl path with local::lib. Bug #333405: no color |
925 |
+ for test output to make log parsing easier. |
926 |
+ |
927 |
+*git-1.7.2.5 (19 Dec 2010) |
928 |
+*git-1.6.4.5 (19 Dec 2010) |
929 |
+ |
930 |
+ 19 Dec 2010; Robin H. Johnson <robbat2@g.o> +git-1.6.4.5.ebuild, |
931 |
+ +git-1.7.2.5.ebuild: |
932 |
+ Version bump to official releases with gitweb XSS fixes, rather than our |
933 |
+ revbumps with the patch. |
934 |
+ |
935 |
+*git-1.7.3.4 (16 Dec 2010) |
936 |
+*git-1.7.2.4-r1 (16 Dec 2010) |
937 |
+*git-1.6.4.4-r1 (16 Dec 2010) |
938 |
+ |
939 |
+ 16 Dec 2010; Robin H. Johnson <robbat2@g.o> +git-1.6.4.4-r1.ebuild, |
940 |
+ +files/git-1.6.4.5-gitweb-cve-2010-3906.patch, +git-1.7.2.4-r1.ebuild, |
941 |
+ +git-1.7.3.4.ebuild: |
942 |
+ Version bump. Contains fix for CVE-2010-3906: gitweb XSS. |
943 |
+ |
944 |
+*git-1.7.3.3 (07 Dec 2010) |
945 |
+*git-1.7.2.4 (07 Dec 2010) |
946 |
+ |
947 |
+ 07 Dec 2010; Robin H. Johnson <robbat2@g.o> -git-1.7.0.ebuild, |
948 |
+ -git-1.7.1-r1.ebuild, -git-1.7.1.1.ebuild, -git-1.7.2.ebuild, |
949 |
+ -git-1.7.2-r2.ebuild, +git-1.7.2.4.ebuild, -git-1.7.3.ebuild, |
950 |
+ -git-1.7.3.1.ebuild, +git-1.7.3.3.ebuild: |
951 |
+ Version bump and cleanup. |
952 |
+ |
953 |
+ 11 Nov 2010; Sebastian Pipping <sping@g.o> git-1.7.3.2-r1.ebuild: |
954 |
+ Merge changes to 9999 back into latest release ebuild. |
955 |
+ |
956 |
+ 11 Nov 2010; Sebastian Pipping <sping@g.o> git-9999.ebuild: |
957 |
+ Make live ebuild depend on asciidoc and xmlto independent of flag "doc" |
958 |
+ (bug #343063) |
959 |
+ |
960 |
+ 09 Nov 2010; Robin H. Johnson <robbat2@g.o> git-1.7.2.3.ebuild, |
961 |
+ git-1.7.3.ebuild, git-1.7.3.1.ebuild, git-1.7.3.2.ebuild, |
962 |
+ git-1.7.3.2-r1.ebuild: |
963 |
+ Fix useless extra KEYWORDS. |
964 |
+ |
965 |
+ 29 Oct 2010; Mark Loeser <halcy0n@g.o> git-9999.ebuild: |
966 |
+ Remove ~ppc and ~ppc64 |
967 |
+ |
968 |
+ 27 Oct 2010; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
969 |
+ Bump live build. |
970 |
+ |
971 |
+ 27 Oct 2010; Robin H. Johnson <robbat2@g.o> git-1.7.3.2-r1.ebuild: |
972 |
+ Bug #342845: fix contrib install and doman warning. |
973 |
+ |
974 |
+*git-1.7.3.2-r1 (26 Oct 2010) |
975 |
+ |
976 |
+ 26 Oct 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.3.2-r1.ebuild: |
977 |
+ revbump with installing more of new contrib. |
978 |
+ |
979 |
+ 22 Oct 2010; Daniel Pielmeier <billie@g.o> |
980 |
+ +files/git-1.6.6.1-interix6.patch, +files/git-1.7.1-interix.patch: |
981 |
+ Interix patches are still needed for some older versions. |
982 |
+ |
983 |
+*git-1.7.3.2 (22 Oct 2010) |
984 |
+ |
985 |
+ 22 Oct 2010; Markus Duft <mduft@g.o> git-1.7.3.2.ebuild, |
986 |
+ +files/git-1.7.3.2-interix.patch, |
987 |
+ -files/git-1.6.6.1-interix6.patch, |
988 |
+ -files/git-1.7.1-interix.patch: |
989 |
+ removed obsolete patches, added a new one instead. the new patch matches |
990 |
+ more the spirit of upstream, and has been submitted there. |
991 |
+ |
992 |
+ 22 Oct 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.3.2.ebuild: |
993 |
+ Version bump. |
994 |
+ |
995 |
+*git-1.7.3.1 (30 Sep 2010) |
996 |
+ |
997 |
+ 30 Sep 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.3.1.ebuild: |
998 |
+ Version bump. |
999 |
+ |
1000 |
+*git-1.7.3 (19 Sep 2010) |
1001 |
+ |
1002 |
+ 19 Sep 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.3.ebuild: |
1003 |
+ Version bump. |
1004 |
+ |
1005 |
+*git-1.7.2.3 (13 Sep 2010) |
1006 |
+ |
1007 |
+ 13 Sep 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.2.3.ebuild: |
1008 |
+ Bug #337104: verbump. |
1009 |
+ |
1010 |
+ 11 Sep 2010; Raúl Porcel <armin76@g.o> git-1.7.2.2.ebuild: |
1011 |
+ arm/ia64/s390/sh/sparc stable wrt #335891 |
1012 |
+ |
1013 |
+ 10 Sep 2010; Jeroen Roovers <jer@g.o> git-1.7.2.2.ebuild: |
1014 |
+ Stable for HPPA (bug #335891). |
1015 |
+ |
1016 |
+ 10 Sep 2010; Tobias Klausmann <klausman@g.o> git-1.7.2.2.ebuild: |
1017 |
+ Stable on alpha, bug #335891 |
1018 |
+ |
1019 |
+ 07 Sep 2010; Jeroen Roovers <jer@g.o> git-1.7.2.2.ebuild: |
1020 |
+ Stable for PPC (bug #335891). |
1021 |
+ |
1022 |
+ 06 Sep 2010; Brent Baude <ranger@g.o> git-1.7.2.2.ebuild: |
1023 |
+ Marking git-1.7.2.2 ppc64 for bug 335891 |
1024 |
+ |
1025 |
+ 06 Sep 2010; Markos Chandras <hwoarang@g.o> git-1.7.2.2.ebuild: |
1026 |
+ Stable on amd64 wrt bug #335891 |
1027 |
+ |
1028 |
+ 06 Sep 2010; Pawel Hajdan jr <phajdan.jr@g.o> git-1.7.2.2.ebuild: |
1029 |
+ x86 stable wrt security bug #335891 |
1030 |
+ |
1031 |
+ 03 Sep 2010; Christian Faulhammer <fauli@g.o> git-1.7.2.2.ebuild: |
1032 |
+ add ~x86-freebsd |
1033 |
+ |
1034 |
+ 29 Aug 2010; Sven Wegener <swegener@g.o> git-1.7.2.ebuild, |
1035 |
+ git-1.7.2-r2.ebuild, git-1.7.2.2.ebuild: |
1036 |
+ Install static gitweb files into correct location. |
1037 |
+ |
1038 |
+*git-1.7.2.2 (23 Aug 2010) |
1039 |
+ |
1040 |
+ 23 Aug 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.2.2.ebuild: |
1041 |
+ Version bump. |
1042 |
+ |
1043 |
+ 16 Aug 2010; Robin H. Johnson <robbat2@g.o> git-1.6.4.4.ebuild, |
1044 |
+ git-1.7.0.ebuild, git-1.7.1-r1.ebuild, git-1.7.1.1.ebuild, |
1045 |
+ git-1.7.2.ebuild, git-1.7.2-r2.ebuild, git-9999.ebuild: |
1046 |
+ Bug #332935: In newer EAPIs, perl-module brings in dev-lang/perl as well, |
1047 |
+ which we do not always want. |
1048 |
+ |
1049 |
+*git-1.7.2-r2 (09 Aug 2010) |
1050 |
+ |
1051 |
+ 09 Aug 2010; Fabian Groffen <grobian@g.o> -git-1.7.2-r1.ebuild, |
1052 |
+ +git-1.7.2-r2.ebuild: |
1053 |
+ Change SHELL_PATH from bash to sh to resolve problems with git's shell |
1054 |
+ scripts for some people, bug #331031 |
1055 |
+ |
1056 |
+ 31 Jul 2010; Fabian Groffen <grobian@g.o> git-1.7.2-r1.ebuild: |
1057 |
+ Fix compilation with USE=-iconv on non-glibc platforms since disabling of |
1058 |
+ iconv is still ignored due to bugs mentioned in the ebuild |
1059 |
+ |
1060 |
+ 30 Jul 2010; Robin H. Johnson <robbat2@g.o> -git-1.6.3.1.ebuild, |
1061 |
+ -git-1.6.3.3.ebuild, -git-1.6.3.4.ebuild, -git-1.6.4.ebuild, |
1062 |
+ -git-1.6.4.1.ebuild, -git-1.6.4.2.ebuild, -git-1.6.4.3.ebuild, |
1063 |
+ -git-1.6.5_rc1.ebuild, -git-1.6.5_rc2.ebuild, -git-1.6.5.ebuild, |
1064 |
+ -git-1.6.5.1.ebuild, -git-1.6.5.1-r1.ebuild, -git-1.6.5.2.ebuild, |
1065 |
+ -git-1.6.5.3.ebuild, -git-1.6.5.4.ebuild, -git-1.6.5.5.ebuild, |
1066 |
+ -git-1.6.5.6.ebuild, -git-1.6.5.7.ebuild, -git-1.6.5.8.ebuild, |
1067 |
+ -git-1.6.6_rc3.ebuild, -git-1.6.6_rc4.ebuild, -git-1.6.6.ebuild, |
1068 |
+ -git-1.6.6-r1.ebuild, -git-1.6.6-r2.ebuild, -git-1.6.6.1.ebuild, |
1069 |
+ -git-1.6.6.2.ebuild, -files/git-1.6.6-always-install-js.patch, |
1070 |
+ -git-1.7.0.3.ebuild, -git-1.7.0.4.ebuild: |
1071 |
+ Cleanup old versions. |
1072 |
+ |
1073 |
+*git-1.7.2-r1 (22 Jul 2010) |
1074 |
+ |
1075 |
+ 22 Jul 2010; Jeremy Olexa <darkside@g.o> |
1076 |
+ +files/git-1.6.6.1-interix6.patch, +files/git-1.7.1-interix.patch, |
1077 |
+ +git-1.7.2-r1.ebuild: |
1078 |
+ Migrate changes from Gentoo Prefix overlay. Convert to EAPI3, add patches, |
1079 |
+ modify paths, etc. Approved by maintainer, reference bug 329273. Revbump |
1080 |
+ per request but no substantial changes for the end user |
1081 |
+ |
1082 |
+*git-1.7.2 (22 Jul 2010) |
1083 |
+ |
1084 |
+ 22 Jul 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.2.ebuild, |
1085 |
+ +files/git-1.7.2-always-install-js.patch: |
1086 |
+ Version bump. |
1087 |
+ |
1088 |
+ 18 Jul 2010; Raúl Porcel <armin76@g.o> git-1.7.1-r1.ebuild: |
1089 |
+ alpha/arm/ia64/s390/sh/sparc stable wrt #321899 |
1090 |
+ |
1091 |
+ 18 Jul 2010; <nixnut@g.o> git-1.7.0.ebuild: |
1092 |
+ ppc stable #321899 |
1093 |
+ |
1094 |
+*git-1.7.1.1 (30 Jun 2010) |
1095 |
+ |
1096 |
+ 30 Jun 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.1.1.ebuild: |
1097 |
+ Version bump. |
1098 |
+ |
1099 |
+ 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
1100 |
+ git-1.6.3.1.ebuild, git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, |
1101 |
+ git-1.6.4.ebuild, git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, |
1102 |
+ git-1.6.4.3.ebuild, git-1.6.4.4.ebuild, git-1.6.5_rc1.ebuild, |
1103 |
+ git-1.6.5_rc2.ebuild, git-1.6.5.ebuild, git-1.6.5.1.ebuild, |
1104 |
+ git-1.6.5.1-r1.ebuild, git-1.6.5.2.ebuild, git-1.6.5.3.ebuild, |
1105 |
+ git-1.6.5.4.ebuild, git-1.6.5.5.ebuild, git-1.6.5.6.ebuild, |
1106 |
+ git-1.6.5.7.ebuild, git-1.6.5.8.ebuild, git-1.6.6_rc3.ebuild, |
1107 |
+ git-1.6.6_rc4.ebuild, git-1.6.6.ebuild, git-1.6.6-r1.ebuild, |
1108 |
+ git-1.6.6-r2.ebuild, git-1.6.6.1.ebuild, git-1.6.6.2.ebuild, |
1109 |
+ git-1.7.0.ebuild, git-1.7.0.3.ebuild, git-1.7.0.4.ebuild, |
1110 |
+ git-1.7.1-r1.ebuild, git-9999.ebuild, metadata.xml: |
1111 |
+ dev-util/subversion renamed to dev-vcs/subversion. |
1112 |
+ |
1113 |
+ 22 Jun 2010; Jeroen Roovers <jer@g.o> git-1.7.1-r1.ebuild: |
1114 |
+ Stable for HPPA (bug #321899). |
1115 |
+ |
1116 |
+ 19 Jun 2010; Jonathan Callen <abcd@g.o> git-1.6.3.1.ebuild, |
1117 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1118 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1119 |
+ git-1.6.4.4.ebuild, git-1.6.5_rc1.ebuild, git-1.6.5_rc2.ebuild, |
1120 |
+ git-1.6.5.ebuild, git-1.6.5.1.ebuild, git-1.6.5.1-r1.ebuild, |
1121 |
+ git-1.6.5.2.ebuild, git-1.6.5.3.ebuild, git-1.6.5.4.ebuild, |
1122 |
+ git-1.6.5.5.ebuild, git-1.6.5.6.ebuild, git-1.6.5.7.ebuild, |
1123 |
+ git-1.6.5.8.ebuild, git-1.6.6_rc3.ebuild, git-1.6.6_rc4.ebuild, |
1124 |
+ git-1.6.6.ebuild, git-1.6.6-r1.ebuild, git-1.6.6-r2.ebuild, |
1125 |
+ git-1.6.6.1.ebuild, git-1.6.6.2.ebuild, git-1.7.0.ebuild, |
1126 |
+ git-1.7.0.3.ebuild, git-1.7.0.4.ebuild, git-1.7.1-r1.ebuild, |
1127 |
+ git-9999.ebuild: |
1128 |
+ Moving dev-util/cvs* to dev-vcs/cvs* |
1129 |
+ |
1130 |
+ 14 Jun 2010; Christoph Mende <angelos@g.o> git-1.7.1-r1.ebuild: |
1131 |
+ Stable on amd64 wrt bug #321899 |
1132 |
+ |
1133 |
+ 05 Jun 2010; Pawel Hajdan jr <phajdan.jr@g.o> git-1.7.1-r1.ebuild: |
1134 |
+ x86 stable wrt bug #321899 |
1135 |
+ |
1136 |
+ 31 May 2010; Robin H. Johnson <robbat2@g.o> git-1.7.1-r1.ebuild: |
1137 |
+ Bug #322205: The iconv patch added for -r1 just stopped the segfaults, the |
1138 |
+ testsuite still fails, so forcing USE=iconv for now. |
1139 |
+ |
1140 |
+ 28 May 2010; Robin H. Johnson <robbat2@g.o> -git-1.7.1.ebuild: |
1141 |
+ Remove broken 1.7.1. |
1142 |
+ |
1143 |
+*git-1.7.1-r1 (28 May 2010) |
1144 |
+ |
1145 |
+ 28 May 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.1-r1.ebuild, |
1146 |
+ +files/git-1.7.1-noiconv-segfault-fix.patch: |
1147 |
+ Bug #321895: patch from upstream to avoid segfault with USE=-iconv. |
1148 |
+ |
1149 |
+*git-1.7.1 (01 May 2010) |
1150 |
+ |
1151 |
+ 01 May 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.1.ebuild, |
1152 |
+ +files/git-1.7.1-always-install-js.patch: |
1153 |
+ Bug #317953: Version bump. |
1154 |
+ |
1155 |
+*git-1.7.0.4 (01 Apr 2010) |
1156 |
+ |
1157 |
+ 01 Apr 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.0.4.ebuild: |
1158 |
+ Version bump. |
1159 |
+ |
1160 |
+ 31 Mar 2010; Robin H. Johnson <robbat2@g.o> git-1.6.5.1-r1.ebuild, |
1161 |
+ git-1.6.5.2.ebuild, git-1.6.5.3.ebuild, git-1.6.5.4.ebuild, |
1162 |
+ git-1.6.5.5.ebuild, git-1.6.5.6.ebuild, git-1.6.5.7.ebuild, |
1163 |
+ git-1.6.5.8.ebuild, git-1.6.6_rc3.ebuild, git-1.6.6_rc4.ebuild, |
1164 |
+ git-1.6.6.ebuild, git-1.6.6-r1.ebuild, git-1.6.6-r2.ebuild, |
1165 |
+ git-1.6.6.1.ebuild, git-1.6.6.2.ebuild, git-1.7.0.ebuild, |
1166 |
+ git-1.7.0.3.ebuild: |
1167 |
+ Forward-port ~ppc64 keyword to other ebuilds since it came back in bug |
1168 |
+ #290163. |
1169 |
+ |
1170 |
+ 24 Mar 2010; Robin H. Johnson <robbat2@g.o> git-1.6.3.1.ebuild, |
1171 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1172 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1173 |
+ git-1.6.4.4.ebuild, git-1.6.5_rc1.ebuild, git-1.6.5_rc2.ebuild, |
1174 |
+ git-1.6.5.ebuild, git-1.6.5.1.ebuild, git-1.6.5.1-r1.ebuild, |
1175 |
+ git-1.6.5.2.ebuild, git-1.6.5.3.ebuild, git-1.6.5.4.ebuild, |
1176 |
+ git-1.6.5.5.ebuild, git-1.6.5.6.ebuild, git-1.6.5.7.ebuild, |
1177 |
+ git-1.6.5.8.ebuild, git-1.6.6_rc3.ebuild, git-1.6.6_rc4.ebuild, |
1178 |
+ git-1.6.6.ebuild, git-1.6.6-r1.ebuild, git-1.6.6-r2.ebuild, |
1179 |
+ git-1.6.6.1.ebuild, git-1.6.6.2.ebuild, git-1.7.0.ebuild, |
1180 |
+ git-1.7.0.3.ebuild, git-9999.ebuild: |
1181 |
+ Bug #296628: Expand list of tests disabled when CVS is not available. |
1182 |
+ |
1183 |
+*git-1.7.0.3 (24 Mar 2010) |
1184 |
+ |
1185 |
+ 24 Mar 2010; Robin H. Johnson <robbat2@g.o> -git-1.7.0.2.ebuild, |
1186 |
+ +git-1.7.0.3.ebuild: |
1187 |
+ Bug #310967: 1.7.0.2 has a segfault bug in git-daemon, remove and replace |
1188 |
+ with 1.7.0.3 |
1189 |
+ |
1190 |
+ 17 Mar 2010; Sebastian Pipping <sping@g.o> +files/50git-gentoo.el, |
1191 |
+ +git-1.6.3.1.ebuild, +git-1.6.3.3.ebuild, +git-1.6.3.4.ebuild, |
1192 |
+ +git-1.6.4.ebuild, +git-1.6.4.1.ebuild, +git-1.6.4.2.ebuild, |
1193 |
+ +git-1.6.4.3.ebuild, +git-1.6.4.4.ebuild, +git-1.6.5_rc1.ebuild, |
1194 |
+ +git-1.6.5_rc2.ebuild, +git-1.6.5.ebuild, +git-1.6.5.1.ebuild, |
1195 |
+ +git-1.6.5.1-r1.ebuild, +git-1.6.5.2.ebuild, +git-1.6.5.3.ebuild, |
1196 |
+ +git-1.6.5.4.ebuild, +git-1.6.5.5.ebuild, +git-1.6.5.6.ebuild, |
1197 |
+ +git-1.6.5.7.ebuild, +git-1.6.5.8.ebuild, +git-1.6.6_rc3.ebuild, |
1198 |
+ +git-1.6.6_rc4.ebuild, +git-1.6.6.ebuild, +git-1.6.6-r1.ebuild, |
1199 |
+ +git-1.6.6-r2.ebuild, +git-1.6.6.1.ebuild, +git-1.6.6.2.ebuild, |
1200 |
+ +files/git-1.6.6-always-install-js.patch, +git-1.7.0.ebuild, |
1201 |
+ +git-1.7.0.2.ebuild, +files/git-1.7.0-always-install-js.patch, |
1202 |
+ +git-9999.ebuild, +files/git-daemon.confd, +files/git-daemon.initd, |
1203 |
+ +files/git-daemon.xinetd, +metadata.xml: |
1204 |
+ New package (copied from dev-util/git) |
1205 |
+ |
1206 |
+*git-1.7.0.2 (07 Mar 2010) |
1207 |
+ |
1208 |
+ 07 Mar 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.0.2.ebuild: |
1209 |
+ version bump. |
1210 |
+ |
1211 |
+ 28 Feb 2010; Sebastian Pipping <sping@g.o> git-9999.ebuild: |
1212 |
+ Sync live ebuild with latest (bug #305157) |
1213 |
+ |
1214 |
+*git-1.7.0 (13 Feb 2010) |
1215 |
+ |
1216 |
+ 13 Feb 2010; Robin H. Johnson <robbat2@g.o> +git-1.7.0.ebuild, |
1217 |
+ +files/git-1.7.0-always-install-js.patch: |
1218 |
+ Version bump. |
1219 |
+ |
1220 |
+*git-1.6.6.2 (13 Feb 2010) |
1221 |
+ |
1222 |
+ 13 Feb 2010; Robin H. Johnson <robbat2@g.o> +git-1.6.6.2.ebuild: |
1223 |
+ Version bump. |
1224 |
+ |
1225 |
+*git-1.6.6.1 (21 Jan 2010) |
1226 |
+*git-1.6.5.8 (21 Jan 2010) |
1227 |
+ |
1228 |
+ 21 Jan 2010; Robin H. Johnson <robbat2@g.o> +git-1.6.5.8.ebuild, |
1229 |
+ +git-1.6.6.1.ebuild: |
1230 |
+ Version bump. |
1231 |
+ |
1232 |
+ 02 Jan 2010; Brent Baude <ranger@g.o> git-1.6.5.1-r1.ebuild: |
1233 |
+ Marking git-1.6.5.1-r1 ~ppc64 for bug 290163 |
1234 |
+ |
1235 |
+*git-1.6.6-r2 (26 Dec 2009) |
1236 |
+ |
1237 |
+ 26 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.6-r2.ebuild, |
1238 |
+ git-9999.ebuild: |
1239 |
+ Bug #298390: All the Subversion ebuilds now offer perl, so we can USE-dep |
1240 |
+ on it. |
1241 |
+ |
1242 |
+*git-1.6.6-r1 (26 Dec 2009) |
1243 |
+ |
1244 |
+ 26 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.6-r1.ebuild, |
1245 |
+ +files/git-1.6.6-always-install-js.patch, git-9999.ebuild: |
1246 |
+ Bug #298277: Fixup JS install for Gitweb. Also port all recent fixes to |
1247 |
+ the live ebuild. |
1248 |
+ |
1249 |
+*git-1.6.6 (24 Dec 2009) |
1250 |
+ |
1251 |
+ 24 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.6.ebuild: |
1252 |
+ Version bump. |
1253 |
+ |
1254 |
+*git-1.6.6_rc4 (21 Dec 2009) |
1255 |
+ |
1256 |
+ 21 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.6_rc4.ebuild: |
1257 |
+ Version bump. |
1258 |
+ |
1259 |
+*git-1.6.6_rc3 (17 Dec 2009) |
1260 |
+ |
1261 |
+ 17 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.6_rc3.ebuild: |
1262 |
+ Version bump for the upstream rc. |
1263 |
+ |
1264 |
+*git-1.6.5.7 (17 Dec 2009) |
1265 |
+ |
1266 |
+ 17 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.7.ebuild: |
1267 |
+ Version bump and fix bug #296310 for Perl 5.10 users. |
1268 |
+ |
1269 |
+*git-1.6.5.6 (11 Dec 2009) |
1270 |
+ |
1271 |
+ 11 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.6.ebuild: |
1272 |
+ version bump |
1273 |
+ |
1274 |
+*git-1.6.5.5 (06 Dec 2009) |
1275 |
+ |
1276 |
+ 06 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.5.ebuild: |
1277 |
+ Version bump. |
1278 |
+ |
1279 |
+*git-1.6.5.4 (03 Dec 2009) |
1280 |
+ |
1281 |
+ 03 Dec 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.4.ebuild: |
1282 |
+ Version bump. |
1283 |
+ |
1284 |
+ 18 Nov 2009; Raúl Porcel <armin76@g.o> git-1.6.5.1-r1.ebuild, |
1285 |
+ git-1.6.5.2.ebuild, git-1.6.5.3.ebuild: |
1286 |
+ Add ~alpha/~ia64 wrt #290163 |
1287 |
+ |
1288 |
+ 17 Nov 2009; Robin H. Johnson <robbat2@g.o> git-1.6.5.3.ebuild: |
1289 |
+ Bug #290163: rekeyword for arm. Tested on mv78100. |
1290 |
+ |
1291 |
+ 17 Nov 2009; Robin H. Johnson <robbat2@g.o> git-1.6.5.3.ebuild: |
1292 |
+ Bug #290465: uclibc needs an additional define to select a codepath that |
1293 |
+ it will compile against. |
1294 |
+ |
1295 |
+ 17 Nov 2009; Robin H. Johnson <robbat2@g.o> git-1.6.5.3.ebuild: |
1296 |
+ Bug #290131: cpio is only needed for building git-gui now, and nothing |
1297 |
+ else at runtime. |
1298 |
+ |
1299 |
+*git-1.6.5.3 (17 Nov 2009) |
1300 |
+ |
1301 |
+ 17 Nov 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.3.ebuild: |
1302 |
+ Version bump. Testcases updated to run a working subset with |
1303 |
+ FEATURES=-userpriv per bug #292865. |
1304 |
+ |
1305 |
+ 16 Nov 2009; Jeremy Olexa <darkside@g.o> git-1.6.3.1.ebuild, |
1306 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1307 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1308 |
+ git-1.6.4.4.ebuild, git-1.6.5_rc1.ebuild, git-1.6.5_rc2.ebuild, |
1309 |
+ git-1.6.5.ebuild, git-1.6.5.1.ebuild, git-1.6.5.1-r1.ebuild, |
1310 |
+ git-1.6.5.2.ebuild, git-9999.ebuild: |
1311 |
+ Since app-misc/git was removed from the tree, remove that invalid atom |
1312 |
+ from the CDEPEND variable in dev-util/git ebuilds |
1313 |
+ |
1314 |
+*git-1.6.5.2 (30 Oct 2009) |
1315 |
+ |
1316 |
+ 30 Oct 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.2.ebuild: |
1317 |
+ Bug #291107: version bump. |
1318 |
+ |
1319 |
+ 23 Oct 2009; Robin H. Johnson <robbat2@g.o> git-1.6.5_rc2.ebuild, |
1320 |
+ git-1.6.5.ebuild, git-1.6.5.1.ebuild, git-1.6.5.1-r1.ebuild, |
1321 |
+ git-9999.ebuild: |
1322 |
+ USE-default on doc was unpopular, and got even more so with USE=doc now |
1323 |
+ bringing in dependencies. Turn off the default. |
1324 |
+ |
1325 |
+*git-1.6.5.1-r1 (22 Oct 2009) |
1326 |
+ |
1327 |
+ 22 Oct 2009; Sebastian Pipping <sping@g.o> +git-1.6.5.1-r1.ebuild, |
1328 |
+ git-9999.ebuild: |
1329 |
+ Build and install info pages (bug 287112), add dependency on texinfo, drop |
1330 |
+ keywords: alpha arm ia64 ppc64 |
1331 |
+ |
1332 |
+ 22 Oct 2009; Tobias Klausmann <klausman@g.o> git-1.6.4.4.ebuild: |
1333 |
+ Added two more test sets to the black list for UID-0 testing |
1334 |
+ |
1335 |
+*git-1.6.5.1 (18 Oct 2009) |
1336 |
+ |
1337 |
+ 18 Oct 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.1.ebuild: |
1338 |
+ Version bump |
1339 |
+ |
1340 |
+ 12 Oct 2009; Raúl Porcel <armin76@g.o> git-1.6.4.4.ebuild: |
1341 |
+ ia64/s390/sh/sparc stable wrt #287031 |
1342 |
+ |
1343 |
+*git-1.6.5 (11 Oct 2009) |
1344 |
+ |
1345 |
+ 11 Oct 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5.ebuild, |
1346 |
+ git-9999.ebuild: |
1347 |
+ Version bump. Bug #287101: fix manpage formatting. Bug #287104: build |
1348 |
+ manpages as needed. |
1349 |
+ |
1350 |
+ 11 Oct 2009; Tobias Klausmann <klausman@g.o> git-1.6.4.4.ebuild: |
1351 |
+ Stable on alpha, bug #287031 |
1352 |
+ |
1353 |
+ 09 Oct 2009; Markus Meier <maekke@g.o> git-1.6.4.4.ebuild: |
1354 |
+ arm/x86 stable, bug #287031 |
1355 |
+ |
1356 |
+ 09 Oct 2009; Markus Meier <maekke@g.o> git-1.6.3.1.ebuild, |
1357 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1358 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1359 |
+ git-1.6.4.4.ebuild, git-1.6.5_rc1.ebuild, git-1.6.5_rc2.ebuild, |
1360 |
+ git-9999.ebuild: |
1361 |
+ fix dev-util/cvs detection in src_test due to built_with_use change for |
1362 |
+ non-existant package |
1363 |
+ |
1364 |
+ 02 Oct 2009; Joseph Jezak <josejx@g.o> git-1.6.4.4.ebuild: |
1365 |
+ Marked ppc/ppc64 stable for bug #287031. |
1366 |
+ |
1367 |
+ 01 Oct 2009; Jeroen Roovers <jer@g.o> git-1.6.4.4.ebuild: |
1368 |
+ Stable for HPPA (bug #287031). |
1369 |
+ |
1370 |
+ 30 Sep 2009; Dawid Węgliński <cla@g.o> git-1.6.4.4.ebuild: |
1371 |
+ Stable on amd64 (bu #287031) |
1372 |
+ |
1373 |
+ 30 Sep 2009; Robin H. Johnson <robbat2@g.o> git-1.6.5_rc2.ebuild: |
1374 |
+ No git-svn by default. |
1375 |
+ |
1376 |
+*git-1.6.5_rc2 (29 Sep 2009) |
1377 |
+ |
1378 |
+ 29 Sep 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5_rc2.ebuild, |
1379 |
+ git-9999.ebuild, metadata.xml: |
1380 |
+ Version bump again. Also handle bug #285238 to use the new SHA1 |
1381 |
+ implementation by default (and add other IUSE defaults too). |
1382 |
+ |
1383 |
+*git-1.6.4.4 (18 Sep 2009) |
1384 |
+ |
1385 |
+ 18 Sep 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.4.4.ebuild: |
1386 |
+ Bug #285418: Version bump |
1387 |
+ |
1388 |
+ 16 Sep 2009; Robin H. Johnson <robbat2@g.o> git-1.6.3.1.ebuild, |
1389 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1390 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1391 |
+ git-1.6.5_rc1.ebuild, git-9999.ebuild: |
1392 |
+ Bug #283732: Perl module should be installed to vendor_perl instead of |
1393 |
+ site_perl. |
1394 |
+ |
1395 |
+ 16 Sep 2009; Robin H. Johnson <robbat2@g.o> git-1.6.3.1.ebuild, |
1396 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1397 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1398 |
+ git-1.6.5_rc1.ebuild: |
1399 |
+ Bug #278738: Do not use FEATURES. |
1400 |
+ |
1401 |
+ 16 Sep 2009; Robin H. Johnson <robbat2@g.o> git-1.6.3.1.ebuild, |
1402 |
+ git-1.6.3.3.ebuild, git-1.6.3.4.ebuild, git-1.6.4.ebuild, |
1403 |
+ git-1.6.4.1.ebuild, git-1.6.4.2.ebuild, git-1.6.4.3.ebuild, |
1404 |
+ git-1.6.5_rc1.ebuild, git-9999.ebuild: |
1405 |
+ Bug #267853: Update deps for gtksourceviewer with newer GNOME. |
1406 |
+ |
1407 |
+*git-1.6.5_rc1 (13 Sep 2009) |
1408 |
+ |
1409 |
+ 13 Sep 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.5_rc1.ebuild: |
1410 |
+ Version bump |
1411 |
+ |
1412 |
+*git-1.6.4.3 (13 Sep 2009) |
1413 |
+ |
1414 |
+ 13 Sep 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.4.3.ebuild: |
1415 |
+ Version bump |
1416 |
+ |
1417 |
+*git-1.6.4.2 (30 Aug 2009) |
1418 |
+ |
1419 |
+ 30 Aug 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.4.2.ebuild: |
1420 |
+ Version bump. |
1421 |
+ |
1422 |
+*git-1.6.4.1 (27 Aug 2009) |
1423 |
+ |
1424 |
+ 27 Aug 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.4.1.ebuild: |
1425 |
+ Bug #282667: version bump. |
1426 |
+ |
1427 |
+ 30 Jul 2009; Robin H. Johnson <robbat2@g.o> |
1428 |
+ -files/20080626-git-1.5.6.1-noperl.patch, |
1429 |
+ -files/20081123-git-1.6.0.4-noperl-cvsserver.patch, -git-1.6.0.6.ebuild, |
1430 |
+ -git-1.6.1.ebuild, -git-1.6.1.1.ebuild, |
1431 |
+ -files/20090126-git-1.6.1.1-noperl.patch, -git-1.6.1.2.ebuild, |
1432 |
+ -git-1.6.1.3.ebuild, -git-1.6.2.ebuild, -git-1.6.2.2.ebuild, |
1433 |
+ -git-1.6.2.2-r1.ebuild, -git-1.6.2.3.ebuild, -git-1.6.2.5.ebuild, |
1434 |
+ -git-1.6.2.5-r1.ebuild, -files/20090505-git-1.6.2.5-getopt-fixes.patch, |
1435 |
+ -files/20090305-git-1.6.2-noperl.patch, -git-1.6.3.ebuild, |
1436 |
+ -files/vim-ftdetect-gitcommit.vim: |
1437 |
+ Trim old version. |
1438 |
+ |
1439 |
+*git-1.6.4 (29 Jul 2009) |
1440 |
+*git-1.6.3.4 (29 Jul 2009) |
1441 |
+ |
1442 |
+ 29 Jul 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.3.4.ebuild, |
1443 |
+ +git-1.6.4.ebuild: |
1444 |
+ New upstream releases. |
1445 |
+ |
1446 |
+ 30 Jun 2009; Raúl Porcel <armin76@g.o> git-1.6.3.3.ebuild: |
1447 |
+ arm/ia64/s390/sh/sparc stable wrt #273905 |
1448 |
+ |
1449 |
+ 27 Jun 2009; Brent Baude <ranger@g.o> git-1.6.3.3.ebuild: |
1450 |
+ Marking git-1.6.3.3 ppc64 and ppc for bug 273905 |
1451 |
+ |
1452 |
+ 27 Jun 2009; Christian Faulhammer <fauli@g.o> git-1.6.3.3.ebuild: |
1453 |
+ stable x86, security bug 273905 |
1454 |
+ |
1455 |
+ 26 Jun 2009; Tobias Heinlein <keytoaster@g.o> git-1.6.3.3.ebuild: |
1456 |
+ amd64 stable, security bug ##273905 |
1457 |
+ |
1458 |
+ 26 Jun 2009; Tobias Klausmann <klausman@g.o> git-1.6.3.3.ebuild: |
1459 |
+ Stable on alpha, bug #273905 |
1460 |
+ |
1461 |
+ 24 Jun 2009; Jeroen Roovers <jer@g.o> git-1.6.3.3.ebuild: |
1462 |
+ Stable for HPPA (bug #273905). |
1463 |
+ |
1464 |
+*git-1.6.3.3 (22 Jun 2009) |
1465 |
+ |
1466 |
+ 22 Jun 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.3.3.ebuild: |
1467 |
+ Version bump per bugs 274608 and 273905, has DoS fixes for gid-daemon. |
1468 |
+ |
1469 |
+*git-1.6.3.1 (18 May 2009) |
1470 |
+ |
1471 |
+ 18 May 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.3.1.ebuild: |
1472 |
+ Version bump. |
1473 |
+ |
1474 |
+ 10 May 2009; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
1475 |
+ getopt fixes in HEAD. |
1476 |
+ |
1477 |
+ 08 May 2009; Robin H. Johnson <robbat2@g.o> +files/50git-gentoo.el: |
1478 |
+ Accidently removed a used file. |
1479 |
+ |
1480 |
+ 08 May 2009; Robin H. Johnson <robbat2@g.o> -git-1.5.1.6.ebuild, |
1481 |
+ -git-1.5.3.7-r1.ebuild, -git-1.5.3.8.ebuild, |
1482 |
+ -files/git-1.5.3.8-t9101.patch, -files/git-1.5.3.8-t9106.patch, |
1483 |
+ -files/20080322-git-1.5.4.4-noperl.patch, -git-1.5.5.4.ebuild, |
1484 |
+ -files/70git-gentoo.el, -files/git-1.5.0-symlinks.patch, |
1485 |
+ -git-1.5.4.5.ebuild, -files/20080423-git-1.5.5.1-noperl.patch, |
1486 |
+ -git-1.5.5.3.ebuild, -git-1.5.5.3-r1.ebuild, |
1487 |
+ -files/20080528-git-1.5.5.3-noperl.patch, -git-1.5.6.1.ebuild, |
1488 |
+ -files/50git-gentoo.el, -git-1.5.6.2.ebuild, -files/72git-gentoo.el, |
1489 |
+ -files/git-1.5.3-symlinks.patch, -git-1.5.6.3.ebuild, -git-1.5.6.4.ebuild, |
1490 |
+ -git-1.5.6.5.ebuild, -git-1.6.0.ebuild, -git-1.6.0.1.ebuild, |
1491 |
+ -git-1.6.0.2.ebuild, -git-1.6.0.3.ebuild, -git-1.6.0.4.ebuild, |
1492 |
+ -git-1.6.0.4-r1.ebuild, -git-1.6.0.4-r2.ebuild, -git-1.6.3_rc4.ebuild: |
1493 |
+ Cleanup old ebuilds and files. |
1494 |
+ |
1495 |
+*git-1.6.3 (08 May 2009) |
1496 |
+ |
1497 |
+ 08 May 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.3.ebuild: |
1498 |
+ Version bump. |
1499 |
+ |
1500 |
+*git-1.6.2.5-r1 (08 May 2009) |
1501 |
+ |
1502 |
+ 08 May 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.2.5-r1.ebuild: |
1503 |
+ Bug 268817: Accidently dropped the noperl patch, it's only merged in |
1504 |
+ upstreams 1.6.3.x series. |
1505 |
+ |
1506 |
+ 05 May 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.5.ebuild, |
1507 |
+ git-1.6.3_rc4.ebuild, git-9999.ebuild: |
1508 |
+ Fix bug #267853: dev-python/gtksourceview-python needed for gitview. |
1509 |
+ Update git-9999 for getopt fixes. |
1510 |
+ |
1511 |
+ 05 May 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.5.ebuild, |
1512 |
+ git-1.6.3_rc4.ebuild: |
1513 |
+ Backport a fix from the live ebuild. |
1514 |
+ |
1515 |
+ 05 May 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.5.ebuild, |
1516 |
+ +files/20090505-git-1.6.2.5-getopt-fixes.patch, git-1.6.3_rc4.ebuild: |
1517 |
+ Fix Getopt::Long usage bug, patch submitted to upstream as well. |
1518 |
+ |
1519 |
+*git-1.6.2.5 (05 May 2009) |
1520 |
+ |
1521 |
+ 05 May 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.2.5.ebuild: |
1522 |
+ Version bump. |
1523 |
+ |
1524 |
+*git-1.6.3_rc4 (05 May 2009) |
1525 |
+ |
1526 |
+ 05 May 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.3_rc4.ebuild: |
1527 |
+ Version bump to release candidate for 1.6.3. In package.mask for the |
1528 |
+ moment. |
1529 |
+ |
1530 |
+*git-1.6.2.3 (13 Apr 2009) |
1531 |
+ |
1532 |
+ 13 Apr 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.2.3.ebuild: |
1533 |
+ Version bump. |
1534 |
+ |
1535 |
+ 13 Apr 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.2-r1.ebuild, |
1536 |
+ git-9999.ebuild: |
1537 |
+ Bug #221179, do not install perl .packlist. |
1538 |
+ |
1539 |
+ 12 Apr 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.2-r1.ebuild, |
1540 |
+ git-9999.ebuild: |
1541 |
+ Manpages were missed in live ebuild. |
1542 |
+ |
1543 |
+ 05 Apr 2009; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
1544 |
+ Upstream is mergign the noperl patch now. |
1545 |
+ |
1546 |
+ 05 Apr 2009; Robin H. Johnson <robbat2@g.o> git-9999.ebuild: |
1547 |
+ Forgot a bit. |
1548 |
+ |
1549 |
+ 05 Apr 2009; Robin H. Johnson <robbat2@g.o> git-1.6.2.2-r1.ebuild: |
1550 |
+ Refix bug #237210, missed a part. |
1551 |
+ |
1552 |
+*git-9999 (03 Apr 2009) |
1553 |
+*git-1.6.2.2-r1 (03 Apr 2009) |
1554 |
+ |
1555 |
+ 03 Apr 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.2.2-r1.ebuild, |
1556 |
+ +git-9999.ebuild: |
1557 |
+ Bug #238023 - add an scm-capable ebuild for Git, use it to tidy up the |
1558 |
+ ebuild a bit too. Based on the work by Sebastian Pipping |
1559 |
+ <webmaster@××××××××.org>. |
1560 |
+ |
1561 |
+*git-1.6.2.2 (03 Apr 2009) |
1562 |
+ |
1563 |
+ 03 Apr 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.2.2.ebuild: |
1564 |
+ Version bump, also fixes bug #237210 for Emacs users. |
1565 |
+ |
1566 |
+ 03 Apr 2009; Robin H. Johnson <robbat2@g.o> |
1567 |
+ files/20090305-git-1.6.2-noperl.patch: |
1568 |
+ Fix testsuite functionality with USE=-perl, the add-interactive test uses |
1569 |
+ perl and was not excluded. |
1570 |
+ |
1571 |
+ 23 Mar 2009; Robin H. Johnson <robbat2@g.o> metadata.xml: |
1572 |
+ Update metadata, ricmm is joining as a maintainer. |
1573 |
+ |
1574 |
+ 21 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> |
1575 |
+ metadata.xml: |
1576 |
+ Removing ferdy as a maintainer since he was retired. |
1577 |
+ |
1578 |
+ 06 Mar 2009; Christian Faulhammer <fauli@g.o> git-1.6.2.ebuild: |
1579 |
+ fix HOMEPAGE |
1580 |
+ |
1581 |
+*git-1.6.2 (06 Mar 2009) |
1582 |
+ |
1583 |
+ 06 Mar 2009; Robin H. Johnson <robbat2@g.o> |
1584 |
+ +files/20090305-git-1.6.2-noperl.patch, +git-1.6.2.ebuild: |
1585 |
+ Version bump per bug #261241. Also fix bugs #256964, #238586. EAPI2 now in |
1586 |
+ use. |
1587 |
+ |
1588 |
+*git-1.6.1.3 (11 Feb 2009) |
1589 |
+ |
1590 |
+ 11 Feb 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.1.3.ebuild: |
1591 |
+ Version bump. |
1592 |
+ |
1593 |
+*git-1.6.1.2 (02 Feb 2009) |
1594 |
+ |
1595 |
+ 02 Feb 2009; Greg Kroah-Hartman <gregkh@g.o> +git-1.6.1.2.ebuild: |
1596 |
+ version bump to 1.6.1.2 to fix pack-objects problem in 1.6.1.1 |
1597 |
+ |
1598 |
+*git-1.6.1.1 (26 Jan 2009) |
1599 |
+ |
1600 |
+ 26 Jan 2009; Robin H. Johnson <robbat2@g.o> |
1601 |
+ +files/20090126-git-1.6.1.1-noperl.patch, +git-1.6.1.1.ebuild: |
1602 |
+ Version bump. Also bug #254029 - fix noperl patch. |
1603 |
+ |
1604 |
+ 08 Jan 2009; Brent Baude <ranger@g.o> git-1.6.0.6.ebuild: |
1605 |
+ Marking git-1.6.0.6 ppc64 for bug 251343 |
1606 |
+ |
1607 |
+*git-1.6.1 (06 Jan 2009) |
1608 |
+ |
1609 |
+ 06 Jan 2009; Robin H. Johnson <robbat2@g.o> +git-1.6.1.ebuild: |
1610 |
+ Version bump, bug 250321. |
1611 |
+ |
1612 |
+ 01 Jan 2009; Raúl Porcel <armin76@g.o> git-1.6.0.6.ebuild: |
1613 |
+ s390/sh stable wrt #251343 |
1614 |
+ |
1615 |
+ 29 Dec 2008; Tobias Scherbaum <dertobi123@g.o> git-1.6.0.6.ebuild: |
1616 |
+ ppc stable, bug #251343 |
1617 |
+ |
1618 |
+ 25 Dec 2008; Jeroen Roovers <jer@g.o> git-1.6.0.6.ebuild: |
1619 |
+ Stable for HPPA (bug #251343). |
1620 |
+ |
1621 |
+ 23 Dec 2008; Raúl Porcel <armin76@g.o> git-1.6.0.6.ebuild: |
1622 |
+ alpha/arm/ia64 stable wrt #251343 |
1623 |
+ |
1624 |
+ 23 Dec 2008; Robin H. Johnson <robbat2@g.o> git-1.6.0.6.ebuild: |
1625 |
+ Factor out the long emake invocation so that we can consistently call it |
1626 |
+ and avoid triggering a rebuild during install or test. |
1627 |
+ |
1628 |
+ 23 Dec 2008; Markus Meier <maekke@g.o> git-1.6.0.6.ebuild: |
1629 |
+ amd64/x86 stable, bug #251343 |
1630 |
+ |
1631 |
+ 23 Dec 2008; Ferris McCormick <fmccor@g.o> git-1.6.0.6.ebuild: |
1632 |
+ Sparc stable --- Security Bug #251343 --- all tests expected to pass do pass. |
1633 |
+ |
1634 |
+*git-1.6.0.6 (23 Dec 2008) |
1635 |
+ |
1636 |
+ 23 Dec 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.6.ebuild: |
1637 |
+ Version bump. |
1638 |
+ |
1639 |
+ 27 Nov 2008; Robin H. Johnson <robbat2@g.o> files/git-daemon.initd: |
1640 |
+ Refix bug #238351 so that it works under baselayout1 and baselayout2. |
1641 |
+ |
1642 |
+*git-1.6.0.4-r2 (24 Nov 2008) |
1643 |
+ |
1644 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> files/git-daemon.initd, |
1645 |
+ +git-1.6.0.4-r2.ebuild: |
1646 |
+ Fix dumb typo, revbump to ensure any users that got the typo also get the |
1647 |
+ fix. |
1648 |
+ |
1649 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> metadata.xml: |
1650 |
+ Document what USE=gtk does for Git. |
1651 |
+ |
1652 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> git-1.6.0.4-r1.ebuild: |
1653 |
+ Bug #240280, fix to use CFLAGS/LDFLAGS better. |
1654 |
+ |
1655 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> git-1.5.4.5.ebuild, |
1656 |
+ git-1.5.5.3.ebuild, git-1.5.5.3-r1.ebuild, git-1.5.5.4.ebuild, |
1657 |
+ git-1.5.6.1.ebuild, git-1.5.6.2.ebuild, git-1.5.6.3.ebuild, |
1658 |
+ git-1.5.6.4.ebuild, git-1.5.6.5.ebuild, git-1.6.0.ebuild, |
1659 |
+ git-1.6.0.1.ebuild, git-1.6.0.2.ebuild, git-1.6.0.3.ebuild, |
1660 |
+ git-1.6.0.4.ebuild, git-1.6.0.4-r1.ebuild: |
1661 |
+ Even better fixup for bug #238129. |
1662 |
+ |
1663 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> git-1.6.0.4-r1.ebuild: |
1664 |
+ Bug #238586, issue a warning for dev-util/subversion[dso]. |
1665 |
+ |
1666 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> git-1.5.4.5.ebuild, |
1667 |
+ git-1.5.5.3.ebuild, git-1.5.5.3-r1.ebuild, git-1.5.5.4.ebuild, |
1668 |
+ git-1.5.6.1.ebuild, git-1.5.6.2.ebuild, git-1.5.6.3.ebuild, |
1669 |
+ git-1.5.6.4.ebuild, git-1.5.6.5.ebuild, git-1.6.0.ebuild, |
1670 |
+ git-1.6.0.1.ebuild, git-1.6.0.2.ebuild, git-1.6.0.3.ebuild, |
1671 |
+ git-1.6.0.4.ebuild, git-1.6.0.4-r1.ebuild: |
1672 |
+ Bug #238129, the default behavior of built_with_use changed at some point. |
1673 |
+ We do not want to die, but just to print a warning. |
1674 |
+ |
1675 |
+*git-1.6.0.4-r1 (24 Nov 2008) |
1676 |
+ |
1677 |
+ 24 Nov 2008; Robin H. Johnson <robbat2@g.o> +files/50git-gentoo.el, |
1678 |
+ +files/20081123-git-1.6.0.4-noperl-cvsserver.patch, |
1679 |
+ files/git-daemon.confd, files/git-daemon.initd, +git-1.6.0.4-r1.ebuild: |
1680 |
+ Fix bug #235393 for Emacs users. Fix bug #238351 for running the |
1681 |
+ standalone init.d more safely as non-root and include the pidfile. Bug |
1682 |
+ #247487, cvsserver now needs the Perl stuff. Bug #248446, fix htmldir |
1683 |
+ support. |
1684 |
+ |
1685 |
+*git-1.6.0.4 (18 Nov 2008) |
1686 |
+ |
1687 |
+ 18 Nov 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.4.ebuild: |
1688 |
+ Bug #246244, version bump. |
1689 |
+ |
1690 |
+*git-1.6.0.3 (29 Oct 2008) |
1691 |
+ |
1692 |
+ 29 Oct 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.3.ebuild: |
1693 |
+ Version bump. |
1694 |
+ |
1695 |
+*git-1.6.0.2 (21 Sep 2008) |
1696 |
+ |
1697 |
+ 21 Sep 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.2.ebuild: |
1698 |
+ Version bump. |
1699 |
+ |
1700 |
+ 16 Sep 2008; Jeroen Roovers <jer@g.o> git-1.5.6.4.ebuild: |
1701 |
+ Stable for HPPA (bug #234075). |
1702 |
+ |
1703 |
+ 16 Sep 2008; Robin H. Johnson <robbat2@g.o> files/git-daemon.initd, |
1704 |
+ files/git-daemon.xinetd: |
1705 |
+ Git 1.6 requires that daemon been an argument not part of the name. |
1706 |
+ |
1707 |
+*git-1.6.0.1 (30 Aug 2008) |
1708 |
+ |
1709 |
+ 30 Aug 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.1.ebuild: |
1710 |
+ Version bump, only bugfixes. |
1711 |
+ |
1712 |
+ 25 Aug 2008; Ulrich Mueller <ulm@g.o> -files/71git-gentoo.el, |
1713 |
+ files/72git-gentoo.el: |
1714 |
+ Add comment in Emacs site-init file wrt bug 235393. Remove unused file. |
1715 |
+ |
1716 |
+ 27 Aug 2008; Robin H. Johnson <robbat2@g.o> git-1.5.6.4.ebuild, |
1717 |
+ git-1.5.6.5.ebuild, git-1.6.0.ebuild: |
1718 |
+ Remove references to dev-util/tla is latest stable and ~arch versions, per |
1719 |
+ bug #235681 |
1720 |
+ |
1721 |
+*git-1.6.0 (24 Aug 2008) |
1722 |
+ |
1723 |
+ 24 Aug 2008; Robin H. Johnson <robbat2@g.o> +git-1.6.0.ebuild: |
1724 |
+ Major version bump. Fixes bugs 219839, 225601 for userpriv during testing, |
1725 |
+ working subversion-1.5 support per bug 224185 and skips installing git-svn |
1726 |
+ when USE=-subversion per bug 233550. |
1727 |
+ |
1728 |
+*git-1.5.6.5 (16 Aug 2008) |
1729 |
+ |
1730 |
+ 16 Aug 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.6.5.ebuild: |
1731 |
+ Version bump. |
1732 |
+ |
1733 |
+ 16 Aug 2008; Robin H. Johnson <robbat2@g.o> metadata.xml: |
1734 |
+ Make repoman happy. |
1735 |
+ |
1736 |
+ 08 Aug 2008; Tobias Scherbaum <dertobi123@g.o> git-1.5.6.4.ebuild: |
1737 |
+ ppc stable, bug #234075 |
1738 |
+ |
1739 |
+ 08 Aug 2008; Raúl Porcel <armin76@g.o> git-1.5.6.4.ebuild: |
1740 |
+ alpha/ia64 stable wrt #234075 |
1741 |
+ |
1742 |
+ 07 Aug 2008; Markus Meier <maekke@g.o> git-1.5.6.4.ebuild: |
1743 |
+ x86 stable, bug #234075 |
1744 |
+ |
1745 |
+ 07 Aug 2008; Markus Rothe <corsair@g.o> git-1.5.6.4.ebuild: |
1746 |
+ Stable on ppc64; bug #234075 |
1747 |
+ |
1748 |
+ 07 Aug 2008; Thomas Anderson <gentoofan23@g.o> git-1.5.6.4.ebuild: |
1749 |
+ stable amd64, bug #234075 |
1750 |
+ |
1751 |
+ 06 Aug 2008; Ferris McCormick <fmccor@g.o> git-1.5.6.4.ebuild: |
1752 |
+ Sparc stable, security bug #234075 (good for about a week anyway). |
1753 |
+ |
1754 |
+*git-1.5.6.4 (28 Jul 2008) |
1755 |
+ |
1756 |
+ 28 Jul 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.6.4.ebuild: |
1757 |
+ Version bump. |
1758 |
+ |
1759 |
+*git-1.5.6.3 (17 Jul 2008) |
1760 |
+ |
1761 |
+ 17 Jul 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.6.3.ebuild: |
1762 |
+ Bug #232068, version bump. |
1763 |
+ |
1764 |
+*git-1.5.6.2 (10 Jul 2008) |
1765 |
+ |
1766 |
+ 10 Jul 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.6.2.ebuild: |
1767 |
+ Version bump per bug #231380. |
1768 |
+ |
1769 |
+*git-1.5.6.1 (26 Jun 2008) |
1770 |
+ |
1771 |
+ 26 Jun 2008; Robin H. Johnson <robbat2@g.o> |
1772 |
+ +files/20080626-git-1.5.6.1-noperl.patch, +git-1.5.6.1.ebuild: |
1773 |
+ Version bump. |
1774 |
+ |
1775 |
+ 24 Jun 2008; Robin H. Johnson <robbat2@g.o> git-1.5.5.4.ebuild: |
1776 |
+ Fix bug thanks to compnerd. |
1777 |
+ |
1778 |
+ 11 Jun 2008; nixnut <nixnut@g.o> git-1.5.4.5.ebuild: |
1779 |
+ Stable on ppc wrt bug 225231 |
1780 |
+ |
1781 |
+ 11 Jun 2008; Kenneth Prugh <ken69267@g.o> git-1.5.4.5.ebuild: |
1782 |
+ amd64 stable, bug #225231 |
1783 |
+ |
1784 |
+*git-1.5.5.4 (11 Jun 2008) |
1785 |
+ |
1786 |
+ 11 Jun 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.5.4.ebuild: |
1787 |
+ Version bump. |
1788 |
+ |
1789 |
+ 10 Jun 2008; Raúl Porcel <armin76@g.o> git-1.5.4.5.ebuild: |
1790 |
+ alpha/ia64/sparc/x86 stable wrt #225231 |
1791 |
+ |
1792 |
+ 09 Jun 2008; Brent Baude <ranger@g.o> git-1.5.4.5.ebuild: |
1793 |
+ stable ppc64, bug 225231 |
1794 |
+ |
1795 |
+*git-1.5.5.3-r1 (07 Jun 2008) |
1796 |
+ |
1797 |
+ 07 Jun 2008; Fernando J. Pereda <ferdy@g.o> -git-1.5.2.5.ebuild, |
1798 |
+ -git-1.5.4.ebuild, -git-1.5.4.2.ebuild, -git-1.5.4.3.ebuild, |
1799 |
+ -git-1.5.4.4.ebuild, -git-1.5.4.4-r1.ebuild, -git-1.5.5.1.ebuild, |
1800 |
+ -git-1.5.5.1-r1.ebuild, +git-1.5.5.3-r1.ebuild: |
1801 |
+ Remove unneeded patches to Makefile. Stop die'ing upon a bad USE |
1802 |
+ configuration by taking a sane decision. Remove unused versions. |
1803 |
+ |
1804 |
+ 28 May 2008; Robin H. Johnson <robbat2@g.o> |
1805 |
+ files/20080528-git-1.5.5.3-noperl.patch: |
1806 |
+ Forgot to add doc at the top of the new patch. |
1807 |
+ |
1808 |
+*git-1.5.5.3 (28 May 2008) |
1809 |
+ |
1810 |
+ 28 May 2008; Robin H. Johnson <robbat2@g.o> |
1811 |
+ +files/20080528-git-1.5.5.3-noperl.patch, |
1812 |
+ +files/vim-ftdetect-gitcommit.vim, +git-1.5.5.3.ebuild: |
1813 |
+ Version bump, 1.5.5 series is pretty ready for primetime. |
1814 |
+ |
1815 |
+*git-1.5.5.1-r1 (29 Apr 2008) |
1816 |
+ |
1817 |
+ 29 Apr 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.5.1-r1.ebuild: |
1818 |
+ The gitweb.cgi did not contain the build-time replacements. Ensure that it |
1819 |
+ does, and also make it executable by default so that portage does not |
1820 |
+ strip the executability on upgrade. |
1821 |
+ |
1822 |
+ 24 Apr 2008; Robin H. Johnson <robbat2@g.o> |
1823 |
+ +files/20080322-git-1.5.4.4-noperl.patch, |
1824 |
+ -files/20080322-git-1.5.5.4-noperl.patch, git-1.5.4.4-r1.ebuild, |
1825 |
+ git-1.5.4.5.ebuild: |
1826 |
+ Fix bad numbering of file. |
1827 |
+ |
1828 |
+ 24 Apr 2008; Robin H. Johnson <robbat2@g.o> |
1829 |
+ files/20080423-git-1.5.5.1-noperl.patch: |
1830 |
+ No absolute paths in patches! Bug #219099. |
1831 |
+ |
1832 |
+*git-1.5.5.1 (24 Apr 2008) |
1833 |
+ |
1834 |
+ 24 Apr 2008; Robin H. Johnson <robbat2@g.o> |
1835 |
+ +files/20080423-git-1.5.5.1-noperl.patch, +git-1.5.5.1.ebuild: |
1836 |
+ Bump to 1.5.5.1 per bug 217593, noperl patch ported by dberkholz. |
1837 |
+ |
1838 |
+*git-1.5.4.5 (29 Mar 2008) |
1839 |
+ |
1840 |
+ 29 Mar 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.4.5.ebuild: |
1841 |
+ Version bump. |
1842 |
+ |
1843 |
+ 24 Mar 2008; Raúl Porcel <armin76@g.o> git-1.5.4.4-r1.ebuild: |
1844 |
+ Re-add ~ia64 wrt #214464 |
1845 |
+ |
1846 |
+*git-1.5.4.4-r1 (24 Mar 2008) |
1847 |
+ |
1848 |
+ 24 Mar 2008; Robin H. Johnson <robbat2@g.o> |
1849 |
+ +files/20080322-git-1.5.5.4-noperl.patch, +git-1.5.4.4-r1.ebuild: |
1850 |
+ Per bug 214168, some users are really picky about wanting a Perl-free Git. |
1851 |
+ This new revision makes that a possibility, and now also introduces most |
1852 |
+ of the dependancies that were only previously stated in the pkg_postinst |
1853 |
+ phase. The following arch keywords have been dropped per bug 214464 until |
1854 |
+ the arches can keyword the dependancies: arm, ia64, s390, sh. |
1855 |
+ |
1856 |
+ 20 Mar 2008; Mike Frysinger <vapier@g.o> git-1.5.4.4.ebuild: |
1857 |
+ Add support for USE=xinetd #213014. |
1858 |
+ |
1859 |
+ 20 Mar 2008; Robin H. Johnson <robbat2@g.o> git-1.5.4.4.ebuild: |
1860 |
+ The base Git.pm module now requires dev-perl/Error, so it is no longer |
1861 |
+ optional under USE=perl. dev-perl/Net-SMTP-SSL remains optional as it is |
1862 |
+ only used for git-send-email. |
1863 |
+ |
1864 |
+ 17 Mar 2008; Robin H. Johnson <robbat2@g.o> git-1.5.4.4.ebuild: |
1865 |
+ dev-perl/Authen-SASL is an indirect dependancy of Net-SMTP-SSL already w/ |
1866 |
+ USE=sasl, so we can skip it here. |
1867 |
+ |
1868 |
+*git-1.5.4.4 (17 Mar 2008) |
1869 |
+ |
1870 |
+ 17 Mar 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.4.4.ebuild: |
1871 |
+ Version bump, fixing bugs #213549, #213543, #212131. |
1872 |
+ |
1873 |
+*git-1.5.4.3 (27 Feb 2008) |
1874 |
+ |
1875 |
+ 27 Feb 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.4.3.ebuild: |
1876 |
+ Version bump. |
1877 |
+ |
1878 |
+*git-1.5.4.2 (17 Feb 2008) |
1879 |
+ |
1880 |
+ 17 Feb 2008; Fernando J. Pereda <ferdy@g.o> +git-1.5.4.2.ebuild: |
1881 |
+ New upstream version |
1882 |
+ |
1883 |
+ 11 Feb 2008; Diego Pettenò <flameeyes@g.o> git-1.5.4.ebuild: |
1884 |
+ Fix sed for LDFLAGS, and make CFLAGS sed as robust as that. |
1885 |
+ |
1886 |
+ 03 Feb 2008; Fernando J. Pereda <ferdy@g.o> git-1.5.4.ebuild: |
1887 |
+ Add USE=threads as per bug #208422 |
1888 |
+ |
1889 |
+*git-1.5.4 (03 Feb 2008) |
1890 |
+ |
1891 |
+ 03 Feb 2008; Fernando J. Pereda <ferdy@g.o> -git-1.5.4_rc2.ebuild, |
1892 |
+ -git-1.5.4_rc3.ebuild, -git-1.5.4_rc4.ebuild, +git-1.5.4.ebuild: |
1893 |
+ New upstream version. Remove RCs for 1.5.4 |
1894 |
+ |
1895 |
+ 01 Feb 2008; Robin H. Johnson <robbat2@g.o> git-1.5.2.5.ebuild, |
1896 |
+ git-1.5.3.7-r1.ebuild, git-1.5.3.8.ebuild, git-1.5.4_rc2.ebuild, |
1897 |
+ git-1.5.4_rc3.ebuild, git-1.5.4_rc4.ebuild: |
1898 |
+ Clarify the extra deps for git-svnimport. |
1899 |
+ |
1900 |
+*git-1.5.4_rc4 (01 Feb 2008) |
1901 |
+ |
1902 |
+ 01 Feb 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.4_rc4.ebuild: |
1903 |
+ Version bump. |
1904 |
+ |
1905 |
+ 14 Jan 2008; Tobias Scherbaum <dertobi123@g.o> |
1906 |
+ git-1.5.3.7-r1.ebuild: |
1907 |
+ ppc. stable |
1908 |
+ |
1909 |
+*git-1.5.4_rc3 (14 Jan 2008) |
1910 |
+ |
1911 |
+ 14 Jan 2008; Robin H. Johnson <robbat2@g.o> +git-1.5.4_rc3.ebuild: |
1912 |
+ Bump the release candidate for more testing. |
1913 |
+ |
1914 |
+ 13 Jan 2008; Fernando J. Pereda <ferdy@g.o> |
1915 |
+ +files/git-1.5.3.8-t9101.patch, git-1.5.3.8.ebuild: |
1916 |
+ Add a fix for some test cases under subversion 1.4.6 |
1917 |
+ |
1918 |
+*git-1.5.3.8 (10 Jan 2008) |
1919 |
+ |
1920 |
+ 10 Jan 2008; Fernando J. Pereda <ferdy@g.o> |
1921 |
+ +files/git-1.5.3.8-t9106.patch, -git-1.5.3.2.ebuild, -git-1.5.3.3.ebuild, |
1922 |
+ -git-1.5.3.4.ebuild, -git-1.5.3.4-r1.ebuild, -git-1.5.3.5.ebuild, |
1923 |
+ -git-1.5.3.6.ebuild, -git-1.5.3.6-r1.ebuild, -git-1.5.3.7.ebuild, |
1924 |
+ +git-1.5.3.8.ebuild, -git-1.5.4_rc0.ebuild, -git-1.5.4_rc1.ebuild, |
1925 |
+ git-1.5.4_rc2.ebuild: |
1926 |
+ Version bump. Fix some bugs and style nits. Remove unneeded verbosity. |
1927 |
+ Remove unused versions. |
1928 |
+ |
1929 |
+*git-1.5.4_rc2 (01 Jan 2008) |
1930 |
+ |
1931 |
+ 01 Jan 2008; Markus Ullmann <jokey@g.o> +git-1.5.4_rc2.ebuild: |
1932 |
+ Version bump, granted by robbat2 as test-suite passes |
1933 |
+ |
1934 |
+ 29 Dec 2007; <welp@g.o> git-1.5.4_rc1.ebuild: |
1935 |
+ Keyworded ~sparc-fbsd; bug 203655 |
1936 |
+ |
1937 |
+ 27 Dec 2007; Robin H. Johnson <robbat2@g.o> git-1.5.3.7-r1.ebuild: |
1938 |
+ Stable on amd64. Tested by myself and gentoofan23. |
1939 |
+ |
1940 |
+ 25 Dec 2007; Raúl Porcel <armin76@g.o> git-1.5.3.7-r1.ebuild: |
1941 |
+ alpha/ia64/sparc/x86 stable wrt #202383 |
1942 |
+ |
1943 |
+ 25 Dec 2007; Brent Baude <ranger@g.o> git-1.5.3.7-r1.ebuild: |
1944 |
+ Marking git-1.5.3.7-r1 ppc64 for bug 203283 |
1945 |
+ |
1946 |
+ 25 Dec 2007; nixnut <nixnut@g.o> ChangeLog: |
1947 |
+ Stable on ppc wrt bug 203283 |
1948 |
+ |
1949 |
+ 25 Dec 2007; Robin H. Johnson <robbat2@g.o> git-1.5.3.7-r1.ebuild, |
1950 |
+ git-1.5.4_rc0.ebuild, git-1.5.4_rc1.ebuild: |
1951 |
+ Bug 201544: Use the proper build mechanism to disable the Tk-using sections |
1952 |
+ of git. |
1953 |
+ |
1954 |
+*git-1.5.4_rc1 (25 Dec 2007) |
1955 |
+ |
1956 |
+ 25 Dec 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.4_rc1.ebuild: |
1957 |
+ Add latest rc from upstream. |
1958 |
+ |
1959 |
+ 25 Dec 2007; Robin H. Johnson <robbat2@g.o> git-1.5.3.7-r1.ebuild, |
1960 |
+ git-1.5.4_rc0.ebuild: |
1961 |
+ Install the git-p4 tool and the import-tars tool. |
1962 |
+ |
1963 |
+ 17 Dec 2007; Robin H. Johnson <robbat2@g.o> git-1.5.1.6.ebuild, |
1964 |
+ git-1.5.2.5.ebuild, git-1.5.3.2.ebuild, git-1.5.3.3.ebuild, |
1965 |
+ git-1.5.3.4.ebuild, git-1.5.3.4-r1.ebuild, git-1.5.3.5.ebuild, |
1966 |
+ git-1.5.3.6.ebuild, git-1.5.3.6-r1.ebuild, git-1.5.3.7.ebuild, |
1967 |
+ git-1.5.3.7-r1.ebuild, git-1.5.4_rc0.ebuild: |
1968 |
+ Clean up all minorsyn problems with ebuilds. |
1969 |
+ |
1970 |
+*git-1.5.4_rc0 (17 Dec 2007) |
1971 |
+ |
1972 |
+ 17 Dec 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.4_rc0.ebuild: |
1973 |
+ Version bump. rc0 is for testing only, not production uage. Masked via |
1974 |
+ package.mask. |
1975 |
+ |
1976 |
+ 06 Dec 2007; Robin H. Johnson <robbat2@g.o> git-1.5.3.7-r1.ebuild: |
1977 |
+ Fix typo. |
1978 |
+ |
1979 |
+*git-1.5.3.7-r1 (06 Dec 2007) |
1980 |
+ |
1981 |
+ 06 Dec 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.3.7-r1.ebuild: |
1982 |
+ Install the gitweb stuff, as it's used by instaweb, and is also |
1983 |
+ independantly useful, but does not lend itself to webapp-config very well. |
1984 |
+ |
1985 |
+*git-1.5.3.7 (05 Dec 2007) |
1986 |
+ |
1987 |
+ 05 Dec 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.3.7.ebuild: |
1988 |
+ Version bump. Please note that the CVS testcases are disabled unless you |
1989 |
+ have FEATURES=userpriv, as CVS rejects commits as root. |
1990 |
+ |
1991 |
+*git-1.5.3.6-r1 (22 Nov 2007) |
1992 |
+ |
1993 |
+ 22 Nov 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.3.6-r1.ebuild: |
1994 |
+ Add missing cpio dependancy, redo the documentation install so that the text |
1995 |
+ versions and (optionally) HTML versions are installed including the release |
1996 |
+ notes. Also install some new bits from contrib: blameview, |
1997 |
+ continuous-integration, remotes2config. |
1998 |
+ |
1999 |
+*git-1.5.3.6 (20 Nov 2007) |
2000 |
+ |
2001 |
+ 20 Nov 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.6.ebuild: |
2002 |
+ New upstream version |
2003 |
+ |
2004 |
+*git-1.5.3.5 (14 Nov 2007) |
2005 |
+ |
2006 |
+ 14 Nov 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.5.ebuild: |
2007 |
+ Version bump (bug #198903) |
2008 |
+ |
2009 |
+ 19 Oct 2007; Fernando J. Pereda <ferdy@g.o> git-1.5.3.4-r1.ebuild: |
2010 |
+ vim-plugin.eclass pulls in vim, that is not desired. Revert that change for now |
2011 |
+ |
2012 |
+*git-1.5.3.4-r1 (19 Oct 2007) |
2013 |
+ |
2014 |
+ 19 Oct 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.4-r1.ebuild: |
2015 |
+ Install vim and some stuff from contrib (related: bug #194940) |
2016 |
+ |
2017 |
+ 05 Oct 2007; Mike Frysinger <vapier@g.o> git-1.5.3.4.ebuild: |
2018 |
+ Fix incorrect binding of iconv<->uclibc. |
2019 |
+ |
2020 |
+*git-1.5.3.4 (04 Oct 2007) |
2021 |
+ |
2022 |
+ 04 Oct 2007; Fernando J. Pereda <ferdy@g.o> +files/72git-gentoo.el, |
2023 |
+ +git-1.5.3.4.ebuild: |
2024 |
+ New upstream version. Include fixes from bug #194690 thanks to Christian |
2025 |
+ Faulhammer <opfer@g.o> |
2026 |
+ |
2027 |
+*git-1.5.3.3 (30 Sep 2007) |
2028 |
+ |
2029 |
+ 30 Sep 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.3.ebuild: |
2030 |
+ New upstream version |
2031 |
+ |
2032 |
+ 28 Sep 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.3.ebuild: |
2033 |
+ Remove 1.5.3 |
2034 |
+ |
2035 |
+ 28 Sep 2007; Joshua Kinard <kumba@g.o> git-1.5.2.5.ebuild: |
2036 |
+ Stable on mips, per #193113. |
2037 |
+ |
2038 |
+ 20 Sep 2007; Christoph Mende <angelos@g.o> git-1.5.2.5.ebuild: |
2039 |
+ Stable on amd64 wrt bug #193113 |
2040 |
+ |
2041 |
+ 20 Sep 2007; Raúl Porcel <armin76@g.o> git-1.5.2.5.ebuild: |
2042 |
+ alpha/ia64 stable wrt #193113 |
2043 |
+ |
2044 |
+ 20 Sep 2007; Jeroen Roovers <jer@g.o> git-1.5.2.5.ebuild: |
2045 |
+ Stable for SPARC (bug #193113). |
2046 |
+ |
2047 |
+ 20 Sep 2007; Brent Baude <ranger@g.o> git-1.5.2.5.ebuild: |
2048 |
+ Marking git-1.5.2.5 ppc64 for bug 193113 |
2049 |
+ |
2050 |
+ 19 Sep 2007; Lars Weiler <pylon@g.o> git-1.5.2.5.ebuild: |
2051 |
+ Stable on ppc; bug #193113. |
2052 |
+ |
2053 |
+ 19 Sep 2007; Markus Meier <maekke@g.o> git-1.5.2.5.ebuild: |
2054 |
+ x86 stable, bug #193113 |
2055 |
+ |
2056 |
+*git-1.5.3.2 (19 Sep 2007) |
2057 |
+ |
2058 |
+ 19 Sep 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.2.ebuild: |
2059 |
+ New upstream version |
2060 |
+ |
2061 |
+*git-1.5.3 (02 Sep 2007) |
2062 |
+ |
2063 |
+ 02 Sep 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.3_rc7.ebuild, |
2064 |
+ +git-1.5.3.ebuild: |
2065 |
+ New upstream version. Remove rc7 |
2066 |
+ |
2067 |
+*git-1.5.3_rc7 (29 Aug 2007) |
2068 |
+ |
2069 |
+ 29 Aug 2007; Fernando J. Pereda <ferdy@g.o> |
2070 |
+ -files/git-1.5.3_rc5-read-tree.patch, -git-1.5.3_rc5-r1.ebuild, |
2071 |
+ +git-1.5.3_rc7.ebuild: |
2072 |
+ New upstream version. Remove rc5 |
2073 |
+ |
2074 |
+ 24 Aug 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.2.4.ebuild, |
2075 |
+ -git-1.5.3_rc4.ebuild: |
2076 |
+ Remove unused obsoleted versions |
2077 |
+ |
2078 |
+*git-1.5.2.5 (15 Aug 2007) |
2079 |
+ |
2080 |
+ 15 Aug 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.2.5.ebuild: |
2081 |
+ New maintenance version for 1.5.2 series |
2082 |
+ |
2083 |
+*git-1.5.3_rc5-r1 (15 Aug 2007) |
2084 |
+ |
2085 |
+ 15 Aug 2007; Fernando J. Pereda <ferdy@g.o> |
2086 |
+ +files/git-1.5.3_rc5-read-tree.patch, -git-1.5.3_rc5.ebuild, |
2087 |
+ +git-1.5.3_rc5-r1.ebuild: |
2088 |
+ Add a patch to fix a segfault in rc5. Remove the buggy version. rc4 is safe. |
2089 |
+ |
2090 |
+*git-1.5.3_rc5 (15 Aug 2007) |
2091 |
+ |
2092 |
+ 15 Aug 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3_rc5.ebuild: |
2093 |
+ New upstream version. |
2094 |
+ |
2095 |
+ 13 Aug 2007; Fernando J. Pereda <ferdy@g.o> |
2096 |
+ -files/git-1.5.2-tempfile.patch, -git-1.5.0.7.ebuild, -git-1.5.2.ebuild, |
2097 |
+ -git-1.5.2.1.ebuild, -git-1.5.2.2.ebuild: |
2098 |
+ Remove old and unused stuff |
2099 |
+ |
2100 |
+*git-1.5.3_rc4 (08 Aug 2007) |
2101 |
+ |
2102 |
+ 08 Aug 2007; Fernando J. Pereda <ferdy@g.o> |
2103 |
+ +files/git-1.5.3-symlinks.patch, +git-1.5.3_rc4.ebuild: |
2104 |
+ Version bump |
2105 |
+ |
2106 |
+ 29 Jul 2007; Christian Heim <phreak@g.o> git-1.5.0.7.ebuild, |
2107 |
+ git-1.5.1.6.ebuild, git-1.5.2.ebuild, git-1.5.2.1.ebuild, |
2108 |
+ git-1.5.2.2.ebuild, git-1.5.2.4.ebuild: |
2109 |
+ Fixing the DEPEND/RDEPEND for the move of net-www/apache to |
2110 |
+ www-servers/apache (#78622). |
2111 |
+ |
2112 |
+*git-1.5.2.4 (27 Jul 2007) |
2113 |
+ |
2114 |
+ 27 Jul 2007; Robin H. Johnson <robbat2@g.o> metadata.xml, |
2115 |
+ git-1.5.0.7.ebuild, git-1.5.1.6.ebuild, git-1.5.2.ebuild, |
2116 |
+ git-1.5.2.1.ebuild, git-1.5.2.2.ebuild, +git-1.5.2.4.ebuild: |
2117 |
+ Add new upstream version, and also improve the DESCRIPTION per bug #185057, |
2118 |
+ and the longdescription in metadata at the same time. |
2119 |
+ |
2120 |
+ 25 Jun 2007; Joshua Kinard <kumba@g.o> git-1.5.1.6.ebuild: |
2121 |
+ Stable on mips, per #179245. |
2122 |
+ |
2123 |
+ 23 Jun 2007; Matti Bickel <mabi@g.o> git-1.5.1.6.ebuild: |
2124 |
+ ppc stable (bug #179245) |
2125 |
+ |
2126 |
+*git-1.5.2.2 (16 Jun 2007) |
2127 |
+ |
2128 |
+ 16 Jun 2007; Fernando J. Pereda <ferdy@g.o> +files/71git-gentoo.el, |
2129 |
+ +git-1.5.2.2.ebuild: |
2130 |
+ New upstream version. Fix for bug #181718 |
2131 |
+ |
2132 |
+ 14 Jun 2007; Jeroen Roovers <jer@g.o> git-1.5.1.6.ebuild: |
2133 |
+ Stable for HPPA (bug #179245). |
2134 |
+ |
2135 |
+*git-1.5.2.1 (04 Jun 2007) |
2136 |
+ |
2137 |
+ 04 Jun 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.2.1.ebuild: |
2138 |
+ New upstream version |
2139 |
+ |
2140 |
+ 31 May 2007; Daniel Gryniewicz <dang@g.o> git-1.5.1.6.ebuild: |
2141 |
+ Marked stable on amd64 for bug #179245 |
2142 |
+ |
2143 |
+ 28 May 2007; Brent Baude <ranger@g.o> git-1.5.1.6.ebuild: |
2144 |
+ Marking git-1.5.1.6 ppc64 stable for bug 179245 |
2145 |
+ |
2146 |
+ 24 May 2007; Raúl Porcel <armin76@g.o> git-1.5.1.6.ebuild: |
2147 |
+ ia64 + x86 stable wrt #179245 |
2148 |
+ |
2149 |
+ 23 May 2007; Fernando J. Pereda <ferdy@g.o> git-1.5.2.ebuild: |
2150 |
+ Add dev-perl/TermReadKey for git-svn. Fixes bug #179560 |
2151 |
+ |
2152 |
+ 23 May 2007; Fernando J. Pereda <ferdy@g.o> git-1.5.1.6.ebuild: |
2153 |
+ Stable on alpha as per bug #179245 |
2154 |
+ |
2155 |
+ 23 May 2007; Gustavo Zacarias <gustavoz@g.o> git-1.5.1.6.ebuild: |
2156 |
+ Stable on sparc wrt #179245 |
2157 |
+ |
2158 |
+ 21 May 2007; Jeroen Roovers <jer@g.o> git-1.5.1.6.ebuild: |
2159 |
+ Reverting to ~hppa. |
2160 |
+ |
2161 |
+ 21 May 2007; Jeroen Roovers <jer@g.o> git-1.5.1.6.ebuild: |
2162 |
+ Stable for HPPA (bug #179245). |
2163 |
+ |
2164 |
+*git-1.5.2 (20 May 2007) |
2165 |
+*git-1.5.1.6 (20 May 2007) |
2166 |
+ |
2167 |
+ 20 May 2007; Fernando J. Pereda <ferdy@g.o> |
2168 |
+ +files/git-1.5.2-tempfile.patch, -git-1.5.1.2.ebuild, -git-1.5.1.3.ebuild, |
2169 |
+ -git-1.5.1.4.ebuild, -git-1.5.1.5.ebuild, +git-1.5.1.6.ebuild, |
2170 |
+ +git-1.5.2.ebuild: |
2171 |
+ New upstream versions. Remove old ones. |
2172 |
+ |
2173 |
+*git-1.5.1.5 (19 May 2007) |
2174 |
+ |
2175 |
+ 19 May 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.1.5.ebuild: |
2176 |
+ New upstream version. Fixes bug #177280. |
2177 |
+ |
2178 |
+*git-1.5.1.4 (09 May 2007) |
2179 |
+ |
2180 |
+ 09 May 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.1.4.ebuild: |
2181 |
+ Version bump. |
2182 |
+ |
2183 |
+*git-1.5.1.3 (01 May 2007) |
2184 |
+ |
2185 |
+ 01 May 2007; Robin H. Johnson <robbat2@g.o> +git-1.5.1.3.ebuild: |
2186 |
+ Version bump. |
2187 |
+ |
2188 |
+ 24 Apr 2007; Fernando J. Pereda <ferdy@g.o> -git-1.4.1.1.ebuild, |
2189 |
+ -git-1.4.4.4.ebuild, -git-1.5.1.1.ebuild: |
2190 |
+ Remove unused stuff |
2191 |
+ |
2192 |
+ 23 Apr 2007; Bryan Østergaard <kloeri@g.o> git-1.5.0.7.ebuild: |
2193 |
+ Stable on Mips, bug 173327. |
2194 |
+ |
2195 |
+*git-1.5.1.2 (23 Apr 2007) |
2196 |
+ |
2197 |
+ 23 Apr 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.1.2.ebuild: |
2198 |
+ New upstream version. |
2199 |
+ |
2200 |
+*git-1.5.1.1 (12 Apr 2007) |
2201 |
+ |
2202 |
+ 12 Apr 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.1.ebuild, |
2203 |
+ +git-1.5.1.1.ebuild: |
2204 |
+ New upstream version, superceeds 1.5.1 |
2205 |
+ |
2206 |
+ 11 Apr 2007; Christian Faulhammer <opfer@g.o> git-1.5.0.7.ebuild: |
2207 |
+ stable amd64, bug 173327 |
2208 |
+ |
2209 |
+ 08 Apr 2007; Markus Rothe <corsair@g.o> git-1.5.0.7.ebuild: |
2210 |
+ Stable on ppc64; bug #173327 |
2211 |
+ |
2212 |
+ 06 Apr 2007; Tobias Scherbaum <dertobi123@g.o> git-1.5.0.7.ebuild: |
2213 |
+ ppc stable |
2214 |
+ |
2215 |
+ 04 Apr 2007; Fernando J. Pereda <ferdy@g.o> git-1.5.0.7.ebuild: |
2216 |
+ Stable on alpha wrt bug #173327 |
2217 |
+ |
2218 |
+ 04 Apr 2007; Jeroen Roovers <jer@g.o> git-1.5.0.7.ebuild: |
2219 |
+ Stable for HPPA (bug #173327). |
2220 |
+ |
2221 |
+ 04 Apr 2007; Gustavo Zacarias <gustavoz@g.o> git-1.5.0.7.ebuild: |
2222 |
+ Stable on sparc wrt #173327 |
2223 |
+ |
2224 |
+ 04 Apr 2007; Raúl Porcel <armin76@g.o> git-1.5.0.7.ebuild: |
2225 |
+ ia64 + x86 stable wrt bug 173327 |
2226 |
+ |
2227 |
+ 04 Apr 2007; Fernando J. Pereda <ferdy@g.o> -git-1.4.2.4.ebuild, |
2228 |
+ -git-1.4.4.3.ebuild: |
2229 |
+ Remove unused versions. |
2230 |
+ |
2231 |
+*git-1.5.1 (04 Apr 2007) |
2232 |
+*git-1.5.0.7 (04 Apr 2007) |
2233 |
+ |
2234 |
+ 04 Apr 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.6.ebuild, |
2235 |
+ +git-1.5.0.7.ebuild, +git-1.5.1.ebuild: |
2236 |
+ Revision and version bump. Remove 1.5.0.6 |
2237 |
+ |
2238 |
+*git-1.5.0.6 (29 Mar 2007) |
2239 |
+ |
2240 |
+ 29 Mar 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.5.ebuild, |
2241 |
+ +git-1.5.0.6.ebuild: |
2242 |
+ New upstream version. Remove 1.5.0.5 |
2243 |
+ |
2244 |
+*git-1.5.0.5 (19 Mar 2007) |
2245 |
+ |
2246 |
+ 19 Mar 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.4.ebuild, |
2247 |
+ +git-1.5.0.5.ebuild: |
2248 |
+ New upstream version. Remove old one. |
2249 |
+ |
2250 |
+*git-1.5.0.4 (16 Mar 2007) |
2251 |
+ |
2252 |
+ 16 Mar 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.3.ebuild, |
2253 |
+ -git-1.5.0.3-r1.ebuild, +git-1.5.0.4.ebuild: |
2254 |
+ New upstream version. Remove old ones. |
2255 |
+ |
2256 |
+*git-1.5.0.3-r1 (11 Mar 2007) |
2257 |
+ |
2258 |
+ 11 Mar 2007; Fernando J. Pereda <ferdy@g.o> |
2259 |
+ +files/git-1.5.0-symlinks.patch, +git-1.5.0.3-r1.ebuild: |
2260 |
+ Create relative symlinks instead of absolute ones. |
2261 |
+ |
2262 |
+*git-1.5.0.3 (09 Mar 2007) |
2263 |
+ |
2264 |
+ 09 Mar 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.2.ebuild, |
2265 |
+ +git-1.5.0.3.ebuild: |
2266 |
+ New upstream version. Fix for bug #170066. Remove old version. |
2267 |
+ |
2268 |
+*git-1.5.0.2 (27 Feb 2007) |
2269 |
+ |
2270 |
+ 27 Feb 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.1.ebuild, |
2271 |
+ +git-1.5.0.2.ebuild: |
2272 |
+ New upstream version. Remove .1 since it is buggy |
2273 |
+ |
2274 |
+ 20 Feb 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.0.ebuild: |
2275 |
+ Remove unused version, superceed by 1.5.0.1 |
2276 |
+ |
2277 |
+*git-1.5.0.1 (19 Feb 2007) |
2278 |
+ |
2279 |
+ 19 Feb 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.0.1.ebuild: |
2280 |
+ New upstream version. |
2281 |
+ |
2282 |
+ 15 Feb 2007; Fernando J. Pereda <ferdy@g.o> git-1.5.0.ebuild: |
2283 |
+ Add a showpkgdeps message for git send-email. Fixes bug #167058. Reported by |
2284 |
+ Christian Schlotter <again@×××.de> |
2285 |
+ |
2286 |
+*git-1.5.0 (14 Feb 2007) |
2287 |
+ |
2288 |
+ 14 Feb 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.0.ebuild: |
2289 |
+ New upstream version. |
2290 |
+ |
2291 |
+ 15 Jan 2007; Gustavo Zacarias <gustavoz@g.o> git-1.4.4.4.ebuild: |
2292 |
+ Stable on sparc wrt #159822 |
2293 |
+ |
2294 |
+ 15 Jan 2007; Jeroen Roovers <jer@g.o> git-1.4.4.4.ebuild: |
2295 |
+ Stable for HPPA (bug #159822). |
2296 |
+ |
2297 |
+ 15 Jan 2007; Steve Dibb <beandog@g.o> git-1.4.4.4.ebuild: |
2298 |
+ amd64 stable, bug 159822 |
2299 |
+ |
2300 |
+ 14 Jan 2007; Markus Rothe <corsair@g.o> git-1.4.4.4.ebuild: |
2301 |
+ Stable on ppc64; bug #159822 |
2302 |
+ |
2303 |
+ 13 Jan 2007; Andrej Kacian <ticho@g.o> git-1.4.4.4.ebuild: |
2304 |
+ Stable on x86, bug #159822. |
2305 |
+ |
2306 |
+ 13 Jan 2007; nixnut <nixnut@g.o> git-1.4.4.4.ebuild: |
2307 |
+ Stable on ppc wrt bug 159822 |
2308 |
+ |
2309 |
+*git-1.4.4.4 (12 Jan 2007) |
2310 |
+ |
2311 |
+ 12 Jan 2007; Fernando J. Pereda <ferdy@g.o> +git-1.4.4.4.ebuild: |
2312 |
+ Version bump + stable on Alpha. See bug #159822 |
2313 |
+ |
2314 |
+ 09 Jan 2007; Markus Rothe <corsair@g.o> git-1.4.4.3.ebuild: |
2315 |
+ Stable on ppc64; bug #159822 |
2316 |
+ |
2317 |
+ 07 Jan 2007; Tobias Scherbaum <dertobi123@g.o> git-1.4.4.3.ebuild: |
2318 |
+ ppc stable, bug #159822 |
2319 |
+ |
2320 |
+ 06 Jan 2007; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.5.ebuild, |
2321 |
+ -git-1.4.4.2.ebuild: |
2322 |
+ QA: Clean unused versions. |
2323 |
+ |
2324 |
+ 06 Jan 2007; Fernando J. Pereda <ferdy@g.o> git-1.4.1.1.ebuild, |
2325 |
+ git-1.4.2.4.ebuild, git-1.4.3.5.ebuild, git-1.4.4.2.ebuild, |
2326 |
+ git-1.4.4.3.ebuild: |
2327 |
+ einfo -> elog |
2328 |
+ |
2329 |
+ 04 Jan 2007; Bryan Østergaard <kloeri@g.o> git-1.4.4.3.ebuild: |
2330 |
+ Stable on IA64. |
2331 |
+ |
2332 |
+ 04 Jan 2007; Torsten Veller <tove@g.o> git-1.4.4.3.ebuild: |
2333 |
+ Stable on x86 (#159822) |
2334 |
+ |
2335 |
+ 04 Jan 2007; Fernando J. Pereda <ferdy@g.o> git-1.4.4.3.ebuild: |
2336 |
+ Stable on alpha as per bug #159822 |
2337 |
+ |
2338 |
+ 04 Jan 2007; Gustavo Zacarias <gustavoz@g.o> git-1.4.4.3.ebuild: |
2339 |
+ Stable on sparc wrt #159822 |
2340 |
+ |
2341 |
+ 03 Jan 2007; Fernando J. Pereda <ferdy@g.o> git-1.4.4.3.ebuild: |
2342 |
+ git-instaweb has some additional dependencies, fixes bug #159698 |
2343 |
+ |
2344 |
+ 31 Dec 2006; Robin H. Johnson <robbat2@g.o> git-1.4.3.5.ebuild, |
2345 |
+ git-1.4.4.2.ebuild, git-1.4.4.3.ebuild: |
2346 |
+ Fix type in einfo. |
2347 |
+ |
2348 |
+*git-1.4.4.3 (20 Dec 2006) |
2349 |
+ |
2350 |
+ 20 Dec 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.4.3.ebuild: |
2351 |
+ New upstream version. |
2352 |
+ |
2353 |
+*git-1.4.4.2 (07 Dec 2006) |
2354 |
+ |
2355 |
+ 07 Dec 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.4.ebuild, |
2356 |
+ -git-1.4.4.1.ebuild, +git-1.4.4.2.ebuild: |
2357 |
+ New upstream version. Clean old ebuilds for the 1.4.4 branch. |
2358 |
+ |
2359 |
+*git-1.4.4.1 (26 Nov 2006) |
2360 |
+ |
2361 |
+ 26 Nov 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.4.1.ebuild: |
2362 |
+ New upstream version. |
2363 |
+ |
2364 |
+ 16 Nov 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.4.ebuild: |
2365 |
+ Remove tar-tree tests if we don't have unzip installed. |
2366 |
+ |
2367 |
+*git-1.4.4 (15 Nov 2006) |
2368 |
+ |
2369 |
+ 15 Nov 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.4.ebuild: |
2370 |
+ New upstream version. |
2371 |
+ |
2372 |
+*git-1.4.3.5 (12 Nov 2006) |
2373 |
+ |
2374 |
+ 12 Nov 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.4.ebuild, |
2375 |
+ +git-1.4.3.5.ebuild: |
2376 |
+ New upstream version, superceeds 1.4.3.4 |
2377 |
+ |
2378 |
+ 09 Nov 2006; Ilya A. Volynets-Evenbakh <iluxa@g.o> |
2379 |
+ git-1.4.3.4.ebuild: |
2380 |
+ Add ~mips to keywords |
2381 |
+ |
2382 |
+ 08 Nov 2006; Ilya A. Volynets-Evenbakh <iluxa@g.o> |
2383 |
+ git-1.4.1.1.ebuild: |
2384 |
+ Stable on mips |
2385 |
+ |
2386 |
+*git-1.4.3.4 (05 Nov 2006) |
2387 |
+ |
2388 |
+ 05 Nov 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.3.ebuild, |
2389 |
+ +git-1.4.3.4.ebuild: |
2390 |
+ New upstream version. |
2391 |
+ |
2392 |
+*git-1.4.3.3 (30 Oct 2006) |
2393 |
+ |
2394 |
+ 30 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.2.ebuild, |
2395 |
+ +git-1.4.3.3.ebuild: |
2396 |
+ New upstream version, remove old one. |
2397 |
+ |
2398 |
+ 28 Oct 2006; Christian Faulhammer <opfer@g.o> git-1.4.2.4.ebuild: |
2399 |
+ x86 stable wrt bug #151669 |
2400 |
+ |
2401 |
+*git-1.4.3.2 (24 Oct 2006) |
2402 |
+ |
2403 |
+ 24 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.1.ebuild, |
2404 |
+ +git-1.4.3.2.ebuild: |
2405 |
+ New upstream version, remove buggy one. Also add a pkg_postinst message as |
2406 |
+ per bug #152320. |
2407 |
+ |
2408 |
+*git-1.4.3.1 (21 Oct 2006) |
2409 |
+ |
2410 |
+ 21 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.3.ebuild, |
2411 |
+ +git-1.4.3.1.ebuild: |
2412 |
+ New upstream version, remove a buggy one. |
2413 |
+ |
2414 |
+ 21 Oct 2006; <nixnut@g.o> git-1.4.2.4.ebuild: |
2415 |
+ Stable on ppc wrt bug 151669 |
2416 |
+ |
2417 |
+ 20 Oct 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.3.ebuild: |
2418 |
+ Add a needed fixlocalpod call to src_install spotted by Jakub Moc |
2419 |
+ <jakub@g.o> |
2420 |
+ |
2421 |
+*git-1.4.3 (19 Oct 2006) |
2422 |
+ |
2423 |
+ 19 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.1.6.ebuild, |
2424 |
+ +git-1.4.3.ebuild: |
2425 |
+ New upstream version. Remove ancient one (1.1.6) since It is no longer useful |
2426 |
+ |
2427 |
+ 18 Oct 2006; Patrick McLean <chutzpah@g.o> git-1.4.2.4.ebuild: |
2428 |
+ Stable on amd64 (bug #151669). |
2429 |
+ |
2430 |
+ 17 Oct 2006; Jeroen Roovers <jer@g.o> git-1.4.2.4.ebuild: |
2431 |
+ Stable for HPPA (bug #151669). |
2432 |
+ |
2433 |
+ 17 Oct 2006; Gustavo Zacarias <gustavoz@g.o> git-1.4.2.4.ebuild: |
2434 |
+ Stable on sparc wrt #151669 |
2435 |
+ |
2436 |
+ 17 Oct 2006; Markus Rothe <corsair@g.o> git-1.4.2.4.ebuild: |
2437 |
+ Stable on ppc64; bug #151669 |
2438 |
+ |
2439 |
+ 17 Oct 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.2.4.ebuild: |
2440 |
+ Stable on alpha as per bug #151669 |
2441 |
+ |
2442 |
+*git-1.4.2.4 (17 Oct 2006) |
2443 |
+ |
2444 |
+ 17 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.0-r1.ebuild, |
2445 |
+ -git-1.4.2.3.ebuild, +git-1.4.2.4.ebuild: |
2446 |
+ New upstream version. Remove old (1.4.0-r1) and buggy (1.4.2.3) ones. |
2447 |
+ |
2448 |
+ 04 Oct 2006; Fabian Groffen <grobian@g.o> git-1.4.0-r1.ebuild, |
2449 |
+ git-1.4.1.1.ebuild, git-1.4.2.3.ebuild: |
2450 |
+ Dropped ~ppc-macos, see you in prefix. |
2451 |
+ |
2452 |
+*git-1.4.2.3 (02 Oct 2006) |
2453 |
+ |
2454 |
+ 02 Oct 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.2.1.ebuild, |
2455 |
+ -git-1.4.2.2.ebuild, +git-1.4.2.3.ebuild: |
2456 |
+ New upstream version. Remove buggy ones. |
2457 |
+ |
2458 |
+*git-1.4.2.2 (30 Sep 2006) |
2459 |
+ |
2460 |
+ 30 Sep 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.2.2.ebuild: |
2461 |
+ New upstream version. |
2462 |
+ |
2463 |
+ 27 Sep 2006; Fernando J. Pereda <ferdy@g.o> -git-1.4.2.ebuild: |
2464 |
+ Remove git-1.4.2 since it has a buggy builtin-mv command. |
2465 |
+ |
2466 |
+ 22 Sep 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.2.1.ebuild: |
2467 |
+ Typo fixed. Bug #148413 thanks to Jimmy.Jazz@×××.net |
2468 |
+ |
2469 |
+ 13 Sep 2006; Aron Griffis <agriffis@g.o> git-1.4.1.1.ebuild: |
2470 |
+ Mark 1.4.1.1 stable on ia64 |
2471 |
+ |
2472 |
+*git-1.4.2.1 (13 Sep 2006) |
2473 |
+ |
2474 |
+ 13 Sep 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.2.1.ebuild: |
2475 |
+ New upstream version. |
2476 |
+ |
2477 |
+ 11 Sep 2006; Fernando J. Pereda <ferdy@g.o> |
2478 |
+ +files/git-daemon.xinetd, git-1.4.2.ebuild: |
2479 |
+ Add a xinetd configuration file.As per bug #145177. Thanks to Patrick |
2480 |
+ Guimond <patg@×××××××××××××.org> |
2481 |
+ |
2482 |
+ 07 Sep 2006; Christel Dahlskjaer <christel@g.o> git-1.4.1.1.ebuild: |
2483 |
+ Added ~mips, as per bug #126850 |
2484 |
+ |
2485 |
+ 15 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.2.ebuild: |
2486 |
+ Typo fixed: donsider -> consider |
2487 |
+ |
2488 |
+ 14 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.2.ebuild: |
2489 |
+ Only run git-svn tests if we have dev-util/subversion |
2490 |
+ |
2491 |
+ 14 Aug 2006; <dougg@g.o> git-1.1.6.ebuild, git-1.4.0-r1.ebuild, |
2492 |
+ git-1.4.1.1.ebuild, git-1.4.2.ebuild: |
2493 |
+ fixing tcltk USE flag as per bug #17808 |
2494 |
+ |
2495 |
+ 13 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.2.ebuild: |
2496 |
+ app-editors/emacs -> virtual/emacs |
2497 |
+ |
2498 |
+*git-1.4.2 (13 Aug 2006) |
2499 |
+ |
2500 |
+ 13 Aug 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.2.ebuild: |
2501 |
+ New upstream version. |
2502 |
+ |
2503 |
+ 12 Aug 2006; Fernando J. Pereda <ferdy@g.o> -git-1.2.4.ebuild, |
2504 |
+ -git-1.3.3.ebuild, -git-1.4.0.ebuild, -git-1.4.1.ebuild: |
2505 |
+ Clean old versions. |
2506 |
+ |
2507 |
+ 12 Aug 2006; Krzysiek Pawlik <nelchael@g.o> git-1.4.1.1.ebuild: |
2508 |
+ Stable on x86, see bug #143586. |
2509 |
+ |
2510 |
+ 12 Aug 2006; Markus Rothe <corsair@g.o> git-1.4.1.1.ebuild: |
2511 |
+ Stable on ppc64; bug #143586 |
2512 |
+ |
2513 |
+ 12 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.1.1.ebuild: |
2514 |
+ Add ( emacs? app-editors/emacs ) dependency since elisp-common.eclass |
2515 |
+ doesn't provide it. Thanks to nixnut@g.o for noticing. |
2516 |
+ |
2517 |
+ 12 Aug 2006; Luca Barbato <lu_zero@g.o> git-1.4.1.1.ebuild: |
2518 |
+ Marked ppc |
2519 |
+ |
2520 |
+ 11 Aug 2006; Jeroen Roovers <jer@g.o> git-1.4.1.1.ebuild: |
2521 |
+ Stable for HPPA (bug #143586). |
2522 |
+ |
2523 |
+ 11 Aug 2006; Gustavo Zacarias <gustavoz@g.o> git-1.4.1.1.ebuild: |
2524 |
+ Stable on sparc wrt #143586 |
2525 |
+ |
2526 |
+ 11 Aug 2006; Daniel Gryniewicz <dang@g.o> git-1.4.1.1.ebuild: |
2527 |
+ Marked stable on amd64 for |
2528 |
+ |
2529 |
+ 11 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.1.1.ebuild: |
2530 |
+ Stable on alpha wrt bug #143586 |
2531 |
+ |
2532 |
+ 08 Aug 2006; Fernando J. Pereda <ferdy@g.o> git-1.4.1.1.ebuild: |
2533 |
+ Recommend dev-perl/libwww-perl to use git-svn. Fixes bug #142116. |
2534 |
+ |
2535 |
+*git-1.4.1.1 (25 Jul 2006) |
2536 |
+ |
2537 |
+ 25 Jul 2006; Diego Pettenò <flameeyes@g.o> +git-1.4.1.1.ebuild: |
2538 |
+ Version bump. |
2539 |
+ |
2540 |
+ 11 Jul 2006; Aron Griffis <agriffis@g.o> git-1.4.0-r1.ebuild, |
2541 |
+ git-1.4.1.ebuild: |
2542 |
+ Mark 1.4.0-r1 stable on ia64, mark 1.4.1 ~ia64 |
2543 |
+ |
2544 |
+*git-1.4.1 (02 Jul 2006) |
2545 |
+ |
2546 |
+ 02 Jul 2006; Diego Pettenò <flameeyes@g.o> +git-1.4.1.ebuild: |
2547 |
+ Version bump to version 1.4.1. No gitweb installed as of yet. |
2548 |
+ |
2549 |
+ 28 Jun 2006; Fabian Groffen <grobian@g.o> git-1.4.0-r1.ebuild: |
2550 |
+ Marked ~ppc-macos |
2551 |
+ |
2552 |
+*git-1.4.0-r1 (27 Jun 2006) |
2553 |
+ |
2554 |
+ 27 Jun 2006; Fernando J. Pereda <ferdy@g.o> +git-1.4.0-r1.ebuild: |
2555 |
+ Install gitview and git-svn. Fixes bug #137942, thanks to Nguyen Thai Ngoc |
2556 |
+ Duy <pclouds@g.o>. |
2557 |
+ |
2558 |
+*git-1.4.0 (10 Jun 2006) |
2559 |
+ |
2560 |
+ 10 Jun 2006; Fernando J. Pereda <ferdy@g.o> metadata.xml, |
2561 |
+ -git-1.2.6.ebuild, -git-1.3.1.ebuild, -git-1.3.2.ebuild, |
2562 |
+ +git-1.4.0.ebuild: |
2563 |
+ New upstream version. Removed Carlos from metadata.xml as he requested. |
2564 |
+ Removed some old versions, too. |
2565 |
+ |
2566 |
+ 21 May 2006; Fernando J. Pereda <ferdy@g.o> +files/70git-gentoo.el, |
2567 |
+ git-1.3.3.ebuild: |
2568 |
+ Add USE=emacs support. Patch by Christian Schlotter <again@×××.de> in bug |
2569 |
+ #133883. |
2570 |
+ |
2571 |
+*git-1.3.3 (17 May 2006) |
2572 |
+ |
2573 |
+ 17 May 2006; Fernando J. Pereda <ferdy@g.o> +git-1.3.3.ebuild: |
2574 |
+ New upstream version. |
2575 |
+ |
2576 |
+ 14 May 2006; Diego Pettenò <flameeyes@g.o> git-1.3.2.ebuild: |
2577 |
+ Add ~x86-fbsd keyword. |
2578 |
+ |
2579 |
+*git-1.3.2 (04 May 2006) |
2580 |
+ |
2581 |
+ 04 May 2006; Fernando J. Pereda <ferdy@g.o> +git-1.3.2.ebuild: |
2582 |
+ New upstream version. |
2583 |
+ |
2584 |
+*git-1.3.1 (25 Apr 2006) |
2585 |
+ |
2586 |
+ 25 Apr 2006; Fernando J. Pereda <ferdy@g.o> -git-1.3.0-r1.ebuild, |
2587 |
+ +git-1.3.1.ebuild: |
2588 |
+ Version bump. Remove 1.3.0-r1. |
2589 |
+ |
2590 |
+ 21 Apr 2006; Gustavo Zacarias <gustavoz@g.o> git-1.2.4.ebuild: |
2591 |
+ Stable on hppa |
2592 |
+ |
2593 |
+*git-1.3.0-r1 (19 Apr 2006) |
2594 |
+ |
2595 |
+ 19 Apr 2006; Fernando J. Pereda <ferdy@g.o> -git-1.3.0.ebuild, |
2596 |
+ +git-1.3.0-r1.ebuild: |
2597 |
+ Remove unneeded dependencies and add a new tarball with some late |
2598 |
+ documentation changes. Install git-send-email unconditionally since now it |
2599 |
+ doesn't require extra deps (the related USE-flag goes away). Inform about |
2600 |
+ git-cvsserver. Remove the buggy old one. |
2601 |
+ |
2602 |
+*git-1.3.0 (18 Apr 2006) |
2603 |
+ |
2604 |
+ 18 Apr 2006; Fernando J. Pereda <ferdy@g.o> +git-1.3.0.ebuild: |
2605 |
+ New upstream version. |
2606 |
+ |
2607 |
+*git-1.2.6 (08 Apr 2006) |
2608 |
+ |
2609 |
+ 08 Apr 2006; Fernando J. Pereda <ferdy@g.o> -git-1.2.5.ebuild, |
2610 |
+ +git-1.2.6.ebuild: |
2611 |
+ New upstream version. Removed 1.2.5 |
2612 |
+ |
2613 |
+*git-1.2.5 (05 Apr 2006) |
2614 |
+ |
2615 |
+ 05 Apr 2006; Fernando J. Pereda <ferdy@g.o> -git-1.2.3.ebuild, |
2616 |
+ +git-1.2.5.ebuild: |
2617 |
+ New upstream version. Use the X use flag instead of tcltk. Remove 1.2.3. |
2618 |
+ |
2619 |
+ 22 Mar 2006; Luis Medinas <metalgod@g.o> git-1.2.4.ebuild: |
2620 |
+ Stable on amd64. Bug #126850. |
2621 |
+ |
2622 |
+ 22 Mar 2006; Gustavo Zacarias <gustavoz@g.o> git-1.2.4.ebuild: |
2623 |
+ ~hppa blessing |
2624 |
+ |
2625 |
+ 20 Mar 2006; Gustavo Zacarias <gustavoz@g.o> git-1.2.4.ebuild: |
2626 |
+ Stable on sparc wrt #126850 |
2627 |
+ |
2628 |
+ 20 Mar 2006; Luca Barbato <lu_zero@g.o> git-1.2.4.ebuild: |
2629 |
+ Marked ppc |
2630 |
+ |
2631 |
+ 19 Mar 2006; Krzysiek Pawlik <nelchael@g.o> git-1.2.4.ebuild: |
2632 |
+ Stable on x86, see bug #126850. |
2633 |
+ |
2634 |
+ 19 Mar 2006; Markus Rothe <corsair@g.o> git-1.2.4.ebuild: |
2635 |
+ Stable on ppc64; bug #126850 |
2636 |
+ |
2637 |
+ 19 Mar 2006; Fernando J. Pereda <ferdy@g.o> git-1.2.4.ebuild: |
2638 |
+ Stable on alpha wrt bug #126850 |
2639 |
+ |
2640 |
+*git-1.2.4 (02 Mar 2006) |
2641 |
+ |
2642 |
+ 02 Mar 2006; Fernando J. Pereda <ferdy@g.o> -git-1.2.1.ebuild, |
2643 |
+ -git-1.2.2.ebuild, +git-1.2.4.ebuild: |
2644 |
+ New upstream version. Trim old ones |
2645 |
+ |
2646 |
+*git-1.2.3 (23 Feb 2006) |
2647 |
+ |
2648 |
+ 23 Feb 2006; Fernando J. Pereda <ferdy@g.o> +git-1.2.3.ebuild: |
2649 |
+ New upstream version |
2650 |
+ |
2651 |
+*git-1.2.2 (19 Feb 2006) |
2652 |
+ |
2653 |
+ 19 Feb 2006; Fernando J. Pereda <ferdy@g.o> -git-1.2.0.ebuild, |
2654 |
+ +git-1.2.2.ebuild: |
2655 |
+ New upstream version. Remove old one. |
2656 |
+ |
2657 |
+ 18 Feb 2006; Simon Stelling <blubb@g.o> git-1.1.6.ebuild: |
2658 |
+ stable on amd64 |
2659 |
+ |
2660 |
+ 17 Feb 2006; Joseph Jezak <josejx@g.o> git-1.1.6.ebuild: |
2661 |
+ Marked ppc stable for bug #122887. |
2662 |
+ |
2663 |
+*git-1.2.1 (16 Feb 2006) |
2664 |
+ |
2665 |
+ 16 Feb 2006; Fernando J. Pereda <ferdy@g.o> -git-0.7.ebuild, |
2666 |
+ +git-1.2.1.ebuild: |
2667 |
+ New upstream version, remove ancient one |
2668 |
+ |
2669 |
+ 15 Feb 2006; Markus Rothe <corsair@g.o> git-1.1.6.ebuild: |
2670 |
+ Stable on ppc64; bug #122887 |
2671 |
+ |
2672 |
+ 15 Feb 2006; Gustavo Zacarias <gustavoz@g.o> git-1.1.6.ebuild: |
2673 |
+ Stable on sparc wrt #122887 |
2674 |
+ |
2675 |
+ 15 Feb 2006; Krzysiek Pawlik <nelchael@g.o> git-1.1.6.ebuild: |
2676 |
+ Stable on x86, bug #122887. |
2677 |
+ |
2678 |
+ 15 Feb 2006; Fernando J. Pereda <ferdy@g.o> -git-0.99.8a.ebuild, |
2679 |
+ -git-0.99.9n.ebuild, -git-1.0.6.ebuild, git-1.1.6.ebuild: |
2680 |
+ git-1.1.6 stable on alpha. Remove ancienct ~arch versions |
2681 |
+ |
2682 |
+ 13 Feb 2006; Stuart Longland <redhatter@g.o> git-1.1.6.ebuild: |
2683 |
+ Added ~mips to git-1.1.6 as per bug #108215. |
2684 |
+ |
2685 |
+*git-1.2.0 (13 Feb 2006) |
2686 |
+ |
2687 |
+ 13 Feb 2006; Fernando J. Pereda <ferdy@g.o> -git-1.1.5.ebuild, |
2688 |
+ +git-1.2.0.ebuild: |
2689 |
+ Version bump, remove 1.1.5 |
2690 |
+ |
2691 |
+*git-1.1.6 (30 Jan 2006) |
2692 |
+ |
2693 |
+ 30 Jan 2006; Fernando J. Pereda <ferdy@g.o> -git-1.1.3.ebuild, |
2694 |
+ -git-1.1.4.ebuild, +git-1.1.6.ebuild: |
2695 |
+ New upstream version, remove old ones |
2696 |
+ |
2697 |
+*git-1.1.5 (28 Jan 2006) |
2698 |
+ |
2699 |
+ 28 Jan 2006; Fernando J. Pereda <ferdy@g.o> +git-1.1.5.ebuild: |
2700 |
+ new upstream version |
2701 |
+ |
2702 |
+*git-1.1.4 (20 Jan 2006) |
2703 |
+ |
2704 |
+ 20 Jan 2006; Fernando J. Pereda <ferdy@g.o> -git-1.1.2.ebuild, |
2705 |
+ +git-1.1.4.ebuild: |
2706 |
+ New upstream version. |
2707 |
+ |
2708 |
+*git-1.1.3 (17 Jan 2006) |
2709 |
+ |
2710 |
+ 17 Jan 2006; Fernando J. Pereda <ferdy@g.o> |
2711 |
+ -files/git-1.1.1-glossary-from-1.1.0.diff, -git-1.1.1.ebuild, |
2712 |
+ +git-1.1.3.ebuild: |
2713 |
+ new upstream version, remove 1.1.1 |
2714 |
+ |
2715 |
+*git-1.1.2 (14 Jan 2006) |
2716 |
+ |
2717 |
+ 14 Jan 2006; Fernando J. Pereda <ferdy@g.o> +git-1.1.2.ebuild: |
2718 |
+ new upstream version |
2719 |
+ |
2720 |
+ 12 Jan 2006; Fernando J. Pereda <ferdy@g.o> git-1.1.1.ebuild: |
2721 |
+ We should only try to apply git-1.1.1-glossary-from-1.1.0.diff if USE=doc. |
2722 |
+ Fixes bug #118755, thanks to Christian Heim <phreak@g.o> |
2723 |
+ |
2724 |
+*git-1.1.1 (11 Jan 2006) |
2725 |
+ |
2726 |
+ 11 Jan 2006; Fernando J. Pereda <ferdy@g.o> |
2727 |
+ +files/git-1.1.1-glossary-from-1.1.0.diff, -git-1.1.0.ebuild, |
2728 |
+ +git-1.1.1.ebuild: |
2729 |
+ Version bump. Remove 1.1.0 as it reported a wrong version and might make |
2730 |
+ confuse bugreports. |
2731 |
+ |
2732 |
+ 09 Jan 2006; Fernando J. Pereda <ferdy@g.o> git-1.1.0.ebuild: |
2733 |
+ http://kernel.org/pub -> mirror://kernel/ in SRC_URI |
2734 |
+ |
2735 |
+*git-1.1.0 (09 Jan 2006) |
2736 |
+ |
2737 |
+ 09 Jan 2006; Fernando J. Pereda <ferdy@g.o> +git-1.1.0.ebuild: |
2738 |
+ New upstream version |
2739 |
+ |
2740 |
+*git-1.0.6 (28 Dec 2005) |
2741 |
+ |
2742 |
+ 28 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-1.0.5.ebuild, |
2743 |
+ +git-1.0.6.ebuild: |
2744 |
+ A new day, means a new upstream version |
2745 |
+ |
2746 |
+*git-1.0.5 (27 Dec 2005) |
2747 |
+ |
2748 |
+ 27 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-1.0.4.ebuild, |
2749 |
+ +git-1.0.5.ebuild: |
2750 |
+ New upstream version. |
2751 |
+ |
2752 |
+*git-1.0.4 (24 Dec 2005) |
2753 |
+ |
2754 |
+ 24 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-1.0.3.ebuild, |
2755 |
+ +git-1.0.4.ebuild: |
2756 |
+ New upstream version. Remove 1.0.3 |
2757 |
+ |
2758 |
+*git-1.0.3 (23 Dec 2005) |
2759 |
+ |
2760 |
+ 23 Dec 2005; Fernando J. Pereda <ferdy@g.o> |
2761 |
+ -files/git-1.0.0-http-fix.patch, -git-1.0.0-r1.ebuild, +git-1.0.3.ebuild: |
2762 |
+ Version bump, remove old version |
2763 |
+ |
2764 |
+*git-1.0.0-r1 (21 Dec 2005) |
2765 |
+ |
2766 |
+ 21 Dec 2005; Fernando J. Pereda <ferdy@g.o> |
2767 |
+ +files/git-1.0.0-http-fix.patch, -git-1.0.0.ebuild, +git-1.0.0-r1.ebuild: |
2768 |
+ This is what upstream calls 1.0.0a. Remove 1.0.0 since it is a bit broken |
2769 |
+ |
2770 |
+*git-1.0.0 (21 Dec 2005) |
2771 |
+ |
2772 |
+ 21 Dec 2005; Fernando J. Pereda <ferdy@g.o> +git-1.0.0.ebuild: |
2773 |
+ New upstream version |
2774 |
+ |
2775 |
+*git-0.99.9n (15 Dec 2005) |
2776 |
+ |
2777 |
+ 15 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9m.ebuild, |
2778 |
+ +git-0.99.9n.ebuild: |
2779 |
+ New upstream version, remove old one |
2780 |
+ |
2781 |
+*git-0.99.9m (12 Dec 2005) |
2782 |
+ |
2783 |
+ 12 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9l.ebuild, |
2784 |
+ +git-0.99.9m.ebuild: |
2785 |
+ version bump, remove old version |
2786 |
+ |
2787 |
+*git-0.99.9l (04 Dec 2005) |
2788 |
+ |
2789 |
+ 04 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9k.ebuild, |
2790 |
+ +git-0.99.9l.ebuild: |
2791 |
+ version bump. remove old version |
2792 |
+ |
2793 |
+ 02 Dec 2005; Fernando J. Pereda <ferdy@g.o> |
2794 |
+ -files/git-0.99.9j-binary-diff-fix.patch: |
2795 |
+ remove unneeded patch |
2796 |
+ |
2797 |
+*git-0.99.9k (01 Dec 2005) |
2798 |
+ |
2799 |
+ 01 Dec 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9j.ebuild, |
2800 |
+ +git-0.99.9k.ebuild: |
2801 |
+ version bump, remove old version |
2802 |
+ |
2803 |
+ 30 Nov 2005; Tom Gall <tgall@g.o> git-0.99.9j.ebuild: |
2804 |
+ stable on ppc64 (and works well!) |
2805 |
+ |
2806 |
+ 19 Nov 2005; Carlos Silva <r3pek@g.o> |
2807 |
+ +files/git-0.99.9j-binary-diff-fix.patch, -files/git-0.99.9j-diff.patch, |
2808 |
+ git-0.99.9j.ebuild: |
2809 |
+ Rename the patch to a more understandable name |
2810 |
+ |
2811 |
+*git-0.99.9j (19 Nov 2005) |
2812 |
+ |
2813 |
+ 19 Nov 2005; Fernando J. Pereda <ferdy@g.o> |
2814 |
+ +files/git-0.99.9j-diff.patch, -git-0.99.9i.ebuild, +git-0.99.9j.ebuild: |
2815 |
+ version bump; this is 1.0rc2. Remove old version (aka 1.0rc1) |
2816 |
+ |
2817 |
+*git-0.99.9i (15 Nov 2005) |
2818 |
+ |
2819 |
+ 15 Nov 2005; Carlos Silva <r3pek@g.o> -git-0.99.9h.ebuild, |
2820 |
+ +git-0.99.9i.ebuild: |
2821 |
+ Version bump |
2822 |
+ |
2823 |
+*git-0.99.9h (14 Nov 2005) |
2824 |
+ |
2825 |
+ 14 Nov 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9g.ebuild, |
2826 |
+ +git-0.99.9h.ebuild: |
2827 |
+ version bump, remove old version |
2828 |
+ |
2829 |
+*git-0.99.9g (10 Nov 2005) |
2830 |
+ |
2831 |
+ 10 Nov 2005; Carlos Silva <r3pek@g.o> -git-0.99.9f.ebuild, |
2832 |
+ +git-0.99.9g.ebuild: |
2833 |
+ Version bump |
2834 |
+ |
2835 |
+*git-0.99.9f (08 Nov 2005) |
2836 |
+ |
2837 |
+ 08 Nov 2005; Carlos Silva <r3pek@g.o> -git-0.99.9e.ebuild, |
2838 |
+ +git-0.99.9f.ebuild: |
2839 |
+ Version bump |
2840 |
+ |
2841 |
+*git-0.99.9e (07 Nov 2005) |
2842 |
+ |
2843 |
+ 07 Nov 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9d.ebuild, |
2844 |
+ +git-0.99.9e.ebuild: |
2845 |
+ version bump, remove old one |
2846 |
+ |
2847 |
+*git-0.99.9d (06 Nov 2005) |
2848 |
+ |
2849 |
+ 06 Nov 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9c.ebuild, |
2850 |
+ +git-0.99.9d.ebuild: |
2851 |
+ version bump, remove old version |
2852 |
+ |
2853 |
+*git-0.99.9c (04 Nov 2005) |
2854 |
+ |
2855 |
+ 04 Nov 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9b.ebuild, |
2856 |
+ +git-0.99.9c.ebuild: |
2857 |
+ version bump, remove old version |
2858 |
+ |
2859 |
+*git-0.99.9b (02 Nov 2005) |
2860 |
+ |
2861 |
+ 02 Nov 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.9.ebuild, |
2862 |
+ +git-0.99.9b.ebuild: |
2863 |
+ version bump, removed old version |
2864 |
+ |
2865 |
+*git-0.99.9 (30 Oct 2005) |
2866 |
+ |
2867 |
+ 30 Oct 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.8f.ebuild, |
2868 |
+ +git-0.99.9.ebuild: |
2869 |
+ version bump. remove old version |
2870 |
+ |
2871 |
+*git-0.99.8f (19 Oct 2005) |
2872 |
+ |
2873 |
+ 19 Oct 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.8d.ebuild, |
2874 |
+ -git-0.99.8e.ebuild, +git-0.99.8f.ebuild: |
2875 |
+ version bump, remove old versions |
2876 |
+ |
2877 |
+*git-0.99.8e (18 Oct 2005) |
2878 |
+ |
2879 |
+ 18 Oct 2005; Carlos Silva <r3pek@g.o> +git-0.99.8e.ebuild: |
2880 |
+ Version bump |
2881 |
+ |
2882 |
+*git-0.99.8d (16 Oct 2005) |
2883 |
+ |
2884 |
+ 16 Oct 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.8c-r1.ebuild, |
2885 |
+ +git-0.99.8d.ebuild: |
2886 |
+ version bump, remove old version |
2887 |
+ |
2888 |
+*git-0.99.8c-r1 (14 Oct 2005) |
2889 |
+ |
2890 |
+ 14 Oct 2005; Fernando J. Pereda <ferdy@g.o> -git-0.99.8b.ebuild, |
2891 |
+ -git-0.99.8c.ebuild, +git-0.99.8c-r1.ebuild: |
2892 |
+ provide a custom src_test since the default one fails. fix one pkg_postinst |
2893 |
+ einfo. remove 0.99.8{b,c} |
2894 |
+ |
2895 |
+*git-0.99.8c (11 Oct 2005) |
2896 |
+ |
2897 |
+ 11 Oct 2005; Carlos Silva <r3pek@g.o> +git-0.99.8c.ebuild: |
2898 |
+ New version from upstream. This version have an important fix to |
2899 |
+ git-ls-tree. When two identical blobs or trees were contained in a tree, the |
2900 |
+ earlier code mislabeled them in the output. |
2901 |
+ |
2902 |
+*git-0.99.8b (06 Oct 2005) |
2903 |
+ |
2904 |
+ 06 Oct 2005; Fernando J. Pereda <ferdy@g.o> +git-0.99.8b.ebuild: |
2905 |
+ version bump. Fix git-send-email installation. Added missing dependency on |
2906 |
+ dev-perl/Email-Valid. Dropped ~mips keyword, see bug #108215 for more |
2907 |
+ information. |
2908 |
+ |
2909 |
+*git-0.99.8a (05 Oct 2005) |
2910 |
+ |
2911 |
+ 05 Oct 2005; Fernando J. Pereda <ferdy@g.o> |
2912 |
+ +files/git-daemon.confd, +files/git-daemon.initd, metadata.xml, |
2913 |
+ -git-0.99.8.ebuild, +git-0.99.8a.ebuild: |
2914 |
+ Added myself to metadata. Version bump, added init script and its conf.d |
2915 |
+ file. Fixed USE=doc. Removed not needed deps and rephrased pkg_postinst. |
2916 |
+ Removed old version |
2917 |
+ |
2918 |
+*git-0.99.8 (03 Oct 2005) |
2919 |
+ |
2920 |
+ 03 Oct 2005; Carlos Silva <r3pek@g.o> -git-0.99.6.ebuild, |
2921 |
+ -git-0.99.7d.ebuild, +git-0.99.8.ebuild: |
2922 |
+ Version bump |
2923 |
+ |
2924 |
+ 28 Sep 2005; Ilya A. Volynets-Evenbakh <ilya@×××××××××××××××.com> |
2925 |
+ git-0.99.7d.ebuild: |
2926 |
+ mark ~mips |
2927 |
+ |
2928 |
+*git-0.99.7d (25 Sep 2005) |
2929 |
+ |
2930 |
+ 25 Sep 2005; Carlos Silva <r3pek@g.o> -git-0.99.7a-r1.ebuild, |
2931 |
+ +git-0.99.7d.ebuild: |
2932 |
+ Version bump. Applied the patches found in bug #106998 |
2933 |
+ |
2934 |
+*git-0.99.7a-r1 (22 Sep 2005) |
2935 |
+ |
2936 |
+ 22 Sep 2005; Carlos Silva <r3pek@g.o> -git-0.99.7a.ebuild, |
2937 |
+ +git-0.99.7a-r1.ebuild: |
2938 |
+ Rev bump to fix some dependencies and added the tcltk use flag |
2939 |
+ |
2940 |
+*git-0.99.7a (21 Sep 2005) |
2941 |
+ |
2942 |
+ 21 Sep 2005; Carlos Silva <r3pek@g.o> -git-0.99.7.ebuild, |
2943 |
+ +git-0.99.7a.ebuild: |
2944 |
+ Version bump. Also did some cleanup on the DEPEND/RDEPEND var's and added |
2945 |
+ the gitsendemail use flag. Fixes bug #106791, thx to Max Loparyev. |
2946 |
+ |
2947 |
+*git-0.99.7 (19 Sep 2005) |
2948 |
+ |
2949 |
+ 19 Sep 2005; Carlos Silva <r3pek@g.o> +git-0.99.7.ebuild: |
2950 |
+ Version bump |
2951 |
+ |
2952 |
+ 18 Sep 2005; Markus Rothe <corsair@g.o> git-0.99.6.ebuild: |
2953 |
+ Added ~ppc64 (bug #106318) |
2954 |
+ |
2955 |
+ 12 Sep 2005; Carlos Silva <r3pek@g.o> git-0.7.ebuild, |
2956 |
+ git-0.99.6.ebuild: |
2957 |
+ Fixed homepage. Closes bug #105648 |
2958 |
+ |
2959 |
+*git-0.99.6 (08 Sep 2005) |
2960 |
+ |
2961 |
+ 08 Sep 2005; Carlos Silva <r3pek@g.o> -git-0.99.5-r2.ebuild, |
2962 |
+ +git-0.99.6.ebuild: |
2963 |
+ Version bump. Removed version 0.99.5 |
2964 |
+ |
2965 |
+*git-0.99.5-r2 (04 Sep 2005) |
2966 |
+ |
2967 |
+ 04 Sep 2005; Carlos Silva <r3pek@g.o> -git-0.99.5-r1.ebuild, |
2968 |
+ +git-0.99.5-r2.ebuild: |
2969 |
+ Forgot to revbump |
2970 |
+ |
2971 |
+ 04 Sep 2005; Carlos Silva <r3pek@g.o> git-0.99.5-r1.ebuild: |
2972 |
+ Added app-text/rcs as dep. Closes bug #104536 |
2973 |
+ |
2974 |
+*git-0.99.5-r1 (27 Aug 2005) |
2975 |
+ |
2976 |
+ 27 Aug 2005; Carlos Silva <r3pek@g.o> -git-0.99.4.ebuild, |
2977 |
+ -git-0.99.5.ebuild, +git-0.99.5-r1.ebuild: |
2978 |
+ Removed version 0.99.4. Revbumped version 0.99.5 to add a missing dep |
2979 |
+ (dev-util/cvsps). Closes bug #103962 |
2980 |
+ |
2981 |
+ 26 Aug 2005; Fernando J. Pereda <ferdy@g.o> git-0.99.5.ebuild: |
2982 |
+ marked ~alpha wrt bug #101907 |
2983 |
+ |
2984 |
+*git-0.99.5 (25 Aug 2005) |
2985 |
+ |
2986 |
+ 25 Aug 2005; Carlos Silva <r3pek@g.o> -git-0.99.3.ebuild, |
2987 |
+ git-0.99.4.ebuild, +git-0.99.5.ebuild: |
2988 |
+ Version bump |
2989 |
+ |
2990 |
+ 24 Aug 2005; Gustavo Zacarias <gustavoz@g.o> git-0.7.ebuild: |
2991 |
+ Stable on sparc |
2992 |
+ |
2993 |
+*git-0.99.4 (13 Aug 2005) |
2994 |
+ |
2995 |
+ 13 Aug 2005; Carlos Silva <r3pek@g.o> git-0.7.ebuild, |
2996 |
+ +git-0.99.4.ebuild: |
2997 |
+ Marked version 0.7 stable on x86 and added version 0.99.4 |
2998 |
+ |
2999 |
+*git-0.99.3 (09 Aug 2005) |
3000 |
+ |
3001 |
+ 09 Aug 2005; Michał Januszewski <spock@g.o> +git-0.99.3.ebuild: |
3002 |
+ Version bump. |
3003 |
+ |
3004 |
+ 15 Jul 2005; Carlos Silva <r3pek@g.o> git-0.7.ebuild: |
3005 |
+ Closing bug #98032. thx Carsten Lohrke |
3006 |
+ |
3007 |
+ 24 Jun 2005; Gustavo Zacarias <gustavoz@g.o> git-0.7.ebuild: |
3008 |
+ To ~sparc |
3009 |
+ |
3010 |
+ 19 May 2005; Carlos Silva <r3pek@g.o> git-0.7.ebuild: |
3011 |
+ Adding net-misc/curl as a dep. Thanks to Priit Laes in bug #93247 |
3012 |
+ |
3013 |
+ 17 May 2005; Carlos Silva <r3pek@g.o> git-0.7.ebuild: |
3014 |
+ Removing git-pasky references |
3015 |
+ |
3016 |
+ 07 May 2005; David Holm <dholm@g.o> git-0.7.ebuild: |
3017 |
+ Added to ~ppc. |
3018 |
+ |
3019 |
+*git-0.7 (05 May 2005) |
3020 |
+ |
3021 |
+ 05 May 2005; Carlos Silva <r3pek@g.o> -git-0.6.ebuild, |
3022 |
+ +git-0.7.ebuild: |
3023 |
+ Removing old git version (0.6) and adding the new one (0.7) |
3024 |
+ |
3025 |
+*git-0.6 (26 Apr 2005) |
3026 |
+ |
3027 |
+ 26 Apr 2005; Carlos Silva <r3pek@g.o> -git-0.04.ebuild, |
3028 |
+ +git-0.6.ebuild: |
3029 |
+ Bumping to 0.6 |
3030 |
+ |
3031 |
+*git-0.5 (21 Apr 2005) |
3032 |
+ |
3033 |
+ 21 Apr 2005; Carlos Silva <r3pek@g.o> +git-0.5.ebuild: |
3034 |
+ Version bump |
3035 |
+ |
3036 |
+ 15 Apr 2005; Carlos Silva <r3pek@g.o> : |
3037 |
+ Cleaning up the ebuild |
3038 |
+ |
3039 |
+*git-0.04 (15 Apr 2005) |
3040 |
+ |
3041 |
+ 15 Apr 2005; Carlos Silva <r3pek@g.o> +metadata.xml: |
3042 |
+ Initial import |
3043 |
|
3044 |
diff --git a/dev-vcs/git/Manifest b/dev-vcs/git/Manifest |
3045 |
new file mode 100644 |
3046 |
index 0000000..4ec4b29 |
3047 |
--- /dev/null |
3048 |
+++ b/dev-vcs/git/Manifest |
3049 |
@@ -0,0 +1,61 @@ |
3050 |
+-----BEGIN PGP SIGNED MESSAGE----- |
3051 |
+Hash: SHA256 |
3052 |
+ |
3053 |
+AUX 50git-gentoo.el 472 SHA256 7cd37e8db7eaeee8d822d38851eb69771b0f09c79883a8e51309a9add85fdbe2 SHA512 0435d7d67f2b64460a62c6a95c65a722c0f8d5d50d064a81e690de84a761ba518d32db545ee70c0fa3ad7803d77d5dab100689888bc92c9d82f2d6d5073623b3 WHIRLPOOL 887682f79182f6728af3c0fd2ee0e81319d49761a987559684be5e4acae4af579a5b8d1197ddba31452cec179de3c8f5784cc85ad61f78b400e42c204c93f642 |
3054 |
+AUX git-1.7.12-git-svn-backport.patch 37717 SHA256 5379c97de060617ca6cef65bcc4f78a986943bdc587517af27c8ae80bb7bfafd SHA512 ad716ed9c449961d7b0bfe29f3450e0a4d4fe2c7c8069916bb0a69a6ee47bab5f7c4b68496b31cd67e6472aa05723ef8f32d8d7f56cdd2f4a40190058e324a8b WHIRLPOOL 30ecbf8cd97903d7a9b5b710f53b3ef6ea3092c224ebc82682a1840d93a28e6680c318d0e69af252b4901255f8f12a992b8a18eb46a9a015fc383a7c70312e89 |
3055 |
+AUX git-1.7.12-optional-cvs.patch 11683 SHA256 4ffbbef802c60315740820491c25eaa57e1bba2c74cb5b2f7115b9c28b31d1bf SHA512 9f0af51636d95f78e6708dd2612aeaa8e439308a0537035019ae85a53ee124d73c74380e48706ef718666041e37d721d5ad1c224f902e3e0f88bf16214f6cfed WHIRLPOOL abebd47297245d8da9a28bd5454b6e54c5d16fb0757d099704f6fd7abeac67d2837bc6893bc7bc06145adf9ebc967871a4eec1a86924671b4b04c0b0d72742ed |
3056 |
+AUX git-1.8.2-optional-cvs.patch 11737 SHA256 37e092ca2dfa3ec216df568c1439acb3bdcc7366b75feb092f39642fc5894ce4 SHA512 7f914f16efee2f81a6f42a0e7ff1d72094bf032e98fa1a22f4b1e848eebf3a056ccdea1c84b24310cff4f19737b336d79a4f9c098a0ac4b0556e1a74708ef870 WHIRLPOOL d5e66fbfe0a6ae6c956ffb886d66c7a7906a3d60eac43b87d1e40206197f58d9aed54ee57cf5bb592147b7b9ac50fe50996f3b7e94161e5e308567c3a108cf43 |
3057 |
+AUX git-1.8.2-texinfo.patch 515 SHA256 86d60eeae9a21fa64047401b80a5e082b0f306a68efab139979bc979fb31830f SHA512 9a9920f6b2d170f3ca71ae4c35cb001252e5f43e087f5b49f9aa617606fb3b7173aea5ef91c5d195b36bf1a1964e936d777797e03642a0da55a596e68c13a29c WHIRLPOOL 9e66c94c5eac4fe22f7cdd400c68893368a21550a5aadd467c53591e62bcf146d6a08db1e7a3cb8b32a45d5568c0b7a7462a0c6f8709ea35a284845a2c5e5820 |
3058 |
+AUX git-1.8.4-optional-cvs.patch 11737 SHA256 7f8f1bd8f2953044433d90edea2bae7334e0d14ee7dc5e6e327e4caec8b0100b SHA512 2966582ccd5640c34aba156a955b458176ec2d450471279ec77200cbd1fb19f84dabc2a913fea17ae7503609074f8c80c05bb93f7244acfe296c078cf4a030ac WHIRLPOOL 07d5ab8ab60f6338ff1c9c7b8817938917ec12a5c360e595d7a40ffbbff18b439fea576c70dd4ddc7547edab23f4e86110f201c88be68e5a874d295f6051e592 |
3059 |
+AUX git-1.8.5-optional-cvs.patch 10088 SHA256 a35732c6d3bfbe62b298a730652a85f7deac6bdd59bd842b4dddedaa6ad0f1fb SHA512 f78f82af4e51002553157e61a16fb9855743acaa9cd9b9914e047eb3ff7f7fc4aa2d89e9c7f86fb6bf9d3f5854e44519c72669c6436132c728b28a4599d184f1 WHIRLPOOL f8080b56bff0c1add20d9c3c3e2b842e351029cae02e147307260a6504de4300d01262176c03203259037e6f98ffb043e1e1b4a914b1110d666b30383ead2e24 |
3060 |
+AUX git-daemon.confd 712 SHA256 9bf02170dcf73e930a992adf44326ed7c27159d41a503ca4d9371861ee5030c9 SHA512 bf715ce0d3cd6a5be405d7739bc06252b95f93f9874716dadf666d33063be6ab3e37ae1ee253ed291bfb4f66df268b44d9653672851e1bb40112c0aae08fc4ea WHIRLPOOL 13643f53cd2f9675867ff194d680cd8ffe91bccbd0b15ae41b45471ec7310c09af8335619ff2a1562a835d8449eb44f9a9e9453c3ba15005763497c668d59181 |
3061 |
+AUX git-daemon.initd 738 SHA256 48e7e1228c9811079dce8fecc560000cf645de5b4bb697f8f8ad3f906906330b SHA512 2b1cff1e1bf85db1674bd130639a7557fd4bb1ee2e9b2e7d1e2dc28274b6fa6c6c150acf37d0e652173980c640cb0f7ac36332012182955ecc4d21c6258bfd4d WHIRLPOOL c47dd7d0f3b183e14f3ca4e499b1ceef0b88f11675c7f6dee225516f062f556bfd41aa7f87d6cdf490411101ae541ab5fe173069dbfab6b1473a2b3d951ce901 |
3062 |
+AUX git-daemon.socket 116 SHA256 66a064b67e441306bf765d3d3115ac55bafa2098400af134f852d4aecf8608d7 SHA512 e383d358999ea0c7201c1709015a9b7c4dd9dd71287605640aca837fac1e2ee33a5a1684e1c3414c08742605f185b722f4864afd5be8b79a9f0d8f7ae0f9b701 WHIRLPOOL 1098e46b6d2be3c8d758a087408aed91e0c01625542dfc90fbff80ed8b40d2a54ea4ab45b4d003ef0b0b8ed1411e1146a58076b68096389412a61fe2d09214dd |
3063 |
+AUX git-daemon.xinetd 260 SHA256 5025efbceed83835378cada3728448cbf445a1584e7cbd7736f568f4b6b52a67 SHA512 5e0c85004e7e2b89fd191350022b9970a6ca03129b4c913e159570b99b5797ab924f667cd3dc5693a9d4916b7b5cf36814eda015dbdf46a1354eb50d1c081f9c WHIRLPOOL 155bfca2c071d5368de09412d1d937cefd3b5cd28a991b99845551738440b92791c33a67ef41be711dbf06fc4faf4a299cbaf1f410b119fe5deb5a4cd741803d |
3064 |
+AUX git-daemon_at.service 395 SHA256 c427e37d3e859c13f9441b20c7cb6aba7bca048cb70809ee1253726e733fac7d SHA512 4931954564ae7d2e21e49c8f251bae7c6be8a420f75e68e23214c85993dceb81b719e5fee11366b82b28ef5fa27a9ae2b2faa5c79c16d367c6d50fb03bbd0cff WHIRLPOOL a18f8fe6755c85e8d332d989637105d7842e8fc107a263dd0252e34e30dca21aaff593041bca3f0a728b995f19310d3cab8c43e2a7524ee9e612cca03c7ffccf |
3065 |
+DIST git-1.8.1.5.tar.gz 4306780 SHA256 f8b0be6e53e866f83cde64fa947011ebac56077bd1273c2e894038878986b955 SHA512 19ee4c76c66595f24d5093648202840f39356c111124017beeb32a4d79e8ce362d901ff4a09ad67c1392c5d1e48068a3a4634ad2865d8231e70b197a1cf0fdd3 WHIRLPOOL 559a89140b95bc413b6be5f4d09abc75a038d50381ae0fa61a5fa1c190edf92a5cf9ec2a938ba5d1ccd5563bb19883254773599749bb12488761c125b510b5e2 |
3066 |
+DIST git-1.8.2.1.tar.gz 4400440 SHA256 ed6dbf91b56c1540627563b5e8683fe726dac881ae028f3f17650b88fcb641d7 SHA512 d75a36a91b0522ca3a5c792473e16fc98dd9de082b4c0e9a75ebc525fa334edfdcb6dbf138e1bdede711f2158f24e8a8ba8499b89f9a82be1b5e60eb4ba5d33e WHIRLPOOL 587afbadca06674b751385b6f5fcda3d74db159a03bdbb1d477d4d9d4eb792d020a6f97906d2bf7d69f2f14432aaf6634d4274aa14e377ca6c865676853fd060 |
3067 |
+DIST git-1.8.3.2.tar.gz 4474347 SHA256 2f798db86859c85608fe4120f52a1b1cb13ca9c4daa4f59eb1dc090280f46473 SHA512 6e19948821dfbf78c5b9ea95614d3c10f4625583e3c17b6c55110b74f28679e525c449179cf49c2587a86c3b7fd7b6a27589824fcea0ec6fb69ca752a6942931 WHIRLPOOL 26892e039b67b35ae9df0a124d0812b36a22f481f146561b733a758b89a00770c05902c2820f2a783bc0fac07ecb335accbc939d21481da821177e0548d6a077 |
3068 |
+DIST git-1.8.4.5.tar.gz 4677738 SHA256 37772b18b8184bb3b746963b8e1047a1205447df68c2b25698351434f8092d90 SHA512 56060aebf013becf884e27bf2a71a140c17055e0214a6a461ad3476d1d7017f63f3e2231047040adc5c42c2a08b0e75c9ae12b50c913c6689494337f3f7ad8e2 WHIRLPOOL 4dc0e1fbb8bf1d02706ec3943f506cf4f28a5f9146797dc35ac5401db752810220e1da109e3ce0750a8b2e2d7b7340ce223fe55c0279a1fdf60c457117da64c9 |
3069 |
+DIST git-1.8.5.1.tar.gz 4755003 SHA256 521589b48f6defa63a99241121968646ef9a7ab5919b88e08fdbaadfe071561b SHA512 5ad5630771ca66e51b384f6651e77e18c6e3c8d349ceeeabd51d6d0ea23e5d0481d8dc9dc33e2e403fe2abf777906b65566858c42fa98241919ad4f07c6b3e37 WHIRLPOOL 125264ffda81e4a6fc5d6100ad06be0ae9bab2212214b413ca8dbbb84b958a00d234d819e874a09c954cc1dbe3befc751dc51873cb6abff5f6ec72b85a491c26 |
3070 |
+DIST git-1.8.5.2.tar.gz 4755707 SHA256 e986da24893197e33d835150c456708441e4a116a726ce9312a27f6de804f7b2 SHA512 73e408dd787b73a0f3935e37540d5da32a2f8d6d84af60d3ec7e224c3a953cc62eea749c7a689f8cca3b54e633f2520ed23d910ca5932021523e1fb750bf2c0a WHIRLPOOL d6623742cce0bdcb6b5334d363b44edeb6413e45fa42cb2bce013e07796dc98bd865b0d2c2578f2bd526140dceea25b19acbe212dc6afec7903c5dd6ea794d7f |
3071 |
+DIST git-htmldocs-1.8.1.5.tar.gz 2060977 SHA256 108e34217b2668945ca78b36b08ceeb9fe283617fe68b8f181219076bb225de0 SHA512 0b46a95a47df4326633d10295eeb09d41cee78d9c30775f7784690715e3b5d607ff26027f4cd6036f31dfc458ba2757ceb5ed6ea675a863a5dc69d8e5a7b34f5 WHIRLPOOL d273fbee9fb0a68ef3f0d19ba2249481bd15ff69b289e046e975fccda7639102519aa79bff94f6317e6b73cc414128b8b8619fcda1a910b74770b0aba1694d26 |
3072 |
+DIST git-htmldocs-1.8.2.1.tar.gz 2093688 SHA256 3f2482089eb345ec7d2ad61ad731c17ea87733b763585b580cf99b17194e0286 SHA512 8e7f25a0b230473f9e9290f61e9ea80a675459eea163ef76e281aa95747f5bc4df2ddb7f9bba9c2b0fb75819cd206f2415ba665bc986a628a07e8da4e5aa6efc WHIRLPOOL 574a01d1e403b25444ac88f66a939fcad1c96025a62f91550f328d400246955e61255dd403f3cf8302b961032f536e394b77228a8434c7b2065b564163f49114 |
3073 |
+DIST git-htmldocs-1.8.3.2.tar.gz 2115320 SHA256 805b7fc4399daf9258e8cc28ecc3dd043fdd7f339447f4d84674826916109246 SHA512 0890b60bfa110ca7eaf7aaddbf0aca9574f608addc384cece3c91c8c04ef6397064a0669f3d61d0a65eb120b626ccd85df26f04438ca301f349136cd55e5080a WHIRLPOOL 377c39ac7988a3c1bb6e80333c43878d38fe5eecbb75dcbcbef3c2186842fcc170a552d72be891f1479c336fdd6c5ac1ce1ca2c0adf9a8238bd057f093c3f912 |
3074 |
+DIST git-htmldocs-1.8.4.5.tar.gz 2207155 SHA256 ecaaef864b1794301af4af17a4d378966ac1dbeee9a82f524d1ebc0b6d6da299 SHA512 1bb5d8fd2884f0bd39ff0924579a4bd16d225da10ae78cb3c535133d187b9306dce55d14a2df7fa0a40c6fa1df523eec2e118e2f5268dd624bbdb6c65fd32363 WHIRLPOOL ca5ce52d02eac3f079ab89eb5e41640c9dee724c8a3356b362eae0ba120cb9640c5f6a4576ae98fd42002f84ad066ed3e6254fdc77b95731ac1b17549b5911e5 |
3075 |
+DIST git-htmldocs-1.8.5.1.tar.gz 2236187 SHA256 46a1eb32d110bc4a708cf7058852875e30277305ff2719ec672f7cdcd7a87075 SHA512 8d58463b5496278abed57b8e0b99d2be6e0a2ecff2ebda964f4f6e8336ebbe32e13ec0a87ec323247f90ada2383b2ced02f8204b416dc892348101662bdb9ecd WHIRLPOOL 65e38d20e8c1d6439e8126f5413334e06b25763aa36b09686ac220f043b1b6df6c8dc22c7f597d5393455ec083a578b572a7fb1627220ba678960ab10aaa848a |
3076 |
+DIST git-htmldocs-1.8.5.2.tar.gz 2237867 SHA256 ba708ab1b5916960f61c22cf60eb6689ac62d1b6dbb6a460d98502815cdbff41 SHA512 824ab4cf879c0b3c1215f29f5dc3d18ae9bf15aad9deb7d81e81f8a57d500d304738c7e580f0fb5e3df2b6609d957b964938250a48145a3559b93ef1419eba2b WHIRLPOOL 962a2da1174ab401bdbafdca8cc9debd0fe927838b44bc8bbd0258a1da62cc32c10a6aa5a8a2bbf404fc257d0f4df981969ec3c2b9e898bcf3dc417d2f6517c6 |
3077 |
+DIST git-manpages-1.8.1.5.tar.gz 528540 SHA256 b171761f13deb738a2464c9d3967c12539067a34d6f2bfa5739a1006786fd24a SHA512 c0106da12ae3beeba3c23e68b37113082d829fe80160c53df51aac207557a2045c662b4d01b5a1cb211e75f9f7629290b7ecf3907b3bdc828820382793414e8e WHIRLPOOL 3da3b254707c06cb069fa462561634a4f5869fadab6ab8a07301eeb0b2244f159415d409d71c5ebceb4a74ef51f645f2f4c9ca19080a84ee370b5787740d08c2 |
3078 |
+DIST git-manpages-1.8.2.1.tar.gz 536718 SHA256 1d3bc31d10564d29d0c3a45f98f98a7d936dfcdb1692528bf2fdb2140fe89824 SHA512 a6463c8bc8a23301d89e985b88fa0073c154e126c51a1f7699cd09e79723ed463f46a9cf5dd63f9e2e46ee4111e6154ae86553bd446f5cf76db9fd4e3bff5a1f WHIRLPOOL 8aa3c57475d8cfd7c47019c4eb05c091c76fb0ec5d213942b5a16ee9f6c540111aecb6b754eb98578e9e129d4e8ba941a3bee326a2845b2a098cc30e1109d35d |
3079 |
+DIST git-manpages-1.8.3.2.tar.gz 542769 SHA256 599bc8f6c56986a994a237cfebb53b4fab9051576775e32d0353e0455ab84115 SHA512 42fd781b924355c969ce381aae828f877059472741d7b53b0d1aad53f04c8a27b6b161b5dfc353098370ead73ccb9cdc86ac5374cf02829134f8c4d70bcbb7cf WHIRLPOOL 90226006a35b7b6e644f887981f2725238ff428f572425942701614e14fab5c8c5c602746de93a113d83d9b9c76ea1805a9c7cfa353305b0f817c33976048d77 |
3080 |
+DIST git-manpages-1.8.4.5.tar.gz 565177 SHA256 8cf38e3a48425fe74c4a71286633ea895bd03d32481ea5112e9682a6adb3b4bf SHA512 6f9d56da7493ae50275f259ca65649a4dbada3a3d0e32e0a418ed73c2e2661c90f23cfe9a62800cbceec1db86a2bb7b93eccaaf28c282cb5046c2aea3f928774 WHIRLPOOL 1f92c6437214f9d8d998a916cf34399be4f49a5c2dd5fe930850ae3b7ef10da66594c8d4544fa313b485bdcfd9259322c5ba0b83f9403263c80d12b19ca8c5f0 |
3081 |
+DIST git-manpages-1.8.5.1.tar.gz 569069 SHA256 1131fa830065c0224df601a055f6d9726d0f19fa87962d9db254a2d6e83d32ef SHA512 91446b550ae7971884943583c3562762bb3e338b9e65e94f0891af10488814dcf6756122d79db951a1e347acb311cd3dcf71e509c5c25927148da9a75e29a86e WHIRLPOOL 972cb803bbf6fcac3a068bd47b3dbc8a6eb26fccc18542111b6c74361fff83ecc9fcd45ab4024657cc6ebc5880b23a61d5a149d5e6d75dde0be3ed55d899bf28 |
3082 |
+DIST git-manpages-1.8.5.2.tar.gz 569581 SHA256 2aef8c084ee795e544b6fb8715cccc1109efca1ca4b8db1588a2a5186ddb10c6 SHA512 1ca37aff4d5ca6d4daa6e8f2b3114a63ebdb0bd42382e1ed1ff9d01117da2fd8bd3a662b9beab318fdffd682039589c9b5f50ced67122e96b0a0ffd213a4112a WHIRLPOOL 257bd0549fb63e5ef31f3575731a5c90eead5da556480d929877704086dc03dadd924713480d9c3f8b5890912d54dd8be48d970abb9f7e86c55d8655642fbfb5 |
3083 |
+EBUILD git-1.8.1.5-r1.ebuild 17380 SHA256 c8f80e262d18edf7241739d726a1b8b10b1fa4fee83abc3b823492664457dec8 SHA512 29edcafcce548fb84bbc9748bfa765b9c663876536a78d320c48fe08ac26e60031a06b4b4bbee5a9c5a6d8d0754b92a8be6f21baef36bf5043d828d75fe2a7c5 WHIRLPOOL 62348b391c309f7263cd01db841e17034a0e35ed3560b9c52de70c5fbd512437ae7c2dc9a9db2ff86a86b77ebe872e7987f36cb1afaec9d4da32a9994ae31d72 |
3084 |
+EBUILD git-1.8.1.5.ebuild 17238 SHA256 22108f9865e69ffe1e4dcd011ef5e44c19a7ab8d54f4d262da650145b1ac390d SHA512 48c693623447d8d1054a6187e5094d6d026a9dc0d7f6daeefdc1bf306a9a5b890a67ee0e92c332eaf02227aac2a72d6956962323010059dd3c314e2358aaac4b WHIRLPOOL a297ebf62c63d7d2da3d97306c2b13cd85ab4c9684b9b4e01fd28b5186ba225998bc6bcfe1123a2263801f4542c25d5d0a819a8746f846cae25c4d0582fef7dd |
3085 |
+EBUILD git-1.8.2.1.ebuild 17694 SHA256 e8e04cf2b65d526ae906b47f58e40960484cfc34089e8559bbdf87793a3c9451 SHA512 9b86c0fc803fc0ff4ac1f705cdc53d8ae15fe9f2ce840b3b0ef152e0175cb13e04cffaf8f6b914ca1171082f9570e074b82e6d5a8449f7b6d6e7cbf3d0922c41 WHIRLPOOL a9ab0427eeaf50f4e57c94625182daa76b61bb33550a6a32d8fb27c854d8395b3fdae9451927493a4e68ac0904857fd6492f604bae98e8ed26081b310988dbaf |
3086 |
+EBUILD git-1.8.3.2-r1.ebuild 17614 SHA256 0fd06a9ea0c955ab1725f2482971fed6a474c195d642e87c73a49a2f75f8f536 SHA512 84607b181d6dbafe087c380b309f80425de3905d3a34a97d5605b1bed1c59b50ffd27e0aad79410aeca66a342ed784724aa65bea91b11d169f64b098d2cf0f5a WHIRLPOOL 4d769be71a9cc83d592a6fc947a15f99018363028e50ccede7f653e54b8403b5365e32cafcd40ab0f57e21cf6dc1d58f9b5f7394113067612bb7efd3540b2512 |
3087 |
+EBUILD git-1.8.4.5.ebuild 17847 SHA256 3b68c33ddab44a4dfe05e21607b172e1da00f9f67c5d6264725720752ba9dffa SHA512 0446ba1e7177d4daecc745d035241a5251f9229c232ff20e03d68304f8a8f5aa60e405786f4350d731a499bc8222a76017626c76eb4cee207f7a06370cba7a6c WHIRLPOOL 070e2b58bff6845e047d3ec2325fc2aa384837da2d1fffd970796fa7aa14a2884bd09901ad4cdfc0caafead3c4fc7e85d28a1f9432bcccdd339974650a79b48b |
3088 |
+EBUILD git-1.8.5.1.ebuild 17840 SHA256 5d6826836fd8efbf665fb1aff413a79a42004aa13a39e7869387012d945dcb07 SHA512 8594acea9e9e68fc519fb36f48747169a9b956fc95f0dcf382e4edc49f7745dcb731d9ab425b0fca56a8523f7b3d0f5bee87251bb0615318026a2056c61fe813 WHIRLPOOL 949dcf5016e6955997c6c02326c67f92120d38de7fb22359bacd04e330fdcd43737ecda5bd4605edf235c046525742ceefd4b21790615f7b0d4e72c6441d8db9 |
3089 |
+EBUILD git-1.8.5.2.ebuild 17840 SHA256 3f823bc81f12c15312ecc249a3b45a0860fa90d780b4f2e6e8bae3c4db9cdc2e SHA512 789fcbcd05a5dee35fedabb79b1e7e316f20f45b86db201b5322641b08d98913ff507f43ddaf6d184774e4afe9e7e0086f0eace216de4ac2c13edcd47b171d01 WHIRLPOOL b42b88a9cc444215b4b316268341082e510b16cdd66068d0aaf55491f416e6fb074eb118216799fdd6669846792aac002ed5c5bebab886d43170cfb83fc8158f |
3090 |
+EBUILD git-9999.ebuild 17803 SHA256 beae98898e2f9554f9f3f3be3a30130c9c9efcc7da5314b8e49aec16756f8463 SHA512 d34ce325189f1d597fac71f67a59e90fa6dc9721d86c567101b64448e3a21080ccff2f38f36956b03307af1418941103567a8398dfd4aa676813b4eb24c27674 WHIRLPOOL 8e0daa447d9d3c51727a0fd43db37285969b7beff0b4a6e77ecba652c4829391527a3b28753aaf92c29d146c87c7d15e91c112cde0de61ccfe2e583ffe8781e0 |
3091 |
+MISC ChangeLog 10664 SHA256 e9358a3b1c6fa8cd9afae1aedd99dd4f5b07be5dc08fbd6553c5ccbe93bb79e6 SHA512 8e11e667bb147587827b35c4aeb0f8c15c15335d56f6dbeb9acebe38ad36ef8ad2a2adb6f1728a72a4c1da34e1272a96ff0f0c2f8ed3273adb8970f3f8f01c69 WHIRLPOOL b974e583fcca40f5b4e9bdac256794f7222573717b403fe5e9d56cdd0f5603f2e82807fd55cb8a63d2ea6226f016ea8256c5a6a714464eb0793f16d70b7c1c94 |
3092 |
+MISC ChangeLog-2012 94624 SHA256 7c8c313ea4800194191f7255023cabd205e56bb9761e8877dfab3770024b158c SHA512 f19cae0a29e8598e3bb68f1295baa56ff0edf06b2e3a95081ea2f95c4555d63dd6a0bff5a82345b274a1936104a75a69fe7862d7738a7fa2539ec9a7afd6b28f WHIRLPOOL 059ab6c542757c4524cb20cebb3cfa4bfbbe16d3a66da0805fb972d32f91f2a49bee97d1d73acf74d8e2cf3cc7a552371cf66db0580506d4b1a9e05ee52bdea4 |
3093 |
+MISC metadata.xml 1876 SHA256 6b8a45678bfb4c0c7db85f5d6e94c4fc68ee2d8ed5ef6c83855ff3d6998b0773 SHA512 084b1be894ce30dd443cda711d120d6a436fafe59e4cd04a5879dbe88f17b9a7d5061377ed4cbd2c3cbd2f0d43ac168994e83368b3890b2135f63fa4fb935efa WHIRLPOOL 4051958b34b2c1aedc82e856de3554483eaa88ab4f5b43a9c1394aaa2bc925ca02edc13ca38c8379b947154249d4279fa227706b09776ee79a7b054f8e722d19 |
3094 |
+-----BEGIN PGP SIGNATURE----- |
3095 |
+Version: GnuPG v2.0.22 (GNU/Linux) |
3096 |
+ |
3097 |
+iQIcBAEBCAAGBQJSsZLFAAoJEPiazRVxLXTFMHQP/RaiJ9FbpF51tg2XwTtH6wkP |
3098 |
+PJJOueMKQs6A1X0RWa21GPzWFBPR0WUFFb3N84aC5RmXufbBaq6xxe1zggwScjI3 |
3099 |
+8CPriALPBuH+K9GbOsz83Acx00Ah/ZrYLyuHC84wlPx6jjaWtYIT4PNCp+qJCCGJ |
3100 |
+JNFzWFeuvC6vMW6/cDZMCTp8xmL2jtr42YTDsHIqQUYLiNKkBSzWPVt93ZgVQhuU |
3101 |
+hvGTOWHOlIimZaloGmw6uZNQmyEDTsbH31lRWjJ24xIPL0zyHq0C12pF+s0YRR6Y |
3102 |
+UYqiEL8uvC1JesMSdVbgZsjRVNR1gCbEei9hDK0MsnUGDC/A8M6IYWE2eGn0RKBb |
3103 |
+lrzKP7znPyQQ4o0+fEAXSMh6r6xAL1JTsshflZRHa4TaoJ05/Rn2y3ja9DvoLWBf |
3104 |
+Yl5xAZSxBCOWf1r5dTTNhg3kZzERAUalCRF2lfkUFGw309BBe1Hxm3mvjK3zIN5D |
3105 |
+0dKi9kLXRjCFzuqxiPrxvXaogqf6Hu1ViiLGpbeg3GmCTU/qDob32YGjxBveCMBG |
3106 |
+O4qh5E88h85bhV1CFQqm0xCqhjQHZIcO2rtg1p0vQlsBO0oP5zqK+7aNc5KZLpKC |
3107 |
+CzoGGE0F7mi39rE3B0jvadKiwkXp7fZU+CWqFJTq33U5+N/qMTbbyRU6wNo8kNi/ |
3108 |
+XUmmCCYFFnz6Y2KoVCZd |
3109 |
+=Syiu |
3110 |
+-----END PGP SIGNATURE----- |
3111 |
|
3112 |
diff --git a/dev-vcs/git/files/50git-gentoo.el b/dev-vcs/git/files/50git-gentoo.el |
3113 |
new file mode 100644 |
3114 |
index 0000000..1646a39 |
3115 |
--- /dev/null |
3116 |
+++ b/dev-vcs/git/files/50git-gentoo.el |
3117 |
@@ -0,0 +1,13 @@ |
3118 |
+ |
3119 |
+;;; dev-vcs/git site-lisp configuration |
3120 |
+ |
3121 |
+(add-to-list 'load-path "@SITELISP@") |
3122 |
+(autoload 'git-status "git" "Entry point into git-status mode." t) |
3123 |
+;;(autoload 'git-blame-mode "git-blame" |
3124 |
+;; "Minor mode for incremental blame for Git." t) |
3125 |
+ |
3126 |
+;; GNU Emacs >=22.2 already includes vc-git.el. |
3127 |
+;; Enable the following only if Emacs has no GIT support. |
3128 |
+(unless (fboundp 'vc-git-registered) |
3129 |
+ (add-to-list 'load-path "@SITELISP@/compat") |
3130 |
+ (add-to-list 'vc-handled-backends 'GIT)) |
3131 |
|
3132 |
diff --git a/dev-vcs/git/files/git-1.7.12-git-svn-backport.patch b/dev-vcs/git/files/git-1.7.12-git-svn-backport.patch |
3133 |
new file mode 100644 |
3134 |
index 0000000..0a254ec |
3135 |
--- /dev/null |
3136 |
+++ b/dev-vcs/git/files/git-1.7.12-git-svn-backport.patch |
3137 |
@@ -0,0 +1,1288 @@ |
3138 |
+commit 0dfcf2dacd4be3f0c647a987b78def5136429165 |
3139 |
+Merge: 889d358 5eaa1fd |
3140 |
+Author: Junio C Hamano <gitster@×××××.com> |
3141 |
+Date: Tue Aug 21 15:27:57 2012 -0700 |
3142 |
+ |
3143 |
+ Merge branch 'ms/git-svn-1.7' into jch |
3144 |
+ |
3145 |
+ A series by Michael Schwern via Eric to update git-svn to revamp the |
3146 |
+ way URLs are internally passed around, to make it work with SVN 1.7. |
3147 |
+ |
3148 |
+ Will merge to 'next' after pinging Eric to double check and then to 'master'. |
3149 |
+ |
3150 |
+ * ms/git-svn-1.7: |
3151 |
+ git-svn: remove ad-hoc canonicalizations |
3152 |
+ git-svn: canonicalize newly-minted URLs |
3153 |
+ git-svn: introduce add_path_to_url function |
3154 |
+ git-svn: canonicalize earlier |
3155 |
+ git-svn: replace URL escapes with canonicalization |
3156 |
+ git-svn: attempt to mimic SVN 1.7 URL canonicalization |
3157 |
+ t9107: fix typo |
3158 |
+ t9118: workaround inconsistency between SVN versions |
3159 |
+ Git::SVN{,::Ra}: canonicalize earlier |
3160 |
+ git-svn: path canonicalization uses SVN API |
3161 |
+ Git::SVN::Utils: remove irrelevant comment |
3162 |
+ git-svn: add join_paths() to safely concatenate paths |
3163 |
+ git-svn: factor out _collapse_dotdot function |
3164 |
+ git-svn: use SVN 1.7 to canonicalize when possible |
3165 |
+ git-svn: move canonicalization to Git::SVN::Utils |
3166 |
+ use Git::SVN{,::RA}->url accessor globally |
3167 |
+ use Git::SVN->path accessor globally |
3168 |
+ Git::SVN::Ra: use accessor for URLs |
3169 |
+ Git::SVN: use accessor for URLs internally |
3170 |
+ Git::SVN: use accessors internally for path |
3171 |
+ |
3172 |
+diff --git a/git-svn.perl b/git-svn.perl |
3173 |
+index 828b8f0..0d77ffb 100755 |
3174 |
+--- a/git-svn.perl |
3175 |
++++ b/git-svn.perl |
3176 |
+@@ -29,7 +29,16 @@ use Git::SVN::Prompt; |
3177 |
+ use Git::SVN::Log; |
3178 |
+ use Git::SVN::Migration; |
3179 |
+ |
3180 |
+-use Git::SVN::Utils qw(fatal can_compress); |
3181 |
++use Git::SVN::Utils qw( |
3182 |
++ fatal |
3183 |
++ can_compress |
3184 |
++ canonicalize_path |
3185 |
++ canonicalize_url |
3186 |
++ join_paths |
3187 |
++ add_path_to_url |
3188 |
++ join_paths |
3189 |
++); |
3190 |
++ |
3191 |
+ use Git qw( |
3192 |
+ git_cmd_try |
3193 |
+ command |
3194 |
+@@ -1231,7 +1240,7 @@ sub cmd_show_ignore { |
3195 |
+ my ($url, $rev, $uuid, $gs) = working_head_info('HEAD'); |
3196 |
+ $gs ||= Git::SVN->new; |
3197 |
+ my $r = (defined $_revision ? $_revision : $gs->ra->get_latest_revnum); |
3198 |
+- $gs->prop_walk($gs->{path}, $r, sub { |
3199 |
++ $gs->prop_walk($gs->path, $r, sub { |
3200 |
+ my ($gs, $path, $props) = @_; |
3201 |
+ print STDOUT "\n# $path\n"; |
3202 |
+ my $s = $props->{'svn:ignore'} or return; |
3203 |
+@@ -1247,7 +1256,7 @@ sub cmd_show_externals { |
3204 |
+ my ($url, $rev, $uuid, $gs) = working_head_info('HEAD'); |
3205 |
+ $gs ||= Git::SVN->new; |
3206 |
+ my $r = (defined $_revision ? $_revision : $gs->ra->get_latest_revnum); |
3207 |
+- $gs->prop_walk($gs->{path}, $r, sub { |
3208 |
++ $gs->prop_walk($gs->path, $r, sub { |
3209 |
+ my ($gs, $path, $props) = @_; |
3210 |
+ print STDOUT "\n# $path\n"; |
3211 |
+ my $s = $props->{'svn:externals'} or return; |
3212 |
+@@ -1262,7 +1271,7 @@ sub cmd_create_ignore { |
3213 |
+ my ($url, $rev, $uuid, $gs) = working_head_info('HEAD'); |
3214 |
+ $gs ||= Git::SVN->new; |
3215 |
+ my $r = (defined $_revision ? $_revision : $gs->ra->get_latest_revnum); |
3216 |
+- $gs->prop_walk($gs->{path}, $r, sub { |
3217 |
++ $gs->prop_walk($gs->path, $r, sub { |
3218 |
+ my ($gs, $path, $props) = @_; |
3219 |
+ # $path is of the form /path/to/dir/ |
3220 |
+ $path = '.' . $path; |
3221 |
+@@ -1292,31 +1301,6 @@ sub cmd_mkdirs { |
3222 |
+ $gs->mkemptydirs($_revision); |
3223 |
+ } |
3224 |
+ |
3225 |
+-sub canonicalize_path { |
3226 |
+- my ($path) = @_; |
3227 |
+- my $dot_slash_added = 0; |
3228 |
+- if (substr($path, 0, 1) ne "/") { |
3229 |
+- $path = "./" . $path; |
3230 |
+- $dot_slash_added = 1; |
3231 |
+- } |
3232 |
+- # File::Spec->canonpath doesn't collapse x/../y into y (for a |
3233 |
+- # good reason), so let's do this manually. |
3234 |
+- $path =~ s#/+#/#g; |
3235 |
+- $path =~ s#/\.(?:/|$)#/#g; |
3236 |
+- $path =~ s#/[^/]+/\.\.##g; |
3237 |
+- $path =~ s#/$##g; |
3238 |
+- $path =~ s#^\./## if $dot_slash_added; |
3239 |
+- $path =~ s#^/##; |
3240 |
+- $path =~ s#^\.$##; |
3241 |
+- return $path; |
3242 |
+-} |
3243 |
+- |
3244 |
+-sub canonicalize_url { |
3245 |
+- my ($url) = @_; |
3246 |
+- $url =~ s#^([^:]+://[^/]*/)(.*)$#$1 . canonicalize_path($2)#e; |
3247 |
+- return $url; |
3248 |
+-} |
3249 |
+- |
3250 |
+ # get_svnprops(PATH) |
3251 |
+ # ------------------ |
3252 |
+ # Helper for cmd_propget and cmd_proplist below. |
3253 |
+@@ -1330,7 +1314,7 @@ sub get_svnprops { |
3254 |
+ $path = $cmd_dir_prefix . $path; |
3255 |
+ fatal("No such file or directory: $path") unless -e $path; |
3256 |
+ my $is_dir = -d $path ? 1 : 0; |
3257 |
+- $path = $gs->{path} . '/' . $path; |
3258 |
++ $path = join_paths($gs->{path}, $path); |
3259 |
+ |
3260 |
+ # canonicalize the path (otherwise libsvn will abort or fail to |
3261 |
+ # find the file) |
3262 |
+@@ -1431,8 +1415,8 @@ sub cmd_commit_diff { |
3263 |
+ fatal("Needed URL or usable git-svn --id in ", |
3264 |
+ "the command-line\n", $usage); |
3265 |
+ } |
3266 |
+- $url = $gs->{url}; |
3267 |
+- $svn_path = $gs->{path}; |
3268 |
++ $url = $gs->url; |
3269 |
++ $svn_path = $gs->path; |
3270 |
+ } |
3271 |
+ unless (defined $_revision) { |
3272 |
+ fatal("-r|--revision is a required argument\n", $usage); |
3273 |
+@@ -1466,24 +1450,6 @@ sub cmd_commit_diff { |
3274 |
+ } |
3275 |
+ } |
3276 |
+ |
3277 |
+-sub escape_uri_only { |
3278 |
+- my ($uri) = @_; |
3279 |
+- my @tmp; |
3280 |
+- foreach (split m{/}, $uri) { |
3281 |
+- s/([^~\w.%+-]|%(?![a-fA-F0-9]{2}))/sprintf("%%%02X",ord($1))/eg; |
3282 |
+- push @tmp, $_; |
3283 |
+- } |
3284 |
+- join('/', @tmp); |
3285 |
+-} |
3286 |
+- |
3287 |
+-sub escape_url { |
3288 |
+- my ($url) = @_; |
3289 |
+- if ($url =~ m#^([^:]+)://([^/]*)(.*)$#) { |
3290 |
+- my ($scheme, $domain, $uri) = ($1, $2, escape_uri_only($3)); |
3291 |
+- $url = "$scheme://$domain$uri"; |
3292 |
+- } |
3293 |
+- $url; |
3294 |
+-} |
3295 |
+ |
3296 |
+ sub cmd_info { |
3297 |
+ my $path = canonicalize_path(defined($_[0]) ? $_[0] : "."); |
3298 |
+@@ -1508,21 +1474,21 @@ sub cmd_info { |
3299 |
+ # canonicalize_path() will return "" to make libsvn 1.5.x happy, |
3300 |
+ $path = "." if $path eq ""; |
3301 |
+ |
3302 |
+- my $full_url = $url . ($fullpath eq "" ? "" : "/$fullpath"); |
3303 |
++ my $full_url = canonicalize_url( add_path_to_url( $url, $fullpath ) ); |
3304 |
+ |
3305 |
+ if ($_url) { |
3306 |
+- print escape_url($full_url), "\n"; |
3307 |
++ print "$full_url\n"; |
3308 |
+ return; |
3309 |
+ } |
3310 |
+ |
3311 |
+ my $result = "Path: $path\n"; |
3312 |
+ $result .= "Name: " . basename($path) . "\n" if $file_type ne "dir"; |
3313 |
+- $result .= "URL: " . escape_url($full_url) . "\n"; |
3314 |
++ $result .= "URL: $full_url\n"; |
3315 |
+ |
3316 |
+ eval { |
3317 |
+ my $repos_root = $gs->repos_root; |
3318 |
+ Git::SVN::remove_username($repos_root); |
3319 |
+- $result .= "Repository Root: " . escape_url($repos_root) . "\n"; |
3320 |
++ $result .= "Repository Root: " . canonicalize_url($repos_root) . "\n"; |
3321 |
+ }; |
3322 |
+ if ($@) { |
3323 |
+ $result .= "Repository Root: (offline)\n"; |
3324 |
+@@ -1669,7 +1635,9 @@ sub post_fetch_checkout { |
3325 |
+ |
3326 |
+ sub complete_svn_url { |
3327 |
+ my ($url, $path) = @_; |
3328 |
+- $path =~ s#/+$##; |
3329 |
++ $path = canonicalize_path($path); |
3330 |
++ |
3331 |
++ # If the path is not a URL... |
3332 |
+ if ($path !~ m#^[a-z\+]+://#) { |
3333 |
+ if (!defined $url || $url !~ m#^[a-z\+]+://#) { |
3334 |
+ fatal("E: '$path' is not a complete URL ", |
3335 |
+@@ -1686,7 +1654,7 @@ sub complete_url_ls_init { |
3336 |
+ print STDERR "W: $switch not specified\n"; |
3337 |
+ return; |
3338 |
+ } |
3339 |
+- $repo_path =~ s#/+$##; |
3340 |
++ $repo_path = canonicalize_path($repo_path); |
3341 |
+ if ($repo_path =~ m#^[a-z\+]+://#) { |
3342 |
+ $ra = Git::SVN::Ra->new($repo_path); |
3343 |
+ $repo_path = ''; |
3344 |
+@@ -1697,18 +1665,18 @@ sub complete_url_ls_init { |
3345 |
+ "and a separate URL is not specified"); |
3346 |
+ } |
3347 |
+ } |
3348 |
+- my $url = $ra->{url}; |
3349 |
++ my $url = $ra->url; |
3350 |
+ my $gs = Git::SVN->init($url, undef, undef, undef, 1); |
3351 |
+ my $k = "svn-remote.$gs->{repo_id}.url"; |
3352 |
+ my $orig_url = eval { command_oneline(qw/config --get/, $k) }; |
3353 |
+- if ($orig_url && ($orig_url ne $gs->{url})) { |
3354 |
++ if ($orig_url && ($orig_url ne $gs->url)) { |
3355 |
+ die "$k already set: $orig_url\n", |
3356 |
+- "wanted to set to: $gs->{url}\n"; |
3357 |
++ "wanted to set to: $gs->url\n"; |
3358 |
+ } |
3359 |
+- command_oneline('config', $k, $gs->{url}) unless $orig_url; |
3360 |
+- my $remote_path = "$gs->{path}/$repo_path"; |
3361 |
++ command_oneline('config', $k, $gs->url) unless $orig_url; |
3362 |
++ |
3363 |
++ my $remote_path = join_paths( $gs->path, $repo_path ); |
3364 |
+ $remote_path =~ s{%([0-9A-F]{2})}{chr hex($1)}ieg; |
3365 |
+- $remote_path =~ s#/+#/#g; |
3366 |
+ $remote_path =~ s#^/##g; |
3367 |
+ $remote_path .= "/*" if $remote_path !~ /\*/; |
3368 |
+ my ($n) = ($switch =~ /^--(\w+)/); |
3369 |
+diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm |
3370 |
+index 8478d0c..acb2539 100644 |
3371 |
+--- a/perl/Git/SVN.pm |
3372 |
++++ b/perl/Git/SVN.pm |
3373 |
+@@ -23,7 +23,14 @@ use Git qw( |
3374 |
+ command_output_pipe |
3375 |
+ command_close_pipe |
3376 |
+ ); |
3377 |
+-use Git::SVN::Utils qw(fatal can_compress); |
3378 |
++use Git::SVN::Utils qw( |
3379 |
++ fatal |
3380 |
++ can_compress |
3381 |
++ join_paths |
3382 |
++ canonicalize_path |
3383 |
++ canonicalize_url |
3384 |
++ add_path_to_url |
3385 |
++); |
3386 |
+ |
3387 |
+ my $can_use_yaml; |
3388 |
+ BEGIN { |
3389 |
+@@ -195,9 +202,9 @@ sub read_all_remotes { |
3390 |
+ } elsif (m!^(.+)\.usesvmprops=\s*(.*)\s*$!) { |
3391 |
+ $r->{$1}->{svm} = {}; |
3392 |
+ } elsif (m!^(.+)\.url=\s*(.*)\s*$!) { |
3393 |
+- $r->{$1}->{url} = $2; |
3394 |
++ $r->{$1}->{url} = canonicalize_url($2); |
3395 |
+ } elsif (m!^(.+)\.pushurl=\s*(.*)\s*$!) { |
3396 |
+- $r->{$1}->{pushurl} = $2; |
3397 |
++ $r->{$1}->{pushurl} = canonicalize_url($2); |
3398 |
+ } elsif (m!^(.+)\.ignore-refs=\s*(.*)\s*$!) { |
3399 |
+ $r->{$1}->{ignore_refs_regex} = $2; |
3400 |
+ } elsif (m!^(.+)\.(branches|tags)=$svn_refspec$!) { |
3401 |
+@@ -290,7 +297,7 @@ sub find_existing_remote { |
3402 |
+ |
3403 |
+ sub init_remote_config { |
3404 |
+ my ($self, $url, $no_write) = @_; |
3405 |
+- $url =~ s!/+$!!; # strip trailing slash |
3406 |
++ $url = canonicalize_url($url); |
3407 |
+ my $r = read_all_remotes(); |
3408 |
+ my $existing = find_existing_remote($url, $r); |
3409 |
+ if ($existing) { |
3410 |
+@@ -314,12 +321,10 @@ sub init_remote_config { |
3411 |
+ print STDERR "Using higher level of URL: ", |
3412 |
+ "$url => $min_url\n"; |
3413 |
+ } |
3414 |
+- my $old_path = $self->{path}; |
3415 |
+- $self->{path} = $url; |
3416 |
+- $self->{path} =~ s!^\Q$min_url\E(/|$)!!; |
3417 |
+- if (length $old_path) { |
3418 |
+- $self->{path} .= "/$old_path"; |
3419 |
+- } |
3420 |
++ my $old_path = $self->path; |
3421 |
++ $url =~ s!^\Q$min_url\E(/|$)!!; |
3422 |
++ $url = join_paths($url, $old_path); |
3423 |
++ $self->path($url); |
3424 |
+ $url = $min_url; |
3425 |
+ } |
3426 |
+ } |
3427 |
+@@ -343,18 +348,22 @@ sub init_remote_config { |
3428 |
+ unless ($no_write) { |
3429 |
+ command_noisy('config', |
3430 |
+ "svn-remote.$self->{repo_id}.url", $url); |
3431 |
+- $self->{path} =~ s{^/}{}; |
3432 |
+- $self->{path} =~ s{%([0-9A-F]{2})}{chr hex($1)}ieg; |
3433 |
++ my $path = $self->path; |
3434 |
++ $path =~ s{^/}{}; |
3435 |
++ $path =~ s{%([0-9A-F]{2})}{chr hex($1)}ieg; |
3436 |
++ $self->path($path); |
3437 |
+ command_noisy('config', '--add', |
3438 |
+ "svn-remote.$self->{repo_id}.fetch", |
3439 |
+- "$self->{path}:".$self->refname); |
3440 |
++ $self->path.":".$self->refname); |
3441 |
+ } |
3442 |
+- $self->{url} = $url; |
3443 |
++ $self->url($url); |
3444 |
+ } |
3445 |
+ |
3446 |
+ sub find_by_url { # repos_root and, path are optional |
3447 |
+ my ($class, $full_url, $repos_root, $path) = @_; |
3448 |
+ |
3449 |
++ $full_url = canonicalize_url($full_url); |
3450 |
++ |
3451 |
+ return undef unless defined $full_url; |
3452 |
+ remove_username($full_url); |
3453 |
+ remove_username($repos_root) if defined $repos_root; |
3454 |
+@@ -393,6 +402,11 @@ sub find_by_url { # repos_root and, path are optional |
3455 |
+ } |
3456 |
+ $p =~ s#^\Q$z\E(?:/|$)#$prefix# or next; |
3457 |
+ } |
3458 |
++ |
3459 |
++ # remote fetch paths are not URI escaped. Decode ours |
3460 |
++ # so they match |
3461 |
++ $p = uri_decode($p); |
3462 |
++ |
3463 |
+ foreach my $f (keys %$fetch) { |
3464 |
+ next if $f ne $p; |
3465 |
+ return Git::SVN->new($fetch->{$f}, $repo_id, $f); |
3466 |
+@@ -435,20 +449,25 @@ sub new { |
3467 |
+ } |
3468 |
+ } |
3469 |
+ my $self = _new($class, $repo_id, $ref_id, $path); |
3470 |
+- if (!defined $self->{path} || !length $self->{path}) { |
3471 |
++ if (!defined $self->path || !length $self->path) { |
3472 |
+ my $fetch = command_oneline('config', '--get', |
3473 |
+ "svn-remote.$repo_id.fetch", |
3474 |
+ ":$ref_id\$") or |
3475 |
+ die "Failed to read \"svn-remote.$repo_id.fetch\" ", |
3476 |
+ "\":$ref_id\$\" in config\n"; |
3477 |
+- ($self->{path}, undef) = split(/\s*:\s*/, $fetch); |
3478 |
++ my($path) = split(/\s*:\s*/, $fetch); |
3479 |
++ $self->path($path); |
3480 |
+ } |
3481 |
+- $self->{path} =~ s{/+}{/}g; |
3482 |
+- $self->{path} =~ s{\A/}{}; |
3483 |
+- $self->{path} =~ s{/\z}{}; |
3484 |
+- $self->{url} = command_oneline('config', '--get', |
3485 |
+- "svn-remote.$repo_id.url") or |
3486 |
++ { |
3487 |
++ my $path = $self->path; |
3488 |
++ $path =~ s{\A/}{}; |
3489 |
++ $path =~ s{/\z}{}; |
3490 |
++ $self->path($path); |
3491 |
++ } |
3492 |
++ my $url = command_oneline('config', '--get', |
3493 |
++ "svn-remote.$repo_id.url") or |
3494 |
+ die "Failed to read \"svn-remote.$repo_id.url\" in config\n"; |
3495 |
++ $self->url($url); |
3496 |
+ $self->{pushurl} = eval { command_oneline('config', '--get', |
3497 |
+ "svn-remote.$repo_id.pushurl") }; |
3498 |
+ $self->rebuild; |
3499 |
+@@ -552,8 +571,7 @@ sub _set_svm_vars { |
3500 |
+ # username is of no interest |
3501 |
+ $src =~ s{(^[a-z\+]*://)[^/@]*@}{$1}; |
3502 |
+ |
3503 |
+- my $replace = $ra->{url}; |
3504 |
+- $replace .= "/$path" if length $path; |
3505 |
++ my $replace = add_path_to_url($ra->url, $path); |
3506 |
+ |
3507 |
+ my $section = "svn-remote.$self->{repo_id}"; |
3508 |
+ tmp_config("$section.svm-source", $src); |
3509 |
+@@ -567,20 +585,21 @@ sub _set_svm_vars { |
3510 |
+ } |
3511 |
+ |
3512 |
+ my $r = $ra->get_latest_revnum; |
3513 |
+- my $path = $self->{path}; |
3514 |
++ my $path = $self->path; |
3515 |
+ my %tried; |
3516 |
+ while (length $path) { |
3517 |
+- unless ($tried{"$self->{url}/$path"}) { |
3518 |
++ my $try = add_path_to_url($self->url, $path); |
3519 |
++ unless ($tried{$try}) { |
3520 |
+ return $ra if $self->read_svm_props($ra, $path, $r); |
3521 |
+- $tried{"$self->{url}/$path"} = 1; |
3522 |
++ $tried{$try} = 1; |
3523 |
+ } |
3524 |
+ $path =~ s#/?[^/]+$##; |
3525 |
+ } |
3526 |
+ die "Path: '$path' should be ''\n" if $path ne ''; |
3527 |
+ return $ra if $self->read_svm_props($ra, $path, $r); |
3528 |
+- $tried{"$self->{url}/$path"} = 1; |
3529 |
++ $tried{ add_path_to_url($self->url, $path) } = 1; |
3530 |
+ |
3531 |
+- if ($ra->{repos_root} eq $self->{url}) { |
3532 |
++ if ($ra->{repos_root} eq $self->url) { |
3533 |
+ die @err, (map { " $_\n" } keys %tried), "\n"; |
3534 |
+ } |
3535 |
+ |
3536 |
+@@ -590,20 +609,21 @@ sub _set_svm_vars { |
3537 |
+ $path = $ra->{svn_path}; |
3538 |
+ $ra = Git::SVN::Ra->new($ra->{repos_root}); |
3539 |
+ while (length $path) { |
3540 |
+- unless ($tried{"$ra->{url}/$path"}) { |
3541 |
++ my $try = add_path_to_url($ra->url, $path); |
3542 |
++ unless ($tried{$try}) { |
3543 |
+ $ok = $self->read_svm_props($ra, $path, $r); |
3544 |
+ last if $ok; |
3545 |
+- $tried{"$ra->{url}/$path"} = 1; |
3546 |
++ $tried{$try} = 1; |
3547 |
+ } |
3548 |
+ $path =~ s#/?[^/]+$##; |
3549 |
+ } |
3550 |
+ die "Path: '$path' should be ''\n" if $path ne ''; |
3551 |
+ $ok ||= $self->read_svm_props($ra, $path, $r); |
3552 |
+- $tried{"$ra->{url}/$path"} = 1; |
3553 |
++ $tried{ add_path_to_url($ra->url, $path) } = 1; |
3554 |
+ if (!$ok) { |
3555 |
+ die @err, (map { " $_\n" } keys %tried), "\n"; |
3556 |
+ } |
3557 |
+- Git::SVN::Ra->new($self->{url}); |
3558 |
++ Git::SVN::Ra->new($self->url); |
3559 |
+ } |
3560 |
+ |
3561 |
+ sub svnsync { |
3562 |
+@@ -670,7 +690,7 @@ sub ra_uuid { |
3563 |
+ if (!$@ && $uuid && $uuid =~ /^([a-f\d\-]{30,})$/i) { |
3564 |
+ $self->{ra_uuid} = $uuid; |
3565 |
+ } else { |
3566 |
+- die "ra_uuid called without URL\n" unless $self->{url}; |
3567 |
++ die "ra_uuid called without URL\n" unless $self->url; |
3568 |
+ $self->{ra_uuid} = $self->ra->get_uuid; |
3569 |
+ tmp_config('--add', $key, $self->{ra_uuid}); |
3570 |
+ } |
3571 |
+@@ -694,7 +714,7 @@ sub repos_root { |
3572 |
+ |
3573 |
+ sub ra { |
3574 |
+ my ($self) = shift; |
3575 |
+- my $ra = Git::SVN::Ra->new($self->{url}); |
3576 |
++ my $ra = Git::SVN::Ra->new($self->url); |
3577 |
+ $self->_set_repos_root($ra->{repos_root}); |
3578 |
+ if ($self->use_svm_props && !$self->{svm}) { |
3579 |
+ if ($self->no_metadata) { |
3580 |
+@@ -728,7 +748,7 @@ sub prop_walk { |
3581 |
+ $path =~ s#^/*#/#g; |
3582 |
+ my $p = $path; |
3583 |
+ # Strip the irrelevant part of the path. |
3584 |
+- $p =~ s#^/+\Q$self->{path}\E(/|$)#/#; |
3585 |
++ $p =~ s#^/+\Q@{[$self->path]}\E(/|$)#/#; |
3586 |
+ # Ensure the path is terminated by a `/'. |
3587 |
+ $p =~ s#/*$#/#; |
3588 |
+ |
3589 |
+@@ -749,7 +769,7 @@ sub prop_walk { |
3590 |
+ |
3591 |
+ foreach (sort keys %$dirent) { |
3592 |
+ next if $dirent->{$_}->{kind} != $SVN::Node::dir; |
3593 |
+- $self->prop_walk($self->{path} . $p . $_, $rev, $sub); |
3594 |
++ $self->prop_walk($self->path . $p . $_, $rev, $sub); |
3595 |
+ } |
3596 |
+ } |
3597 |
+ |
3598 |
+@@ -919,20 +939,19 @@ sub rewrite_uuid { |
3599 |
+ |
3600 |
+ sub metadata_url { |
3601 |
+ my ($self) = @_; |
3602 |
+- ($self->rewrite_root || $self->{url}) . |
3603 |
+- (length $self->{path} ? '/' . $self->{path} : ''); |
3604 |
++ my $url = $self->rewrite_root || $self->url; |
3605 |
++ return canonicalize_url( add_path_to_url( $url, $self->path ) ); |
3606 |
+ } |
3607 |
+ |
3608 |
+ sub full_url { |
3609 |
+ my ($self) = @_; |
3610 |
+- $self->{url} . (length $self->{path} ? '/' . $self->{path} : ''); |
3611 |
++ return canonicalize_url( add_path_to_url( $self->url, $self->path ) ); |
3612 |
+ } |
3613 |
+ |
3614 |
+ sub full_pushurl { |
3615 |
+ my ($self) = @_; |
3616 |
+ if ($self->{pushurl}) { |
3617 |
+- return $self->{pushurl} . (length $self->{path} ? '/' . |
3618 |
+- $self->{path} : ''); |
3619 |
++ return canonicalize_url( add_path_to_url( $self->{pushurl}, $self->path ) ); |
3620 |
+ } else { |
3621 |
+ return $self->full_url; |
3622 |
+ } |
3623 |
+@@ -1048,20 +1067,20 @@ sub do_git_commit { |
3624 |
+ |
3625 |
+ sub match_paths { |
3626 |
+ my ($self, $paths, $r) = @_; |
3627 |
+- return 1 if $self->{path} eq ''; |
3628 |
+- if (my $path = $paths->{"/$self->{path}"}) { |
3629 |
++ return 1 if $self->path eq ''; |
3630 |
++ if (my $path = $paths->{"/".$self->path}) { |
3631 |
+ return ($path->{action} eq 'D') ? 0 : 1; |
3632 |
+ } |
3633 |
+- $self->{path_regex} ||= qr/^\/\Q$self->{path}\E\//; |
3634 |
++ $self->{path_regex} ||= qr{^/\Q@{[$self->path]}\E/}; |
3635 |
+ if (grep /$self->{path_regex}/, keys %$paths) { |
3636 |
+ return 1; |
3637 |
+ } |
3638 |
+ my $c = ''; |
3639 |
+- foreach (split m#/#, $self->{path}) { |
3640 |
++ foreach (split m#/#, $self->path) { |
3641 |
+ $c .= "/$_"; |
3642 |
+ next unless ($paths->{$c} && |
3643 |
+ ($paths->{$c}->{action} =~ /^[AR]$/)); |
3644 |
+- if ($self->ra->check_path($self->{path}, $r) == |
3645 |
++ if ($self->ra->check_path($self->path, $r) == |
3646 |
+ $SVN::Node::dir) { |
3647 |
+ return 1; |
3648 |
+ } |
3649 |
+@@ -1075,14 +1094,14 @@ sub find_parent_branch { |
3650 |
+ unless (defined $paths) { |
3651 |
+ my $err_handler = $SVN::Error::handler; |
3652 |
+ $SVN::Error::handler = \&Git::SVN::Ra::skip_unknown_revs; |
3653 |
+- $self->ra->get_log([$self->{path}], $rev, $rev, 0, 1, 1, |
3654 |
++ $self->ra->get_log([$self->path], $rev, $rev, 0, 1, 1, |
3655 |
+ sub { $paths = $_[0] }); |
3656 |
+ $SVN::Error::handler = $err_handler; |
3657 |
+ } |
3658 |
+ return undef unless defined $paths; |
3659 |
+ |
3660 |
+ # look for a parent from another branch: |
3661 |
+- my @b_path_components = split m#/#, $self->{path}; |
3662 |
++ my @b_path_components = split m#/#, $self->path; |
3663 |
+ my @a_path_components; |
3664 |
+ my $i; |
3665 |
+ while (@b_path_components) { |
3666 |
+@@ -1099,8 +1118,8 @@ sub find_parent_branch { |
3667 |
+ } |
3668 |
+ my $r = $i->{copyfrom_rev}; |
3669 |
+ my $repos_root = $self->ra->{repos_root}; |
3670 |
+- my $url = $self->ra->{url}; |
3671 |
+- my $new_url = $url . $branch_from; |
3672 |
++ my $url = $self->ra->url; |
3673 |
++ my $new_url = canonicalize_url( add_path_to_url( $url, $branch_from ) ); |
3674 |
+ print STDERR "Found possible branch point: ", |
3675 |
+ "$new_url => ", $self->full_url, ", $r\n" |
3676 |
+ unless $::_q > 1; |
3677 |
+@@ -1114,7 +1133,7 @@ sub find_parent_branch { |
3678 |
+ ($base, $head) = parse_revision_argument(0, $r); |
3679 |
+ } else { |
3680 |
+ if ($r0 < $r) { |
3681 |
+- $gs->ra->get_log([$gs->{path}], $r0 + 1, $r, 1, |
3682 |
++ $gs->ra->get_log([$gs->path], $r0 + 1, $r, 1, |
3683 |
+ 0, 1, sub { $base = $_[1] - 1 }); |
3684 |
+ } |
3685 |
+ } |
3686 |
+@@ -1136,7 +1155,7 @@ sub find_parent_branch { |
3687 |
+ # at the moment), so we can't rely on it |
3688 |
+ $self->{last_rev} = $r0; |
3689 |
+ $self->{last_commit} = $parent; |
3690 |
+- $ed = Git::SVN::Fetcher->new($self, $gs->{path}); |
3691 |
++ $ed = Git::SVN::Fetcher->new($self, $gs->path); |
3692 |
+ $gs->ra->gs_do_switch($r0, $rev, $gs, |
3693 |
+ $self->full_url, $ed) |
3694 |
+ or die "SVN connection failed somewhere...\n"; |
3695 |
+@@ -1235,7 +1254,7 @@ sub mkemptydirs { |
3696 |
+ close $fh; |
3697 |
+ } |
3698 |
+ |
3699 |
+- my $strip = qr/\A\Q$self->{path}\E(?:\/|$)/; |
3700 |
++ my $strip = qr/\A\Q@{[$self->path]}\E(?:\/|$)/; |
3701 |
+ foreach my $d (sort keys %empty_dirs) { |
3702 |
+ $d = uri_decode($d); |
3703 |
+ $d =~ s/$strip//; |
3704 |
+@@ -1429,12 +1448,11 @@ sub find_extra_svk_parents { |
3705 |
+ for my $ticket ( @tickets ) { |
3706 |
+ my ($uuid, $path, $rev) = split /:/, $ticket; |
3707 |
+ if ( $uuid eq $self->ra_uuid ) { |
3708 |
+- my $url = $self->{url}; |
3709 |
+- my $repos_root = $url; |
3710 |
++ my $repos_root = $self->url; |
3711 |
+ my $branch_from = $path; |
3712 |
+ $branch_from =~ s{^/}{}; |
3713 |
+- my $gs = $self->other_gs($repos_root."/".$branch_from, |
3714 |
+- $url, |
3715 |
++ my $gs = $self->other_gs(add_path_to_url( $repos_root, $branch_from ), |
3716 |
++ $repos_root, |
3717 |
+ $branch_from, |
3718 |
+ $rev, |
3719 |
+ $self->{ref_id}); |
3720 |
+@@ -1693,7 +1711,7 @@ sub find_extra_svn_parents { |
3721 |
+ # are now marked as merge, we can add the tip as a parent. |
3722 |
+ my @merges = split "\n", $mergeinfo; |
3723 |
+ my @merge_tips; |
3724 |
+- my $url = $self->{url}; |
3725 |
++ my $url = $self->url; |
3726 |
+ my $uuid = $self->ra_uuid; |
3727 |
+ my %ranges; |
3728 |
+ for my $merge ( @merges ) { |
3729 |
+@@ -1875,8 +1893,9 @@ sub make_log_entry { |
3730 |
+ $email ||= "$author\@$uuid"; |
3731 |
+ $commit_email ||= "$author\@$uuid"; |
3732 |
+ } elsif ($self->use_svnsync_props) { |
3733 |
+- my $full_url = $self->svnsync->{url}; |
3734 |
+- $full_url .= "/$self->{path}" if length $self->{path}; |
3735 |
++ my $full_url = canonicalize_url( |
3736 |
++ add_path_to_url( $self->svnsync->{url}, $self->path ) |
3737 |
++ ); |
3738 |
+ remove_username($full_url); |
3739 |
+ my $uuid = $self->svnsync->{uuid}; |
3740 |
+ $log_entry{metadata} = "$full_url\@$rev $uuid"; |
3741 |
+@@ -1923,7 +1942,7 @@ sub set_tree { |
3742 |
+ tree_b => $tree, |
3743 |
+ editor_cb => sub { |
3744 |
+ $self->set_tree_cb($log_entry, $tree, @_) }, |
3745 |
+- svn_path => $self->{path} ); |
3746 |
++ svn_path => $self->path ); |
3747 |
+ if (!Git::SVN::Editor->new(\%ed_opts)->apply_diff) { |
3748 |
+ print "No changes\nr$self->{last_rev} = $tree\n"; |
3749 |
+ } |
3750 |
+@@ -2299,10 +2318,39 @@ sub _new { |
3751 |
+ |
3752 |
+ $_[3] = $path = '' unless (defined $path); |
3753 |
+ mkpath([$dir]); |
3754 |
+- bless { |
3755 |
++ my $obj = bless { |
3756 |
+ ref_id => $ref_id, dir => $dir, index => "$dir/index", |
3757 |
+- path => $path, config => "$ENV{GIT_DIR}/svn/config", |
3758 |
++ config => "$ENV{GIT_DIR}/svn/config", |
3759 |
+ map_root => "$dir/.rev_map", repo_id => $repo_id }, $class; |
3760 |
++ |
3761 |
++ # Ensure it gets canonicalized |
3762 |
++ $obj->path($path); |
3763 |
++ |
3764 |
++ return $obj; |
3765 |
++} |
3766 |
++ |
3767 |
++sub path { |
3768 |
++ my $self = shift; |
3769 |
++ |
3770 |
++ if (@_) { |
3771 |
++ my $path = shift; |
3772 |
++ $self->{path} = canonicalize_path($path); |
3773 |
++ return; |
3774 |
++ } |
3775 |
++ |
3776 |
++ return $self->{path}; |
3777 |
++} |
3778 |
++ |
3779 |
++sub url { |
3780 |
++ my $self = shift; |
3781 |
++ |
3782 |
++ if (@_) { |
3783 |
++ my $url = shift; |
3784 |
++ $self->{url} = canonicalize_url($url); |
3785 |
++ return; |
3786 |
++ } |
3787 |
++ |
3788 |
++ return $self->{url}; |
3789 |
+ } |
3790 |
+ |
3791 |
+ # for read-only access of old .rev_db formats |
3792 |
+diff --git a/perl/Git/SVN/Fetcher.pm b/perl/Git/SVN/Fetcher.pm |
3793 |
+index 76fae9b..046a7a2 100644 |
3794 |
+--- a/perl/Git/SVN/Fetcher.pm |
3795 |
++++ b/perl/Git/SVN/Fetcher.pm |
3796 |
+@@ -83,7 +83,7 @@ sub _mark_empty_symlinks { |
3797 |
+ chomp(my $empty_blob = `git hash-object -t blob --stdin < /dev/null`); |
3798 |
+ my ($ls, $ctx) = command_output_pipe(qw/ls-tree -r -z/, $cmt); |
3799 |
+ local $/ = "\0"; |
3800 |
+- my $pfx = defined($switch_path) ? $switch_path : $git_svn->{path}; |
3801 |
++ my $pfx = defined($switch_path) ? $switch_path : $git_svn->path; |
3802 |
+ $pfx .= '/' if length($pfx); |
3803 |
+ while (<$ls>) { |
3804 |
+ chomp; |
3805 |
+diff --git a/perl/Git/SVN/Migration.pm b/perl/Git/SVN/Migration.pm |
3806 |
+index 75d7429..30daf35 100644 |
3807 |
+--- a/perl/Git/SVN/Migration.pm |
3808 |
++++ b/perl/Git/SVN/Migration.pm |
3809 |
+@@ -177,14 +177,14 @@ sub minimize_connections { |
3810 |
+ my $ra = Git::SVN::Ra->new($url); |
3811 |
+ |
3812 |
+ # skip existing cases where we already connect to the root |
3813 |
+- if (($ra->{url} eq $ra->{repos_root}) || |
3814 |
++ if (($ra->url eq $ra->{repos_root}) || |
3815 |
+ ($ra->{repos_root} eq $repo_id)) { |
3816 |
+- $root_repos->{$ra->{url}} = $repo_id; |
3817 |
++ $root_repos->{$ra->url} = $repo_id; |
3818 |
+ next; |
3819 |
+ } |
3820 |
+ |
3821 |
+ my $root_ra = Git::SVN::Ra->new($ra->{repos_root}); |
3822 |
+- my $root_path = $ra->{url}; |
3823 |
++ my $root_path = $ra->url; |
3824 |
+ $root_path =~ s#^\Q$ra->{repos_root}\E(/|$)##; |
3825 |
+ foreach my $path (keys %$fetch) { |
3826 |
+ my $ref_id = $fetch->{$path}; |
3827 |
+diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm |
3828 |
+index 23ff43e..90ec30b 100644 |
3829 |
+--- a/perl/Git/SVN/Ra.pm |
3830 |
++++ b/perl/Git/SVN/Ra.pm |
3831 |
+@@ -3,6 +3,12 @@ use vars qw/@ISA $config_dir $_ignore_refs_regex $_log_window_size/; |
3832 |
+ use strict; |
3833 |
+ use warnings; |
3834 |
+ use SVN::Client; |
3835 |
++use Git::SVN::Utils qw( |
3836 |
++ canonicalize_url |
3837 |
++ canonicalize_path |
3838 |
++ add_path_to_url |
3839 |
++); |
3840 |
++ |
3841 |
+ use SVN::Ra; |
3842 |
+ BEGIN { |
3843 |
+ @ISA = qw(SVN::Ra); |
3844 |
+@@ -62,29 +68,11 @@ sub _auth_providers () { |
3845 |
+ \@rv; |
3846 |
+ } |
3847 |
+ |
3848 |
+-sub escape_uri_only { |
3849 |
+- my ($uri) = @_; |
3850 |
+- my @tmp; |
3851 |
+- foreach (split m{/}, $uri) { |
3852 |
+- s/([^~\w.%+-]|%(?![a-fA-F0-9]{2}))/sprintf("%%%02X",ord($1))/eg; |
3853 |
+- push @tmp, $_; |
3854 |
+- } |
3855 |
+- join('/', @tmp); |
3856 |
+-} |
3857 |
+- |
3858 |
+-sub escape_url { |
3859 |
+- my ($url) = @_; |
3860 |
+- if ($url =~ m#^(https?)://([^/]+)(.*)$#) { |
3861 |
+- my ($scheme, $domain, $uri) = ($1, $2, escape_uri_only($3)); |
3862 |
+- $url = "$scheme://$domain$uri"; |
3863 |
+- } |
3864 |
+- $url; |
3865 |
+-} |
3866 |
+ |
3867 |
+ sub new { |
3868 |
+ my ($class, $url) = @_; |
3869 |
+- $url =~ s!/+$!!; |
3870 |
+- return $RA if ($RA && $RA->{url} eq $url); |
3871 |
++ $url = canonicalize_url($url); |
3872 |
++ return $RA if ($RA && $RA->url eq $url); |
3873 |
+ |
3874 |
+ ::_req_svn(); |
3875 |
+ |
3876 |
+@@ -115,17 +103,34 @@ sub new { |
3877 |
+ $Git::SVN::Prompt::_no_auth_cache = 1; |
3878 |
+ } |
3879 |
+ } # no warnings 'once' |
3880 |
+- my $self = SVN::Ra->new(url => escape_url($url), auth => $baton, |
3881 |
++ |
3882 |
++ my $self = SVN::Ra->new(url => $url, auth => $baton, |
3883 |
+ config => $config, |
3884 |
+ pool => SVN::Pool->new, |
3885 |
+ auth_provider_callbacks => $callbacks); |
3886 |
+- $self->{url} = $url; |
3887 |
++ $RA = bless $self, $class; |
3888 |
++ |
3889 |
++ # Make sure its canonicalized |
3890 |
++ $self->url($url); |
3891 |
+ $self->{svn_path} = $url; |
3892 |
+ $self->{repos_root} = $self->get_repos_root; |
3893 |
+ $self->{svn_path} =~ s#^\Q$self->{repos_root}\E(/|$)##; |
3894 |
+ $self->{cache} = { check_path => { r => 0, data => {} }, |
3895 |
+ get_dir => { r => 0, data => {} } }; |
3896 |
+- $RA = bless $self, $class; |
3897 |
++ |
3898 |
++ return $RA; |
3899 |
++} |
3900 |
++ |
3901 |
++sub url { |
3902 |
++ my $self = shift; |
3903 |
++ |
3904 |
++ if (@_) { |
3905 |
++ my $url = shift; |
3906 |
++ $self->{url} = canonicalize_url($url); |
3907 |
++ return; |
3908 |
++ } |
3909 |
++ |
3910 |
++ return $self->{url}; |
3911 |
+ } |
3912 |
+ |
3913 |
+ sub check_path { |
3914 |
+@@ -195,6 +200,7 @@ sub get_log { |
3915 |
+ qw/copyfrom_path copyfrom_rev action/; |
3916 |
+ if ($s{'copyfrom_path'}) { |
3917 |
+ $s{'copyfrom_path'} =~ s/$prefix_regex//; |
3918 |
++ $s{'copyfrom_path'} = canonicalize_path($s{'copyfrom_path'}); |
3919 |
+ } |
3920 |
+ $_[0]{$p} = \%s; |
3921 |
+ } |
3922 |
+@@ -246,7 +252,7 @@ sub get_commit_editor { |
3923 |
+ sub gs_do_update { |
3924 |
+ my ($self, $rev_a, $rev_b, $gs, $editor) = @_; |
3925 |
+ my $new = ($rev_a == $rev_b); |
3926 |
+- my $path = $gs->{path}; |
3927 |
++ my $path = $gs->path; |
3928 |
+ |
3929 |
+ if ($new && -e $gs->{index}) { |
3930 |
+ unlink $gs->{index} or die |
3931 |
+@@ -282,30 +288,33 @@ sub gs_do_update { |
3932 |
+ # svn_ra_reparent didn't work before 1.4) |
3933 |
+ sub gs_do_switch { |
3934 |
+ my ($self, $rev_a, $rev_b, $gs, $url_b, $editor) = @_; |
3935 |
+- my $path = $gs->{path}; |
3936 |
++ my $path = $gs->path; |
3937 |
+ my $pool = SVN::Pool->new; |
3938 |
+ |
3939 |
+- my $full_url = $self->{url}; |
3940 |
+- my $old_url = $full_url; |
3941 |
+- $full_url .= '/' . $path if length $path; |
3942 |
++ my $old_url = $self->url; |
3943 |
++ my $full_url = add_path_to_url( $self->url, $path ); |
3944 |
+ my ($ra, $reparented); |
3945 |
+ |
3946 |
+ if ($old_url =~ m#^svn(\+ssh)?://# || |
3947 |
+ ($full_url =~ m#^https?://# && |
3948 |
+- escape_url($full_url) ne $full_url)) { |
3949 |
++ canonicalize_url($full_url) ne $full_url)) { |
3950 |
+ $_[0] = undef; |
3951 |
+ $self = undef; |
3952 |
+ $RA = undef; |
3953 |
+ $ra = Git::SVN::Ra->new($full_url); |
3954 |
+ $ra_invalid = 1; |
3955 |
+ } elsif ($old_url ne $full_url) { |
3956 |
+- SVN::_Ra::svn_ra_reparent($self->{session}, $full_url, $pool); |
3957 |
+- $self->{url} = $full_url; |
3958 |
++ SVN::_Ra::svn_ra_reparent( |
3959 |
++ $self->{session}, |
3960 |
++ canonicalize_url($full_url), |
3961 |
++ $pool |
3962 |
++ ); |
3963 |
++ $self->url($full_url); |
3964 |
+ $reparented = 1; |
3965 |
+ } |
3966 |
+ |
3967 |
+ $ra ||= $self; |
3968 |
+- $url_b = escape_url($url_b); |
3969 |
++ $url_b = canonicalize_url($url_b); |
3970 |
+ my $reporter = $ra->do_switch($rev_b, '', 1, $url_b, $editor, $pool); |
3971 |
+ my @lock = (::compare_svn_version('1.2.0') >= 0) ? (undef) : (); |
3972 |
+ $reporter->set_path('', $rev_a, 0, @lock, $pool); |
3973 |
+@@ -313,7 +322,7 @@ sub gs_do_switch { |
3974 |
+ |
3975 |
+ if ($reparented) { |
3976 |
+ SVN::_Ra::svn_ra_reparent($self->{session}, $old_url, $pool); |
3977 |
+- $self->{url} = $old_url; |
3978 |
++ $self->url($old_url); |
3979 |
+ } |
3980 |
+ |
3981 |
+ $pool->clear; |
3982 |
+@@ -326,7 +335,7 @@ sub longest_common_path { |
3983 |
+ my $common_max = scalar @$gsv; |
3984 |
+ |
3985 |
+ foreach my $gs (@$gsv) { |
3986 |
+- my @tmp = split m#/#, $gs->{path}; |
3987 |
++ my @tmp = split m#/#, $gs->path; |
3988 |
+ my $p = ''; |
3989 |
+ foreach (@tmp) { |
3990 |
+ $p .= length($p) ? "/$_" : $_; |
3991 |
+@@ -362,7 +371,7 @@ sub gs_fetch_loop_common { |
3992 |
+ my $inc = $_log_window_size; |
3993 |
+ my ($min, $max) = ($base, $head < $base + $inc ? $head : $base + $inc); |
3994 |
+ my $longest_path = longest_common_path($gsv, $globs); |
3995 |
+- my $ra_url = $self->{url}; |
3996 |
++ my $ra_url = $self->url; |
3997 |
+ my $find_trailing_edge; |
3998 |
+ while (1) { |
3999 |
+ my %revs; |
4000 |
+@@ -508,7 +517,7 @@ sub match_globs { |
4001 |
+ ($self->check_path($p, $r) != |
4002 |
+ $SVN::Node::dir)); |
4003 |
+ next unless $p =~ /$g->{path}->{regex}/; |
4004 |
+- $exists->{$p} = Git::SVN->init($self->{url}, $p, undef, |
4005 |
++ $exists->{$p} = Git::SVN->init($self->url, $p, undef, |
4006 |
+ $g->{ref}->full_path($de), 1); |
4007 |
+ } |
4008 |
+ } |
4009 |
+@@ -532,7 +541,7 @@ sub match_globs { |
4010 |
+ next if ($self->check_path($pathname, $r) != |
4011 |
+ $SVN::Node::dir); |
4012 |
+ $exists->{$pathname} = Git::SVN->init( |
4013 |
+- $self->{url}, $pathname, undef, |
4014 |
++ $self->url, $pathname, undef, |
4015 |
+ $g->{ref}->full_path($p), 1); |
4016 |
+ } |
4017 |
+ my $c = ''; |
4018 |
+@@ -548,19 +557,20 @@ sub match_globs { |
4019 |
+ |
4020 |
+ sub minimize_url { |
4021 |
+ my ($self) = @_; |
4022 |
+- return $self->{url} if ($self->{url} eq $self->{repos_root}); |
4023 |
++ return $self->url if ($self->url eq $self->{repos_root}); |
4024 |
+ my $url = $self->{repos_root}; |
4025 |
+ my @components = split(m!/!, $self->{svn_path}); |
4026 |
+ my $c = ''; |
4027 |
+ do { |
4028 |
+- $url .= "/$c" if length $c; |
4029 |
++ $url = add_path_to_url($url, $c); |
4030 |
+ eval { |
4031 |
+ my $ra = (ref $self)->new($url); |
4032 |
+ my $latest = $ra->get_latest_revnum; |
4033 |
+ $ra->get_log("", $latest, 0, 1, 0, 1, sub {}); |
4034 |
+ }; |
4035 |
+ } while ($@ && ($c = shift @components)); |
4036 |
+- $url; |
4037 |
++ |
4038 |
++ return canonicalize_url($url); |
4039 |
+ } |
4040 |
+ |
4041 |
+ sub can_do_switch { |
4042 |
+@@ -568,7 +578,7 @@ sub can_do_switch { |
4043 |
+ unless (defined $can_do_switch) { |
4044 |
+ my $pool = SVN::Pool->new; |
4045 |
+ my $rep = eval { |
4046 |
+- $self->do_switch(1, '', 0, $self->{url}, |
4047 |
++ $self->do_switch(1, '', 0, $self->url, |
4048 |
+ SVN::Delta::Editor->new, $pool); |
4049 |
+ }; |
4050 |
+ if ($@) { |
4051 |
+diff --git a/perl/Git/SVN/Utils.pm b/perl/Git/SVN/Utils.pm |
4052 |
+index 496006b..4bb4dde 100644 |
4053 |
+--- a/perl/Git/SVN/Utils.pm |
4054 |
++++ b/perl/Git/SVN/Utils.pm |
4055 |
+@@ -3,9 +3,18 @@ package Git::SVN::Utils; |
4056 |
+ use strict; |
4057 |
+ use warnings; |
4058 |
+ |
4059 |
++use SVN::Core; |
4060 |
++ |
4061 |
+ use base qw(Exporter); |
4062 |
+ |
4063 |
+-our @EXPORT_OK = qw(fatal can_compress); |
4064 |
++our @EXPORT_OK = qw( |
4065 |
++ fatal |
4066 |
++ can_compress |
4067 |
++ canonicalize_path |
4068 |
++ canonicalize_url |
4069 |
++ join_paths |
4070 |
++ add_path_to_url |
4071 |
++); |
4072 |
+ |
4073 |
+ |
4074 |
+ =head1 NAME |
4075 |
+@@ -56,4 +65,169 @@ sub can_compress { |
4076 |
+ } |
4077 |
+ |
4078 |
+ |
4079 |
++=head3 canonicalize_path |
4080 |
++ |
4081 |
++ my $canoncalized_path = canonicalize_path($path); |
4082 |
++ |
4083 |
++Converts $path into a canonical form which is safe to pass to the SVN |
4084 |
++API as a file path. |
4085 |
++ |
4086 |
++=cut |
4087 |
++ |
4088 |
++# Turn foo/../bar into bar |
4089 |
++sub _collapse_dotdot { |
4090 |
++ my $path = shift; |
4091 |
++ |
4092 |
++ 1 while $path =~ s{/[^/]+/+\.\.}{}; |
4093 |
++ 1 while $path =~ s{[^/]+/+\.\./}{}; |
4094 |
++ 1 while $path =~ s{[^/]+/+\.\.}{}; |
4095 |
++ |
4096 |
++ return $path; |
4097 |
++} |
4098 |
++ |
4099 |
++ |
4100 |
++sub canonicalize_path { |
4101 |
++ my $path = shift; |
4102 |
++ my $rv; |
4103 |
++ |
4104 |
++ # The 1.7 way to do it |
4105 |
++ if ( defined &SVN::_Core::svn_dirent_canonicalize ) { |
4106 |
++ $path = _collapse_dotdot($path); |
4107 |
++ $rv = SVN::_Core::svn_dirent_canonicalize($path); |
4108 |
++ } |
4109 |
++ # The 1.6 way to do it |
4110 |
++ # This can return undef on subversion-perl-1.4.2-2.el5 (CentOS 5.2) |
4111 |
++ elsif ( defined &SVN::_Core::svn_path_canonicalize ) { |
4112 |
++ $path = _collapse_dotdot($path); |
4113 |
++ $rv = SVN::_Core::svn_path_canonicalize($path); |
4114 |
++ } |
4115 |
++ |
4116 |
++ return $rv if defined $rv; |
4117 |
++ |
4118 |
++ # No SVN API canonicalization is available, or the SVN API |
4119 |
++ # didn't return a successful result, do it ourselves |
4120 |
++ return _canonicalize_path_ourselves($path); |
4121 |
++} |
4122 |
++ |
4123 |
++ |
4124 |
++sub _canonicalize_path_ourselves { |
4125 |
++ my ($path) = @_; |
4126 |
++ my $dot_slash_added = 0; |
4127 |
++ if (substr($path, 0, 1) ne "/") { |
4128 |
++ $path = "./" . $path; |
4129 |
++ $dot_slash_added = 1; |
4130 |
++ } |
4131 |
++ $path =~ s#/+#/#g; |
4132 |
++ $path =~ s#/\.(?:/|$)#/#g; |
4133 |
++ $path = _collapse_dotdot($path); |
4134 |
++ $path =~ s#/$##g; |
4135 |
++ $path =~ s#^\./## if $dot_slash_added; |
4136 |
++ $path =~ s#^/##; |
4137 |
++ $path =~ s#^\.$##; |
4138 |
++ return $path; |
4139 |
++} |
4140 |
++ |
4141 |
++ |
4142 |
++=head3 canonicalize_url |
4143 |
++ |
4144 |
++ my $canonicalized_url = canonicalize_url($url); |
4145 |
++ |
4146 |
++Converts $url into a canonical form which is safe to pass to the SVN |
4147 |
++API as a URL. |
4148 |
++ |
4149 |
++=cut |
4150 |
++ |
4151 |
++sub canonicalize_url { |
4152 |
++ my $url = shift; |
4153 |
++ |
4154 |
++ # The 1.7 way to do it |
4155 |
++ if ( defined &SVN::_Core::svn_uri_canonicalize ) { |
4156 |
++ return SVN::_Core::svn_uri_canonicalize($url); |
4157 |
++ } |
4158 |
++ # There wasn't a 1.6 way to do it, so we do it ourself. |
4159 |
++ else { |
4160 |
++ return _canonicalize_url_ourselves($url); |
4161 |
++ } |
4162 |
++} |
4163 |
++ |
4164 |
++ |
4165 |
++sub _canonicalize_url_path { |
4166 |
++ my ($uri_path) = @_; |
4167 |
++ |
4168 |
++ my @parts; |
4169 |
++ foreach my $part (split m{/+}, $uri_path) { |
4170 |
++ $part =~ s/([^~\w.%+-]|%(?![a-fA-F0-9]{2}))/sprintf("%%%02X",ord($1))/eg; |
4171 |
++ push @parts, $part; |
4172 |
++ } |
4173 |
++ |
4174 |
++ return join('/', @parts); |
4175 |
++} |
4176 |
++ |
4177 |
++sub _canonicalize_url_ourselves { |
4178 |
++ my ($url) = @_; |
4179 |
++ if ($url =~ m#^([^:]+)://([^/]*)(.*)$#) { |
4180 |
++ my ($scheme, $domain, $uri) = ($1, $2, _canonicalize_url_path(canonicalize_path($3))); |
4181 |
++ $url = "$scheme://$domain$uri"; |
4182 |
++ } |
4183 |
++ $url; |
4184 |
++} |
4185 |
++ |
4186 |
++ |
4187 |
++=head3 join_paths |
4188 |
++ |
4189 |
++ my $new_path = join_paths(@paths); |
4190 |
++ |
4191 |
++Appends @paths together into a single path. Any empty paths are ignored. |
4192 |
++ |
4193 |
++=cut |
4194 |
++ |
4195 |
++sub join_paths { |
4196 |
++ my @paths = @_; |
4197 |
++ |
4198 |
++ @paths = grep { defined $_ && length $_ } @paths; |
4199 |
++ |
4200 |
++ return '' unless @paths; |
4201 |
++ return $paths[0] if @paths == 1; |
4202 |
++ |
4203 |
++ my $new_path = shift @paths; |
4204 |
++ $new_path =~ s{/+$}{}; |
4205 |
++ |
4206 |
++ my $last_path = pop @paths; |
4207 |
++ $last_path =~ s{^/+}{}; |
4208 |
++ |
4209 |
++ for my $path (@paths) { |
4210 |
++ $path =~ s{^/+}{}; |
4211 |
++ $path =~ s{/+$}{}; |
4212 |
++ $new_path .= "/$path"; |
4213 |
++ } |
4214 |
++ |
4215 |
++ return $new_path .= "/$last_path"; |
4216 |
++} |
4217 |
++ |
4218 |
++ |
4219 |
++=head3 add_path_to_url |
4220 |
++ |
4221 |
++ my $new_url = add_path_to_url($url, $path); |
4222 |
++ |
4223 |
++Appends $path onto the $url. If $path is empty, $url is returned unchanged. |
4224 |
++ |
4225 |
++=cut |
4226 |
++ |
4227 |
++sub add_path_to_url { |
4228 |
++ my($url, $path) = @_; |
4229 |
++ |
4230 |
++ return $url if !defined $path or !length $path; |
4231 |
++ |
4232 |
++ # Strip trailing and leading slashes so we don't |
4233 |
++ # wind up with http://x.com///path |
4234 |
++ $url =~ s{/+$}{}; |
4235 |
++ $path =~ s{^/+}{}; |
4236 |
++ |
4237 |
++ # If a path has a % in it, URI escape it so it's not |
4238 |
++ # mistaken for a URI escape later. |
4239 |
++ $path =~ s{%}{%25}g; |
4240 |
++ |
4241 |
++ return join '/', $url, $path; |
4242 |
++} |
4243 |
++ |
4244 |
+ 1; |
4245 |
+diff --git a/t/Git-SVN/Utils/add_path_to_url.t b/t/Git-SVN/Utils/add_path_to_url.t |
4246 |
+new file mode 100644 |
4247 |
+index 0000000..bfbd878 |
4248 |
+--- /dev/null |
4249 |
++++ b/t/Git-SVN/Utils/add_path_to_url.t |
4250 |
+@@ -0,0 +1,27 @@ |
4251 |
++#!/usr/bin/env perl |
4252 |
++ |
4253 |
++use strict; |
4254 |
++use warnings; |
4255 |
++ |
4256 |
++use Test::More 'no_plan'; |
4257 |
++ |
4258 |
++use Git::SVN::Utils qw( |
4259 |
++ add_path_to_url |
4260 |
++); |
4261 |
++ |
4262 |
++# A reference cannot be a hash key, so we use an array. |
4263 |
++my @tests = ( |
4264 |
++ ["http://x.com", "bar"] => 'http://x.com/bar', |
4265 |
++ ["http://x.com", ""] => 'http://x.com', |
4266 |
++ ["http://x.com/foo/", undef] => 'http://x.com/foo/', |
4267 |
++ ["http://x.com/foo/", "/bar/baz/"] => 'http://x.com/foo/bar/baz/', |
4268 |
++ ["http://x.com", 'per%cent'] => 'http://x.com/per%25cent', |
4269 |
++); |
4270 |
++ |
4271 |
++while(@tests) { |
4272 |
++ my($have, $want) = splice @tests, 0, 2; |
4273 |
++ |
4274 |
++ my $args = join ", ", map { qq['$_'] } map { defined($_) ? $_ : 'undef' } @$have; |
4275 |
++ my $name = "add_path_to_url($args) eq $want"; |
4276 |
++ is add_path_to_url(@$have), $want, $name; |
4277 |
++} |
4278 |
+diff --git a/t/Git-SVN/Utils/canonicalize_url.t b/t/Git-SVN/Utils/canonicalize_url.t |
4279 |
+new file mode 100644 |
4280 |
+index 0000000..05795ab |
4281 |
+--- /dev/null |
4282 |
++++ b/t/Git-SVN/Utils/canonicalize_url.t |
4283 |
+@@ -0,0 +1,26 @@ |
4284 |
++#!/usr/bin/env perl |
4285 |
++ |
4286 |
++# Test our own home rolled URL canonicalizer. Test the private one |
4287 |
++# directly because we can't predict what the SVN API is doing to do. |
4288 |
++ |
4289 |
++use strict; |
4290 |
++use warnings; |
4291 |
++ |
4292 |
++use Test::More 'no_plan'; |
4293 |
++ |
4294 |
++use Git::SVN::Utils; |
4295 |
++my $canonicalize_url = \&Git::SVN::Utils::_canonicalize_url_ourselves; |
4296 |
++ |
4297 |
++my %tests = ( |
4298 |
++ "http://x.com" => "http://x.com", |
4299 |
++ "http://x.com/" => "http://x.com", |
4300 |
++ "http://x.com/foo/bar" => "http://x.com/foo/bar", |
4301 |
++ "http://x.com//foo//bar//" => "http://x.com/foo/bar", |
4302 |
++ "http://x.com/ /%/" => "http://x.com/%20%20/%25", |
4303 |
++); |
4304 |
++ |
4305 |
++for my $arg (keys %tests) { |
4306 |
++ my $want = $tests{$arg}; |
4307 |
++ |
4308 |
++ is $canonicalize_url->($arg), $want, "canonicalize_url('$arg') => $want"; |
4309 |
++} |
4310 |
+diff --git a/t/Git-SVN/Utils/collapse_dotdot.t b/t/Git-SVN/Utils/collapse_dotdot.t |
4311 |
+new file mode 100644 |
4312 |
+index 0000000..1da1cce |
4313 |
+--- /dev/null |
4314 |
++++ b/t/Git-SVN/Utils/collapse_dotdot.t |
4315 |
+@@ -0,0 +1,23 @@ |
4316 |
++#!/usr/bin/env perl |
4317 |
++ |
4318 |
++use strict; |
4319 |
++use warnings; |
4320 |
++ |
4321 |
++use Test::More 'no_plan'; |
4322 |
++ |
4323 |
++use Git::SVN::Utils; |
4324 |
++my $collapse_dotdot = \&Git::SVN::Utils::_collapse_dotdot; |
4325 |
++ |
4326 |
++my %tests = ( |
4327 |
++ "foo/bar/baz" => "foo/bar/baz", |
4328 |
++ ".." => "..", |
4329 |
++ "foo/.." => "", |
4330 |
++ "/foo/bar/../../baz" => "/baz", |
4331 |
++ "deeply/.././deeply/nested" => "./deeply/nested", |
4332 |
++); |
4333 |
++ |
4334 |
++for my $arg (keys %tests) { |
4335 |
++ my $want = $tests{$arg}; |
4336 |
++ |
4337 |
++ is $collapse_dotdot->($arg), $want, "_collapse_dotdot('$arg') => $want"; |
4338 |
++} |
4339 |
+diff --git a/t/Git-SVN/Utils/join_paths.t b/t/Git-SVN/Utils/join_paths.t |
4340 |
+new file mode 100644 |
4341 |
+index 0000000..d4488e7 |
4342 |
+--- /dev/null |
4343 |
++++ b/t/Git-SVN/Utils/join_paths.t |
4344 |
+@@ -0,0 +1,32 @@ |
4345 |
++#!/usr/bin/env perl |
4346 |
++ |
4347 |
++use strict; |
4348 |
++use warnings; |
4349 |
++ |
4350 |
++use Test::More 'no_plan'; |
4351 |
++ |
4352 |
++use Git::SVN::Utils qw( |
4353 |
++ join_paths |
4354 |
++); |
4355 |
++ |
4356 |
++# A reference cannot be a hash key, so we use an array. |
4357 |
++my @tests = ( |
4358 |
++ [] => '', |
4359 |
++ ["/x.com", "bar"] => '/x.com/bar', |
4360 |
++ ["x.com", ""] => 'x.com', |
4361 |
++ ["/x.com/foo/", undef, "bar"] => '/x.com/foo/bar', |
4362 |
++ ["x.com/foo/", "/bar/baz/"] => 'x.com/foo/bar/baz/', |
4363 |
++ ["foo", "bar"] => 'foo/bar', |
4364 |
++ ["/foo/bar", "baz", "/biff"] => '/foo/bar/baz/biff', |
4365 |
++ ["", undef, "."] => '.', |
4366 |
++ [] => '', |
4367 |
++ |
4368 |
++); |
4369 |
++ |
4370 |
++while(@tests) { |
4371 |
++ my($have, $want) = splice @tests, 0, 2; |
4372 |
++ |
4373 |
++ my $args = join ", ", map { qq['$_'] } map { defined($_) ? $_ : 'undef' } @$have; |
4374 |
++ my $name = "join_paths($args) eq '$want'"; |
4375 |
++ is join_paths(@$have), $want, $name; |
4376 |
++} |
4377 |
+diff --git a/t/t9107-git-svn-migrate.sh b/t/t9107-git-svn-migrate.sh |
4378 |
+index 289fc31..ee73013 100755 |
4379 |
+--- a/t/t9107-git-svn-migrate.sh |
4380 |
++++ b/t/t9107-git-svn-migrate.sh |
4381 |
+@@ -27,15 +27,17 @@ test_expect_success 'setup old-looking metadata' ' |
4382 |
+ head=`git rev-parse --verify refs/heads/git-svn-HEAD^0` |
4383 |
+ test_expect_success 'git-svn-HEAD is a real HEAD' "test -n '$head'" |
4384 |
+ |
4385 |
++svnrepo_escaped=`echo $svnrepo | sed 's/ /%20/'` |
4386 |
++ |
4387 |
+ test_expect_success 'initialize old-style (v0) git svn layout' ' |
4388 |
+ mkdir -p "$GIT_DIR"/git-svn/info "$GIT_DIR"/svn/info && |
4389 |
+ echo "$svnrepo" > "$GIT_DIR"/git-svn/info/url && |
4390 |
+ echo "$svnrepo" > "$GIT_DIR"/svn/info/url && |
4391 |
+ git svn migrate && |
4392 |
+- ! test -d "$GIT_DIR"/git svn && |
4393 |
++ ! test -d "$GIT_DIR"/git-svn && |
4394 |
+ git rev-parse --verify refs/${remotes_git_svn}^0 && |
4395 |
+ git rev-parse --verify refs/remotes/svn^0 && |
4396 |
+- test "$(git config --get svn-remote.svn.url)" = "$svnrepo" && |
4397 |
++ test "$(git config --get svn-remote.svn.url)" = "$svnrepo_escaped" && |
4398 |
+ test `git config --get svn-remote.svn.fetch` = \ |
4399 |
+ ":refs/${remotes_git_svn}" |
4400 |
+ ' |
4401 |
+diff --git a/t/t9118-git-svn-funky-branch-names.sh b/t/t9118-git-svn-funky-branch-names.sh |
4402 |
+index 63fc982..193d3ca 100755 |
4403 |
+--- a/t/t9118-git-svn-funky-branch-names.sh |
4404 |
++++ b/t/t9118-git-svn-funky-branch-names.sh |
4405 |
+@@ -32,6 +32,11 @@ test_expect_success 'setup svnrepo' ' |
4406 |
+ start_httpd |
4407 |
+ ' |
4408 |
+ |
4409 |
++# SVN 1.7 will truncate "not-a%40{0]" to just "not-a". |
4410 |
++# Look at what SVN wound up naming the branch and use that. |
4411 |
++# Be sure to escape the @ if it shows up. |
4412 |
++non_reflog=`svn_cmd ls "$svnrepo/pr ject/branches" | grep not-a | sed 's/\///' | sed 's/@/%40/'` |
4413 |
++ |
4414 |
+ test_expect_success 'test clone with funky branch names' ' |
4415 |
+ git svn clone -s "$svnrepo/pr ject" project && |
4416 |
+ ( |
4417 |
+@@ -42,7 +47,7 @@ test_expect_success 'test clone with funky branch names' ' |
4418 |
+ git rev-parse "refs/remotes/%2Eleading_dot" && |
4419 |
+ git rev-parse "refs/remotes/trailing_dot%2E" && |
4420 |
+ git rev-parse "refs/remotes/trailing_dotlock%2Elock" && |
4421 |
+- git rev-parse "refs/remotes/not-a%40{0}reflog" |
4422 |
++ git rev-parse "refs/remotes/$non_reflog" |
4423 |
+ ) |
4424 |
+ ' |
4425 |
+ |
4426 |
|
4427 |
diff --git a/dev-vcs/git/files/git-1.7.12-optional-cvs.patch b/dev-vcs/git/files/git-1.7.12-optional-cvs.patch |
4428 |
new file mode 100644 |
4429 |
index 0000000..bd8413d |
4430 |
--- /dev/null |
4431 |
+++ b/dev-vcs/git/files/git-1.7.12-optional-cvs.patch |
4432 |
@@ -0,0 +1,368 @@ |
4433 |
+From eadb20b065c33d46b49c8c95d8cde0c9fe7c62a4 Mon Sep 17 00:00:00 2001 |
4434 |
+From: Robin Johnson <robbat2@g.o> |
4435 |
+Date: Wed, 22 Aug 2012 04:25:06 +0000 |
4436 |
+Subject: [PATCH] Makefile: Add NO_CVS define to disable all CVS interface |
4437 |
+ utilities |
4438 |
+ |
4439 |
+Forward-ported from 1.7.10.2 to current git.git v1.7.12 tag PLUS fix-svn branch. |
4440 |
+ |
4441 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/Makefile git-1.7.12/Makefile |
4442 |
+--- git-1.7.12.orig/Makefile 2012-08-20 01:22:48.000000000 +0000 |
4443 |
++++ git-1.7.12/Makefile 2012-08-22 04:23:48.335032122 +0000 |
4444 |
+@@ -224,6 +224,8 @@ |
4445 |
+ # |
4446 |
+ # Define NO_TCLTK if you do not want Tcl/Tk GUI. |
4447 |
+ # |
4448 |
++# Define NO_CVS if you do not want any CVS interface utilities. |
4449 |
++# |
4450 |
+ # The TCL_PATH variable governs the location of the Tcl interpreter |
4451 |
+ # used to optimize git-gui for your system. Only used if NO_TCLTK |
4452 |
+ # is not set. Defaults to the bare 'tclsh'. |
4453 |
+@@ -405,6 +407,7 @@ |
4454 |
+ PROGRAM_OBJS = |
4455 |
+ PROGRAMS = |
4456 |
+ SCRIPT_PERL = |
4457 |
++SCRIPT_PERL_CVS = |
4458 |
+ SCRIPT_PYTHON = |
4459 |
+ SCRIPT_SH = |
4460 |
+ SCRIPT_LIB = |
4461 |
+@@ -445,18 +448,19 @@ |
4462 |
+ SCRIPT_PERL += git-add--interactive.perl |
4463 |
+ SCRIPT_PERL += git-difftool.perl |
4464 |
+ SCRIPT_PERL += git-archimport.perl |
4465 |
+-SCRIPT_PERL += git-cvsexportcommit.perl |
4466 |
+-SCRIPT_PERL += git-cvsimport.perl |
4467 |
+-SCRIPT_PERL += git-cvsserver.perl |
4468 |
+ SCRIPT_PERL += git-relink.perl |
4469 |
+ SCRIPT_PERL += git-send-email.perl |
4470 |
+ SCRIPT_PERL += git-svn.perl |
4471 |
+ |
4472 |
++SCRIPT_PERL_CVS += git-cvsexportcommit.perl |
4473 |
++SCRIPT_PERL_CVS += git-cvsimport.perl |
4474 |
++SCRIPT_PERL_CVS += git-cvsserver.perl |
4475 |
++ |
4476 |
+ SCRIPT_PYTHON += git-remote-testgit.py |
4477 |
+ SCRIPT_PYTHON += git-p4.py |
4478 |
+ |
4479 |
+ SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \ |
4480 |
+- $(patsubst %.perl,%,$(SCRIPT_PERL)) \ |
4481 |
++ $(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) \ |
4482 |
+ $(patsubst %.py,%,$(SCRIPT_PYTHON)) \ |
4483 |
+ git-instaweb |
4484 |
+ |
4485 |
+@@ -2088,8 +2092,18 @@ |
4486 |
+ $(QUIET_GEN)$(cmd_munge_script) && \ |
4487 |
+ mv $@+ $@ |
4488 |
+ |
4489 |
++_SCRIPT_PERL_BUILD = |
4490 |
++_SCRIPT_PERL_NOBUILD = |
4491 |
++ |
4492 |
+ ifndef NO_PERL |
4493 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak |
4494 |
++ |
4495 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL) |
4496 |
++ |
4497 |
++ifndef NO_CVS |
4498 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS) |
4499 |
++else # NO_CVS |
4500 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS) |
4501 |
++endif # NO_CVS |
4502 |
+ |
4503 |
+ perl/perl.mak: perl/PM.stamp |
4504 |
+ |
4505 |
+@@ -2101,7 +2115,7 @@ |
4506 |
+ perl/perl.mak: GIT-CFLAGS GIT-PREFIX perl/Makefile perl/Makefile.PL |
4507 |
+ $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
4508 |
+ |
4509 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl GIT-VERSION-FILE |
4510 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl GIT-VERSION-FILE |
4511 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
4512 |
+ INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
4513 |
+ sed -e '1{' \ |
4514 |
+@@ -2126,14 +2140,17 @@ |
4515 |
+ chmod +x $@+ && \ |
4516 |
+ mv $@+ $@ |
4517 |
+ else # NO_PERL |
4518 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh |
4519 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb |
4520 |
++endif # NO_PERL |
4521 |
++ |
4522 |
++# This is any perl scripts that were disabled it might be empty... |
4523 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh |
4524 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
4525 |
+ sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
4526 |
+ -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
4527 |
+ unimplemented.sh >$@+ && \ |
4528 |
+ chmod +x $@+ && \ |
4529 |
+ mv $@+ $@ |
4530 |
+-endif # NO_PERL |
4531 |
+ |
4532 |
+ ifndef NO_PYTHON |
4533 |
+ $(patsubst %.py,%,$(SCRIPT_PYTHON)): GIT-CFLAGS GIT-PREFIX |
4534 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9200-git-cvsexportcommit.sh git-1.7.12/t/t9200-git-cvsexportcommit.sh |
4535 |
+--- git-1.7.12.orig/t/t9200-git-cvsexportcommit.sh 2012-08-20 01:22:48.000000000 +0000 |
4536 |
++++ git-1.7.12/t/t9200-git-cvsexportcommit.sh 2012-08-22 04:19:23.650741974 +0000 |
4537 |
+@@ -12,6 +12,11 @@ |
4538 |
+ test_done |
4539 |
+ fi |
4540 |
+ |
4541 |
++if ! test_have_prereq CVS; then |
4542 |
++ skip_all='skipping git cvsexportcommit tests, cvs not available' |
4543 |
++ test_done |
4544 |
++fi |
4545 |
++ |
4546 |
+ cvs >/dev/null 2>&1 |
4547 |
+ if test $? -ne 1 |
4548 |
+ then |
4549 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9400-git-cvsserver-server.sh git-1.7.12/t/t9400-git-cvsserver-server.sh |
4550 |
+--- git-1.7.12.orig/t/t9400-git-cvsserver-server.sh 2012-08-20 01:22:48.000000000 +0000 |
4551 |
++++ git-1.7.12/t/t9400-git-cvsserver-server.sh 2012-08-22 04:19:23.650741974 +0000 |
4552 |
+@@ -11,9 +11,15 @@ |
4553 |
+ . ./test-lib.sh |
4554 |
+ |
4555 |
+ if ! test_have_prereq PERL; then |
4556 |
+- skip_all='skipping git cvsserver tests, perl not available' |
4557 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
4558 |
+ test_done |
4559 |
+ fi |
4560 |
++ |
4561 |
++if ! test_have_prereq CVS; then |
4562 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
4563 |
++ test_done |
4564 |
++fi |
4565 |
++ |
4566 |
+ cvs >/dev/null 2>&1 |
4567 |
+ if test $? -ne 1 |
4568 |
+ then |
4569 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9401-git-cvsserver-crlf.sh git-1.7.12/t/t9401-git-cvsserver-crlf.sh |
4570 |
+--- git-1.7.12.orig/t/t9401-git-cvsserver-crlf.sh 2012-08-20 01:22:48.000000000 +0000 |
4571 |
++++ git-1.7.12/t/t9401-git-cvsserver-crlf.sh 2012-08-22 04:19:23.650741974 +0000 |
4572 |
+@@ -38,15 +38,20 @@ |
4573 |
+ fi |
4574 |
+ } |
4575 |
+ |
4576 |
+-cvs >/dev/null 2>&1 |
4577 |
+-if test $? -ne 1 |
4578 |
++if ! test_have_prereq PERL |
4579 |
+ then |
4580 |
+- skip_all='skipping git-cvsserver tests, cvs not found' |
4581 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
4582 |
+ test_done |
4583 |
+ fi |
4584 |
+-if ! test_have_prereq PERL |
4585 |
++if ! test_have_prereq CVS |
4586 |
+ then |
4587 |
+- skip_all='skipping git-cvsserver tests, perl not available' |
4588 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
4589 |
++ test_done |
4590 |
++fi |
4591 |
++cvs >/dev/null 2>&1 |
4592 |
++if test $? -ne 1 |
4593 |
++then |
4594 |
++ skip_all='skipping git-cvsserver tests, cvs not found' |
4595 |
+ test_done |
4596 |
+ fi |
4597 |
+ "$PERL_PATH" -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || { |
4598 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9600-cvsimport.sh git-1.7.12/t/t9600-cvsimport.sh |
4599 |
+--- git-1.7.12.orig/t/t9600-cvsimport.sh 2012-08-20 01:22:48.000000000 +0000 |
4600 |
++++ git-1.7.12/t/t9600-cvsimport.sh 2012-08-22 04:19:23.650741974 +0000 |
4601 |
+@@ -3,14 +3,25 @@ |
4602 |
+ test_description='git cvsimport basic tests' |
4603 |
+ . ./lib-cvs.sh |
4604 |
+ |
4605 |
+-test_expect_success PERL 'setup cvsroot environment' ' |
4606 |
++if ! test_have_prereq PERL |
4607 |
++then |
4608 |
++ skip_all='skipping git cvsimport tests, perl not available' |
4609 |
++ test_done |
4610 |
++fi |
4611 |
++if ! test_have_prereq CVS |
4612 |
++then |
4613 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
4614 |
++ test_done |
4615 |
++fi |
4616 |
++ |
4617 |
++test_expect_success 'setup cvsroot environment' ' |
4618 |
+ CVSROOT=$(pwd)/cvsroot && |
4619 |
+ export CVSROOT |
4620 |
+ ' |
4621 |
+ |
4622 |
+-test_expect_success PERL 'setup cvsroot' '$CVS init' |
4623 |
++test_expect_success 'setup cvsroot' '$CVS init' |
4624 |
+ |
4625 |
+-test_expect_success PERL 'setup a cvs module' ' |
4626 |
++test_expect_success 'setup a cvs module' ' |
4627 |
+ |
4628 |
+ mkdir "$CVSROOT/module" && |
4629 |
+ $CVS co -d module-cvs module && |
4630 |
+@@ -42,23 +53,23 @@ |
4631 |
+ ) |
4632 |
+ ' |
4633 |
+ |
4634 |
+-test_expect_success PERL 'import a trivial module' ' |
4635 |
++test_expect_success 'import a trivial module' ' |
4636 |
+ |
4637 |
+ git cvsimport -a -R -z 0 -C module-git module && |
4638 |
+ test_cmp module-cvs/o_fortuna module-git/o_fortuna |
4639 |
+ |
4640 |
+ ' |
4641 |
+ |
4642 |
+-test_expect_success PERL 'pack refs' '(cd module-git && git gc)' |
4643 |
++test_expect_success 'pack refs' '(cd module-git && git gc)' |
4644 |
+ |
4645 |
+-test_expect_success PERL 'initial import has correct .git/cvs-revisions' ' |
4646 |
++test_expect_success 'initial import has correct .git/cvs-revisions' ' |
4647 |
+ |
4648 |
+ (cd module-git && |
4649 |
+ git log --format="o_fortuna 1.1 %H" -1) > expected && |
4650 |
+ test_cmp expected module-git/.git/cvs-revisions |
4651 |
+ ' |
4652 |
+ |
4653 |
+-test_expect_success PERL 'update cvs module' ' |
4654 |
++test_expect_success 'update cvs module' ' |
4655 |
+ (cd module-cvs && |
4656 |
+ cat <<EOF >o_fortuna && |
4657 |
+ O Fortune, |
4658 |
+@@ -86,7 +97,7 @@ |
4659 |
+ ) |
4660 |
+ ' |
4661 |
+ |
4662 |
+-test_expect_success PERL 'update git module' ' |
4663 |
++test_expect_success 'update git module' ' |
4664 |
+ |
4665 |
+ (cd module-git && |
4666 |
+ git config cvsimport.trackRevisions true && |
4667 |
+@@ -97,7 +108,7 @@ |
4668 |
+ |
4669 |
+ ' |
4670 |
+ |
4671 |
+-test_expect_success PERL 'update has correct .git/cvs-revisions' ' |
4672 |
++test_expect_success 'update has correct .git/cvs-revisions' ' |
4673 |
+ |
4674 |
+ (cd module-git && |
4675 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^ && |
4676 |
+@@ -105,7 +116,7 @@ |
4677 |
+ test_cmp expected module-git/.git/cvs-revisions |
4678 |
+ ' |
4679 |
+ |
4680 |
+-test_expect_success PERL 'update cvs module' ' |
4681 |
++test_expect_success 'update cvs module' ' |
4682 |
+ |
4683 |
+ (cd module-cvs && |
4684 |
+ echo 1 >tick && |
4685 |
+@@ -114,7 +125,7 @@ |
4686 |
+ ) |
4687 |
+ ' |
4688 |
+ |
4689 |
+-test_expect_success PERL 'cvsimport.module config works' ' |
4690 |
++test_expect_success 'cvsimport.module config works' ' |
4691 |
+ |
4692 |
+ (cd module-git && |
4693 |
+ git config cvsimport.module module && |
4694 |
+@@ -126,7 +137,7 @@ |
4695 |
+ |
4696 |
+ ' |
4697 |
+ |
4698 |
+-test_expect_success PERL 'second update has correct .git/cvs-revisions' ' |
4699 |
++test_expect_success 'second update has correct .git/cvs-revisions' ' |
4700 |
+ |
4701 |
+ (cd module-git && |
4702 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^^ && |
4703 |
+@@ -135,7 +146,7 @@ |
4704 |
+ test_cmp expected module-git/.git/cvs-revisions |
4705 |
+ ' |
4706 |
+ |
4707 |
+-test_expect_success PERL 'import from a CVS working tree' ' |
4708 |
++test_expect_success 'import from a CVS working tree' ' |
4709 |
+ |
4710 |
+ $CVS co -d import-from-wt module && |
4711 |
+ (cd import-from-wt && |
4712 |
+@@ -148,12 +159,12 @@ |
4713 |
+ |
4714 |
+ ' |
4715 |
+ |
4716 |
+-test_expect_success PERL 'no .git/cvs-revisions created by default' ' |
4717 |
++test_expect_success 'no .git/cvs-revisions created by default' ' |
4718 |
+ |
4719 |
+ ! test -e import-from-wt/.git/cvs-revisions |
4720 |
+ |
4721 |
+ ' |
4722 |
+ |
4723 |
+-test_expect_success PERL 'test entire HEAD' 'test_cmp_branch_tree master' |
4724 |
++test_expect_success 'test entire HEAD' 'test_cmp_branch_tree master' |
4725 |
+ |
4726 |
+ test_done |
4727 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9601-cvsimport-vendor-branch.sh git-1.7.12/t/t9601-cvsimport-vendor-branch.sh |
4728 |
+--- git-1.7.12.orig/t/t9601-cvsimport-vendor-branch.sh 2012-08-20 01:22:48.000000000 +0000 |
4729 |
++++ git-1.7.12/t/t9601-cvsimport-vendor-branch.sh 2012-08-22 04:19:23.650741974 +0000 |
4730 |
+@@ -34,6 +34,17 @@ |
4731 |
+ test_description='git cvsimport handling of vendor branches' |
4732 |
+ . ./lib-cvs.sh |
4733 |
+ |
4734 |
++if ! test_have_prereq PERL |
4735 |
++then |
4736 |
++ skip_all='skipping git cvsimport tests, perl not available' |
4737 |
++ test_done |
4738 |
++fi |
4739 |
++if ! test_have_prereq CVS |
4740 |
++then |
4741 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
4742 |
++ test_done |
4743 |
++fi |
4744 |
++ |
4745 |
+ setup_cvs_test_repository t9601 |
4746 |
+ |
4747 |
+ test_expect_success PERL 'import a module with a vendor branch' ' |
4748 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9602-cvsimport-branches-tags.sh git-1.7.12/t/t9602-cvsimport-branches-tags.sh |
4749 |
+--- git-1.7.12.orig/t/t9602-cvsimport-branches-tags.sh 2012-08-20 01:22:48.000000000 +0000 |
4750 |
++++ git-1.7.12/t/t9602-cvsimport-branches-tags.sh 2012-08-22 04:19:23.650741974 +0000 |
4751 |
+@@ -6,6 +6,17 @@ |
4752 |
+ test_description='git cvsimport handling of branches and tags' |
4753 |
+ . ./lib-cvs.sh |
4754 |
+ |
4755 |
++if ! test_have_prereq PERL |
4756 |
++then |
4757 |
++ skip_all='skipping git cvsimport tests, perl not available' |
4758 |
++ test_done |
4759 |
++fi |
4760 |
++if ! test_have_prereq CVS |
4761 |
++then |
4762 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
4763 |
++ test_done |
4764 |
++fi |
4765 |
++ |
4766 |
+ setup_cvs_test_repository t9602 |
4767 |
+ |
4768 |
+ test_expect_success PERL 'import module' ' |
4769 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/t9603-cvsimport-patchsets.sh git-1.7.12/t/t9603-cvsimport-patchsets.sh |
4770 |
+--- git-1.7.12.orig/t/t9603-cvsimport-patchsets.sh 2012-08-20 01:22:48.000000000 +0000 |
4771 |
++++ git-1.7.12/t/t9603-cvsimport-patchsets.sh 2012-08-22 04:19:23.650741974 +0000 |
4772 |
+@@ -14,6 +14,17 @@ |
4773 |
+ test_description='git cvsimport testing for correct patchset estimation' |
4774 |
+ . ./lib-cvs.sh |
4775 |
+ |
4776 |
++if ! test_have_prereq PERL |
4777 |
++then |
4778 |
++ skip_all='skipping git cvsimport tests, perl not available' |
4779 |
++ test_done |
4780 |
++fi |
4781 |
++if ! test_have_prereq CVS |
4782 |
++then |
4783 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
4784 |
++ test_done |
4785 |
++fi |
4786 |
++ |
4787 |
+ setup_cvs_test_repository t9603 |
4788 |
+ |
4789 |
+ test_expect_failure 'import with criss cross times on revisions' ' |
4790 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.7.12.orig/t/test-lib.sh git-1.7.12/t/test-lib.sh |
4791 |
+--- git-1.7.12.orig/t/test-lib.sh 2012-08-20 01:22:48.000000000 +0000 |
4792 |
++++ git-1.7.12/t/test-lib.sh 2012-08-22 04:19:23.650741974 +0000 |
4793 |
+@@ -618,6 +618,7 @@ |
4794 |
+ esac |
4795 |
+ |
4796 |
+ ( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1 |
4797 |
++test -z "$NO_CVS" && test_set_prereq CVS |
4798 |
+ test -z "$NO_PERL" && test_set_prereq PERL |
4799 |
+ test -z "$NO_PYTHON" && test_set_prereq PYTHON |
4800 |
+ test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE |
4801 |
|
4802 |
diff --git a/dev-vcs/git/files/git-1.8.2-optional-cvs.patch b/dev-vcs/git/files/git-1.8.2-optional-cvs.patch |
4803 |
new file mode 100644 |
4804 |
index 0000000..4fa0b3e |
4805 |
--- /dev/null |
4806 |
+++ b/dev-vcs/git/files/git-1.8.2-optional-cvs.patch |
4807 |
@@ -0,0 +1,369 @@ |
4808 |
+From eadb20b065c33d46b49c8c95d8cde0c9fe7c62a4 Mon Sep 17 00:00:00 2001 |
4809 |
+From: Robin Johnson <robbat2@g.o> |
4810 |
+Date: Wed, 22 Aug 2012 04:25:06 +0000 |
4811 |
+Subject: [PATCH] Makefile: Add NO_CVS define to disable all CVS interface |
4812 |
+ utilities |
4813 |
+ |
4814 |
+Forward-ported from 1.7.12 to current git.git v1.8.2 |
4815 |
+ |
4816 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/Makefile git-1.8.2/Makefile |
4817 |
+--- git-1.8.2.orig/Makefile 2013-03-13 12:15:22.000000000 -0700 |
4818 |
++++ git-1.8.2/Makefile 2013-03-19 16:58:52.922806111 -0700 |
4819 |
+@@ -259,6 +259,8 @@ |
4820 |
+ # |
4821 |
+ # Define NO_TCLTK if you do not want Tcl/Tk GUI. |
4822 |
+ # |
4823 |
++# Define NO_CVS if you do not want any CVS interface utilities. |
4824 |
++# |
4825 |
+ # The TCL_PATH variable governs the location of the Tcl interpreter |
4826 |
+ # used to optimize git-gui for your system. Only used if NO_TCLTK |
4827 |
+ # is not set. Defaults to the bare 'tclsh'. |
4828 |
+@@ -431,6 +433,7 @@ |
4829 |
+ PROGRAM_OBJS = |
4830 |
+ PROGRAMS = |
4831 |
+ SCRIPT_PERL = |
4832 |
++SCRIPT_PERL_CVS = |
4833 |
+ SCRIPT_PYTHON = |
4834 |
+ SCRIPT_SH = |
4835 |
+ SCRIPT_LIB = |
4836 |
+@@ -471,19 +474,20 @@ |
4837 |
+ SCRIPT_PERL += git-add--interactive.perl |
4838 |
+ SCRIPT_PERL += git-difftool.perl |
4839 |
+ SCRIPT_PERL += git-archimport.perl |
4840 |
+-SCRIPT_PERL += git-cvsexportcommit.perl |
4841 |
+-SCRIPT_PERL += git-cvsimport.perl |
4842 |
+-SCRIPT_PERL += git-cvsserver.perl |
4843 |
+ SCRIPT_PERL += git-relink.perl |
4844 |
+ SCRIPT_PERL += git-send-email.perl |
4845 |
+ SCRIPT_PERL += git-svn.perl |
4846 |
+ |
4847 |
++SCRIPT_PERL_CVS += git-cvsexportcommit.perl |
4848 |
++SCRIPT_PERL_CVS += git-cvsimport.perl |
4849 |
++SCRIPT_PERL_CVS += git-cvsserver.perl |
4850 |
++ |
4851 |
+ SCRIPT_PYTHON += git-remote-testpy.py |
4852 |
+ SCRIPT_PYTHON += git-p4.py |
4853 |
+ |
4854 |
+ # Generated files for scripts |
4855 |
+ SCRIPT_SH_GEN = $(patsubst %.sh,%,$(SCRIPT_SH)) |
4856 |
+-SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL)) |
4857 |
++SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) |
4858 |
+ SCRIPT_PYTHON_GEN = $(patsubst %.py,%,$(SCRIPT_PYTHON)) |
4859 |
+ |
4860 |
+ # Individual rules to allow e.g. |
4861 |
+@@ -1745,8 +1749,18 @@ |
4862 |
+ $(QUIET_GEN)$(cmd_munge_script) && \ |
4863 |
+ mv $@+ $@ |
4864 |
+ |
4865 |
++_SCRIPT_PERL_BUILD = |
4866 |
++_SCRIPT_PERL_NOBUILD = |
4867 |
++ |
4868 |
+ ifndef NO_PERL |
4869 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak |
4870 |
++ |
4871 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL) |
4872 |
++ |
4873 |
++ifndef NO_CVS |
4874 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS) |
4875 |
++else # NO_CVS |
4876 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS) |
4877 |
++endif # NO_CVS |
4878 |
+ |
4879 |
+ perl/perl.mak: perl/PM.stamp |
4880 |
+ |
4881 |
+@@ -1758,7 +1772,7 @@ |
4882 |
+ perl/perl.mak: GIT-CFLAGS GIT-PREFIX perl/Makefile perl/Makefile.PL |
4883 |
+ $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
4884 |
+ |
4885 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl GIT-VERSION-FILE |
4886 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl GIT-VERSION-FILE |
4887 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
4888 |
+ INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
4889 |
+ sed -e '1{' \ |
4890 |
+@@ -1783,14 +1797,17 @@ |
4891 |
+ chmod +x $@+ && \ |
4892 |
+ mv $@+ $@ |
4893 |
+ else # NO_PERL |
4894 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh |
4895 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb |
4896 |
++endif # NO_PERL |
4897 |
++ |
4898 |
++# This is any perl scripts that were disabled it might be empty... |
4899 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh |
4900 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
4901 |
+ sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
4902 |
+ -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
4903 |
+ unimplemented.sh >$@+ && \ |
4904 |
+ chmod +x $@+ && \ |
4905 |
+ mv $@+ $@ |
4906 |
+-endif # NO_PERL |
4907 |
+ |
4908 |
+ ifndef NO_PYTHON |
4909 |
+ $(patsubst %.py,%,$(SCRIPT_PYTHON)): GIT-CFLAGS GIT-PREFIX GIT-PYTHON-VARS |
4910 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9200-git-cvsexportcommit.sh git-1.8.2/t/t9200-git-cvsexportcommit.sh |
4911 |
+--- git-1.8.2.orig/t/t9200-git-cvsexportcommit.sh 2013-03-13 12:15:22.000000000 -0700 |
4912 |
++++ git-1.8.2/t/t9200-git-cvsexportcommit.sh 2013-03-19 16:56:29.124993905 -0700 |
4913 |
+@@ -12,6 +12,11 @@ |
4914 |
+ test_done |
4915 |
+ fi |
4916 |
+ |
4917 |
++if ! test_have_prereq CVS; then |
4918 |
++ skip_all='skipping git cvsexportcommit tests, cvs not available' |
4919 |
++ test_done |
4920 |
++fi |
4921 |
++ |
4922 |
+ cvs >/dev/null 2>&1 |
4923 |
+ if test $? -ne 1 |
4924 |
+ then |
4925 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9400-git-cvsserver-server.sh git-1.8.2/t/t9400-git-cvsserver-server.sh |
4926 |
+--- git-1.8.2.orig/t/t9400-git-cvsserver-server.sh 2013-03-13 12:15:22.000000000 -0700 |
4927 |
++++ git-1.8.2/t/t9400-git-cvsserver-server.sh 2013-03-19 16:56:29.124993905 -0700 |
4928 |
+@@ -11,9 +11,15 @@ |
4929 |
+ . ./test-lib.sh |
4930 |
+ |
4931 |
+ if ! test_have_prereq PERL; then |
4932 |
+- skip_all='skipping git cvsserver tests, perl not available' |
4933 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
4934 |
+ test_done |
4935 |
+ fi |
4936 |
++ |
4937 |
++if ! test_have_prereq CVS; then |
4938 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
4939 |
++ test_done |
4940 |
++fi |
4941 |
++ |
4942 |
+ cvs >/dev/null 2>&1 |
4943 |
+ if test $? -ne 1 |
4944 |
+ then |
4945 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9401-git-cvsserver-crlf.sh git-1.8.2/t/t9401-git-cvsserver-crlf.sh |
4946 |
+--- git-1.8.2.orig/t/t9401-git-cvsserver-crlf.sh 2013-03-13 12:15:22.000000000 -0700 |
4947 |
++++ git-1.8.2/t/t9401-git-cvsserver-crlf.sh 2013-03-19 16:56:29.125993925 -0700 |
4948 |
+@@ -57,15 +57,20 @@ |
4949 |
+ return $stat |
4950 |
+ } |
4951 |
+ |
4952 |
+-cvs >/dev/null 2>&1 |
4953 |
+-if test $? -ne 1 |
4954 |
++if ! test_have_prereq PERL |
4955 |
+ then |
4956 |
+- skip_all='skipping git-cvsserver tests, cvs not found' |
4957 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
4958 |
+ test_done |
4959 |
+ fi |
4960 |
+-if ! test_have_prereq PERL |
4961 |
++if ! test_have_prereq CVS |
4962 |
+ then |
4963 |
+- skip_all='skipping git-cvsserver tests, perl not available' |
4964 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
4965 |
++ test_done |
4966 |
++fi |
4967 |
++cvs >/dev/null 2>&1 |
4968 |
++if test $? -ne 1 |
4969 |
++then |
4970 |
++ skip_all='skipping git-cvsserver tests, cvs not found' |
4971 |
+ test_done |
4972 |
+ fi |
4973 |
+ "$PERL_PATH" -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || { |
4974 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9600-cvsimport.sh git-1.8.2/t/t9600-cvsimport.sh |
4975 |
+--- git-1.8.2.orig/t/t9600-cvsimport.sh 2013-03-13 12:15:22.000000000 -0700 |
4976 |
++++ git-1.8.2/t/t9600-cvsimport.sh 2013-03-19 16:56:29.125993925 -0700 |
4977 |
+@@ -3,14 +3,25 @@ |
4978 |
+ test_description='git cvsimport basic tests' |
4979 |
+ . ./lib-cvs.sh |
4980 |
+ |
4981 |
+-test_expect_success PERL 'setup cvsroot environment' ' |
4982 |
++if ! test_have_prereq PERL |
4983 |
++then |
4984 |
++ skip_all='skipping git cvsimport tests, perl not available' |
4985 |
++ test_done |
4986 |
++fi |
4987 |
++if ! test_have_prereq CVS |
4988 |
++then |
4989 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
4990 |
++ test_done |
4991 |
++fi |
4992 |
++ |
4993 |
++test_expect_success 'setup cvsroot environment' ' |
4994 |
+ CVSROOT=$(pwd)/cvsroot && |
4995 |
+ export CVSROOT |
4996 |
+ ' |
4997 |
+ |
4998 |
+-test_expect_success PERL 'setup cvsroot' '$CVS init' |
4999 |
++test_expect_success 'setup cvsroot' '$CVS init' |
5000 |
+ |
5001 |
+-test_expect_success PERL 'setup a cvs module' ' |
5002 |
++test_expect_success 'setup a cvs module' ' |
5003 |
+ |
5004 |
+ mkdir "$CVSROOT/module" && |
5005 |
+ $CVS co -d module-cvs module && |
5006 |
+@@ -42,23 +53,23 @@ |
5007 |
+ ) |
5008 |
+ ' |
5009 |
+ |
5010 |
+-test_expect_success PERL 'import a trivial module' ' |
5011 |
++test_expect_success 'import a trivial module' ' |
5012 |
+ |
5013 |
+ git cvsimport -a -R -z 0 -C module-git module && |
5014 |
+ test_cmp module-cvs/o_fortuna module-git/o_fortuna |
5015 |
+ |
5016 |
+ ' |
5017 |
+ |
5018 |
+-test_expect_success PERL 'pack refs' '(cd module-git && git gc)' |
5019 |
++test_expect_success 'pack refs' '(cd module-git && git gc)' |
5020 |
+ |
5021 |
+-test_expect_success PERL 'initial import has correct .git/cvs-revisions' ' |
5022 |
++test_expect_success 'initial import has correct .git/cvs-revisions' ' |
5023 |
+ |
5024 |
+ (cd module-git && |
5025 |
+ git log --format="o_fortuna 1.1 %H" -1) > expected && |
5026 |
+ test_cmp expected module-git/.git/cvs-revisions |
5027 |
+ ' |
5028 |
+ |
5029 |
+-test_expect_success PERL 'update cvs module' ' |
5030 |
++test_expect_success 'update cvs module' ' |
5031 |
+ (cd module-cvs && |
5032 |
+ cat <<EOF >o_fortuna && |
5033 |
+ O Fortune, |
5034 |
+@@ -86,7 +97,7 @@ |
5035 |
+ ) |
5036 |
+ ' |
5037 |
+ |
5038 |
+-test_expect_success PERL 'update git module' ' |
5039 |
++test_expect_success 'update git module' ' |
5040 |
+ |
5041 |
+ (cd module-git && |
5042 |
+ git config cvsimport.trackRevisions true && |
5043 |
+@@ -97,7 +108,7 @@ |
5044 |
+ |
5045 |
+ ' |
5046 |
+ |
5047 |
+-test_expect_success PERL 'update has correct .git/cvs-revisions' ' |
5048 |
++test_expect_success 'update has correct .git/cvs-revisions' ' |
5049 |
+ |
5050 |
+ (cd module-git && |
5051 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^ && |
5052 |
+@@ -105,7 +116,7 @@ |
5053 |
+ test_cmp expected module-git/.git/cvs-revisions |
5054 |
+ ' |
5055 |
+ |
5056 |
+-test_expect_success PERL 'update cvs module' ' |
5057 |
++test_expect_success 'update cvs module' ' |
5058 |
+ |
5059 |
+ (cd module-cvs && |
5060 |
+ echo 1 >tick && |
5061 |
+@@ -114,7 +125,7 @@ |
5062 |
+ ) |
5063 |
+ ' |
5064 |
+ |
5065 |
+-test_expect_success PERL 'cvsimport.module config works' ' |
5066 |
++test_expect_success 'cvsimport.module config works' ' |
5067 |
+ |
5068 |
+ (cd module-git && |
5069 |
+ git config cvsimport.module module && |
5070 |
+@@ -126,7 +137,7 @@ |
5071 |
+ |
5072 |
+ ' |
5073 |
+ |
5074 |
+-test_expect_success PERL 'second update has correct .git/cvs-revisions' ' |
5075 |
++test_expect_success 'second update has correct .git/cvs-revisions' ' |
5076 |
+ |
5077 |
+ (cd module-git && |
5078 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^^ && |
5079 |
+@@ -135,7 +146,7 @@ |
5080 |
+ test_cmp expected module-git/.git/cvs-revisions |
5081 |
+ ' |
5082 |
+ |
5083 |
+-test_expect_success PERL 'import from a CVS working tree' ' |
5084 |
++test_expect_success 'import from a CVS working tree' ' |
5085 |
+ |
5086 |
+ $CVS co -d import-from-wt module && |
5087 |
+ (cd import-from-wt && |
5088 |
+@@ -148,12 +159,12 @@ |
5089 |
+ |
5090 |
+ ' |
5091 |
+ |
5092 |
+-test_expect_success PERL 'no .git/cvs-revisions created by default' ' |
5093 |
++test_expect_success 'no .git/cvs-revisions created by default' ' |
5094 |
+ |
5095 |
+ ! test -e import-from-wt/.git/cvs-revisions |
5096 |
+ |
5097 |
+ ' |
5098 |
+ |
5099 |
+-test_expect_success PERL 'test entire HEAD' 'test_cmp_branch_tree master' |
5100 |
++test_expect_success 'test entire HEAD' 'test_cmp_branch_tree master' |
5101 |
+ |
5102 |
+ test_done |
5103 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9601-cvsimport-vendor-branch.sh git-1.8.2/t/t9601-cvsimport-vendor-branch.sh |
5104 |
+--- git-1.8.2.orig/t/t9601-cvsimport-vendor-branch.sh 2013-03-13 12:15:22.000000000 -0700 |
5105 |
++++ git-1.8.2/t/t9601-cvsimport-vendor-branch.sh 2013-03-19 16:56:29.125993925 -0700 |
5106 |
+@@ -34,6 +34,17 @@ |
5107 |
+ test_description='git cvsimport handling of vendor branches' |
5108 |
+ . ./lib-cvs.sh |
5109 |
+ |
5110 |
++if ! test_have_prereq PERL |
5111 |
++then |
5112 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5113 |
++ test_done |
5114 |
++fi |
5115 |
++if ! test_have_prereq CVS |
5116 |
++then |
5117 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5118 |
++ test_done |
5119 |
++fi |
5120 |
++ |
5121 |
+ setup_cvs_test_repository t9601 |
5122 |
+ |
5123 |
+ test_expect_success PERL 'import a module with a vendor branch' ' |
5124 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9602-cvsimport-branches-tags.sh git-1.8.2/t/t9602-cvsimport-branches-tags.sh |
5125 |
+--- git-1.8.2.orig/t/t9602-cvsimport-branches-tags.sh 2013-03-13 12:15:22.000000000 -0700 |
5126 |
++++ git-1.8.2/t/t9602-cvsimport-branches-tags.sh 2013-03-19 16:56:29.126993944 -0700 |
5127 |
+@@ -6,6 +6,17 @@ |
5128 |
+ test_description='git cvsimport handling of branches and tags' |
5129 |
+ . ./lib-cvs.sh |
5130 |
+ |
5131 |
++if ! test_have_prereq PERL |
5132 |
++then |
5133 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5134 |
++ test_done |
5135 |
++fi |
5136 |
++if ! test_have_prereq CVS |
5137 |
++then |
5138 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5139 |
++ test_done |
5140 |
++fi |
5141 |
++ |
5142 |
+ setup_cvs_test_repository t9602 |
5143 |
+ |
5144 |
+ test_expect_success PERL 'import module' ' |
5145 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/t9603-cvsimport-patchsets.sh git-1.8.2/t/t9603-cvsimport-patchsets.sh |
5146 |
+--- git-1.8.2.orig/t/t9603-cvsimport-patchsets.sh 2013-03-13 12:15:22.000000000 -0700 |
5147 |
++++ git-1.8.2/t/t9603-cvsimport-patchsets.sh 2013-03-19 16:56:29.126993944 -0700 |
5148 |
+@@ -14,6 +14,17 @@ |
5149 |
+ test_description='git cvsimport testing for correct patchset estimation' |
5150 |
+ . ./lib-cvs.sh |
5151 |
+ |
5152 |
++if ! test_have_prereq PERL |
5153 |
++then |
5154 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5155 |
++ test_done |
5156 |
++fi |
5157 |
++if ! test_have_prereq CVS |
5158 |
++then |
5159 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5160 |
++ test_done |
5161 |
++fi |
5162 |
++ |
5163 |
+ setup_cvs_test_repository t9603 |
5164 |
+ |
5165 |
+ test_expect_failure 'import with criss cross times on revisions' ' |
5166 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.2.orig/t/test-lib.sh git-1.8.2/t/test-lib.sh |
5167 |
+--- git-1.8.2.orig/t/test-lib.sh 2013-03-13 12:15:22.000000000 -0700 |
5168 |
++++ git-1.8.2/t/test-lib.sh 2013-03-19 16:56:29.126993944 -0700 |
5169 |
+@@ -686,6 +686,7 @@ |
5170 |
+ esac |
5171 |
+ |
5172 |
+ ( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1 |
5173 |
++test -z "$NO_CVS" && test_set_prereq CVS |
5174 |
+ test -z "$NO_PERL" && test_set_prereq PERL |
5175 |
+ test -z "$NO_PYTHON" && test_set_prereq PYTHON |
5176 |
+ test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE |
5177 |
|
5178 |
diff --git a/dev-vcs/git/files/git-1.8.2-texinfo.patch b/dev-vcs/git/files/git-1.8.2-texinfo.patch |
5179 |
new file mode 100644 |
5180 |
index 0000000..b8881d4 |
5181 |
--- /dev/null |
5182 |
+++ b/dev-vcs/git/files/git-1.8.2-texinfo.patch |
5183 |
@@ -0,0 +1,19 @@ |
5184 |
+Strip anchors to avoid duplicate anchor names. This keeps texinfo 5-x happy. |
5185 |
+ |
5186 |
+2013-04-02 Martin von Gagern |
5187 |
+ |
5188 |
+References: |
5189 |
+* https://bugs.gentoo.org/464210 |
5190 |
+ |
5191 |
+Index: git-1.8.1.5/Documentation/cat-texi.perl |
5192 |
+=================================================================== |
5193 |
+--- git-1.8.1.5.orig/Documentation/cat-texi.perl |
5194 |
++++ git-1.8.1.5/Documentation/cat-texi.perl |
5195 |
+@@ -12,6 +12,7 @@ while (<STDIN>) { |
5196 |
+ push @menu, $1; |
5197 |
+ } |
5198 |
+ s/\(\@pxref{\[(URLS|REMOTES)\]}\)//; |
5199 |
++ s/\@anchor\{[^{}]*\}//g; |
5200 |
+ print TMP; |
5201 |
+ } |
5202 |
+ close TMP; |
5203 |
|
5204 |
diff --git a/dev-vcs/git/files/git-1.8.4-optional-cvs.patch b/dev-vcs/git/files/git-1.8.4-optional-cvs.patch |
5205 |
new file mode 100644 |
5206 |
index 0000000..e9ea9d6 |
5207 |
--- /dev/null |
5208 |
+++ b/dev-vcs/git/files/git-1.8.4-optional-cvs.patch |
5209 |
@@ -0,0 +1,370 @@ |
5210 |
+From eadb20b065c33d46b49c8c95d8cde0c9fe7c62a4 Mon Sep 17 00:00:00 2001 |
5211 |
+From: Robin Johnson <robbat2@g.o> |
5212 |
+Date: Wed, 22 Aug 2012 04:25:06 +0000 |
5213 |
+Subject: [PATCH] Makefile: Add NO_CVS define to disable all CVS interface |
5214 |
+ utilities |
5215 |
+ |
5216 |
+Forward-ported from 1.7.12 to current git.git v1.8.4 |
5217 |
+ |
5218 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/Makefile git-1.8.4/Makefile |
5219 |
+--- git-1.8.4.orig/Makefile 2013-03-13 12:15:22.000000000 -0700 |
5220 |
++++ git-1.8.4/Makefile 2013-03-19 16:58:52.922806111 -0700 |
5221 |
+@@ -266,6 +266,8 @@ |
5222 |
+ # |
5223 |
+ # Define NO_TCLTK if you do not want Tcl/Tk GUI. |
5224 |
+ # |
5225 |
++# Define NO_CVS if you do not want any CVS interface utilities. |
5226 |
++# |
5227 |
+ # The TCL_PATH variable governs the location of the Tcl interpreter |
5228 |
+ # used to optimize git-gui for your system. Only used if NO_TCLTK |
5229 |
+ # is not set. Defaults to the bare 'tclsh'. |
5230 |
+@@ -440,6 +442,7 @@ |
5231 |
+ PROGRAM_OBJS = |
5232 |
+ PROGRAMS = |
5233 |
+ SCRIPT_PERL = |
5234 |
++SCRIPT_PERL_CVS = |
5235 |
+ SCRIPT_PYTHON = |
5236 |
+ SCRIPT_SH = |
5237 |
+ SCRIPT_LIB = |
5238 |
+@@ -481,13 +484,14 @@ |
5239 |
+ SCRIPT_PERL += git-add--interactive.perl |
5240 |
+ SCRIPT_PERL += git-difftool.perl |
5241 |
+ SCRIPT_PERL += git-archimport.perl |
5242 |
+-SCRIPT_PERL += git-cvsexportcommit.perl |
5243 |
+-SCRIPT_PERL += git-cvsimport.perl |
5244 |
+-SCRIPT_PERL += git-cvsserver.perl |
5245 |
+ SCRIPT_PERL += git-relink.perl |
5246 |
+ SCRIPT_PERL += git-send-email.perl |
5247 |
+ SCRIPT_PERL += git-svn.perl |
5248 |
+ |
5249 |
++SCRIPT_PERL_CVS += git-cvsexportcommit.perl |
5250 |
++SCRIPT_PERL_CVS += git-cvsimport.perl |
5251 |
++SCRIPT_PERL_CVS += git-cvsserver.perl |
5252 |
++ |
5253 |
+ SCRIPT_PYTHON += git-remote-testpy.py |
5254 |
+ SCRIPT_PYTHON += git-p4.py |
5255 |
+ |
5256 |
+@@ -496,7 +500,7 @@ |
5257 |
+ |
5258 |
+ # Generated files for scripts |
5259 |
+ SCRIPT_SH_GEN = $(patsubst %.sh,%,$(SCRIPT_SH)) |
5260 |
+-SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL)) |
5261 |
++SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) |
5262 |
+ SCRIPT_PYTHON_GEN = $(patsubst %.py,%,$(SCRIPT_PYTHON)) |
5263 |
+ |
5264 |
+ SCRIPT_SH_INS = $(filter-out $(NO_INSTALL),$(SCRIPT_SH_GEN)) |
5265 |
+@@ -1786,8 +1790,18 @@ |
5266 |
+ $(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \ |
5267 |
+ -DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@ |
5268 |
+ |
5269 |
++_SCRIPT_PERL_BUILD = |
5270 |
++_SCRIPT_PERL_NOBUILD = |
5271 |
++ |
5272 |
+ ifndef NO_PERL |
5273 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak |
5274 |
++ |
5275 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL) |
5276 |
++ |
5277 |
++ifndef NO_CVS |
5278 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS) |
5279 |
++else # NO_CVS |
5280 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS) |
5281 |
++endif # NO_CVS |
5282 |
+ |
5283 |
+ perl/perl.mak: perl/PM.stamp |
5284 |
+ |
5285 |
+@@ -1799,7 +1813,7 @@ |
5286 |
+ perl/perl.mak: GIT-CFLAGS GIT-PREFIX perl/Makefile perl/Makefile.PL |
5287 |
+ $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
5288 |
+ |
5289 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl GIT-VERSION-FILE |
5290 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl GIT-VERSION-FILE |
5291 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
5292 |
+ INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
5293 |
+ sed -e '1{' \ |
5294 |
+@@ -1824,14 +1838,17 @@ |
5295 |
+ chmod +x $@+ && \ |
5296 |
+ mv $@+ $@ |
5297 |
+ else # NO_PERL |
5298 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh |
5299 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb |
5300 |
++endif # NO_PERL |
5301 |
++ |
5302 |
++# This is any perl scripts that were disabled it might be empty... |
5303 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh |
5304 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
5305 |
+ sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
5306 |
+ -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
5307 |
+ unimplemented.sh >$@+ && \ |
5308 |
+ chmod +x $@+ && \ |
5309 |
+ mv $@+ $@ |
5310 |
+-endif # NO_PERL |
5311 |
+ |
5312 |
+ ifndef NO_PYTHON |
5313 |
+ $(SCRIPT_PYTHON_GEN): GIT-CFLAGS GIT-PREFIX GIT-PYTHON-VARS |
5314 |
+--- git-1.8.4.orig/t/t9200-git-cvsexportcommit.sh 2013-03-13 12:15:22.000000000 -0700 |
5315 |
++++ git-1.8.4/t/t9200-git-cvsexportcommit.sh 2013-03-19 16:56:29.124993905 -0700 |
5316 |
+@@ -12,6 +12,11 @@ |
5317 |
+ test_done |
5318 |
+ fi |
5319 |
+ |
5320 |
++if ! test_have_prereq CVS; then |
5321 |
++ skip_all='skipping git cvsexportcommit tests, cvs not available' |
5322 |
++ test_done |
5323 |
++fi |
5324 |
++ |
5325 |
+ cvs >/dev/null 2>&1 |
5326 |
+ if test $? -ne 1 |
5327 |
+ then |
5328 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9400-git-cvsserver-server.sh git-1.8.4/t/t9400-git-cvsserver-server.sh |
5329 |
+--- git-1.8.4.orig/t/t9400-git-cvsserver-server.sh 2013-03-13 12:15:22.000000000 -0700 |
5330 |
++++ git-1.8.4/t/t9400-git-cvsserver-server.sh 2013-03-19 16:56:29.124993905 -0700 |
5331 |
+@@ -11,9 +11,15 @@ |
5332 |
+ . ./test-lib.sh |
5333 |
+ |
5334 |
+ if ! test_have_prereq PERL; then |
5335 |
+- skip_all='skipping git cvsserver tests, perl not available' |
5336 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
5337 |
+ test_done |
5338 |
+ fi |
5339 |
++ |
5340 |
++if ! test_have_prereq CVS; then |
5341 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
5342 |
++ test_done |
5343 |
++fi |
5344 |
++ |
5345 |
+ cvs >/dev/null 2>&1 |
5346 |
+ if test $? -ne 1 |
5347 |
+ then |
5348 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9401-git-cvsserver-crlf.sh git-1.8.4/t/t9401-git-cvsserver-crlf.sh |
5349 |
+--- git-1.8.4.orig/t/t9401-git-cvsserver-crlf.sh 2013-03-13 12:15:22.000000000 -0700 |
5350 |
++++ git-1.8.4/t/t9401-git-cvsserver-crlf.sh 2013-03-19 16:56:29.125993925 -0700 |
5351 |
+@@ -57,15 +57,20 @@ |
5352 |
+ return $stat |
5353 |
+ } |
5354 |
+ |
5355 |
+-cvs >/dev/null 2>&1 |
5356 |
+-if test $? -ne 1 |
5357 |
++if ! test_have_prereq PERL |
5358 |
+ then |
5359 |
+- skip_all='skipping git-cvsserver tests, cvs not found' |
5360 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
5361 |
+ test_done |
5362 |
+ fi |
5363 |
+-if ! test_have_prereq PERL |
5364 |
++if ! test_have_prereq CVS |
5365 |
+ then |
5366 |
+- skip_all='skipping git-cvsserver tests, perl not available' |
5367 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
5368 |
++ test_done |
5369 |
++fi |
5370 |
++cvs >/dev/null 2>&1 |
5371 |
++if test $? -ne 1 |
5372 |
++then |
5373 |
++ skip_all='skipping git-cvsserver tests, cvs not found' |
5374 |
+ test_done |
5375 |
+ fi |
5376 |
+ "$PERL_PATH" -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || { |
5377 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9600-cvsimport.sh git-1.8.4/t/t9600-cvsimport.sh |
5378 |
+--- git-1.8.4.orig/t/t9600-cvsimport.sh 2013-03-13 12:15:22.000000000 -0700 |
5379 |
++++ git-1.8.4/t/t9600-cvsimport.sh 2013-03-19 16:56:29.125993925 -0700 |
5380 |
+@@ -3,14 +3,25 @@ |
5381 |
+ test_description='git cvsimport basic tests' |
5382 |
+ . ./lib-cvs.sh |
5383 |
+ |
5384 |
+-test_expect_success PERL 'setup cvsroot environment' ' |
5385 |
++if ! test_have_prereq PERL |
5386 |
++then |
5387 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5388 |
++ test_done |
5389 |
++fi |
5390 |
++if ! test_have_prereq CVS |
5391 |
++then |
5392 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5393 |
++ test_done |
5394 |
++fi |
5395 |
++ |
5396 |
++test_expect_success 'setup cvsroot environment' ' |
5397 |
+ CVSROOT=$(pwd)/cvsroot && |
5398 |
+ export CVSROOT |
5399 |
+ ' |
5400 |
+ |
5401 |
+-test_expect_success PERL 'setup cvsroot' '$CVS init' |
5402 |
++test_expect_success 'setup cvsroot' '$CVS init' |
5403 |
+ |
5404 |
+-test_expect_success PERL 'setup a cvs module' ' |
5405 |
++test_expect_success 'setup a cvs module' ' |
5406 |
+ |
5407 |
+ mkdir "$CVSROOT/module" && |
5408 |
+ $CVS co -d module-cvs module && |
5409 |
+@@ -42,23 +53,23 @@ |
5410 |
+ ) |
5411 |
+ ' |
5412 |
+ |
5413 |
+-test_expect_success PERL 'import a trivial module' ' |
5414 |
++test_expect_success 'import a trivial module' ' |
5415 |
+ |
5416 |
+ git cvsimport -a -R -z 0 -C module-git module && |
5417 |
+ test_cmp module-cvs/o_fortuna module-git/o_fortuna |
5418 |
+ |
5419 |
+ ' |
5420 |
+ |
5421 |
+-test_expect_success PERL 'pack refs' '(cd module-git && git gc)' |
5422 |
++test_expect_success 'pack refs' '(cd module-git && git gc)' |
5423 |
+ |
5424 |
+-test_expect_success PERL 'initial import has correct .git/cvs-revisions' ' |
5425 |
++test_expect_success 'initial import has correct .git/cvs-revisions' ' |
5426 |
+ |
5427 |
+ (cd module-git && |
5428 |
+ git log --format="o_fortuna 1.1 %H" -1) > expected && |
5429 |
+ test_cmp expected module-git/.git/cvs-revisions |
5430 |
+ ' |
5431 |
+ |
5432 |
+-test_expect_success PERL 'update cvs module' ' |
5433 |
++test_expect_success 'update cvs module' ' |
5434 |
+ (cd module-cvs && |
5435 |
+ cat <<EOF >o_fortuna && |
5436 |
+ O Fortune, |
5437 |
+@@ -86,7 +97,7 @@ |
5438 |
+ ) |
5439 |
+ ' |
5440 |
+ |
5441 |
+-test_expect_success PERL 'update git module' ' |
5442 |
++test_expect_success 'update git module' ' |
5443 |
+ |
5444 |
+ (cd module-git && |
5445 |
+ git config cvsimport.trackRevisions true && |
5446 |
+@@ -97,7 +108,7 @@ |
5447 |
+ |
5448 |
+ ' |
5449 |
+ |
5450 |
+-test_expect_success PERL 'update has correct .git/cvs-revisions' ' |
5451 |
++test_expect_success 'update has correct .git/cvs-revisions' ' |
5452 |
+ |
5453 |
+ (cd module-git && |
5454 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^ && |
5455 |
+@@ -105,7 +116,7 @@ |
5456 |
+ test_cmp expected module-git/.git/cvs-revisions |
5457 |
+ ' |
5458 |
+ |
5459 |
+-test_expect_success PERL 'update cvs module' ' |
5460 |
++test_expect_success 'update cvs module' ' |
5461 |
+ |
5462 |
+ (cd module-cvs && |
5463 |
+ echo 1 >tick && |
5464 |
+@@ -114,7 +125,7 @@ |
5465 |
+ ) |
5466 |
+ ' |
5467 |
+ |
5468 |
+-test_expect_success PERL 'cvsimport.module config works' ' |
5469 |
++test_expect_success 'cvsimport.module config works' ' |
5470 |
+ |
5471 |
+ (cd module-git && |
5472 |
+ git config cvsimport.module module && |
5473 |
+@@ -126,7 +137,7 @@ |
5474 |
+ |
5475 |
+ ' |
5476 |
+ |
5477 |
+-test_expect_success PERL 'second update has correct .git/cvs-revisions' ' |
5478 |
++test_expect_success 'second update has correct .git/cvs-revisions' ' |
5479 |
+ |
5480 |
+ (cd module-git && |
5481 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^^ && |
5482 |
+@@ -135,7 +146,7 @@ |
5483 |
+ test_cmp expected module-git/.git/cvs-revisions |
5484 |
+ ' |
5485 |
+ |
5486 |
+-test_expect_success PERL 'import from a CVS working tree' ' |
5487 |
++test_expect_success 'import from a CVS working tree' ' |
5488 |
+ |
5489 |
+ $CVS co -d import-from-wt module && |
5490 |
+ (cd import-from-wt && |
5491 |
+@@ -148,12 +159,12 @@ |
5492 |
+ |
5493 |
+ ' |
5494 |
+ |
5495 |
+-test_expect_success PERL 'no .git/cvs-revisions created by default' ' |
5496 |
++test_expect_success 'no .git/cvs-revisions created by default' ' |
5497 |
+ |
5498 |
+ ! test -e import-from-wt/.git/cvs-revisions |
5499 |
+ |
5500 |
+ ' |
5501 |
+ |
5502 |
+-test_expect_success PERL 'test entire HEAD' 'test_cmp_branch_tree master' |
5503 |
++test_expect_success 'test entire HEAD' 'test_cmp_branch_tree master' |
5504 |
+ |
5505 |
+ test_done |
5506 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9601-cvsimport-vendor-branch.sh git-1.8.4/t/t9601-cvsimport-vendor-branch.sh |
5507 |
+--- git-1.8.4.orig/t/t9601-cvsimport-vendor-branch.sh 2013-03-13 12:15:22.000000000 -0700 |
5508 |
++++ git-1.8.4/t/t9601-cvsimport-vendor-branch.sh 2013-03-19 16:56:29.125993925 -0700 |
5509 |
+@@ -34,6 +34,17 @@ |
5510 |
+ test_description='git cvsimport handling of vendor branches' |
5511 |
+ . ./lib-cvs.sh |
5512 |
+ |
5513 |
++if ! test_have_prereq PERL |
5514 |
++then |
5515 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5516 |
++ test_done |
5517 |
++fi |
5518 |
++if ! test_have_prereq CVS |
5519 |
++then |
5520 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5521 |
++ test_done |
5522 |
++fi |
5523 |
++ |
5524 |
+ setup_cvs_test_repository t9601 |
5525 |
+ |
5526 |
+ test_expect_success PERL 'import a module with a vendor branch' ' |
5527 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9602-cvsimport-branches-tags.sh git-1.8.4/t/t9602-cvsimport-branches-tags.sh |
5528 |
+--- git-1.8.4.orig/t/t9602-cvsimport-branches-tags.sh 2013-03-13 12:15:22.000000000 -0700 |
5529 |
++++ git-1.8.4/t/t9602-cvsimport-branches-tags.sh 2013-03-19 16:56:29.126993944 -0700 |
5530 |
+@@ -6,6 +6,17 @@ |
5531 |
+ test_description='git cvsimport handling of branches and tags' |
5532 |
+ . ./lib-cvs.sh |
5533 |
+ |
5534 |
++if ! test_have_prereq PERL |
5535 |
++then |
5536 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5537 |
++ test_done |
5538 |
++fi |
5539 |
++if ! test_have_prereq CVS |
5540 |
++then |
5541 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5542 |
++ test_done |
5543 |
++fi |
5544 |
++ |
5545 |
+ setup_cvs_test_repository t9602 |
5546 |
+ |
5547 |
+ test_expect_success PERL 'import module' ' |
5548 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/t9603-cvsimport-patchsets.sh git-1.8.4/t/t9603-cvsimport-patchsets.sh |
5549 |
+--- git-1.8.4.orig/t/t9603-cvsimport-patchsets.sh 2013-03-13 12:15:22.000000000 -0700 |
5550 |
++++ git-1.8.4/t/t9603-cvsimport-patchsets.sh 2013-03-19 16:56:29.126993944 -0700 |
5551 |
+@@ -14,6 +14,17 @@ |
5552 |
+ test_description='git cvsimport testing for correct patchset estimation' |
5553 |
+ . ./lib-cvs.sh |
5554 |
+ |
5555 |
++if ! test_have_prereq PERL |
5556 |
++then |
5557 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5558 |
++ test_done |
5559 |
++fi |
5560 |
++if ! test_have_prereq CVS |
5561 |
++then |
5562 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5563 |
++ test_done |
5564 |
++fi |
5565 |
++ |
5566 |
+ setup_cvs_test_repository t9603 |
5567 |
+ |
5568 |
+ test_expect_failure 'import with criss cross times on revisions' ' |
5569 |
+diff -Nuar --exclude '*.orig' --exclude '*.rej' git-1.8.4.orig/t/test-lib.sh git-1.8.4/t/test-lib.sh |
5570 |
+--- git-1.8.4.orig/t/test-lib.sh 2013-03-13 12:15:22.000000000 -0700 |
5571 |
++++ git-1.8.4/t/test-lib.sh 2013-03-19 16:56:29.126993944 -0700 |
5572 |
+@@ -686,6 +686,7 @@ |
5573 |
+ esac |
5574 |
+ |
5575 |
+ ( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1 |
5576 |
++test -z "$NO_CVS" && test_set_prereq CVS |
5577 |
+ test -z "$NO_PERL" && test_set_prereq PERL |
5578 |
+ test -z "$NO_PYTHON" && test_set_prereq PYTHON |
5579 |
+ test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE |
5580 |
|
5581 |
diff --git a/dev-vcs/git/files/git-1.8.5-optional-cvs.patch b/dev-vcs/git/files/git-1.8.5-optional-cvs.patch |
5582 |
new file mode 100644 |
5583 |
index 0000000..aef03d8 |
5584 |
--- /dev/null |
5585 |
+++ b/dev-vcs/git/files/git-1.8.5-optional-cvs.patch |
5586 |
@@ -0,0 +1,362 @@ |
5587 |
+From eadb20b065c33d46b49c8c95d8cde0c9fe7c62a4 Mon Sep 17 00:00:00 2001 |
5588 |
+From: Robin Johnson <robbat2@g.o> |
5589 |
+Date: Wed, 22 Aug 2012 04:25:06 +0000 |
5590 |
+Subject: [PATCH] Makefile: Add NO_CVS define to disable all CVS interface |
5591 |
+ utilities |
5592 |
+ |
5593 |
+Forward-ported from 1.7.12 to current git.git v1.8.4 |
5594 |
+Forward-ported from v1.8.4 to v1.8.5.1 |
5595 |
+ |
5596 |
+--- git-1.8.5.1/Makefile |
5597 |
++++ git-1.8.5.1/Makefile |
5598 |
+@@ -263,6 +263,8 @@ |
5599 |
+ # |
5600 |
+ # Define NO_TCLTK if you do not want Tcl/Tk GUI. |
5601 |
+ # |
5602 |
++# Define NO_CVS if you do not want any CVS interface utilities. |
5603 |
++# |
5604 |
+ # The TCL_PATH variable governs the location of the Tcl interpreter |
5605 |
+ # used to optimize git-gui for your system. Only used if NO_TCLTK |
5606 |
+ # is not set. Defaults to the bare 'tclsh'. |
5607 |
+@@ -437,6 +439,7 @@ |
5608 |
+ PROGRAM_OBJS = |
5609 |
+ PROGRAMS = |
5610 |
+ SCRIPT_PERL = |
5611 |
++SCRIPT_PERL_CVS = |
5612 |
+ SCRIPT_PYTHON = |
5613 |
+ SCRIPT_SH = |
5614 |
+ SCRIPT_LIB = |
5615 |
+@@ -477,20 +480,21 @@ |
5616 |
+ SCRIPT_PERL += git-add--interactive.perl |
5617 |
+ SCRIPT_PERL += git-difftool.perl |
5618 |
+ SCRIPT_PERL += git-archimport.perl |
5619 |
+-SCRIPT_PERL += git-cvsexportcommit.perl |
5620 |
+-SCRIPT_PERL += git-cvsimport.perl |
5621 |
+-SCRIPT_PERL += git-cvsserver.perl |
5622 |
+ SCRIPT_PERL += git-relink.perl |
5623 |
+ SCRIPT_PERL += git-send-email.perl |
5624 |
+ SCRIPT_PERL += git-svn.perl |
5625 |
+ |
5626 |
++SCRIPT_PERL_CVS += git-cvsexportcommit.perl |
5627 |
++SCRIPT_PERL_CVS += git-cvsimport.perl |
5628 |
++SCRIPT_PERL_CVS += git-cvsserver.perl |
5629 |
++ |
5630 |
+ SCRIPT_PYTHON += git-p4.py |
5631 |
+ |
5632 |
+ NO_INSTALL += git-remote-testgit |
5633 |
+ |
5634 |
+ # Generated files for scripts |
5635 |
+ SCRIPT_SH_GEN = $(patsubst %.sh,%,$(SCRIPT_SH)) |
5636 |
+-SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL)) |
5637 |
++SCRIPT_PERL_GEN = $(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) |
5638 |
+ SCRIPT_PYTHON_GEN = $(patsubst %.py,%,$(SCRIPT_PYTHON)) |
5639 |
+ |
5640 |
+ SCRIPT_SH_INS = $(filter-out $(NO_INSTALL),$(SCRIPT_SH_GEN)) |
5641 |
+@@ -1779,8 +1783,18 @@ |
5642 |
+ $(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \ |
5643 |
+ -DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@ |
5644 |
+ |
5645 |
++_SCRIPT_PERL_BUILD = |
5646 |
++_SCRIPT_PERL_NOBUILD = |
5647 |
++ |
5648 |
+ ifndef NO_PERL |
5649 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak |
5650 |
++ |
5651 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL) |
5652 |
++ |
5653 |
++ifndef NO_CVS |
5654 |
++_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS) |
5655 |
++else # NO_CVS |
5656 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS) |
5657 |
++endif # NO_CVS |
5658 |
+ |
5659 |
+ perl/perl.mak: perl/PM.stamp |
5660 |
+ |
5661 |
+@@ -1792,7 +1806,7 @@ |
5662 |
+ perl/perl.mak: GIT-CFLAGS GIT-PREFIX perl/Makefile perl/Makefile.PL |
5663 |
+ $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
5664 |
+ |
5665 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl GIT-VERSION-FILE |
5666 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl GIT-VERSION-FILE |
5667 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
5668 |
+ INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
5669 |
+ sed -e '1{' \ |
5670 |
+@@ -1817,14 +1831,17 @@ |
5671 |
+ chmod +x $@+ && \ |
5672 |
+ mv $@+ $@ |
5673 |
+ else # NO_PERL |
5674 |
+-$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh |
5675 |
++_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb |
5676 |
++endif # NO_PERL |
5677 |
++ |
5678 |
++# This is any perl scripts that were disabled it might be empty... |
5679 |
++$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh |
5680 |
+ $(QUIET_GEN)$(RM) $@ $@+ && \ |
5681 |
+ sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
5682 |
+ -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
5683 |
+ unimplemented.sh >$@+ && \ |
5684 |
+ chmod +x $@+ && \ |
5685 |
+ mv $@+ $@ |
5686 |
+-endif # NO_PERL |
5687 |
+ |
5688 |
+ ifndef NO_PYTHON |
5689 |
+ $(SCRIPT_PYTHON_GEN): GIT-CFLAGS GIT-PREFIX GIT-PYTHON-VARS |
5690 |
+--- git-1.8.5.1/t/t9200-git-cvsexportcommit.sh |
5691 |
++++ git-1.8.5.1/t/t9200-git-cvsexportcommit.sh |
5692 |
+@@ -12,6 +12,11 @@ |
5693 |
+ test_done |
5694 |
+ fi |
5695 |
+ |
5696 |
++if ! test_have_prereq CVS; then |
5697 |
++ skip_all='skipping git cvsexportcommit tests, cvs not available' |
5698 |
++ test_done |
5699 |
++fi |
5700 |
++ |
5701 |
+ cvs >/dev/null 2>&1 |
5702 |
+ if test $? -ne 1 |
5703 |
+ then |
5704 |
+--- git-1.8.5.1/t/t9400-git-cvsserver-server.sh |
5705 |
++++ git-1.8.5.1/t/t9400-git-cvsserver-server.sh |
5706 |
+@@ -11,9 +11,15 @@ |
5707 |
+ . ./test-lib.sh |
5708 |
+ |
5709 |
+ if ! test_have_prereq PERL; then |
5710 |
+- skip_all='skipping git cvsserver tests, perl not available' |
5711 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
5712 |
+ test_done |
5713 |
+ fi |
5714 |
++ |
5715 |
++if ! test_have_prereq CVS; then |
5716 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
5717 |
++ test_done |
5718 |
++fi |
5719 |
++ |
5720 |
+ cvs >/dev/null 2>&1 |
5721 |
+ if test $? -ne 1 |
5722 |
+ then |
5723 |
+--- git-1.8.5.1/t/t9401-git-cvsserver-crlf.sh |
5724 |
++++ git-1.8.5.1/t/t9401-git-cvsserver-crlf.sh |
5725 |
+@@ -57,15 +57,20 @@ |
5726 |
+ return $stat |
5727 |
+ } |
5728 |
+ |
5729 |
+-cvs >/dev/null 2>&1 |
5730 |
+-if test $? -ne 1 |
5731 |
++if ! test_have_prereq PERL |
5732 |
+ then |
5733 |
+- skip_all='skipping git-cvsserver tests, cvs not found' |
5734 |
++ skip_all='skipping git-cvsserver tests, perl not available' |
5735 |
+ test_done |
5736 |
+ fi |
5737 |
+-if ! test_have_prereq PERL |
5738 |
++if ! test_have_prereq CVS |
5739 |
+ then |
5740 |
+- skip_all='skipping git-cvsserver tests, perl not available' |
5741 |
++ skip_all='skipping git-cvsserver tests, cvs not available' |
5742 |
++ test_done |
5743 |
++fi |
5744 |
++cvs >/dev/null 2>&1 |
5745 |
++if test $? -ne 1 |
5746 |
++then |
5747 |
++ skip_all='skipping git-cvsserver tests, cvs not found' |
5748 |
+ test_done |
5749 |
+ fi |
5750 |
+ perl -e 'use DBI; use DBD::SQLite' >/dev/null 2>&1 || { |
5751 |
+--- git-1.8.5.1/t/t9600-cvsimport.sh |
5752 |
++++ git-1.8.5.1/t/t9600-cvsimport.sh |
5753 |
+@@ -3,14 +3,25 @@ |
5754 |
+ test_description='git cvsimport basic tests' |
5755 |
+ . ./lib-cvs.sh |
5756 |
+ |
5757 |
+-test_expect_success PERL 'setup cvsroot environment' ' |
5758 |
++if ! test_have_prereq PERL |
5759 |
++then |
5760 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5761 |
++ test_done |
5762 |
++fi |
5763 |
++if ! test_have_prereq CVS |
5764 |
++then |
5765 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5766 |
++ test_done |
5767 |
++fi |
5768 |
++ |
5769 |
++test_expect_success 'setup cvsroot environment' ' |
5770 |
+ CVSROOT=$(pwd)/cvsroot && |
5771 |
+ export CVSROOT |
5772 |
+ ' |
5773 |
+ |
5774 |
+-test_expect_success PERL 'setup cvsroot' '$CVS init' |
5775 |
++test_expect_success 'setup cvsroot' '$CVS init' |
5776 |
+ |
5777 |
+-test_expect_success PERL 'setup a cvs module' ' |
5778 |
++test_expect_success 'setup a cvs module' ' |
5779 |
+ |
5780 |
+ mkdir "$CVSROOT/module" && |
5781 |
+ $CVS co -d module-cvs module && |
5782 |
+@@ -42,23 +53,23 @@ |
5783 |
+ ) |
5784 |
+ ' |
5785 |
+ |
5786 |
+-test_expect_success PERL 'import a trivial module' ' |
5787 |
++test_expect_success 'import a trivial module' ' |
5788 |
+ |
5789 |
+ git cvsimport -a -R -z 0 -C module-git module && |
5790 |
+ test_cmp module-cvs/o_fortuna module-git/o_fortuna |
5791 |
+ |
5792 |
+ ' |
5793 |
+ |
5794 |
+-test_expect_success PERL 'pack refs' '(cd module-git && git gc)' |
5795 |
++test_expect_success 'pack refs' '(cd module-git && git gc)' |
5796 |
+ |
5797 |
+-test_expect_success PERL 'initial import has correct .git/cvs-revisions' ' |
5798 |
++test_expect_success 'initial import has correct .git/cvs-revisions' ' |
5799 |
+ |
5800 |
+ (cd module-git && |
5801 |
+ git log --format="o_fortuna 1.1 %H" -1) > expected && |
5802 |
+ test_cmp expected module-git/.git/cvs-revisions |
5803 |
+ ' |
5804 |
+ |
5805 |
+-test_expect_success PERL 'update cvs module' ' |
5806 |
++test_expect_success 'update cvs module' ' |
5807 |
+ (cd module-cvs && |
5808 |
+ cat <<EOF >o_fortuna && |
5809 |
+ O Fortune, |
5810 |
+@@ -86,7 +97,7 @@ |
5811 |
+ ) |
5812 |
+ ' |
5813 |
+ |
5814 |
+-test_expect_success PERL 'update git module' ' |
5815 |
++test_expect_success 'update git module' ' |
5816 |
+ |
5817 |
+ (cd module-git && |
5818 |
+ git config cvsimport.trackRevisions true && |
5819 |
+@@ -97,7 +108,7 @@ |
5820 |
+ |
5821 |
+ ' |
5822 |
+ |
5823 |
+-test_expect_success PERL 'update has correct .git/cvs-revisions' ' |
5824 |
++test_expect_success 'update has correct .git/cvs-revisions' ' |
5825 |
+ |
5826 |
+ (cd module-git && |
5827 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^ && |
5828 |
+@@ -105,7 +116,7 @@ |
5829 |
+ test_cmp expected module-git/.git/cvs-revisions |
5830 |
+ ' |
5831 |
+ |
5832 |
+-test_expect_success PERL 'update cvs module' ' |
5833 |
++test_expect_success 'update cvs module' ' |
5834 |
+ |
5835 |
+ (cd module-cvs && |
5836 |
+ echo 1 >tick && |
5837 |
+@@ -114,7 +125,7 @@ |
5838 |
+ ) |
5839 |
+ ' |
5840 |
+ |
5841 |
+-test_expect_success PERL 'cvsimport.module config works' ' |
5842 |
++test_expect_success 'cvsimport.module config works' ' |
5843 |
+ |
5844 |
+ (cd module-git && |
5845 |
+ git config cvsimport.module module && |
5846 |
+@@ -126,7 +137,7 @@ |
5847 |
+ |
5848 |
+ ' |
5849 |
+ |
5850 |
+-test_expect_success PERL 'second update has correct .git/cvs-revisions' ' |
5851 |
++test_expect_success 'second update has correct .git/cvs-revisions' ' |
5852 |
+ |
5853 |
+ (cd module-git && |
5854 |
+ git log --format="o_fortuna 1.1 %H" -1 HEAD^^ && |
5855 |
+@@ -135,7 +146,7 @@ |
5856 |
+ test_cmp expected module-git/.git/cvs-revisions |
5857 |
+ ' |
5858 |
+ |
5859 |
+-test_expect_success PERL 'import from a CVS working tree' ' |
5860 |
++test_expect_success 'import from a CVS working tree' ' |
5861 |
+ |
5862 |
+ $CVS co -d import-from-wt module && |
5863 |
+ (cd import-from-wt && |
5864 |
+@@ -148,12 +159,12 @@ |
5865 |
+ |
5866 |
+ ' |
5867 |
+ |
5868 |
+-test_expect_success PERL 'no .git/cvs-revisions created by default' ' |
5869 |
++test_expect_success 'no .git/cvs-revisions created by default' ' |
5870 |
+ |
5871 |
+ ! test -e import-from-wt/.git/cvs-revisions |
5872 |
+ |
5873 |
+ ' |
5874 |
+ |
5875 |
+-test_expect_success PERL 'test entire HEAD' 'test_cmp_branch_tree master' |
5876 |
++test_expect_success 'test entire HEAD' 'test_cmp_branch_tree master' |
5877 |
+ |
5878 |
+ test_done |
5879 |
+--- git-1.8.5.1/t/t9601-cvsimport-vendor-branch.sh |
5880 |
++++ git-1.8.5.1/t/t9601-cvsimport-vendor-branch.sh |
5881 |
+@@ -34,6 +34,17 @@ |
5882 |
+ test_description='git cvsimport handling of vendor branches' |
5883 |
+ . ./lib-cvs.sh |
5884 |
+ |
5885 |
++if ! test_have_prereq PERL |
5886 |
++then |
5887 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5888 |
++ test_done |
5889 |
++fi |
5890 |
++if ! test_have_prereq CVS |
5891 |
++then |
5892 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5893 |
++ test_done |
5894 |
++fi |
5895 |
++ |
5896 |
+ setup_cvs_test_repository t9601 |
5897 |
+ |
5898 |
+ test_expect_success PERL 'import a module with a vendor branch' ' |
5899 |
+--- git-1.8.5.1/t/t9602-cvsimport-branches-tags.sh |
5900 |
++++ git-1.8.5.1/t/t9602-cvsimport-branches-tags.sh |
5901 |
+@@ -6,6 +6,17 @@ |
5902 |
+ test_description='git cvsimport handling of branches and tags' |
5903 |
+ . ./lib-cvs.sh |
5904 |
+ |
5905 |
++if ! test_have_prereq PERL |
5906 |
++then |
5907 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5908 |
++ test_done |
5909 |
++fi |
5910 |
++if ! test_have_prereq CVS |
5911 |
++then |
5912 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5913 |
++ test_done |
5914 |
++fi |
5915 |
++ |
5916 |
+ setup_cvs_test_repository t9602 |
5917 |
+ |
5918 |
+ test_expect_success PERL 'import module' ' |
5919 |
+--- git-1.8.5.1/t/t9603-cvsimport-patchsets.sh |
5920 |
++++ git-1.8.5.1/t/t9603-cvsimport-patchsets.sh |
5921 |
+@@ -14,6 +14,17 @@ |
5922 |
+ test_description='git cvsimport testing for correct patchset estimation' |
5923 |
+ . ./lib-cvs.sh |
5924 |
+ |
5925 |
++if ! test_have_prereq PERL |
5926 |
++then |
5927 |
++ skip_all='skipping git cvsimport tests, perl not available' |
5928 |
++ test_done |
5929 |
++fi |
5930 |
++if ! test_have_prereq CVS |
5931 |
++then |
5932 |
++ skip_all='skipping git cvsimport tests, cvs not available' |
5933 |
++ test_done |
5934 |
++fi |
5935 |
++ |
5936 |
+ setup_cvs_test_repository t9603 |
5937 |
+ |
5938 |
+ test_expect_failure 'import with criss cross times on revisions' ' |
5939 |
+--- git-1.8.5.1/t/test-lib.sh |
5940 |
++++ git-1.8.5.1/t/test-lib.sh |
5941 |
+@@ -772,6 +772,7 @@ |
5942 |
+ esac |
5943 |
+ |
5944 |
+ ( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1 |
5945 |
++test -z "$NO_CVS" && test_set_prereq CVS |
5946 |
+ test -z "$NO_PERL" && test_set_prereq PERL |
5947 |
+ test -z "$NO_PYTHON" && test_set_prereq PYTHON |
5948 |
+ test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE |
5949 |
|
5950 |
diff --git a/dev-vcs/git/files/git-daemon.confd b/dev-vcs/git/files/git-daemon.confd |
5951 |
new file mode 100644 |
5952 |
index 0000000..db77de5 |
5953 |
--- /dev/null |
5954 |
+++ b/dev-vcs/git/files/git-daemon.confd |
5955 |
@@ -0,0 +1,19 @@ |
5956 |
+# conf.d file for git-daemon |
5957 |
+# |
5958 |
+# Please check man 1 git-daemon for more information about the options |
5959 |
+# git-daemon accepts. You MUST edit this to include your repositories you wish |
5960 |
+# to serve. |
5961 |
+# |
5962 |
+# Some of the meaningful options are: |
5963 |
+# --syslog --- Enables syslog logging |
5964 |
+# --verbose --- Enables verbose logging |
5965 |
+# --export-all --- Exports all repositories |
5966 |
+# --port=XXXX --- Starts in port XXXX instead of 9418 |
5967 |
+# |
5968 |
+GITDAEMON_OPTS="--syslog --base-path=/var/git" |
5969 |
+ |
5970 |
+# To run an anonymous git safely, the following user should be able to only |
5971 |
+# read your Git repositories. It should not able able to write to anywhere on |
5972 |
+# your system, esp. not the repositories. |
5973 |
+GIT_USER="nobody" |
5974 |
+GIT_GROUP="nobody" |
5975 |
|
5976 |
diff --git a/dev-vcs/git/files/git-daemon.initd b/dev-vcs/git/files/git-daemon.initd |
5977 |
new file mode 100644 |
5978 |
index 0000000..c6ee19f |
5979 |
--- /dev/null |
5980 |
+++ b/dev-vcs/git/files/git-daemon.initd |
5981 |
@@ -0,0 +1,30 @@ |
5982 |
+#!/sbin/runscript |
5983 |
+# Copyright 1999-2008 Gentoo Foundation |
5984 |
+# Distributed under the terms of the GNU General Public License v2 |
5985 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon.initd,v 1.1 2010/03/17 15:13:27 sping Exp $ |
5986 |
+ |
5987 |
+PIDFILE=/var/run/git-daemon.pid |
5988 |
+ |
5989 |
+depend() { |
5990 |
+ need net |
5991 |
+ use logger |
5992 |
+} |
5993 |
+ |
5994 |
+start() { |
5995 |
+ [ -e /lib/librc.so ] || BL1_COMPAT="--name git-daemon" |
5996 |
+ ebegin "Starting git-daemon" |
5997 |
+ start-stop-daemon --start --quiet --background \ |
5998 |
+ --pidfile ${PIDFILE} ${BL1_COMPAT} \ |
5999 |
+ --exec /usr/bin/git -- daemon \ |
6000 |
+ --pid-file=${PIDFILE} \ |
6001 |
+ --user=${GIT_USER} --group=${GIT_GROUP} \ |
6002 |
+ ${GITDAEMON_OPTS} |
6003 |
+ eend $? |
6004 |
+} |
6005 |
+ |
6006 |
+stop() { |
6007 |
+ ebegin "Stopping git-daemon" |
6008 |
+ start-stop-daemon --stop --quiet \ |
6009 |
+ --pidfile ${PIDFILE} |
6010 |
+ eend $? |
6011 |
+} |
6012 |
|
6013 |
diff --git a/dev-vcs/git/files/git-daemon.socket b/dev-vcs/git/files/git-daemon.socket |
6014 |
new file mode 100644 |
6015 |
index 0000000..3dec01d |
6016 |
--- /dev/null |
6017 |
+++ b/dev-vcs/git/files/git-daemon.socket |
6018 |
@@ -0,0 +1,9 @@ |
6019 |
+[Unit] |
6020 |
+Description=Git Activation Socket |
6021 |
+ |
6022 |
+[Socket] |
6023 |
+ListenStream=9418 |
6024 |
+Accept=true |
6025 |
+ |
6026 |
+[Install] |
6027 |
+WantedBy=sockets.target |
6028 |
|
6029 |
diff --git a/dev-vcs/git/files/git-daemon.xinetd b/dev-vcs/git/files/git-daemon.xinetd |
6030 |
new file mode 100644 |
6031 |
index 0000000..02c938d |
6032 |
--- /dev/null |
6033 |
+++ b/dev-vcs/git/files/git-daemon.xinetd |
6034 |
@@ -0,0 +1,13 @@ |
6035 |
+service git-daemon |
6036 |
+{ |
6037 |
+ disable = yes |
6038 |
+ socket_type = stream |
6039 |
+ wait = no |
6040 |
+ user = nobody |
6041 |
+ type = UNLISTED |
6042 |
+ protocol = tcp |
6043 |
+ log_on_failure += USERID |
6044 |
+ port = 9418 |
6045 |
+ server = /usr/bin/git |
6046 |
+ server_args = daemon --inetd --syslog --export-all --base-path=/var/git |
6047 |
+} |
6048 |
|
6049 |
diff --git a/dev-vcs/git/files/git-daemon_at.service b/dev-vcs/git/files/git-daemon_at.service |
6050 |
new file mode 100644 |
6051 |
index 0000000..2a080d4 |
6052 |
--- /dev/null |
6053 |
+++ b/dev-vcs/git/files/git-daemon_at.service |
6054 |
@@ -0,0 +1,13 @@ |
6055 |
+[Unit] |
6056 |
+Description=Git Repositories Server Daemon |
6057 |
+Documentation=man:git-daemon(1) |
6058 |
+ |
6059 |
+[Service] |
6060 |
+User=nobody |
6061 |
+Group=nobody |
6062 |
+EnvironmentFile=/etc/conf.d/git-daemon |
6063 |
+# Ignore non-zero exit status, access error makes git-daemon return them |
6064 |
+ExecStart=-/usr/libexec/git-core/git-daemon --inetd --base-path=/var/git --verbose $GITDAEMON_OPTS |
6065 |
+StandardInput=socket |
6066 |
+StandardOutput=inherit |
6067 |
+StandardError=journal |
6068 |
|
6069 |
diff --git a/dev-vcs/git/git-1.8.1.5-r1.ebuild b/dev-vcs/git/git-1.8.1.5-r1.ebuild |
6070 |
new file mode 100644 |
6071 |
index 0000000..bf82e95 |
6072 |
--- /dev/null |
6073 |
+++ b/dev-vcs/git/git-1.8.1.5-r1.ebuild |
6074 |
@@ -0,0 +1,600 @@ |
6075 |
+# Copyright 1999-2013 Gentoo Foundation |
6076 |
+# Distributed under the terms of the GNU General Public License v2 |
6077 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.1.5-r1.ebuild,v 1.7 2013/12/11 10:27:22 polynomial-c Exp $ |
6078 |
+ |
6079 |
+EAPI=4 |
6080 |
+ |
6081 |
+GENTOO_DEPEND_ON_PERL=no |
6082 |
+ |
6083 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
6084 |
+PYTHON_DEPEND="python? 2" |
6085 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
6086 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
6087 |
+ |
6088 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python systemd ${SCM} |
6089 |
+ |
6090 |
+MY_PV="${PV/_rc/.rc}" |
6091 |
+MY_P="${PN}-${MY_PV}" |
6092 |
+ |
6093 |
+DOC_VER=${MY_PV} |
6094 |
+ |
6095 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
6096 |
+HOMEPAGE="http://www.git-scm.com/" |
6097 |
+if [[ ${PV} != *9999 ]]; then |
6098 |
+ SRC_URI_SUFFIX="gz" |
6099 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
6100 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
6101 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
6102 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
6103 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6104 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6105 |
+ doc? ( |
6106 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6107 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6108 |
+ )" |
6109 |
+ KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
6110 |
+else |
6111 |
+ SRC_URI="" |
6112 |
+ KEYWORDS="" |
6113 |
+fi |
6114 |
+ |
6115 |
+LICENSE="GPL-2" |
6116 |
+SLOT="0" |
6117 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
6118 |
+ |
6119 |
+# Common to both DEPEND and RDEPEND |
6120 |
+CDEPEND=" |
6121 |
+ dev-libs/openssl |
6122 |
+ sys-libs/zlib |
6123 |
+ pcre? ( dev-libs/libpcre ) |
6124 |
+ perl? ( dev-lang/perl[-build(-)] ) |
6125 |
+ tk? ( dev-lang/tk ) |
6126 |
+ curl? ( |
6127 |
+ net-misc/curl |
6128 |
+ webdav? ( dev-libs/expat ) |
6129 |
+ ) |
6130 |
+ emacs? ( virtual/emacs ) |
6131 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
6132 |
+ |
6133 |
+RDEPEND="${CDEPEND} |
6134 |
+ gpg? ( app-crypt/gnupg ) |
6135 |
+ perl? ( dev-perl/Error |
6136 |
+ dev-perl/Net-SMTP-SSL |
6137 |
+ dev-perl/Authen-SASL |
6138 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
6139 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
6140 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
6141 |
+ ) |
6142 |
+ python? ( gtk? |
6143 |
+ ( |
6144 |
+ >=dev-python/pygtk-2.8 |
6145 |
+ dev-python/pygtksourceview:2 |
6146 |
+ ) )" |
6147 |
+ |
6148 |
+# This is how info docs are created with Git: |
6149 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
6150 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
6151 |
+# .texi --(makeinfo)---------> .info |
6152 |
+DEPEND="${CDEPEND} |
6153 |
+ app-arch/cpio |
6154 |
+ doc? ( |
6155 |
+ app-text/asciidoc |
6156 |
+ app-text/docbook2X |
6157 |
+ sys-apps/texinfo |
6158 |
+ app-text/xmlto |
6159 |
+ ) |
6160 |
+ test? ( |
6161 |
+ app-crypt/gnupg |
6162 |
+ )" |
6163 |
+ |
6164 |
+# Live ebuild builds man pages and HTML docs, additionally |
6165 |
+if [[ ${PV} == *9999 ]]; then |
6166 |
+ DEPEND="${DEPEND} |
6167 |
+ app-text/asciidoc" |
6168 |
+fi |
6169 |
+ |
6170 |
+SITEFILE=50${PN}-gentoo.el |
6171 |
+S="${WORKDIR}/${MY_P}" |
6172 |
+ |
6173 |
+REQUIRED_USE=" |
6174 |
+ cgi? ( perl ) |
6175 |
+ cvs? ( perl ) |
6176 |
+ subversion? ( perl ) |
6177 |
+ webdav? ( curl ) |
6178 |
+" |
6179 |
+ |
6180 |
+pkg_setup() { |
6181 |
+ if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then |
6182 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
6183 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
6184 |
+ ewarn "have been warned." |
6185 |
+ fi |
6186 |
+ if use python ; then |
6187 |
+ python_set_active_version 2 |
6188 |
+ python_pkg_setup |
6189 |
+ fi |
6190 |
+} |
6191 |
+ |
6192 |
+# This is needed because for some obscure reasons future calls to make don't |
6193 |
+# pick up these exports if we export them in src_unpack() |
6194 |
+exportmakeopts() { |
6195 |
+ local myopts |
6196 |
+ |
6197 |
+ if use blksha1 ; then |
6198 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
6199 |
+ elif use ppcsha1 ; then |
6200 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
6201 |
+ fi |
6202 |
+ |
6203 |
+ if use curl ; then |
6204 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
6205 |
+ else |
6206 |
+ myopts="${myopts} NO_CURL=YesPlease" |
6207 |
+ fi |
6208 |
+ |
6209 |
+ # broken assumptions, because of broken build system ... |
6210 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
6211 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
6212 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
6213 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
6214 |
+ myopts="${myopts} OLD_ICONV=" |
6215 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
6216 |
+ |
6217 |
+ # can't define this to null, since the entire makefile depends on it |
6218 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
6219 |
+ |
6220 |
+ use iconv \ |
6221 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
6222 |
+ use nls \ |
6223 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
6224 |
+ use tk \ |
6225 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
6226 |
+ use pcre \ |
6227 |
+ && myopts="${myopts} USE_LIBPCRE=yes" |
6228 |
+ use perl \ |
6229 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
6230 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
6231 |
+ use python \ |
6232 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
6233 |
+ use subversion \ |
6234 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
6235 |
+ use threads \ |
6236 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" |
6237 |
+ use cvs \ |
6238 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
6239 |
+# Disabled until ~m68k-mint can be keyworded again |
6240 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
6241 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
6242 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
6243 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
6244 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
6245 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
6246 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
6247 |
+# fi |
6248 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
6249 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
6250 |
+ fi |
6251 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
6252 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
6253 |
+ fi |
6254 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
6255 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
6256 |
+ fi |
6257 |
+ |
6258 |
+ has_version '>=app-text/asciidoc-8.0' \ |
6259 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
6260 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
6261 |
+ |
6262 |
+ # Bug 290465: |
6263 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
6264 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
6265 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
6266 |
+ |
6267 |
+ export MY_MAKEOPTS="${myopts}" |
6268 |
+} |
6269 |
+ |
6270 |
+src_unpack() { |
6271 |
+ if [[ ${PV} != *9999 ]]; then |
6272 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
6273 |
+ cd "${S}" |
6274 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6275 |
+ use doc && \ |
6276 |
+ cd "${S}"/Documentation && \ |
6277 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6278 |
+ cd "${S}" |
6279 |
+ else |
6280 |
+ git-2_src_unpack |
6281 |
+ cd "${S}" |
6282 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
6283 |
+ fi |
6284 |
+ |
6285 |
+} |
6286 |
+ |
6287 |
+src_prepare() { |
6288 |
+ # bug #418431 - stated for upstream 1.7.13. Developed by Michael Schwern, |
6289 |
+ # funded as a bounty by the Gentoo Foundation. Merged upstream in 1.8.0. |
6290 |
+ #epatch "${FILESDIR}"/git-1.7.12-git-svn-backport.patch |
6291 |
+ |
6292 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
6293 |
+ epatch "${FILESDIR}"/git-1.7.12-optional-cvs.patch |
6294 |
+ |
6295 |
+ sed -i \ |
6296 |
+ -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
6297 |
+ -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \ |
6298 |
+ -e 's:^\(CC = \).*$:\1$(OPTCC):' \ |
6299 |
+ -e 's:^\(AR = \).*$:\1$(OPTAR):' \ |
6300 |
+ -e "s:\(PYTHON_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
6301 |
+ -e "s:\(PERL_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
6302 |
+ Makefile || die "sed failed" |
6303 |
+ |
6304 |
+ # Never install the private copy of Error.pm (bug #296310) |
6305 |
+ sed -i \ |
6306 |
+ -e '/private-Error.pm/s,^,#,' \ |
6307 |
+ perl/Makefile.PL |
6308 |
+ |
6309 |
+ # Fix docbook2texi command |
6310 |
+ sed -i 's/DOCBOOK2X_TEXI=docbook2x-texi/DOCBOOK2X_TEXI=docbook2texi.pl/' \ |
6311 |
+ Documentation/Makefile || die "sed failed" |
6312 |
+ |
6313 |
+ # Fix git-subtree missing DESTDIR |
6314 |
+ sed -i \ |
6315 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
6316 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
6317 |
+ contrib/subtree/Makefile |
6318 |
+} |
6319 |
+ |
6320 |
+git_emake() { |
6321 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
6322 |
+ # bug #320647: PYTHON_PATH |
6323 |
+ PYTHON_PATH="" |
6324 |
+ use python && PYTHON_PATH="$(PYTHON -a)" |
6325 |
+ emake ${MY_MAKEOPTS} \ |
6326 |
+ DESTDIR="${D}" \ |
6327 |
+ OPTCFLAGS="${CFLAGS}" \ |
6328 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
6329 |
+ OPTCC="$(tc-getCC)" \ |
6330 |
+ OPTAR="$(tc-getAR)" \ |
6331 |
+ prefix="${EPREFIX}"/usr \ |
6332 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
6333 |
+ sysconfdir="${EPREFIX}"/etc \ |
6334 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
6335 |
+ PERL_MM_OPT="" \ |
6336 |
+ GIT_TEST_OPTS="--no-color" \ |
6337 |
+ "$@" |
6338 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
6339 |
+ # #352693. |
6340 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
6341 |
+} |
6342 |
+ |
6343 |
+src_configure() { |
6344 |
+ exportmakeopts |
6345 |
+} |
6346 |
+ |
6347 |
+src_compile() { |
6348 |
+ if use perl ; then |
6349 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
6350 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
6351 |
+ fi |
6352 |
+ git_emake || die "emake failed" |
6353 |
+ |
6354 |
+ if use emacs ; then |
6355 |
+ elisp-compile contrib/emacs/git{,-blame}.el \ |
6356 |
+ || die "emacs modules failed" |
6357 |
+ fi |
6358 |
+ |
6359 |
+ if use perl && use cgi ; then |
6360 |
+ git_emake \ |
6361 |
+ gitweb/gitweb.cgi \ |
6362 |
+ || die "emake gitweb/gitweb.cgi failed" |
6363 |
+ fi |
6364 |
+ |
6365 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
6366 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
6367 |
+ git_emake || die "emake credential-osxkeychain" |
6368 |
+ fi |
6369 |
+ |
6370 |
+ cd "${S}"/Documentation |
6371 |
+ if [[ ${PV} == *9999 ]] ; then |
6372 |
+ git_emake man \ |
6373 |
+ || die "emake man failed" |
6374 |
+ if use doc ; then |
6375 |
+ git_emake info html \ |
6376 |
+ || die "emake info html failed" |
6377 |
+ fi |
6378 |
+ else |
6379 |
+ if use doc ; then |
6380 |
+ git_emake info \ |
6381 |
+ || die "emake info html failed" |
6382 |
+ fi |
6383 |
+ fi |
6384 |
+ |
6385 |
+ if use subversion ; then |
6386 |
+ cd "${S}"/contrib/svn-fe |
6387 |
+ git_emake || die "emake svn-fe failed" |
6388 |
+ if use doc ; then |
6389 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
6390 |
+ fi |
6391 |
+ cd "${S}" |
6392 |
+ fi |
6393 |
+ |
6394 |
+ if use gnome-keyring ; then |
6395 |
+ cd "${S}"/contrib/credential/gnome-keyring |
6396 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
6397 |
+ fi |
6398 |
+ |
6399 |
+ cd "${S}"/contrib/subtree |
6400 |
+ git_emake |
6401 |
+ use doc && git_emake doc |
6402 |
+} |
6403 |
+ |
6404 |
+src_install() { |
6405 |
+ git_emake \ |
6406 |
+ install || \ |
6407 |
+ die "make install failed" |
6408 |
+ |
6409 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
6410 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
6411 |
+ fi |
6412 |
+ |
6413 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
6414 |
+ # manpages may exist in either OR both of these directories. |
6415 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
6416 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
6417 |
+ |
6418 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
6419 |
+ use doc && dodir /usr/share/doc/${PF}/html |
6420 |
+ for d in / /howto/ /technical/ ; do |
6421 |
+ docinto ${d} |
6422 |
+ dodoc Documentation${d}*.txt |
6423 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
6424 |
+ done |
6425 |
+ docinto / |
6426 |
+ # Upstream does not ship this pre-built :-( |
6427 |
+ use doc && doinfo Documentation/{git,gitman}.info |
6428 |
+ |
6429 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
6430 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
6431 |
+ |
6432 |
+ if use emacs ; then |
6433 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} || die |
6434 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} || die |
6435 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} || die |
6436 |
+ # don't add automatically to the load-path, so the sitefile |
6437 |
+ # can do a conditional loading |
6438 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
6439 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die |
6440 |
+ fi |
6441 |
+ |
6442 |
+ if use python && use gtk ; then |
6443 |
+ dobin "${S}"/contrib/gitview/gitview |
6444 |
+ python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/gitview |
6445 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
6446 |
+ fi |
6447 |
+ |
6448 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
6449 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
6450 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
6451 |
+ newbin contrib/git-resurrect.sh git-resurrect |
6452 |
+ |
6453 |
+ # git-subtree |
6454 |
+ cd "${S}"/contrib/subtree |
6455 |
+ git_emake install || die "Failed to emake install git-subtree" |
6456 |
+ if use doc ; then |
6457 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
6458 |
+ fi |
6459 |
+ newdoc README README.git-subtree |
6460 |
+ dodoc git-subtree.txt |
6461 |
+ cd "${S}" |
6462 |
+ |
6463 |
+ # git-diffall |
6464 |
+ dobin contrib/diffall/git-diffall |
6465 |
+ newdoc contrib/diffall/README git-diffall.txt |
6466 |
+ |
6467 |
+ # diff-highlight |
6468 |
+ dobin contrib/diff-highlight/diff-highlight |
6469 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
6470 |
+ |
6471 |
+ # git-jump |
6472 |
+ dobin contrib/git-jump/git-jump |
6473 |
+ newdoc contrib/git-jump/README git-jump.txt |
6474 |
+ |
6475 |
+ if use gnome-keyring ; then |
6476 |
+ cd "${S}"/contrib/credential/gnome-keyring |
6477 |
+ dobin git-credential-gnome-keyring |
6478 |
+ fi |
6479 |
+ |
6480 |
+ if use subversion ; then |
6481 |
+ cd "${S}"/contrib/svn-fe |
6482 |
+ dobin svn-fe |
6483 |
+ dodoc svn-fe.txt |
6484 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
6485 |
+ cd "${S}" |
6486 |
+ fi |
6487 |
+ |
6488 |
+ dodir /usr/share/${PN}/contrib |
6489 |
+ # The following are excluded: |
6490 |
+ # completion - installed above |
6491 |
+ # credential/gnome-keyring TODO |
6492 |
+ # diff-highlight - done above |
6493 |
+ # diffall - done above |
6494 |
+ # emacs - installed above |
6495 |
+ # examples - these are stuff that is not used in Git anymore actually |
6496 |
+ # git-jump - done above |
6497 |
+ # gitview - installed above |
6498 |
+ # p4import - excluded because fast-import has a better one |
6499 |
+ # patches - stuff the Git guys made to go upstream to other places |
6500 |
+ # persistent-https - TODO |
6501 |
+ # mw-to-git - TODO |
6502 |
+ # subtree - build seperately |
6503 |
+ # svnimport - use git-svn |
6504 |
+ # thunderbird-patch-inline - fixes thunderbird |
6505 |
+ for i in \ |
6506 |
+ blameview buildsystems ciabot continuous convert-objects fast-import \ |
6507 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
6508 |
+ stats vim workdir \ |
6509 |
+ ; do |
6510 |
+ cp -rf \ |
6511 |
+ "${S}"/contrib/${i} \ |
6512 |
+ "${ED}"/usr/share/${PN}/contrib \ |
6513 |
+ || die "Failed contrib ${i}" |
6514 |
+ done |
6515 |
+ |
6516 |
+ if use perl && use cgi ; then |
6517 |
+ # We used to install in /usr/share/${PN}/gitweb |
6518 |
+ # but upstream installs in /usr/share/gitweb |
6519 |
+ # so we will install a symlink and use their location for compat with other |
6520 |
+ # distros |
6521 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
6522 |
+ |
6523 |
+ # INSTALL discusses configuration issues, not just installation |
6524 |
+ docinto / |
6525 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
6526 |
+ newdoc "${S}"/gitweb/README README.gitweb |
6527 |
+ |
6528 |
+ find "${ED}"/usr/lib64/perl5/ \ |
6529 |
+ -name .packlist \ |
6530 |
+ -exec rm \{\} \; |
6531 |
+ else |
6532 |
+ rm -rf "${ED}"/usr/share/gitweb |
6533 |
+ fi |
6534 |
+ |
6535 |
+ if ! use subversion ; then |
6536 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
6537 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
6538 |
+ fi |
6539 |
+ |
6540 |
+ if use xinetd ; then |
6541 |
+ insinto /etc/xinetd.d |
6542 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
6543 |
+ fi |
6544 |
+ |
6545 |
+ if use !prefix ; then |
6546 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
6547 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
6548 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
6549 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
6550 |
+ fi |
6551 |
+ |
6552 |
+ fixlocalpod |
6553 |
+} |
6554 |
+ |
6555 |
+src_test() { |
6556 |
+ local disabled="" |
6557 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
6558 |
+ t9400-git-cvsserver-server.sh \ |
6559 |
+ t9401-git-cvsserver-crlf.sh \ |
6560 |
+ t9600-cvsimport.sh \ |
6561 |
+ t9601-cvsimport-vendor-branch.sh \ |
6562 |
+ t9602-cvsimport-branches-tags.sh \ |
6563 |
+ t9603-cvsimport-patchsets.sh \ |
6564 |
+ t9604-cvsimport-timestamps.sh" |
6565 |
+ local tests_perl="t5502-quickfetch.sh \ |
6566 |
+ t5512-ls-remote.sh \ |
6567 |
+ t5520-pull.sh" |
6568 |
+ # Bug #225601 - t0004 is not suitable for root perm |
6569 |
+ # Bug #219839 - t1004 is not suitable for root perm |
6570 |
+ # t0001-init.sh - check for init notices EPERM* fails |
6571 |
+ local tests_nonroot="t0001-init.sh \ |
6572 |
+ t0004-unwritable.sh \ |
6573 |
+ t0070-fundamental.sh \ |
6574 |
+ t1004-read-tree-m-u-wf.sh \ |
6575 |
+ t3700-add.sh \ |
6576 |
+ t7300-clean.sh" |
6577 |
+ # t9100 still fails with symlinks in SVN 1.7 |
6578 |
+ local test_svn="t9100-git-svn-basic.sh" |
6579 |
+ |
6580 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
6581 |
+ if ! has_version app-arch/unzip ; then |
6582 |
+ einfo "Disabling tar-tree tests" |
6583 |
+ disabled="${disabled} t5000-tar-tree.sh" |
6584 |
+ fi |
6585 |
+ |
6586 |
+ cvs=0 |
6587 |
+ use cvs && let cvs=$cvs+1 |
6588 |
+ if [[ ${EUID} -eq 0 ]]; then |
6589 |
+ if [[ $cvs -eq 1 ]]; then |
6590 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
6591 |
+ ewarn "You should retest with FEATURES=userpriv!" |
6592 |
+ disabled="${disabled} ${tests_cvs}" |
6593 |
+ fi |
6594 |
+ einfo "Skipping other tests that require being non-root" |
6595 |
+ disabled="${disabled} ${tests_nonroot}" |
6596 |
+ else |
6597 |
+ [[ $cvs -gt 0 ]] && \ |
6598 |
+ has_version dev-vcs/cvs && \ |
6599 |
+ let cvs=$cvs+1 |
6600 |
+ [[ $cvs -gt 1 ]] && \ |
6601 |
+ built_with_use dev-vcs/cvs server && \ |
6602 |
+ let cvs=$cvs+1 |
6603 |
+ if [[ $cvs -lt 3 ]]; then |
6604 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
6605 |
+ disabled="${disabled} ${tests_cvs}" |
6606 |
+ fi |
6607 |
+ fi |
6608 |
+ |
6609 |
+ if ! use perl ; then |
6610 |
+ einfo "Disabling tests that need Perl" |
6611 |
+ disabled="${disabled} ${tests_perl}" |
6612 |
+ fi |
6613 |
+ |
6614 |
+ einfo "Disabling tests that fail with SVN 1.7" |
6615 |
+ disabled="${disabled} ${test_svn}" |
6616 |
+ |
6617 |
+ # Reset all previously disabled tests |
6618 |
+ cd "${S}/t" |
6619 |
+ for i in *.sh.DISABLED ; do |
6620 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
6621 |
+ done |
6622 |
+ einfo "Disabled tests:" |
6623 |
+ for i in ${disabled} ; do |
6624 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
6625 |
+ done |
6626 |
+ |
6627 |
+ # Avoid the test system removing the results because we want them ourselves |
6628 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
6629 |
+ -i "${S}"/t/Makefile |
6630 |
+ |
6631 |
+ # Clean old results first, must always run |
6632 |
+ cd "${S}/t" |
6633 |
+ nonfatal git_emake clean |
6634 |
+ |
6635 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
6636 |
+ # failure |
6637 |
+ cd "${S}" |
6638 |
+ einfo "Start test run" |
6639 |
+ #MAKEOPTS=-j1 |
6640 |
+ nonfatal git_emake --keep-going test |
6641 |
+ rc=$? |
6642 |
+ |
6643 |
+ # Display nice results, now print the results |
6644 |
+ cd "${S}/t" |
6645 |
+ nonfatal git_emake aggregate-results |
6646 |
+ |
6647 |
+ # And bail if there was a problem |
6648 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
6649 |
+} |
6650 |
+ |
6651 |
+showpkgdeps() { |
6652 |
+ local pkg=$1 |
6653 |
+ shift |
6654 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
6655 |
+} |
6656 |
+ |
6657 |
+pkg_postinst() { |
6658 |
+ use emacs && elisp-site-regen |
6659 |
+ use python && python_mod_optimize git_remote_helpers |
6660 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
6661 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
6662 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
6663 |
+ elog "These additional scripts need some dependencies:" |
6664 |
+ echo |
6665 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
6666 |
+ showpkgdeps git-instaweb \ |
6667 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
6668 |
+ echo |
6669 |
+} |
6670 |
+ |
6671 |
+pkg_postrm() { |
6672 |
+ use emacs && elisp-site-regen |
6673 |
+ use python && python_mod_cleanup git_remote_helpers |
6674 |
+} |
6675 |
|
6676 |
diff --git a/dev-vcs/git/git-1.8.1.5.ebuild b/dev-vcs/git/git-1.8.1.5.ebuild |
6677 |
new file mode 100644 |
6678 |
index 0000000..d2c9592 |
6679 |
--- /dev/null |
6680 |
+++ b/dev-vcs/git/git-1.8.1.5.ebuild |
6681 |
@@ -0,0 +1,598 @@ |
6682 |
+# Copyright 1999-2013 Gentoo Foundation |
6683 |
+# Distributed under the terms of the GNU General Public License v2 |
6684 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.1.5.ebuild,v 1.14 2013/12/11 10:27:22 polynomial-c Exp $ |
6685 |
+ |
6686 |
+EAPI=4 |
6687 |
+ |
6688 |
+GENTOO_DEPEND_ON_PERL=no |
6689 |
+ |
6690 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
6691 |
+PYTHON_DEPEND="python? 2" |
6692 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
6693 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
6694 |
+ |
6695 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python ${SCM} |
6696 |
+ |
6697 |
+MY_PV="${PV/_rc/.rc}" |
6698 |
+MY_P="${PN}-${MY_PV}" |
6699 |
+ |
6700 |
+DOC_VER=${MY_PV} |
6701 |
+ |
6702 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
6703 |
+HOMEPAGE="http://www.git-scm.com/" |
6704 |
+if [[ ${PV} != *9999 ]]; then |
6705 |
+ SRC_URI_SUFFIX="gz" |
6706 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
6707 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
6708 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
6709 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
6710 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6711 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6712 |
+ doc? ( |
6713 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6714 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6715 |
+ )" |
6716 |
+ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
6717 |
+else |
6718 |
+ SRC_URI="" |
6719 |
+ KEYWORDS="" |
6720 |
+fi |
6721 |
+ |
6722 |
+LICENSE="GPL-2" |
6723 |
+SLOT="0" |
6724 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
6725 |
+ |
6726 |
+# Common to both DEPEND and RDEPEND |
6727 |
+CDEPEND=" |
6728 |
+ dev-libs/openssl |
6729 |
+ sys-libs/zlib |
6730 |
+ pcre? ( dev-libs/libpcre ) |
6731 |
+ perl? ( dev-lang/perl[-build(-)] ) |
6732 |
+ tk? ( dev-lang/tk ) |
6733 |
+ curl? ( |
6734 |
+ net-misc/curl |
6735 |
+ webdav? ( dev-libs/expat ) |
6736 |
+ ) |
6737 |
+ emacs? ( virtual/emacs ) |
6738 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
6739 |
+ |
6740 |
+RDEPEND="${CDEPEND} |
6741 |
+ gpg? ( app-crypt/gnupg ) |
6742 |
+ perl? ( dev-perl/Error |
6743 |
+ dev-perl/Net-SMTP-SSL |
6744 |
+ dev-perl/Authen-SASL |
6745 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
6746 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
6747 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
6748 |
+ ) |
6749 |
+ python? ( gtk? |
6750 |
+ ( |
6751 |
+ >=dev-python/pygtk-2.8 |
6752 |
+ dev-python/pygtksourceview:2 |
6753 |
+ ) )" |
6754 |
+ |
6755 |
+# This is how info docs are created with Git: |
6756 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
6757 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
6758 |
+# .texi --(makeinfo)---------> .info |
6759 |
+DEPEND="${CDEPEND} |
6760 |
+ app-arch/cpio |
6761 |
+ doc? ( |
6762 |
+ app-text/asciidoc |
6763 |
+ app-text/docbook2X |
6764 |
+ sys-apps/texinfo |
6765 |
+ app-text/xmlto |
6766 |
+ ) |
6767 |
+ test? ( |
6768 |
+ app-crypt/gnupg |
6769 |
+ )" |
6770 |
+ |
6771 |
+# Live ebuild builds man pages and HTML docs, additionally |
6772 |
+if [[ ${PV} == *9999 ]]; then |
6773 |
+ DEPEND="${DEPEND} |
6774 |
+ app-text/asciidoc" |
6775 |
+fi |
6776 |
+ |
6777 |
+SITEFILE=50${PN}-gentoo.el |
6778 |
+S="${WORKDIR}/${MY_P}" |
6779 |
+ |
6780 |
+REQUIRED_USE=" |
6781 |
+ cgi? ( perl ) |
6782 |
+ cvs? ( perl ) |
6783 |
+ subversion? ( perl ) |
6784 |
+ webdav? ( curl ) |
6785 |
+" |
6786 |
+ |
6787 |
+pkg_setup() { |
6788 |
+ if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then |
6789 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
6790 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
6791 |
+ ewarn "have been warned." |
6792 |
+ fi |
6793 |
+ if use python ; then |
6794 |
+ python_set_active_version 2 |
6795 |
+ python_pkg_setup |
6796 |
+ fi |
6797 |
+} |
6798 |
+ |
6799 |
+# This is needed because for some obscure reasons future calls to make don't |
6800 |
+# pick up these exports if we export them in src_unpack() |
6801 |
+exportmakeopts() { |
6802 |
+ local myopts |
6803 |
+ |
6804 |
+ if use blksha1 ; then |
6805 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
6806 |
+ elif use ppcsha1 ; then |
6807 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
6808 |
+ fi |
6809 |
+ |
6810 |
+ if use curl ; then |
6811 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
6812 |
+ else |
6813 |
+ myopts="${myopts} NO_CURL=YesPlease" |
6814 |
+ fi |
6815 |
+ |
6816 |
+ # broken assumptions, because of broken build system ... |
6817 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
6818 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
6819 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
6820 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
6821 |
+ myopts="${myopts} OLD_ICONV=" |
6822 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
6823 |
+ |
6824 |
+ # can't define this to null, since the entire makefile depends on it |
6825 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
6826 |
+ |
6827 |
+ use iconv \ |
6828 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
6829 |
+ use nls \ |
6830 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
6831 |
+ use tk \ |
6832 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
6833 |
+ use pcre \ |
6834 |
+ && myopts="${myopts} USE_LIBPCRE=yes" |
6835 |
+ use perl \ |
6836 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
6837 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
6838 |
+ use python \ |
6839 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
6840 |
+ use subversion \ |
6841 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
6842 |
+ use threads \ |
6843 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" |
6844 |
+ use cvs \ |
6845 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
6846 |
+# Disabled until ~m68k-mint can be keyworded again |
6847 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
6848 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
6849 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
6850 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
6851 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
6852 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
6853 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
6854 |
+# fi |
6855 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
6856 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
6857 |
+ fi |
6858 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
6859 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
6860 |
+ fi |
6861 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
6862 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
6863 |
+ fi |
6864 |
+ |
6865 |
+ has_version '>=app-text/asciidoc-8.0' \ |
6866 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
6867 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
6868 |
+ |
6869 |
+ # Bug 290465: |
6870 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
6871 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
6872 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
6873 |
+ |
6874 |
+ export MY_MAKEOPTS="${myopts}" |
6875 |
+} |
6876 |
+ |
6877 |
+src_unpack() { |
6878 |
+ if [[ ${PV} != *9999 ]]; then |
6879 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
6880 |
+ cd "${S}" |
6881 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6882 |
+ use doc && \ |
6883 |
+ cd "${S}"/Documentation && \ |
6884 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
6885 |
+ cd "${S}" |
6886 |
+ else |
6887 |
+ git-2_src_unpack |
6888 |
+ cd "${S}" |
6889 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
6890 |
+ fi |
6891 |
+ |
6892 |
+} |
6893 |
+ |
6894 |
+src_prepare() { |
6895 |
+ # bug #418431 - stated for upstream 1.7.13. Developed by Michael Schwern, |
6896 |
+ # funded as a bounty by the Gentoo Foundation. Merged upstream in 1.8.0. |
6897 |
+ #epatch "${FILESDIR}"/git-1.7.12-git-svn-backport.patch |
6898 |
+ |
6899 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
6900 |
+ epatch "${FILESDIR}"/git-1.7.12-optional-cvs.patch |
6901 |
+ |
6902 |
+ sed -i \ |
6903 |
+ -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
6904 |
+ -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \ |
6905 |
+ -e 's:^\(CC = \).*$:\1$(OPTCC):' \ |
6906 |
+ -e 's:^\(AR = \).*$:\1$(OPTAR):' \ |
6907 |
+ -e "s:\(PYTHON_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
6908 |
+ -e "s:\(PERL_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
6909 |
+ Makefile || die "sed failed" |
6910 |
+ |
6911 |
+ # Never install the private copy of Error.pm (bug #296310) |
6912 |
+ sed -i \ |
6913 |
+ -e '/private-Error.pm/s,^,#,' \ |
6914 |
+ perl/Makefile.PL |
6915 |
+ |
6916 |
+ # Fix docbook2texi command |
6917 |
+ sed -i 's/DOCBOOK2X_TEXI=docbook2x-texi/DOCBOOK2X_TEXI=docbook2texi.pl/' \ |
6918 |
+ Documentation/Makefile || die "sed failed" |
6919 |
+ |
6920 |
+ # Fix git-subtree missing DESTDIR |
6921 |
+ sed -i \ |
6922 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
6923 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
6924 |
+ contrib/subtree/Makefile |
6925 |
+} |
6926 |
+ |
6927 |
+git_emake() { |
6928 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
6929 |
+ # bug #320647: PYTHON_PATH |
6930 |
+ PYTHON_PATH="" |
6931 |
+ use python && PYTHON_PATH="$(PYTHON -a)" |
6932 |
+ emake ${MY_MAKEOPTS} \ |
6933 |
+ DESTDIR="${D}" \ |
6934 |
+ OPTCFLAGS="${CFLAGS}" \ |
6935 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
6936 |
+ OPTCC="$(tc-getCC)" \ |
6937 |
+ OPTAR="$(tc-getAR)" \ |
6938 |
+ prefix="${EPREFIX}"/usr \ |
6939 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
6940 |
+ sysconfdir="${EPREFIX}"/etc \ |
6941 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
6942 |
+ PERL_MM_OPT="" \ |
6943 |
+ GIT_TEST_OPTS="--no-color" \ |
6944 |
+ "$@" |
6945 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
6946 |
+ # #352693. |
6947 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
6948 |
+} |
6949 |
+ |
6950 |
+src_configure() { |
6951 |
+ exportmakeopts |
6952 |
+} |
6953 |
+ |
6954 |
+src_compile() { |
6955 |
+ if use perl ; then |
6956 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
6957 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
6958 |
+ fi |
6959 |
+ git_emake || die "emake failed" |
6960 |
+ |
6961 |
+ if use emacs ; then |
6962 |
+ elisp-compile contrib/emacs/git{,-blame}.el \ |
6963 |
+ || die "emacs modules failed" |
6964 |
+ fi |
6965 |
+ |
6966 |
+ if use perl && use cgi ; then |
6967 |
+ git_emake \ |
6968 |
+ gitweb/gitweb.cgi \ |
6969 |
+ || die "emake gitweb/gitweb.cgi failed" |
6970 |
+ fi |
6971 |
+ |
6972 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
6973 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
6974 |
+ git_emake || die "emake credential-osxkeychain" |
6975 |
+ fi |
6976 |
+ |
6977 |
+ cd "${S}"/Documentation |
6978 |
+ if [[ ${PV} == *9999 ]] ; then |
6979 |
+ git_emake man \ |
6980 |
+ || die "emake man failed" |
6981 |
+ if use doc ; then |
6982 |
+ git_emake info html \ |
6983 |
+ || die "emake info html failed" |
6984 |
+ fi |
6985 |
+ else |
6986 |
+ if use doc ; then |
6987 |
+ git_emake info \ |
6988 |
+ || die "emake info html failed" |
6989 |
+ fi |
6990 |
+ fi |
6991 |
+ |
6992 |
+ if use subversion ; then |
6993 |
+ cd "${S}"/contrib/svn-fe |
6994 |
+ git_emake || die "emake svn-fe failed" |
6995 |
+ if use doc ; then |
6996 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
6997 |
+ fi |
6998 |
+ cd "${S}" |
6999 |
+ fi |
7000 |
+ |
7001 |
+ if use gnome-keyring ; then |
7002 |
+ cd "${S}"/contrib/credential/gnome-keyring |
7003 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
7004 |
+ fi |
7005 |
+ |
7006 |
+ cd "${S}"/contrib/subtree |
7007 |
+ git_emake |
7008 |
+ use doc && git_emake doc |
7009 |
+} |
7010 |
+ |
7011 |
+src_install() { |
7012 |
+ git_emake \ |
7013 |
+ install || \ |
7014 |
+ die "make install failed" |
7015 |
+ |
7016 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
7017 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
7018 |
+ fi |
7019 |
+ |
7020 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
7021 |
+ # manpages may exist in either OR both of these directories. |
7022 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
7023 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
7024 |
+ |
7025 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
7026 |
+ use doc && dodir /usr/share/doc/${PF}/html |
7027 |
+ for d in / /howto/ /technical/ ; do |
7028 |
+ docinto ${d} |
7029 |
+ dodoc Documentation${d}*.txt |
7030 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
7031 |
+ done |
7032 |
+ docinto / |
7033 |
+ # Upstream does not ship this pre-built :-( |
7034 |
+ use doc && doinfo Documentation/{git,gitman}.info |
7035 |
+ |
7036 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
7037 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
7038 |
+ |
7039 |
+ if use emacs ; then |
7040 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} || die |
7041 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} || die |
7042 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} || die |
7043 |
+ # don't add automatically to the load-path, so the sitefile |
7044 |
+ # can do a conditional loading |
7045 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
7046 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die |
7047 |
+ fi |
7048 |
+ |
7049 |
+ if use python && use gtk ; then |
7050 |
+ dobin "${S}"/contrib/gitview/gitview |
7051 |
+ python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/gitview |
7052 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
7053 |
+ fi |
7054 |
+ |
7055 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
7056 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
7057 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
7058 |
+ newbin contrib/git-resurrect.sh git-resurrect |
7059 |
+ |
7060 |
+ # git-subtree |
7061 |
+ cd "${S}"/contrib/subtree |
7062 |
+ git_emake install || die "Failed to emake install git-subtree" |
7063 |
+ if use doc ; then |
7064 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
7065 |
+ fi |
7066 |
+ newdoc README README.git-subtree |
7067 |
+ dodoc git-subtree.txt |
7068 |
+ cd "${S}" |
7069 |
+ |
7070 |
+ # git-diffall |
7071 |
+ dobin contrib/diffall/git-diffall |
7072 |
+ newdoc contrib/diffall/README git-diffall.txt |
7073 |
+ |
7074 |
+ # diff-highlight |
7075 |
+ dobin contrib/diff-highlight/diff-highlight |
7076 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
7077 |
+ |
7078 |
+ # git-jump |
7079 |
+ dobin contrib/git-jump/git-jump |
7080 |
+ newdoc contrib/git-jump/README git-jump.txt |
7081 |
+ |
7082 |
+ if use gnome-keyring ; then |
7083 |
+ cd "${S}"/contrib/credential/gnome-keyring |
7084 |
+ dobin git-credential-gnome-keyring |
7085 |
+ fi |
7086 |
+ |
7087 |
+ if use subversion ; then |
7088 |
+ cd "${S}"/contrib/svn-fe |
7089 |
+ dobin svn-fe |
7090 |
+ dodoc svn-fe.txt |
7091 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
7092 |
+ cd "${S}" |
7093 |
+ fi |
7094 |
+ |
7095 |
+ dodir /usr/share/${PN}/contrib |
7096 |
+ # The following are excluded: |
7097 |
+ # completion - installed above |
7098 |
+ # credential/gnome-keyring TODO |
7099 |
+ # diff-highlight - done above |
7100 |
+ # diffall - done above |
7101 |
+ # emacs - installed above |
7102 |
+ # examples - these are stuff that is not used in Git anymore actually |
7103 |
+ # git-jump - done above |
7104 |
+ # gitview - installed above |
7105 |
+ # p4import - excluded because fast-import has a better one |
7106 |
+ # patches - stuff the Git guys made to go upstream to other places |
7107 |
+ # persistent-https - TODO |
7108 |
+ # mw-to-git - TODO |
7109 |
+ # subtree - build seperately |
7110 |
+ # svnimport - use git-svn |
7111 |
+ # thunderbird-patch-inline - fixes thunderbird |
7112 |
+ for i in \ |
7113 |
+ blameview buildsystems ciabot continuous convert-objects fast-import \ |
7114 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
7115 |
+ stats vim workdir \ |
7116 |
+ ; do |
7117 |
+ cp -rf \ |
7118 |
+ "${S}"/contrib/${i} \ |
7119 |
+ "${ED}"/usr/share/${PN}/contrib \ |
7120 |
+ || die "Failed contrib ${i}" |
7121 |
+ done |
7122 |
+ |
7123 |
+ if use perl && use cgi ; then |
7124 |
+ # We used to install in /usr/share/${PN}/gitweb |
7125 |
+ # but upstream installs in /usr/share/gitweb |
7126 |
+ # so we will install a symlink and use their location for compat with other |
7127 |
+ # distros |
7128 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
7129 |
+ |
7130 |
+ # INSTALL discusses configuration issues, not just installation |
7131 |
+ docinto / |
7132 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
7133 |
+ newdoc "${S}"/gitweb/README README.gitweb |
7134 |
+ |
7135 |
+ find "${ED}"/usr/lib64/perl5/ \ |
7136 |
+ -name .packlist \ |
7137 |
+ -exec rm \{\} \; |
7138 |
+ else |
7139 |
+ rm -rf "${ED}"/usr/share/gitweb |
7140 |
+ fi |
7141 |
+ |
7142 |
+ if ! use subversion ; then |
7143 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
7144 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
7145 |
+ fi |
7146 |
+ |
7147 |
+ if use xinetd ; then |
7148 |
+ insinto /etc/xinetd.d |
7149 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
7150 |
+ fi |
7151 |
+ |
7152 |
+ if use !prefix ; then |
7153 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
7154 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
7155 |
+ fi |
7156 |
+ |
7157 |
+ fixlocalpod |
7158 |
+} |
7159 |
+ |
7160 |
+src_test() { |
7161 |
+ local disabled="" |
7162 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
7163 |
+ t9400-git-cvsserver-server.sh \ |
7164 |
+ t9401-git-cvsserver-crlf.sh \ |
7165 |
+ t9600-cvsimport.sh \ |
7166 |
+ t9601-cvsimport-vendor-branch.sh \ |
7167 |
+ t9602-cvsimport-branches-tags.sh \ |
7168 |
+ t9603-cvsimport-patchsets.sh \ |
7169 |
+ t9604-cvsimport-timestamps.sh" |
7170 |
+ local tests_perl="t5502-quickfetch.sh \ |
7171 |
+ t5512-ls-remote.sh \ |
7172 |
+ t5520-pull.sh" |
7173 |
+ # Bug #225601 - t0004 is not suitable for root perm |
7174 |
+ # Bug #219839 - t1004 is not suitable for root perm |
7175 |
+ # t0001-init.sh - check for init notices EPERM* fails |
7176 |
+ local tests_nonroot="t0001-init.sh \ |
7177 |
+ t0004-unwritable.sh \ |
7178 |
+ t0070-fundamental.sh \ |
7179 |
+ t1004-read-tree-m-u-wf.sh \ |
7180 |
+ t3700-add.sh \ |
7181 |
+ t7300-clean.sh" |
7182 |
+ # t9100 still fails with symlinks in SVN 1.7 |
7183 |
+ local test_svn="t9100-git-svn-basic.sh" |
7184 |
+ |
7185 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
7186 |
+ if ! has_version app-arch/unzip ; then |
7187 |
+ einfo "Disabling tar-tree tests" |
7188 |
+ disabled="${disabled} t5000-tar-tree.sh" |
7189 |
+ fi |
7190 |
+ |
7191 |
+ cvs=0 |
7192 |
+ use cvs && let cvs=$cvs+1 |
7193 |
+ if [[ ${EUID} -eq 0 ]]; then |
7194 |
+ if [[ $cvs -eq 1 ]]; then |
7195 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
7196 |
+ ewarn "You should retest with FEATURES=userpriv!" |
7197 |
+ disabled="${disabled} ${tests_cvs}" |
7198 |
+ fi |
7199 |
+ einfo "Skipping other tests that require being non-root" |
7200 |
+ disabled="${disabled} ${tests_nonroot}" |
7201 |
+ else |
7202 |
+ [[ $cvs -gt 0 ]] && \ |
7203 |
+ has_version dev-vcs/cvs && \ |
7204 |
+ let cvs=$cvs+1 |
7205 |
+ [[ $cvs -gt 1 ]] && \ |
7206 |
+ built_with_use dev-vcs/cvs server && \ |
7207 |
+ let cvs=$cvs+1 |
7208 |
+ if [[ $cvs -lt 3 ]]; then |
7209 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
7210 |
+ disabled="${disabled} ${tests_cvs}" |
7211 |
+ fi |
7212 |
+ fi |
7213 |
+ |
7214 |
+ if ! use perl ; then |
7215 |
+ einfo "Disabling tests that need Perl" |
7216 |
+ disabled="${disabled} ${tests_perl}" |
7217 |
+ fi |
7218 |
+ |
7219 |
+ einfo "Disabling tests that fail with SVN 1.7" |
7220 |
+ disabled="${disabled} ${test_svn}" |
7221 |
+ |
7222 |
+ # Reset all previously disabled tests |
7223 |
+ cd "${S}/t" |
7224 |
+ for i in *.sh.DISABLED ; do |
7225 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
7226 |
+ done |
7227 |
+ einfo "Disabled tests:" |
7228 |
+ for i in ${disabled} ; do |
7229 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
7230 |
+ done |
7231 |
+ |
7232 |
+ # Avoid the test system removing the results because we want them ourselves |
7233 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
7234 |
+ -i "${S}"/t/Makefile |
7235 |
+ |
7236 |
+ # Clean old results first, must always run |
7237 |
+ cd "${S}/t" |
7238 |
+ nonfatal git_emake clean |
7239 |
+ |
7240 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
7241 |
+ # failure |
7242 |
+ cd "${S}" |
7243 |
+ einfo "Start test run" |
7244 |
+ #MAKEOPTS=-j1 |
7245 |
+ nonfatal git_emake --keep-going test |
7246 |
+ rc=$? |
7247 |
+ |
7248 |
+ # Display nice results, now print the results |
7249 |
+ cd "${S}/t" |
7250 |
+ nonfatal git_emake aggregate-results |
7251 |
+ |
7252 |
+ # And bail if there was a problem |
7253 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
7254 |
+} |
7255 |
+ |
7256 |
+showpkgdeps() { |
7257 |
+ local pkg=$1 |
7258 |
+ shift |
7259 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
7260 |
+} |
7261 |
+ |
7262 |
+pkg_postinst() { |
7263 |
+ use emacs && elisp-site-regen |
7264 |
+ use python && python_mod_optimize git_remote_helpers |
7265 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
7266 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
7267 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
7268 |
+ elog "These additional scripts need some dependencies:" |
7269 |
+ echo |
7270 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
7271 |
+ showpkgdeps git-instaweb \ |
7272 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
7273 |
+ echo |
7274 |
+} |
7275 |
+ |
7276 |
+pkg_postrm() { |
7277 |
+ use emacs && elisp-site-regen |
7278 |
+ use python && python_mod_cleanup git_remote_helpers |
7279 |
+} |
7280 |
|
7281 |
diff --git a/dev-vcs/git/git-1.8.2.1.ebuild b/dev-vcs/git/git-1.8.2.1.ebuild |
7282 |
new file mode 100644 |
7283 |
index 0000000..532b1b9 |
7284 |
--- /dev/null |
7285 |
+++ b/dev-vcs/git/git-1.8.2.1.ebuild |
7286 |
@@ -0,0 +1,610 @@ |
7287 |
+# Copyright 1999-2013 Gentoo Foundation |
7288 |
+# Distributed under the terms of the GNU General Public License v2 |
7289 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.2.1.ebuild,v 1.6 2013/12/11 10:27:22 polynomial-c Exp $ |
7290 |
+ |
7291 |
+EAPI=4 |
7292 |
+ |
7293 |
+GENTOO_DEPEND_ON_PERL=no |
7294 |
+ |
7295 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
7296 |
+PYTHON_DEPEND="python? 2" |
7297 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
7298 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
7299 |
+ |
7300 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python systemd ${SCM} |
7301 |
+ |
7302 |
+MY_PV="${PV/_rc/.rc}" |
7303 |
+MY_P="${PN}-${MY_PV}" |
7304 |
+ |
7305 |
+DOC_VER=${MY_PV} |
7306 |
+ |
7307 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
7308 |
+HOMEPAGE="http://www.git-scm.com/" |
7309 |
+if [[ ${PV} != *9999 ]]; then |
7310 |
+ SRC_URI_SUFFIX="gz" |
7311 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
7312 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
7313 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
7314 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
7315 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7316 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7317 |
+ doc? ( |
7318 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7319 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7320 |
+ )" |
7321 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
7322 |
+else |
7323 |
+ SRC_URI="" |
7324 |
+ KEYWORDS="" |
7325 |
+fi |
7326 |
+ |
7327 |
+LICENSE="GPL-2" |
7328 |
+SLOT="0" |
7329 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
7330 |
+ |
7331 |
+# Common to both DEPEND and RDEPEND |
7332 |
+CDEPEND=" |
7333 |
+ dev-libs/openssl |
7334 |
+ sys-libs/zlib |
7335 |
+ pcre? ( dev-libs/libpcre ) |
7336 |
+ perl? ( dev-lang/perl[-build(-)] ) |
7337 |
+ tk? ( dev-lang/tk ) |
7338 |
+ curl? ( |
7339 |
+ net-misc/curl |
7340 |
+ webdav? ( dev-libs/expat ) |
7341 |
+ ) |
7342 |
+ emacs? ( virtual/emacs ) |
7343 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
7344 |
+ |
7345 |
+RDEPEND="${CDEPEND} |
7346 |
+ gpg? ( app-crypt/gnupg ) |
7347 |
+ perl? ( dev-perl/Error |
7348 |
+ dev-perl/Net-SMTP-SSL |
7349 |
+ dev-perl/Authen-SASL |
7350 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
7351 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
7352 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
7353 |
+ ) |
7354 |
+ python? ( gtk? |
7355 |
+ ( |
7356 |
+ >=dev-python/pygtk-2.8 |
7357 |
+ dev-python/pygtksourceview:2 |
7358 |
+ ) )" |
7359 |
+ |
7360 |
+# This is how info docs are created with Git: |
7361 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
7362 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
7363 |
+# .texi --(makeinfo)---------> .info |
7364 |
+DEPEND="${CDEPEND} |
7365 |
+ app-arch/cpio |
7366 |
+ doc? ( |
7367 |
+ app-text/asciidoc |
7368 |
+ app-text/docbook2X |
7369 |
+ sys-apps/texinfo |
7370 |
+ app-text/xmlto |
7371 |
+ ) |
7372 |
+ test? ( |
7373 |
+ app-crypt/gnupg |
7374 |
+ )" |
7375 |
+ |
7376 |
+# Live ebuild builds man pages and HTML docs, additionally |
7377 |
+if [[ ${PV} == *9999 ]]; then |
7378 |
+ DEPEND="${DEPEND} |
7379 |
+ app-text/asciidoc" |
7380 |
+fi |
7381 |
+ |
7382 |
+SITEFILE=50${PN}-gentoo.el |
7383 |
+S="${WORKDIR}/${MY_P}" |
7384 |
+ |
7385 |
+REQUIRED_USE=" |
7386 |
+ cgi? ( perl ) |
7387 |
+ cvs? ( perl ) |
7388 |
+ subversion? ( perl ) |
7389 |
+ webdav? ( curl ) |
7390 |
+" |
7391 |
+ |
7392 |
+pkg_setup() { |
7393 |
+ if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then |
7394 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
7395 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
7396 |
+ ewarn "have been warned." |
7397 |
+ fi |
7398 |
+ if use python ; then |
7399 |
+ python_set_active_version 2 |
7400 |
+ python_pkg_setup |
7401 |
+ fi |
7402 |
+} |
7403 |
+ |
7404 |
+# This is needed because for some obscure reasons future calls to make don't |
7405 |
+# pick up these exports if we export them in src_unpack() |
7406 |
+exportmakeopts() { |
7407 |
+ local myopts |
7408 |
+ |
7409 |
+ if use blksha1 ; then |
7410 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
7411 |
+ elif use ppcsha1 ; then |
7412 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
7413 |
+ fi |
7414 |
+ |
7415 |
+ if use curl ; then |
7416 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
7417 |
+ else |
7418 |
+ myopts="${myopts} NO_CURL=YesPlease" |
7419 |
+ fi |
7420 |
+ |
7421 |
+ # broken assumptions, because of broken build system ... |
7422 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
7423 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
7424 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
7425 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
7426 |
+ myopts="${myopts} OLD_ICONV=" |
7427 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
7428 |
+ |
7429 |
+ # For svn-fe |
7430 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
7431 |
+ |
7432 |
+ # can't define this to null, since the entire makefile depends on it |
7433 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
7434 |
+ |
7435 |
+ use iconv \ |
7436 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
7437 |
+ use nls \ |
7438 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
7439 |
+ use tk \ |
7440 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
7441 |
+ use pcre \ |
7442 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
7443 |
+ && extlibs="${extlibs} -lpcre" |
7444 |
+ use perl \ |
7445 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
7446 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
7447 |
+ use python \ |
7448 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
7449 |
+ use subversion \ |
7450 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
7451 |
+ use threads \ |
7452 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" |
7453 |
+ use cvs \ |
7454 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
7455 |
+# Disabled until ~m68k-mint can be keyworded again |
7456 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
7457 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
7458 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
7459 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
7460 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
7461 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
7462 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
7463 |
+# fi |
7464 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
7465 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
7466 |
+ fi |
7467 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
7468 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
7469 |
+ fi |
7470 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
7471 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
7472 |
+ fi |
7473 |
+ |
7474 |
+ has_version '>=app-text/asciidoc-8.0' \ |
7475 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
7476 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
7477 |
+ |
7478 |
+ # Bug 290465: |
7479 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
7480 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
7481 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
7482 |
+ |
7483 |
+ export MY_MAKEOPTS="${myopts}" |
7484 |
+ export EXTLIBS="${extlibs}" |
7485 |
+} |
7486 |
+ |
7487 |
+src_unpack() { |
7488 |
+ if [[ ${PV} != *9999 ]]; then |
7489 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
7490 |
+ cd "${S}" |
7491 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7492 |
+ use doc && \ |
7493 |
+ cd "${S}"/Documentation && \ |
7494 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7495 |
+ cd "${S}" |
7496 |
+ else |
7497 |
+ git-2_src_unpack |
7498 |
+ cd "${S}" |
7499 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
7500 |
+ fi |
7501 |
+ |
7502 |
+} |
7503 |
+ |
7504 |
+src_prepare() { |
7505 |
+ # bug #418431 - stated for upstream 1.7.13. Developed by Michael Schwern, |
7506 |
+ # funded as a bounty by the Gentoo Foundation. Merged upstream in 1.8.0. |
7507 |
+ #epatch "${FILESDIR}"/git-1.7.12-git-svn-backport.patch |
7508 |
+ |
7509 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
7510 |
+ epatch "${FILESDIR}"/git-1.8.2-optional-cvs.patch |
7511 |
+ |
7512 |
+ # bug #464210 - texinfo anchors |
7513 |
+ epatch "${FILESDIR}"/git-1.8.2-texinfo.patch |
7514 |
+ |
7515 |
+ sed -i \ |
7516 |
+ -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
7517 |
+ -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \ |
7518 |
+ -e 's:^\(CC = \).*$:\1$(OPTCC):' \ |
7519 |
+ -e 's:^\(AR = \).*$:\1$(OPTAR):' \ |
7520 |
+ -e "s:\(PYTHON_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
7521 |
+ -e "s:\(PERL_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
7522 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
7523 |
+ |
7524 |
+ # Never install the private copy of Error.pm (bug #296310) |
7525 |
+ sed -i \ |
7526 |
+ -e '/private-Error.pm/s,^,#,' \ |
7527 |
+ perl/Makefile.PL |
7528 |
+ |
7529 |
+ # Fix docbook2texi command |
7530 |
+ sed -i 's/DOCBOOK2X_TEXI=docbook2x-texi/DOCBOOK2X_TEXI=docbook2texi.pl/' \ |
7531 |
+ Documentation/Makefile || die "sed failed" |
7532 |
+ |
7533 |
+ # Fix git-subtree missing DESTDIR |
7534 |
+ sed -i \ |
7535 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
7536 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
7537 |
+ contrib/subtree/Makefile |
7538 |
+} |
7539 |
+ |
7540 |
+git_emake() { |
7541 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
7542 |
+ # bug #320647: PYTHON_PATH |
7543 |
+ PYTHON_PATH="" |
7544 |
+ use python && PYTHON_PATH="$(PYTHON -a)" |
7545 |
+ emake ${MY_MAKEOPTS} \ |
7546 |
+ DESTDIR="${D}" \ |
7547 |
+ OPTCFLAGS="${CFLAGS}" \ |
7548 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
7549 |
+ OPTCC="$(tc-getCC)" \ |
7550 |
+ OPTAR="$(tc-getAR)" \ |
7551 |
+ prefix="${EPREFIX}"/usr \ |
7552 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
7553 |
+ sysconfdir="${EPREFIX}"/etc \ |
7554 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
7555 |
+ PERL_MM_OPT="" \ |
7556 |
+ GIT_TEST_OPTS="--no-color" \ |
7557 |
+ V=1 \ |
7558 |
+ "$@" |
7559 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
7560 |
+ # #352693. |
7561 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
7562 |
+} |
7563 |
+ |
7564 |
+src_configure() { |
7565 |
+ exportmakeopts |
7566 |
+} |
7567 |
+ |
7568 |
+src_compile() { |
7569 |
+ if use perl ; then |
7570 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
7571 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
7572 |
+ fi |
7573 |
+ git_emake || die "emake failed" |
7574 |
+ |
7575 |
+ if use emacs ; then |
7576 |
+ elisp-compile contrib/emacs/git{,-blame}.el \ |
7577 |
+ || die "emacs modules failed" |
7578 |
+ fi |
7579 |
+ |
7580 |
+ if use perl && use cgi ; then |
7581 |
+ git_emake \ |
7582 |
+ gitweb/gitweb.cgi \ |
7583 |
+ || die "emake gitweb/gitweb.cgi failed" |
7584 |
+ fi |
7585 |
+ |
7586 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
7587 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
7588 |
+ git_emake || die "emake credential-osxkeychain" |
7589 |
+ fi |
7590 |
+ |
7591 |
+ cd "${S}"/Documentation |
7592 |
+ if [[ ${PV} == *9999 ]] ; then |
7593 |
+ git_emake man \ |
7594 |
+ || die "emake man failed" |
7595 |
+ if use doc ; then |
7596 |
+ git_emake info html \ |
7597 |
+ || die "emake info html failed" |
7598 |
+ fi |
7599 |
+ else |
7600 |
+ if use doc ; then |
7601 |
+ git_emake info \ |
7602 |
+ || die "emake info html failed" |
7603 |
+ fi |
7604 |
+ fi |
7605 |
+ |
7606 |
+ if use subversion ; then |
7607 |
+ cd "${S}"/contrib/svn-fe |
7608 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
7609 |
+ if use doc ; then |
7610 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
7611 |
+ fi |
7612 |
+ cd "${S}" |
7613 |
+ fi |
7614 |
+ |
7615 |
+ if use gnome-keyring ; then |
7616 |
+ cd "${S}"/contrib/credential/gnome-keyring |
7617 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
7618 |
+ fi |
7619 |
+ |
7620 |
+ cd "${S}"/contrib/subtree |
7621 |
+ git_emake |
7622 |
+ use doc && git_emake doc |
7623 |
+} |
7624 |
+ |
7625 |
+src_install() { |
7626 |
+ git_emake \ |
7627 |
+ install || \ |
7628 |
+ die "make install failed" |
7629 |
+ |
7630 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
7631 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
7632 |
+ fi |
7633 |
+ |
7634 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
7635 |
+ # manpages may exist in either OR both of these directories. |
7636 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
7637 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
7638 |
+ |
7639 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
7640 |
+ use doc && dodir /usr/share/doc/${PF}/html |
7641 |
+ for d in / /howto/ /technical/ ; do |
7642 |
+ docinto ${d} |
7643 |
+ dodoc Documentation${d}*.txt |
7644 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
7645 |
+ done |
7646 |
+ docinto / |
7647 |
+ # Upstream does not ship this pre-built :-( |
7648 |
+ use doc && doinfo Documentation/{git,gitman}.info |
7649 |
+ |
7650 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
7651 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
7652 |
+ |
7653 |
+ if use emacs ; then |
7654 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} || die |
7655 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} || die |
7656 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} || die |
7657 |
+ # don't add automatically to the load-path, so the sitefile |
7658 |
+ # can do a conditional loading |
7659 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
7660 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die |
7661 |
+ fi |
7662 |
+ |
7663 |
+ if use python && use gtk ; then |
7664 |
+ dobin "${S}"/contrib/gitview/gitview |
7665 |
+ python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/gitview |
7666 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
7667 |
+ fi |
7668 |
+ |
7669 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
7670 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
7671 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
7672 |
+ newbin contrib/git-resurrect.sh git-resurrect |
7673 |
+ |
7674 |
+ # git-subtree |
7675 |
+ cd "${S}"/contrib/subtree |
7676 |
+ git_emake install || die "Failed to emake install git-subtree" |
7677 |
+ if use doc ; then |
7678 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
7679 |
+ fi |
7680 |
+ newdoc README README.git-subtree |
7681 |
+ dodoc git-subtree.txt |
7682 |
+ cd "${S}" |
7683 |
+ |
7684 |
+ # git-diffall |
7685 |
+ dobin contrib/diffall/git-diffall |
7686 |
+ newdoc contrib/diffall/README git-diffall.txt |
7687 |
+ |
7688 |
+ # diff-highlight |
7689 |
+ dobin contrib/diff-highlight/diff-highlight |
7690 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
7691 |
+ |
7692 |
+ # git-jump |
7693 |
+ dobin contrib/git-jump/git-jump |
7694 |
+ newdoc contrib/git-jump/README git-jump.txt |
7695 |
+ |
7696 |
+ if use gnome-keyring ; then |
7697 |
+ cd "${S}"/contrib/credential/gnome-keyring |
7698 |
+ dobin git-credential-gnome-keyring |
7699 |
+ fi |
7700 |
+ |
7701 |
+ if use subversion ; then |
7702 |
+ cd "${S}"/contrib/svn-fe |
7703 |
+ dobin svn-fe |
7704 |
+ dodoc svn-fe.txt |
7705 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
7706 |
+ cd "${S}" |
7707 |
+ fi |
7708 |
+ |
7709 |
+ dodir /usr/share/${PN}/contrib |
7710 |
+ # The following are excluded: |
7711 |
+ # completion - installed above |
7712 |
+ # credential/gnome-keyring TODO |
7713 |
+ # diff-highlight - done above |
7714 |
+ # diffall - done above |
7715 |
+ # emacs - installed above |
7716 |
+ # examples - these are stuff that is not used in Git anymore actually |
7717 |
+ # git-jump - done above |
7718 |
+ # gitview - installed above |
7719 |
+ # p4import - excluded because fast-import has a better one |
7720 |
+ # patches - stuff the Git guys made to go upstream to other places |
7721 |
+ # persistent-https - TODO |
7722 |
+ # mw-to-git - TODO |
7723 |
+ # subtree - build seperately |
7724 |
+ # svnimport - use git-svn |
7725 |
+ # thunderbird-patch-inline - fixes thunderbird |
7726 |
+ for i in \ |
7727 |
+ blameview buildsystems ciabot continuous convert-objects fast-import \ |
7728 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
7729 |
+ stats vim workdir \ |
7730 |
+ ; do |
7731 |
+ cp -rf \ |
7732 |
+ "${S}"/contrib/${i} \ |
7733 |
+ "${ED}"/usr/share/${PN}/contrib \ |
7734 |
+ || die "Failed contrib ${i}" |
7735 |
+ done |
7736 |
+ |
7737 |
+ if use perl && use cgi ; then |
7738 |
+ # We used to install in /usr/share/${PN}/gitweb |
7739 |
+ # but upstream installs in /usr/share/gitweb |
7740 |
+ # so we will install a symlink and use their location for compat with other |
7741 |
+ # distros |
7742 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
7743 |
+ |
7744 |
+ # INSTALL discusses configuration issues, not just installation |
7745 |
+ docinto / |
7746 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
7747 |
+ newdoc "${S}"/gitweb/README README.gitweb |
7748 |
+ |
7749 |
+ find "${ED}"/usr/lib64/perl5/ \ |
7750 |
+ -name .packlist \ |
7751 |
+ -exec rm \{\} \; |
7752 |
+ else |
7753 |
+ rm -rf "${ED}"/usr/share/gitweb |
7754 |
+ fi |
7755 |
+ |
7756 |
+ if ! use subversion ; then |
7757 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
7758 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
7759 |
+ fi |
7760 |
+ |
7761 |
+ if use xinetd ; then |
7762 |
+ insinto /etc/xinetd.d |
7763 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
7764 |
+ fi |
7765 |
+ |
7766 |
+ if use !prefix ; then |
7767 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
7768 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
7769 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
7770 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
7771 |
+ fi |
7772 |
+ |
7773 |
+ fixlocalpod |
7774 |
+} |
7775 |
+ |
7776 |
+src_test() { |
7777 |
+ local disabled="" |
7778 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
7779 |
+ t9400-git-cvsserver-server.sh \ |
7780 |
+ t9401-git-cvsserver-crlf.sh \ |
7781 |
+ t9402-git-cvsserver-refs.sh \ |
7782 |
+ t9600-cvsimport.sh \ |
7783 |
+ t9601-cvsimport-vendor-branch.sh \ |
7784 |
+ t9602-cvsimport-branches-tags.sh \ |
7785 |
+ t9603-cvsimport-patchsets.sh \ |
7786 |
+ t9604-cvsimport-timestamps.sh" |
7787 |
+ local tests_perl="t5502-quickfetch.sh \ |
7788 |
+ t5512-ls-remote.sh \ |
7789 |
+ t5520-pull.sh" |
7790 |
+ # Bug #225601 - t0004 is not suitable for root perm |
7791 |
+ # Bug #219839 - t1004 is not suitable for root perm |
7792 |
+ # t0001-init.sh - check for init notices EPERM* fails |
7793 |
+ local tests_nonroot="t0001-init.sh \ |
7794 |
+ t0004-unwritable.sh \ |
7795 |
+ t0070-fundamental.sh \ |
7796 |
+ t1004-read-tree-m-u-wf.sh \ |
7797 |
+ t3700-add.sh \ |
7798 |
+ t7300-clean.sh" |
7799 |
+ # t9100 still fails with symlinks in SVN 1.7 |
7800 |
+ local test_svn="t9100-git-svn-basic.sh" |
7801 |
+ |
7802 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
7803 |
+ if ! has_version app-arch/unzip ; then |
7804 |
+ einfo "Disabling tar-tree tests" |
7805 |
+ disabled="${disabled} t5000-tar-tree.sh" |
7806 |
+ fi |
7807 |
+ |
7808 |
+ cvs=0 |
7809 |
+ use cvs && let cvs=$cvs+1 |
7810 |
+ if [[ ${EUID} -eq 0 ]]; then |
7811 |
+ if [[ $cvs -eq 1 ]]; then |
7812 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
7813 |
+ ewarn "You should retest with FEATURES=userpriv!" |
7814 |
+ disabled="${disabled} ${tests_cvs}" |
7815 |
+ fi |
7816 |
+ einfo "Skipping other tests that require being non-root" |
7817 |
+ disabled="${disabled} ${tests_nonroot}" |
7818 |
+ else |
7819 |
+ [[ $cvs -gt 0 ]] && \ |
7820 |
+ has_version dev-vcs/cvs && \ |
7821 |
+ let cvs=$cvs+1 |
7822 |
+ [[ $cvs -gt 1 ]] && \ |
7823 |
+ built_with_use dev-vcs/cvs server && \ |
7824 |
+ let cvs=$cvs+1 |
7825 |
+ if [[ $cvs -lt 3 ]]; then |
7826 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
7827 |
+ disabled="${disabled} ${tests_cvs}" |
7828 |
+ fi |
7829 |
+ fi |
7830 |
+ |
7831 |
+ if ! use perl ; then |
7832 |
+ einfo "Disabling tests that need Perl" |
7833 |
+ disabled="${disabled} ${tests_perl}" |
7834 |
+ fi |
7835 |
+ |
7836 |
+ einfo "Disabling tests that fail with SVN 1.7" |
7837 |
+ disabled="${disabled} ${test_svn}" |
7838 |
+ |
7839 |
+ # Reset all previously disabled tests |
7840 |
+ cd "${S}/t" |
7841 |
+ for i in *.sh.DISABLED ; do |
7842 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
7843 |
+ done |
7844 |
+ einfo "Disabled tests:" |
7845 |
+ for i in ${disabled} ; do |
7846 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
7847 |
+ done |
7848 |
+ |
7849 |
+ # Avoid the test system removing the results because we want them ourselves |
7850 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
7851 |
+ -i "${S}"/t/Makefile |
7852 |
+ |
7853 |
+ # Clean old results first, must always run |
7854 |
+ cd "${S}/t" |
7855 |
+ nonfatal git_emake clean |
7856 |
+ |
7857 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
7858 |
+ # failure |
7859 |
+ cd "${S}" |
7860 |
+ einfo "Start test run" |
7861 |
+ #MAKEOPTS=-j1 |
7862 |
+ nonfatal git_emake --keep-going test |
7863 |
+ rc=$? |
7864 |
+ |
7865 |
+ # Display nice results, now print the results |
7866 |
+ cd "${S}/t" |
7867 |
+ nonfatal git_emake aggregate-results |
7868 |
+ |
7869 |
+ # And bail if there was a problem |
7870 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
7871 |
+} |
7872 |
+ |
7873 |
+showpkgdeps() { |
7874 |
+ local pkg=$1 |
7875 |
+ shift |
7876 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
7877 |
+} |
7878 |
+ |
7879 |
+pkg_postinst() { |
7880 |
+ use emacs && elisp-site-regen |
7881 |
+ use python && python_mod_optimize git_remote_helpers |
7882 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
7883 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
7884 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
7885 |
+ elog "These additional scripts need some dependencies:" |
7886 |
+ echo |
7887 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
7888 |
+ showpkgdeps git-instaweb \ |
7889 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
7890 |
+ echo |
7891 |
+} |
7892 |
+ |
7893 |
+pkg_postrm() { |
7894 |
+ use emacs && elisp-site-regen |
7895 |
+ use python && python_mod_cleanup git_remote_helpers |
7896 |
+} |
7897 |
|
7898 |
diff --git a/dev-vcs/git/git-1.8.3.2-r1.ebuild b/dev-vcs/git/git-1.8.3.2-r1.ebuild |
7899 |
new file mode 100644 |
7900 |
index 0000000..818b022 |
7901 |
--- /dev/null |
7902 |
+++ b/dev-vcs/git/git-1.8.3.2-r1.ebuild |
7903 |
@@ -0,0 +1,614 @@ |
7904 |
+# Copyright 1999-2013 Gentoo Foundation |
7905 |
+# Distributed under the terms of the GNU General Public License v2 |
7906 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.3.2-r1.ebuild,v 1.10 2013/12/11 10:39:17 pinkbyte Exp $ |
7907 |
+ |
7908 |
+EAPI=5 |
7909 |
+ |
7910 |
+GENTOO_DEPEND_ON_PERL=no |
7911 |
+ |
7912 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
7913 |
+PYTHON_COMPAT=( python2_{6,7} ) |
7914 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
7915 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
7916 |
+ |
7917 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
7918 |
+ |
7919 |
+MY_PV="${PV/_rc/.rc}" |
7920 |
+MY_P="${PN}-${MY_PV}" |
7921 |
+ |
7922 |
+DOC_VER=${MY_PV} |
7923 |
+ |
7924 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
7925 |
+HOMEPAGE="http://www.git-scm.com/" |
7926 |
+if [[ ${PV} != *9999 ]]; then |
7927 |
+ SRC_URI_SUFFIX="gz" |
7928 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
7929 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
7930 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
7931 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
7932 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7933 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7934 |
+ doc? ( |
7935 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7936 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
7937 |
+ )" |
7938 |
+ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
7939 |
+else |
7940 |
+ SRC_URI="" |
7941 |
+ KEYWORDS="" |
7942 |
+fi |
7943 |
+ |
7944 |
+LICENSE="GPL-2" |
7945 |
+SLOT="0" |
7946 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
7947 |
+ |
7948 |
+# Common to both DEPEND and RDEPEND |
7949 |
+CDEPEND=" |
7950 |
+ dev-libs/openssl |
7951 |
+ sys-libs/zlib |
7952 |
+ pcre? ( dev-libs/libpcre ) |
7953 |
+ perl? ( dev-lang/perl[-build(-)] ) |
7954 |
+ tk? ( dev-lang/tk ) |
7955 |
+ curl? ( |
7956 |
+ net-misc/curl |
7957 |
+ webdav? ( dev-libs/expat ) |
7958 |
+ ) |
7959 |
+ emacs? ( virtual/emacs ) |
7960 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
7961 |
+ |
7962 |
+RDEPEND="${CDEPEND} |
7963 |
+ gpg? ( app-crypt/gnupg ) |
7964 |
+ perl? ( dev-perl/Error |
7965 |
+ dev-perl/Net-SMTP-SSL |
7966 |
+ dev-perl/Authen-SASL |
7967 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
7968 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
7969 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
7970 |
+ ) |
7971 |
+ python? ( gtk? |
7972 |
+ ( |
7973 |
+ >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
7974 |
+ >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
7975 |
+ ) |
7976 |
+ ${PYTHON_DEPS} )" |
7977 |
+ |
7978 |
+# This is how info docs are created with Git: |
7979 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
7980 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
7981 |
+# .texi --(makeinfo)---------> .info |
7982 |
+DEPEND="${CDEPEND} |
7983 |
+ app-arch/cpio |
7984 |
+ doc? ( |
7985 |
+ app-text/asciidoc |
7986 |
+ app-text/docbook2X |
7987 |
+ sys-apps/texinfo |
7988 |
+ app-text/xmlto |
7989 |
+ ) |
7990 |
+ test? ( |
7991 |
+ app-crypt/gnupg |
7992 |
+ )" |
7993 |
+ |
7994 |
+# Live ebuild builds man pages and HTML docs, additionally |
7995 |
+if [[ ${PV} == *9999 ]]; then |
7996 |
+ DEPEND="${DEPEND} |
7997 |
+ app-text/asciidoc" |
7998 |
+fi |
7999 |
+ |
8000 |
+SITEFILE=50${PN}-gentoo.el |
8001 |
+S="${WORKDIR}/${MY_P}" |
8002 |
+ |
8003 |
+REQUIRED_USE=" |
8004 |
+ cgi? ( perl ) |
8005 |
+ cvs? ( perl ) |
8006 |
+ subversion? ( perl ) |
8007 |
+ webdav? ( curl ) |
8008 |
+ gtk? ( python ) |
8009 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
8010 |
+" |
8011 |
+ |
8012 |
+pkg_setup() { |
8013 |
+ if use subversion && has_version "dev-vcs/subversion[dso]"; then |
8014 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
8015 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
8016 |
+ ewarn "have been warned." |
8017 |
+ fi |
8018 |
+ if use python ; then |
8019 |
+ python-single-r1_pkg_setup |
8020 |
+ fi |
8021 |
+} |
8022 |
+ |
8023 |
+# This is needed because for some obscure reasons future calls to make don't |
8024 |
+# pick up these exports if we export them in src_unpack() |
8025 |
+exportmakeopts() { |
8026 |
+ local myopts |
8027 |
+ |
8028 |
+ if use blksha1 ; then |
8029 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
8030 |
+ elif use ppcsha1 ; then |
8031 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
8032 |
+ fi |
8033 |
+ |
8034 |
+ if use curl ; then |
8035 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
8036 |
+ else |
8037 |
+ myopts="${myopts} NO_CURL=YesPlease" |
8038 |
+ fi |
8039 |
+ |
8040 |
+ # broken assumptions, because of broken build system ... |
8041 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
8042 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
8043 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
8044 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
8045 |
+ myopts="${myopts} OLD_ICONV=" |
8046 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
8047 |
+ |
8048 |
+ # For svn-fe |
8049 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
8050 |
+ |
8051 |
+ # can't define this to null, since the entire makefile depends on it |
8052 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
8053 |
+ |
8054 |
+ use iconv \ |
8055 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
8056 |
+ use nls \ |
8057 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
8058 |
+ use tk \ |
8059 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
8060 |
+ use pcre \ |
8061 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
8062 |
+ && extlibs="${extlibs} -lpcre" |
8063 |
+ use perl \ |
8064 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
8065 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
8066 |
+ use python \ |
8067 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
8068 |
+ use subversion \ |
8069 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
8070 |
+ use threads \ |
8071 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \ |
8072 |
+ || myopts="${myopts} NO_PTHREADS=YesPlease" |
8073 |
+ use cvs \ |
8074 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
8075 |
+# Disabled until ~m68k-mint can be keyworded again |
8076 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
8077 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
8078 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
8079 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
8080 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
8081 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
8082 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
8083 |
+# fi |
8084 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
8085 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
8086 |
+ fi |
8087 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
8088 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
8089 |
+ fi |
8090 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
8091 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
8092 |
+ fi |
8093 |
+ |
8094 |
+ has_version '>=app-text/asciidoc-8.0' \ |
8095 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
8096 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
8097 |
+ |
8098 |
+ # Bug 290465: |
8099 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
8100 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
8101 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
8102 |
+ |
8103 |
+ export MY_MAKEOPTS="${myopts}" |
8104 |
+ export EXTLIBS="${extlibs}" |
8105 |
+} |
8106 |
+ |
8107 |
+src_unpack() { |
8108 |
+ if [[ ${PV} != *9999 ]]; then |
8109 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
8110 |
+ cd "${S}" |
8111 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8112 |
+ use doc && \ |
8113 |
+ cd "${S}"/Documentation && \ |
8114 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8115 |
+ cd "${S}" |
8116 |
+ else |
8117 |
+ git-2_src_unpack |
8118 |
+ cd "${S}" |
8119 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
8120 |
+ fi |
8121 |
+ |
8122 |
+} |
8123 |
+ |
8124 |
+src_prepare() { |
8125 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
8126 |
+ epatch "${FILESDIR}"/git-1.8.2-optional-cvs.patch |
8127 |
+ |
8128 |
+ sed -i \ |
8129 |
+ -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
8130 |
+ -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \ |
8131 |
+ -e 's:^\(CC = \).*$:\1$(OPTCC):' \ |
8132 |
+ -e 's:^\(AR = \).*$:\1$(OPTAR):' \ |
8133 |
+ -e "s:\(PYTHON_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
8134 |
+ -e "s:\(PERL_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \ |
8135 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
8136 |
+ |
8137 |
+ # Never install the private copy of Error.pm (bug #296310) |
8138 |
+ sed -i \ |
8139 |
+ -e '/private-Error.pm/s,^,#,' \ |
8140 |
+ perl/Makefile.PL |
8141 |
+ |
8142 |
+ # Fix docbook2texi command |
8143 |
+ sed -i 's/DOCBOOK2X_TEXI=docbook2x-texi/DOCBOOK2X_TEXI=docbook2texi.pl/' \ |
8144 |
+ Documentation/Makefile || die "sed failed" |
8145 |
+ |
8146 |
+ # Fix git-subtree missing DESTDIR |
8147 |
+ sed -i \ |
8148 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
8149 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
8150 |
+ contrib/subtree/Makefile |
8151 |
+} |
8152 |
+ |
8153 |
+git_emake() { |
8154 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
8155 |
+ # bug #320647: PYTHON_PATH |
8156 |
+ PYTHON_PATH="" |
8157 |
+ use python && PYTHON_PATH="${PYTHON}" |
8158 |
+ emake ${MY_MAKEOPTS} \ |
8159 |
+ DESTDIR="${D}" \ |
8160 |
+ OPTCFLAGS="${CFLAGS}" \ |
8161 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
8162 |
+ OPTCC="$(tc-getCC)" \ |
8163 |
+ OPTAR="$(tc-getAR)" \ |
8164 |
+ prefix="${EPREFIX}"/usr \ |
8165 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
8166 |
+ sysconfdir="${EPREFIX}"/etc \ |
8167 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
8168 |
+ PERL_MM_OPT="" \ |
8169 |
+ GIT_TEST_OPTS="--no-color" \ |
8170 |
+ V=1 \ |
8171 |
+ "$@" |
8172 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
8173 |
+ # #352693. |
8174 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
8175 |
+} |
8176 |
+ |
8177 |
+src_configure() { |
8178 |
+ exportmakeopts |
8179 |
+} |
8180 |
+ |
8181 |
+src_compile() { |
8182 |
+ if use perl ; then |
8183 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
8184 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
8185 |
+ fi |
8186 |
+ git_emake || die "emake failed" |
8187 |
+ |
8188 |
+ if use emacs ; then |
8189 |
+ elisp-compile contrib/emacs/git{,-blame}.el |
8190 |
+ fi |
8191 |
+ |
8192 |
+ if use perl && use cgi ; then |
8193 |
+ git_emake \ |
8194 |
+ gitweb/gitweb.cgi \ |
8195 |
+ || die "emake gitweb/gitweb.cgi failed" |
8196 |
+ fi |
8197 |
+ |
8198 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
8199 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
8200 |
+ git_emake || die "emake credential-osxkeychain" |
8201 |
+ fi |
8202 |
+ |
8203 |
+ cd "${S}"/Documentation |
8204 |
+ if [[ ${PV} == *9999 ]] ; then |
8205 |
+ git_emake man \ |
8206 |
+ || die "emake man failed" |
8207 |
+ if use doc ; then |
8208 |
+ git_emake info html \ |
8209 |
+ || die "emake info html failed" |
8210 |
+ fi |
8211 |
+ else |
8212 |
+ if use doc ; then |
8213 |
+ git_emake info \ |
8214 |
+ || die "emake info html failed" |
8215 |
+ fi |
8216 |
+ fi |
8217 |
+ |
8218 |
+ if use subversion ; then |
8219 |
+ cd "${S}"/contrib/svn-fe |
8220 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
8221 |
+ if use doc ; then |
8222 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
8223 |
+ fi |
8224 |
+ cd "${S}" |
8225 |
+ fi |
8226 |
+ |
8227 |
+ if use gnome-keyring ; then |
8228 |
+ cd "${S}"/contrib/credential/gnome-keyring |
8229 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
8230 |
+ fi |
8231 |
+ |
8232 |
+ cd "${S}"/contrib/subtree |
8233 |
+ git_emake |
8234 |
+ use doc && git_emake doc |
8235 |
+} |
8236 |
+ |
8237 |
+src_install() { |
8238 |
+ git_emake \ |
8239 |
+ install || \ |
8240 |
+ die "make install failed" |
8241 |
+ |
8242 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
8243 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
8244 |
+ fi |
8245 |
+ |
8246 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
8247 |
+ # manpages may exist in either OR both of these directories. |
8248 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
8249 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
8250 |
+ |
8251 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
8252 |
+ use doc && dodir /usr/share/doc/${PF}/html |
8253 |
+ for d in / /howto/ /technical/ ; do |
8254 |
+ docinto ${d} |
8255 |
+ dodoc Documentation${d}*.txt |
8256 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
8257 |
+ done |
8258 |
+ docinto / |
8259 |
+ # Upstream does not ship this pre-built :-( |
8260 |
+ use doc && doinfo Documentation/{git,gitman}.info |
8261 |
+ |
8262 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
8263 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
8264 |
+ |
8265 |
+ if use emacs ; then |
8266 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} |
8267 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
8268 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
8269 |
+ # don't add automatically to the load-path, so the sitefile |
8270 |
+ # can do a conditional loading |
8271 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
8272 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
8273 |
+ fi |
8274 |
+ |
8275 |
+ if use python && use gtk ; then |
8276 |
+ python_doscript "${S}"/contrib/gitview/gitview |
8277 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
8278 |
+ fi |
8279 |
+ |
8280 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
8281 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
8282 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
8283 |
+ exeinto /usr/libexec/git-core/ |
8284 |
+ newexe contrib/git-resurrect.sh git-resurrect |
8285 |
+ |
8286 |
+ # git-subtree |
8287 |
+ cd "${S}"/contrib/subtree |
8288 |
+ git_emake install || die "Failed to emake install git-subtree" |
8289 |
+ if use doc ; then |
8290 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
8291 |
+ fi |
8292 |
+ newdoc README README.git-subtree |
8293 |
+ dodoc git-subtree.txt |
8294 |
+ cd "${S}" |
8295 |
+ |
8296 |
+ # git-diffall |
8297 |
+ dobin contrib/diffall/git-diffall |
8298 |
+ newdoc contrib/diffall/README git-diffall.txt |
8299 |
+ |
8300 |
+ # diff-highlight |
8301 |
+ dobin contrib/diff-highlight/diff-highlight |
8302 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
8303 |
+ |
8304 |
+ # git-jump |
8305 |
+ exeinto /usr/libexec/git-core/ |
8306 |
+ doexe contrib/git-jump/git-jump |
8307 |
+ newdoc contrib/git-jump/README git-jump.txt |
8308 |
+ |
8309 |
+ if use gnome-keyring ; then |
8310 |
+ cd "${S}"/contrib/credential/gnome-keyring |
8311 |
+ dobin git-credential-gnome-keyring |
8312 |
+ fi |
8313 |
+ |
8314 |
+ if use subversion ; then |
8315 |
+ cd "${S}"/contrib/svn-fe |
8316 |
+ dobin svn-fe |
8317 |
+ dodoc svn-fe.txt |
8318 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
8319 |
+ cd "${S}" |
8320 |
+ fi |
8321 |
+ |
8322 |
+ # remote-helpers |
8323 |
+ if use python ; then |
8324 |
+ python_scriptinto /usr/libexec/git-core/ |
8325 |
+ python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg} |
8326 |
+ python_optimize |
8327 |
+ fi |
8328 |
+ |
8329 |
+ dodir /usr/share/${PN}/contrib |
8330 |
+ # The following are excluded: |
8331 |
+ # completion - installed above |
8332 |
+ # credential/gnome-keyring TODO |
8333 |
+ # diff-highlight - done above |
8334 |
+ # diffall - done above |
8335 |
+ # emacs - installed above |
8336 |
+ # examples - these are stuff that is not used in Git anymore actually |
8337 |
+ # git-jump - done above |
8338 |
+ # gitview - installed above |
8339 |
+ # p4import - excluded because fast-import has a better one |
8340 |
+ # patches - stuff the Git guys made to go upstream to other places |
8341 |
+ # persistent-https - TODO |
8342 |
+ # mw-to-git - TODO |
8343 |
+ # subtree - build seperately |
8344 |
+ # svnimport - use git-svn |
8345 |
+ # thunderbird-patch-inline - fixes thunderbird |
8346 |
+ for i in \ |
8347 |
+ blameview buildsystems ciabot continuous convert-objects fast-import \ |
8348 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
8349 |
+ stats vim workdir \ |
8350 |
+ ; do |
8351 |
+ cp -rf \ |
8352 |
+ "${S}"/contrib/${i} \ |
8353 |
+ "${ED}"/usr/share/${PN}/contrib \ |
8354 |
+ || die "Failed contrib ${i}" |
8355 |
+ done |
8356 |
+ |
8357 |
+ if use perl && use cgi ; then |
8358 |
+ # We used to install in /usr/share/${PN}/gitweb |
8359 |
+ # but upstream installs in /usr/share/gitweb |
8360 |
+ # so we will install a symlink and use their location for compat with other |
8361 |
+ # distros |
8362 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
8363 |
+ |
8364 |
+ # INSTALL discusses configuration issues, not just installation |
8365 |
+ docinto / |
8366 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
8367 |
+ newdoc "${S}"/gitweb/README README.gitweb |
8368 |
+ |
8369 |
+ find "${ED}"/usr/lib64/perl5/ \ |
8370 |
+ -name .packlist \ |
8371 |
+ -exec rm \{\} \; |
8372 |
+ else |
8373 |
+ rm -rf "${ED}"/usr/share/gitweb |
8374 |
+ fi |
8375 |
+ |
8376 |
+ if ! use subversion ; then |
8377 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
8378 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
8379 |
+ fi |
8380 |
+ |
8381 |
+ if use xinetd ; then |
8382 |
+ insinto /etc/xinetd.d |
8383 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
8384 |
+ fi |
8385 |
+ |
8386 |
+ if use !prefix ; then |
8387 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
8388 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
8389 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
8390 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
8391 |
+ fi |
8392 |
+ |
8393 |
+ fixlocalpod |
8394 |
+} |
8395 |
+ |
8396 |
+src_test() { |
8397 |
+ local disabled="" |
8398 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
8399 |
+ t9400-git-cvsserver-server.sh \ |
8400 |
+ t9401-git-cvsserver-crlf.sh \ |
8401 |
+ t9402-git-cvsserver-refs.sh \ |
8402 |
+ t9600-cvsimport.sh \ |
8403 |
+ t9601-cvsimport-vendor-branch.sh \ |
8404 |
+ t9602-cvsimport-branches-tags.sh \ |
8405 |
+ t9603-cvsimport-patchsets.sh \ |
8406 |
+ t9604-cvsimport-timestamps.sh" |
8407 |
+ local tests_perl="t3701-add-interactive.sh \ |
8408 |
+ t5502-quickfetch.sh \ |
8409 |
+ t5512-ls-remote.sh \ |
8410 |
+ t5520-pull.sh \ |
8411 |
+ t7106-reset-unborn-branch.sh \ |
8412 |
+ t7501-commit.sh" |
8413 |
+ # Bug #225601 - t0004 is not suitable for root perm |
8414 |
+ # Bug #219839 - t1004 is not suitable for root perm |
8415 |
+ # t0001-init.sh - check for init notices EPERM* fails |
8416 |
+ local tests_nonroot="t0001-init.sh \ |
8417 |
+ t0004-unwritable.sh \ |
8418 |
+ t0070-fundamental.sh \ |
8419 |
+ t1004-read-tree-m-u-wf.sh \ |
8420 |
+ t3700-add.sh \ |
8421 |
+ t7300-clean.sh" |
8422 |
+ # t9100 still fails with symlinks in SVN 1.7 |
8423 |
+ local test_svn="t9100-git-svn-basic.sh" |
8424 |
+ |
8425 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
8426 |
+ if ! has_version app-arch/unzip ; then |
8427 |
+ einfo "Disabling tar-tree tests" |
8428 |
+ disabled="${disabled} t5000-tar-tree.sh" |
8429 |
+ fi |
8430 |
+ |
8431 |
+ cvs=0 |
8432 |
+ use cvs && let cvs=$cvs+1 |
8433 |
+ if [[ ${EUID} -eq 0 ]]; then |
8434 |
+ if [[ $cvs -eq 1 ]]; then |
8435 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
8436 |
+ ewarn "You should retest with FEATURES=userpriv!" |
8437 |
+ disabled="${disabled} ${tests_cvs}" |
8438 |
+ fi |
8439 |
+ einfo "Skipping other tests that require being non-root" |
8440 |
+ disabled="${disabled} ${tests_nonroot}" |
8441 |
+ else |
8442 |
+ [[ $cvs -gt 0 ]] && \ |
8443 |
+ has_version dev-vcs/cvs && \ |
8444 |
+ let cvs=$cvs+1 |
8445 |
+ [[ $cvs -gt 1 ]] && \ |
8446 |
+ has_version "dev-vcs/cvs[server]" && \ |
8447 |
+ let cvs=$cvs+1 |
8448 |
+ if [[ $cvs -lt 3 ]]; then |
8449 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
8450 |
+ disabled="${disabled} ${tests_cvs}" |
8451 |
+ fi |
8452 |
+ fi |
8453 |
+ |
8454 |
+ if ! use perl ; then |
8455 |
+ einfo "Disabling tests that need Perl" |
8456 |
+ disabled="${disabled} ${tests_perl}" |
8457 |
+ fi |
8458 |
+ |
8459 |
+ einfo "Disabling tests that fail with SVN 1.7" |
8460 |
+ disabled="${disabled} ${test_svn}" |
8461 |
+ |
8462 |
+ # Reset all previously disabled tests |
8463 |
+ cd "${S}/t" |
8464 |
+ for i in *.sh.DISABLED ; do |
8465 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
8466 |
+ done |
8467 |
+ einfo "Disabled tests:" |
8468 |
+ for i in ${disabled} ; do |
8469 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
8470 |
+ done |
8471 |
+ |
8472 |
+ # Avoid the test system removing the results because we want them ourselves |
8473 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
8474 |
+ -i "${S}"/t/Makefile |
8475 |
+ |
8476 |
+ # Clean old results first, must always run |
8477 |
+ cd "${S}/t" |
8478 |
+ nonfatal git_emake clean |
8479 |
+ |
8480 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
8481 |
+ # failure |
8482 |
+ cd "${S}" |
8483 |
+ einfo "Start test run" |
8484 |
+ #MAKEOPTS=-j1 |
8485 |
+ nonfatal git_emake --keep-going test |
8486 |
+ rc=$? |
8487 |
+ |
8488 |
+ # Display nice results, now print the results |
8489 |
+ cd "${S}/t" |
8490 |
+ nonfatal git_emake aggregate-results |
8491 |
+ |
8492 |
+ # And bail if there was a problem |
8493 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
8494 |
+} |
8495 |
+ |
8496 |
+showpkgdeps() { |
8497 |
+ local pkg=$1 |
8498 |
+ shift |
8499 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
8500 |
+} |
8501 |
+ |
8502 |
+pkg_postinst() { |
8503 |
+ use emacs && elisp-site-regen |
8504 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
8505 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
8506 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
8507 |
+ elog "These additional scripts need some dependencies:" |
8508 |
+ echo |
8509 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
8510 |
+ showpkgdeps git-instaweb \ |
8511 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
8512 |
+ echo |
8513 |
+} |
8514 |
+ |
8515 |
+pkg_postrm() { |
8516 |
+ use emacs && elisp-site-regen |
8517 |
+} |
8518 |
|
8519 |
diff --git a/dev-vcs/git/git-1.8.4.5.ebuild b/dev-vcs/git/git-1.8.4.5.ebuild |
8520 |
new file mode 100644 |
8521 |
index 0000000..7d63244 |
8522 |
--- /dev/null |
8523 |
+++ b/dev-vcs/git/git-1.8.4.5.ebuild |
8524 |
@@ -0,0 +1,619 @@ |
8525 |
+# Copyright 1999-2013 Gentoo Foundation |
8526 |
+# Distributed under the terms of the GNU General Public License v2 |
8527 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.4.5.ebuild,v 1.2 2013/12/11 10:27:22 polynomial-c Exp $ |
8528 |
+ |
8529 |
+EAPI=5 |
8530 |
+ |
8531 |
+GENTOO_DEPEND_ON_PERL=no |
8532 |
+ |
8533 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
8534 |
+PYTHON_COMPAT=( python2_{6,7} ) |
8535 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
8536 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
8537 |
+ |
8538 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
8539 |
+ |
8540 |
+MY_PV="${PV/_rc/.rc}" |
8541 |
+MY_P="${PN}-${MY_PV}" |
8542 |
+ |
8543 |
+DOC_VER=${MY_PV} |
8544 |
+ |
8545 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
8546 |
+HOMEPAGE="http://www.git-scm.com/" |
8547 |
+if [[ ${PV} != *9999 ]]; then |
8548 |
+ SRC_URI_SUFFIX="gz" |
8549 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
8550 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
8551 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
8552 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
8553 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8554 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8555 |
+ doc? ( |
8556 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8557 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8558 |
+ )" |
8559 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
8560 |
+else |
8561 |
+ SRC_URI="" |
8562 |
+ KEYWORDS="" |
8563 |
+fi |
8564 |
+ |
8565 |
+LICENSE="GPL-2" |
8566 |
+SLOT="0" |
8567 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
8568 |
+ |
8569 |
+# Common to both DEPEND and RDEPEND |
8570 |
+CDEPEND=" |
8571 |
+ dev-libs/openssl |
8572 |
+ sys-libs/zlib |
8573 |
+ pcre? ( dev-libs/libpcre ) |
8574 |
+ perl? ( dev-lang/perl[-build(-)] ) |
8575 |
+ tk? ( dev-lang/tk ) |
8576 |
+ curl? ( |
8577 |
+ net-misc/curl |
8578 |
+ webdav? ( dev-libs/expat ) |
8579 |
+ ) |
8580 |
+ emacs? ( virtual/emacs ) |
8581 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
8582 |
+ |
8583 |
+RDEPEND="${CDEPEND} |
8584 |
+ gpg? ( app-crypt/gnupg ) |
8585 |
+ perl? ( dev-perl/Error |
8586 |
+ dev-perl/Net-SMTP-SSL |
8587 |
+ dev-perl/Authen-SASL |
8588 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
8589 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
8590 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
8591 |
+ ) |
8592 |
+ python? ( gtk? |
8593 |
+ ( |
8594 |
+ >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
8595 |
+ >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
8596 |
+ ) |
8597 |
+ ${PYTHON_DEPS} )" |
8598 |
+ |
8599 |
+# This is how info docs are created with Git: |
8600 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
8601 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
8602 |
+# .texi --(makeinfo)---------> .info |
8603 |
+DEPEND="${CDEPEND} |
8604 |
+ app-arch/cpio |
8605 |
+ doc? ( |
8606 |
+ app-text/asciidoc |
8607 |
+ app-text/docbook2X |
8608 |
+ sys-apps/texinfo |
8609 |
+ app-text/xmlto |
8610 |
+ ) |
8611 |
+ test? ( |
8612 |
+ app-crypt/gnupg |
8613 |
+ )" |
8614 |
+ |
8615 |
+# Live ebuild builds man pages and HTML docs, additionally |
8616 |
+if [[ ${PV} == *9999 ]]; then |
8617 |
+ DEPEND="${DEPEND} |
8618 |
+ app-text/asciidoc" |
8619 |
+fi |
8620 |
+ |
8621 |
+SITEFILE=50${PN}-gentoo.el |
8622 |
+S="${WORKDIR}/${MY_P}" |
8623 |
+ |
8624 |
+REQUIRED_USE=" |
8625 |
+ cgi? ( perl ) |
8626 |
+ cvs? ( perl ) |
8627 |
+ subversion? ( perl ) |
8628 |
+ webdav? ( curl ) |
8629 |
+ gtk? ( python ) |
8630 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
8631 |
+" |
8632 |
+ |
8633 |
+pkg_setup() { |
8634 |
+ if use subversion && has_version "dev-vcs/subversion[dso]"; then |
8635 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
8636 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
8637 |
+ ewarn "have been warned." |
8638 |
+ fi |
8639 |
+ if use python ; then |
8640 |
+ python-single-r1_pkg_setup |
8641 |
+ fi |
8642 |
+} |
8643 |
+ |
8644 |
+# This is needed because for some obscure reasons future calls to make don't |
8645 |
+# pick up these exports if we export them in src_unpack() |
8646 |
+exportmakeopts() { |
8647 |
+ local myopts |
8648 |
+ |
8649 |
+ if use blksha1 ; then |
8650 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
8651 |
+ elif use ppcsha1 ; then |
8652 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
8653 |
+ fi |
8654 |
+ |
8655 |
+ if use curl ; then |
8656 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
8657 |
+ else |
8658 |
+ myopts="${myopts} NO_CURL=YesPlease" |
8659 |
+ fi |
8660 |
+ |
8661 |
+ # broken assumptions, because of broken build system ... |
8662 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
8663 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
8664 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
8665 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
8666 |
+ myopts="${myopts} OLD_ICONV=" |
8667 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
8668 |
+ |
8669 |
+ # For svn-fe |
8670 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
8671 |
+ |
8672 |
+ # can't define this to null, since the entire makefile depends on it |
8673 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
8674 |
+ |
8675 |
+ use iconv \ |
8676 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
8677 |
+ use nls \ |
8678 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
8679 |
+ use tk \ |
8680 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
8681 |
+ use pcre \ |
8682 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
8683 |
+ && extlibs="${extlibs} -lpcre" |
8684 |
+ use perl \ |
8685 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
8686 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
8687 |
+ use python \ |
8688 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
8689 |
+ use subversion \ |
8690 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
8691 |
+ use threads \ |
8692 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \ |
8693 |
+ || myopts="${myopts} NO_PTHREADS=YesPlease" |
8694 |
+ use cvs \ |
8695 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
8696 |
+# Disabled until ~m68k-mint can be keyworded again |
8697 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
8698 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
8699 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
8700 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
8701 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
8702 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
8703 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
8704 |
+# fi |
8705 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
8706 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
8707 |
+ fi |
8708 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
8709 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
8710 |
+ fi |
8711 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
8712 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
8713 |
+ fi |
8714 |
+ |
8715 |
+ has_version '>=app-text/asciidoc-8.0' \ |
8716 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
8717 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
8718 |
+ |
8719 |
+ # Bug 290465: |
8720 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
8721 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
8722 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
8723 |
+ |
8724 |
+ export MY_MAKEOPTS="${myopts}" |
8725 |
+ export EXTLIBS="${extlibs}" |
8726 |
+} |
8727 |
+ |
8728 |
+src_unpack() { |
8729 |
+ if [[ ${PV} != *9999 ]]; then |
8730 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
8731 |
+ cd "${S}" |
8732 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8733 |
+ use doc && \ |
8734 |
+ cd "${S}"/Documentation && \ |
8735 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
8736 |
+ cd "${S}" |
8737 |
+ else |
8738 |
+ git-2_src_unpack |
8739 |
+ cd "${S}" |
8740 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
8741 |
+ fi |
8742 |
+ |
8743 |
+} |
8744 |
+ |
8745 |
+src_prepare() { |
8746 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
8747 |
+ epatch "${FILESDIR}"/git-1.8.4-optional-cvs.patch |
8748 |
+ |
8749 |
+ sed -i \ |
8750 |
+ -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
8751 |
+ -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ |
8752 |
+ -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ |
8753 |
+ -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ |
8754 |
+ -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
8755 |
+ -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
8756 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
8757 |
+ |
8758 |
+ # Never install the private copy of Error.pm (bug #296310) |
8759 |
+ sed -i \ |
8760 |
+ -e '/private-Error.pm/s,^,#,' \ |
8761 |
+ perl/Makefile.PL |
8762 |
+ |
8763 |
+ # Fix docbook2texi command |
8764 |
+ sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ |
8765 |
+ Documentation/Makefile || die "sed failed" |
8766 |
+ |
8767 |
+ # Fix git-subtree missing DESTDIR |
8768 |
+ sed -i \ |
8769 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
8770 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
8771 |
+ contrib/subtree/Makefile |
8772 |
+} |
8773 |
+ |
8774 |
+git_emake() { |
8775 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
8776 |
+ # bug #320647: PYTHON_PATH |
8777 |
+ PYTHON_PATH="" |
8778 |
+ use python && PYTHON_PATH="${PYTHON}" |
8779 |
+ emake ${MY_MAKEOPTS} \ |
8780 |
+ DESTDIR="${D}" \ |
8781 |
+ OPTCFLAGS="${CFLAGS}" \ |
8782 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
8783 |
+ OPTCC="$(tc-getCC)" \ |
8784 |
+ OPTAR="$(tc-getAR)" \ |
8785 |
+ prefix="${EPREFIX}"/usr \ |
8786 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
8787 |
+ sysconfdir="${EPREFIX}"/etc \ |
8788 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
8789 |
+ PERL_MM_OPT="" \ |
8790 |
+ GIT_TEST_OPTS="--no-color" \ |
8791 |
+ V=1 \ |
8792 |
+ "$@" |
8793 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
8794 |
+ # #352693. |
8795 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
8796 |
+} |
8797 |
+ |
8798 |
+src_configure() { |
8799 |
+ exportmakeopts |
8800 |
+} |
8801 |
+ |
8802 |
+src_compile() { |
8803 |
+ if use perl ; then |
8804 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
8805 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
8806 |
+ fi |
8807 |
+ git_emake || die "emake failed" |
8808 |
+ |
8809 |
+ if use emacs ; then |
8810 |
+ elisp-compile contrib/emacs/git{,-blame}.el |
8811 |
+ fi |
8812 |
+ |
8813 |
+ if use perl && use cgi ; then |
8814 |
+ git_emake \ |
8815 |
+ gitweb/gitweb.cgi \ |
8816 |
+ || die "emake gitweb/gitweb.cgi failed" |
8817 |
+ fi |
8818 |
+ |
8819 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
8820 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
8821 |
+ git_emake || die "emake credential-osxkeychain" |
8822 |
+ fi |
8823 |
+ |
8824 |
+ cd "${S}"/Documentation |
8825 |
+ if [[ ${PV} == *9999 ]] ; then |
8826 |
+ git_emake man \ |
8827 |
+ || die "emake man failed" |
8828 |
+ if use doc ; then |
8829 |
+ git_emake info html \ |
8830 |
+ || die "emake info html failed" |
8831 |
+ fi |
8832 |
+ else |
8833 |
+ if use doc ; then |
8834 |
+ git_emake info \ |
8835 |
+ || die "emake info html failed" |
8836 |
+ fi |
8837 |
+ fi |
8838 |
+ |
8839 |
+ if use subversion ; then |
8840 |
+ cd "${S}"/contrib/svn-fe |
8841 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
8842 |
+ if use doc ; then |
8843 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
8844 |
+ fi |
8845 |
+ cd "${S}" |
8846 |
+ fi |
8847 |
+ |
8848 |
+ if use gnome-keyring ; then |
8849 |
+ cd "${S}"/contrib/credential/gnome-keyring |
8850 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
8851 |
+ fi |
8852 |
+ |
8853 |
+ cd "${S}"/contrib/subtree |
8854 |
+ git_emake |
8855 |
+ use doc && git_emake doc |
8856 |
+} |
8857 |
+ |
8858 |
+src_install() { |
8859 |
+ git_emake \ |
8860 |
+ install || \ |
8861 |
+ die "make install failed" |
8862 |
+ |
8863 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
8864 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
8865 |
+ fi |
8866 |
+ |
8867 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
8868 |
+ # manpages may exist in either OR both of these directories. |
8869 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
8870 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
8871 |
+ |
8872 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
8873 |
+ use doc && dodir /usr/share/doc/${PF}/html |
8874 |
+ for d in / /howto/ /technical/ ; do |
8875 |
+ docinto ${d} |
8876 |
+ dodoc Documentation${d}*.txt |
8877 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
8878 |
+ done |
8879 |
+ docinto / |
8880 |
+ # Upstream does not ship this pre-built :-( |
8881 |
+ use doc && doinfo Documentation/{git,gitman}.info |
8882 |
+ |
8883 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
8884 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
8885 |
+ |
8886 |
+ if use emacs ; then |
8887 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} |
8888 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
8889 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
8890 |
+ # don't add automatically to the load-path, so the sitefile |
8891 |
+ # can do a conditional loading |
8892 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
8893 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
8894 |
+ fi |
8895 |
+ |
8896 |
+ if use python && use gtk ; then |
8897 |
+ python_doscript "${S}"/contrib/gitview/gitview |
8898 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
8899 |
+ fi |
8900 |
+ |
8901 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
8902 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
8903 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
8904 |
+ exeinto /usr/libexec/git-core/ |
8905 |
+ newexe contrib/git-resurrect.sh git-resurrect |
8906 |
+ |
8907 |
+ # git-subtree |
8908 |
+ cd "${S}"/contrib/subtree |
8909 |
+ git_emake install || die "Failed to emake install git-subtree" |
8910 |
+ if use doc ; then |
8911 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
8912 |
+ fi |
8913 |
+ newdoc README README.git-subtree |
8914 |
+ dodoc git-subtree.txt |
8915 |
+ cd "${S}" |
8916 |
+ |
8917 |
+ # git-diffall |
8918 |
+ dobin contrib/diffall/git-diffall |
8919 |
+ newdoc contrib/diffall/README git-diffall.txt |
8920 |
+ |
8921 |
+ # diff-highlight |
8922 |
+ dobin contrib/diff-highlight/diff-highlight |
8923 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
8924 |
+ |
8925 |
+ # git-jump |
8926 |
+ exeinto /usr/libexec/git-core/ |
8927 |
+ doexe contrib/git-jump/git-jump |
8928 |
+ newdoc contrib/git-jump/README git-jump.txt |
8929 |
+ |
8930 |
+ # git-contacts |
8931 |
+ exeinto /usr/libexec/git-core/ |
8932 |
+ doexe contrib/contacts/git-contacts |
8933 |
+ dodoc contrib/contacts/git-contacts.txt |
8934 |
+ |
8935 |
+ if use gnome-keyring ; then |
8936 |
+ cd "${S}"/contrib/credential/gnome-keyring |
8937 |
+ dobin git-credential-gnome-keyring |
8938 |
+ fi |
8939 |
+ |
8940 |
+ if use subversion ; then |
8941 |
+ cd "${S}"/contrib/svn-fe |
8942 |
+ dobin svn-fe |
8943 |
+ dodoc svn-fe.txt |
8944 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
8945 |
+ cd "${S}" |
8946 |
+ fi |
8947 |
+ |
8948 |
+ # remote-helpers |
8949 |
+ if use python ; then |
8950 |
+ python_scriptinto /usr/libexec/git-core/ |
8951 |
+ python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg} |
8952 |
+ python_optimize |
8953 |
+ fi |
8954 |
+ |
8955 |
+ dodir /usr/share/${PN}/contrib |
8956 |
+ # The following are excluded: |
8957 |
+ # completion - installed above |
8958 |
+ # credential/gnome-keyring TODO |
8959 |
+ # diff-highlight - done above |
8960 |
+ # diffall - done above |
8961 |
+ # emacs - installed above |
8962 |
+ # examples - these are stuff that is not used in Git anymore actually |
8963 |
+ # git-jump - done above |
8964 |
+ # gitview - installed above |
8965 |
+ # p4import - excluded because fast-import has a better one |
8966 |
+ # patches - stuff the Git guys made to go upstream to other places |
8967 |
+ # persistent-https - TODO |
8968 |
+ # mw-to-git - TODO |
8969 |
+ # subtree - build seperately |
8970 |
+ # svnimport - use git-svn |
8971 |
+ # thunderbird-patch-inline - fixes thunderbird |
8972 |
+ for i in \ |
8973 |
+ buildsystems ciabot convert-objects fast-import \ |
8974 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
8975 |
+ stats vim workdir \ |
8976 |
+ ; do |
8977 |
+ cp -rf \ |
8978 |
+ "${S}"/contrib/${i} \ |
8979 |
+ "${ED}"/usr/share/${PN}/contrib \ |
8980 |
+ || die "Failed contrib ${i}" |
8981 |
+ done |
8982 |
+ |
8983 |
+ if use perl && use cgi ; then |
8984 |
+ # We used to install in /usr/share/${PN}/gitweb |
8985 |
+ # but upstream installs in /usr/share/gitweb |
8986 |
+ # so we will install a symlink and use their location for compat with other |
8987 |
+ # distros |
8988 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
8989 |
+ |
8990 |
+ # INSTALL discusses configuration issues, not just installation |
8991 |
+ docinto / |
8992 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
8993 |
+ newdoc "${S}"/gitweb/README README.gitweb |
8994 |
+ |
8995 |
+ find "${ED}"/usr/lib64/perl5/ \ |
8996 |
+ -name .packlist \ |
8997 |
+ -exec rm \{\} \; |
8998 |
+ else |
8999 |
+ rm -rf "${ED}"/usr/share/gitweb |
9000 |
+ fi |
9001 |
+ |
9002 |
+ if ! use subversion ; then |
9003 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
9004 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
9005 |
+ fi |
9006 |
+ |
9007 |
+ if use xinetd ; then |
9008 |
+ insinto /etc/xinetd.d |
9009 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
9010 |
+ fi |
9011 |
+ |
9012 |
+ if use !prefix ; then |
9013 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
9014 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
9015 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
9016 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
9017 |
+ fi |
9018 |
+ |
9019 |
+ fixlocalpod |
9020 |
+} |
9021 |
+ |
9022 |
+src_test() { |
9023 |
+ local disabled="" |
9024 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
9025 |
+ t9400-git-cvsserver-server.sh \ |
9026 |
+ t9401-git-cvsserver-crlf.sh \ |
9027 |
+ t9402-git-cvsserver-refs.sh \ |
9028 |
+ t9600-cvsimport.sh \ |
9029 |
+ t9601-cvsimport-vendor-branch.sh \ |
9030 |
+ t9602-cvsimport-branches-tags.sh \ |
9031 |
+ t9603-cvsimport-patchsets.sh \ |
9032 |
+ t9604-cvsimport-timestamps.sh" |
9033 |
+ local tests_perl="t3701-add-interactive.sh \ |
9034 |
+ t5502-quickfetch.sh \ |
9035 |
+ t5512-ls-remote.sh \ |
9036 |
+ t5520-pull.sh \ |
9037 |
+ t7106-reset-unborn-branch.sh \ |
9038 |
+ t7501-commit.sh" |
9039 |
+ # Bug #225601 - t0004 is not suitable for root perm |
9040 |
+ # Bug #219839 - t1004 is not suitable for root perm |
9041 |
+ # t0001-init.sh - check for init notices EPERM* fails |
9042 |
+ local tests_nonroot="t0001-init.sh \ |
9043 |
+ t0004-unwritable.sh \ |
9044 |
+ t0070-fundamental.sh \ |
9045 |
+ t1004-read-tree-m-u-wf.sh \ |
9046 |
+ t3700-add.sh \ |
9047 |
+ t7300-clean.sh" |
9048 |
+ # t9100 still fails with symlinks in SVN 1.7 |
9049 |
+ local test_svn="t9100-git-svn-basic.sh" |
9050 |
+ |
9051 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
9052 |
+ if ! has_version app-arch/unzip ; then |
9053 |
+ einfo "Disabling tar-tree tests" |
9054 |
+ disabled="${disabled} t5000-tar-tree.sh" |
9055 |
+ fi |
9056 |
+ |
9057 |
+ cvs=0 |
9058 |
+ use cvs && let cvs=$cvs+1 |
9059 |
+ if [[ ${EUID} -eq 0 ]]; then |
9060 |
+ if [[ $cvs -eq 1 ]]; then |
9061 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
9062 |
+ ewarn "You should retest with FEATURES=userpriv!" |
9063 |
+ disabled="${disabled} ${tests_cvs}" |
9064 |
+ fi |
9065 |
+ einfo "Skipping other tests that require being non-root" |
9066 |
+ disabled="${disabled} ${tests_nonroot}" |
9067 |
+ else |
9068 |
+ [[ $cvs -gt 0 ]] && \ |
9069 |
+ has_version dev-vcs/cvs && \ |
9070 |
+ let cvs=$cvs+1 |
9071 |
+ [[ $cvs -gt 1 ]] && \ |
9072 |
+ has_version "dev-vcs/cvs[server]" && \ |
9073 |
+ let cvs=$cvs+1 |
9074 |
+ if [[ $cvs -lt 3 ]]; then |
9075 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
9076 |
+ disabled="${disabled} ${tests_cvs}" |
9077 |
+ fi |
9078 |
+ fi |
9079 |
+ |
9080 |
+ if ! use perl ; then |
9081 |
+ einfo "Disabling tests that need Perl" |
9082 |
+ disabled="${disabled} ${tests_perl}" |
9083 |
+ fi |
9084 |
+ |
9085 |
+ einfo "Disabling tests that fail with SVN 1.7" |
9086 |
+ disabled="${disabled} ${test_svn}" |
9087 |
+ |
9088 |
+ # Reset all previously disabled tests |
9089 |
+ cd "${S}/t" |
9090 |
+ for i in *.sh.DISABLED ; do |
9091 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
9092 |
+ done |
9093 |
+ einfo "Disabled tests:" |
9094 |
+ for i in ${disabled} ; do |
9095 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
9096 |
+ done |
9097 |
+ |
9098 |
+ # Avoid the test system removing the results because we want them ourselves |
9099 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
9100 |
+ -i "${S}"/t/Makefile |
9101 |
+ |
9102 |
+ # Clean old results first, must always run |
9103 |
+ cd "${S}/t" |
9104 |
+ nonfatal git_emake clean |
9105 |
+ |
9106 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
9107 |
+ # failure |
9108 |
+ cd "${S}" |
9109 |
+ einfo "Start test run" |
9110 |
+ #MAKEOPTS=-j1 |
9111 |
+ nonfatal git_emake --keep-going test |
9112 |
+ rc=$? |
9113 |
+ |
9114 |
+ # Display nice results, now print the results |
9115 |
+ cd "${S}/t" |
9116 |
+ nonfatal git_emake aggregate-results |
9117 |
+ |
9118 |
+ # And bail if there was a problem |
9119 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
9120 |
+} |
9121 |
+ |
9122 |
+showpkgdeps() { |
9123 |
+ local pkg=$1 |
9124 |
+ shift |
9125 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
9126 |
+} |
9127 |
+ |
9128 |
+pkg_postinst() { |
9129 |
+ use emacs && elisp-site-regen |
9130 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
9131 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
9132 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
9133 |
+ elog "These additional scripts need some dependencies:" |
9134 |
+ echo |
9135 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
9136 |
+ showpkgdeps git-instaweb \ |
9137 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
9138 |
+ echo |
9139 |
+} |
9140 |
+ |
9141 |
+pkg_postrm() { |
9142 |
+ use emacs && elisp-site-regen |
9143 |
+} |
9144 |
|
9145 |
diff --git a/dev-vcs/git/git-1.8.5.1.ebuild b/dev-vcs/git/git-1.8.5.1.ebuild |
9146 |
new file mode 100644 |
9147 |
index 0000000..9262d6c |
9148 |
--- /dev/null |
9149 |
+++ b/dev-vcs/git/git-1.8.5.1.ebuild |
9150 |
@@ -0,0 +1,619 @@ |
9151 |
+# Copyright 1999-2013 Gentoo Foundation |
9152 |
+# Distributed under the terms of the GNU General Public License v2 |
9153 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.5.1.ebuild,v 1.2 2013/12/11 10:27:22 polynomial-c Exp $ |
9154 |
+ |
9155 |
+EAPI=5 |
9156 |
+ |
9157 |
+GENTOO_DEPEND_ON_PERL=no |
9158 |
+ |
9159 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
9160 |
+PYTHON_COMPAT=( python2_{6,7} ) |
9161 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
9162 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
9163 |
+ |
9164 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
9165 |
+ |
9166 |
+MY_PV="${PV/_rc/.rc}" |
9167 |
+MY_P="${PN}-${MY_PV}" |
9168 |
+ |
9169 |
+DOC_VER=${MY_PV} |
9170 |
+ |
9171 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
9172 |
+HOMEPAGE="http://www.git-scm.com/" |
9173 |
+if [[ ${PV} != *9999 ]]; then |
9174 |
+ SRC_URI_SUFFIX="gz" |
9175 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
9176 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
9177 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
9178 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
9179 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9180 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9181 |
+ doc? ( |
9182 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9183 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9184 |
+ )" |
9185 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
9186 |
+else |
9187 |
+ SRC_URI="" |
9188 |
+ KEYWORDS="" |
9189 |
+fi |
9190 |
+ |
9191 |
+LICENSE="GPL-2" |
9192 |
+SLOT="0" |
9193 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
9194 |
+ |
9195 |
+# Common to both DEPEND and RDEPEND |
9196 |
+CDEPEND=" |
9197 |
+ dev-libs/openssl |
9198 |
+ sys-libs/zlib |
9199 |
+ pcre? ( dev-libs/libpcre ) |
9200 |
+ perl? ( dev-lang/perl[-build(-)] ) |
9201 |
+ tk? ( dev-lang/tk ) |
9202 |
+ curl? ( |
9203 |
+ net-misc/curl |
9204 |
+ webdav? ( dev-libs/expat ) |
9205 |
+ ) |
9206 |
+ emacs? ( virtual/emacs ) |
9207 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
9208 |
+ |
9209 |
+RDEPEND="${CDEPEND} |
9210 |
+ gpg? ( app-crypt/gnupg ) |
9211 |
+ perl? ( dev-perl/Error |
9212 |
+ dev-perl/Net-SMTP-SSL |
9213 |
+ dev-perl/Authen-SASL |
9214 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
9215 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
9216 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
9217 |
+ ) |
9218 |
+ python? ( gtk? |
9219 |
+ ( |
9220 |
+ >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
9221 |
+ >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
9222 |
+ ) |
9223 |
+ ${PYTHON_DEPS} )" |
9224 |
+ |
9225 |
+# This is how info docs are created with Git: |
9226 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
9227 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
9228 |
+# .texi --(makeinfo)---------> .info |
9229 |
+DEPEND="${CDEPEND} |
9230 |
+ app-arch/cpio |
9231 |
+ doc? ( |
9232 |
+ app-text/asciidoc |
9233 |
+ app-text/docbook2X |
9234 |
+ sys-apps/texinfo |
9235 |
+ app-text/xmlto |
9236 |
+ ) |
9237 |
+ test? ( |
9238 |
+ app-crypt/gnupg |
9239 |
+ )" |
9240 |
+ |
9241 |
+# Live ebuild builds man pages and HTML docs, additionally |
9242 |
+if [[ ${PV} == *9999 ]]; then |
9243 |
+ DEPEND="${DEPEND} |
9244 |
+ app-text/asciidoc" |
9245 |
+fi |
9246 |
+ |
9247 |
+SITEFILE=50${PN}-gentoo.el |
9248 |
+S="${WORKDIR}/${MY_P}" |
9249 |
+ |
9250 |
+REQUIRED_USE=" |
9251 |
+ cgi? ( perl ) |
9252 |
+ cvs? ( perl ) |
9253 |
+ subversion? ( perl ) |
9254 |
+ webdav? ( curl ) |
9255 |
+ gtk? ( python ) |
9256 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
9257 |
+" |
9258 |
+ |
9259 |
+pkg_setup() { |
9260 |
+ if use subversion && has_version "dev-vcs/subversion[dso]"; then |
9261 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
9262 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
9263 |
+ ewarn "have been warned." |
9264 |
+ fi |
9265 |
+ if use python ; then |
9266 |
+ python-single-r1_pkg_setup |
9267 |
+ fi |
9268 |
+} |
9269 |
+ |
9270 |
+# This is needed because for some obscure reasons future calls to make don't |
9271 |
+# pick up these exports if we export them in src_unpack() |
9272 |
+exportmakeopts() { |
9273 |
+ local myopts |
9274 |
+ |
9275 |
+ if use blksha1 ; then |
9276 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
9277 |
+ elif use ppcsha1 ; then |
9278 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
9279 |
+ fi |
9280 |
+ |
9281 |
+ if use curl ; then |
9282 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
9283 |
+ else |
9284 |
+ myopts="${myopts} NO_CURL=YesPlease" |
9285 |
+ fi |
9286 |
+ |
9287 |
+ # broken assumptions, because of broken build system ... |
9288 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
9289 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
9290 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
9291 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
9292 |
+ myopts="${myopts} OLD_ICONV=" |
9293 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
9294 |
+ |
9295 |
+ # For svn-fe |
9296 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
9297 |
+ |
9298 |
+ # can't define this to null, since the entire makefile depends on it |
9299 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
9300 |
+ |
9301 |
+ use iconv \ |
9302 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
9303 |
+ use nls \ |
9304 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
9305 |
+ use tk \ |
9306 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
9307 |
+ use pcre \ |
9308 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
9309 |
+ && extlibs="${extlibs} -lpcre" |
9310 |
+ use perl \ |
9311 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
9312 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
9313 |
+ use python \ |
9314 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
9315 |
+ use subversion \ |
9316 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
9317 |
+ use threads \ |
9318 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \ |
9319 |
+ || myopts="${myopts} NO_PTHREADS=YesPlease" |
9320 |
+ use cvs \ |
9321 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
9322 |
+# Disabled until ~m68k-mint can be keyworded again |
9323 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
9324 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
9325 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
9326 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
9327 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
9328 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
9329 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
9330 |
+# fi |
9331 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
9332 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
9333 |
+ fi |
9334 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
9335 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
9336 |
+ fi |
9337 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
9338 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
9339 |
+ fi |
9340 |
+ |
9341 |
+ has_version '>=app-text/asciidoc-8.0' \ |
9342 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
9343 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
9344 |
+ |
9345 |
+ # Bug 290465: |
9346 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
9347 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
9348 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
9349 |
+ |
9350 |
+ export MY_MAKEOPTS="${myopts}" |
9351 |
+ export EXTLIBS="${extlibs}" |
9352 |
+} |
9353 |
+ |
9354 |
+src_unpack() { |
9355 |
+ if [[ ${PV} != *9999 ]]; then |
9356 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
9357 |
+ cd "${S}" |
9358 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9359 |
+ use doc && \ |
9360 |
+ cd "${S}"/Documentation && \ |
9361 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9362 |
+ cd "${S}" |
9363 |
+ else |
9364 |
+ git-2_src_unpack |
9365 |
+ cd "${S}" |
9366 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
9367 |
+ fi |
9368 |
+ |
9369 |
+} |
9370 |
+ |
9371 |
+src_prepare() { |
9372 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
9373 |
+ epatch "${FILESDIR}"/git-1.8.5-optional-cvs.patch |
9374 |
+ |
9375 |
+ sed -i \ |
9376 |
+ -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
9377 |
+ -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ |
9378 |
+ -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ |
9379 |
+ -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ |
9380 |
+ -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
9381 |
+ -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
9382 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
9383 |
+ |
9384 |
+ # Never install the private copy of Error.pm (bug #296310) |
9385 |
+ sed -i \ |
9386 |
+ -e '/private-Error.pm/s,^,#,' \ |
9387 |
+ perl/Makefile.PL |
9388 |
+ |
9389 |
+ # Fix docbook2texi command |
9390 |
+ sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ |
9391 |
+ Documentation/Makefile || die "sed failed" |
9392 |
+ |
9393 |
+ # Fix git-subtree missing DESTDIR |
9394 |
+ sed -i \ |
9395 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
9396 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
9397 |
+ contrib/subtree/Makefile |
9398 |
+} |
9399 |
+ |
9400 |
+git_emake() { |
9401 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
9402 |
+ # bug #320647: PYTHON_PATH |
9403 |
+ PYTHON_PATH="" |
9404 |
+ use python && PYTHON_PATH="${PYTHON}" |
9405 |
+ emake ${MY_MAKEOPTS} \ |
9406 |
+ DESTDIR="${D}" \ |
9407 |
+ OPTCFLAGS="${CFLAGS}" \ |
9408 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
9409 |
+ OPTCC="$(tc-getCC)" \ |
9410 |
+ OPTAR="$(tc-getAR)" \ |
9411 |
+ prefix="${EPREFIX}"/usr \ |
9412 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
9413 |
+ sysconfdir="${EPREFIX}"/etc \ |
9414 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
9415 |
+ PERL_MM_OPT="" \ |
9416 |
+ GIT_TEST_OPTS="--no-color" \ |
9417 |
+ V=1 \ |
9418 |
+ "$@" |
9419 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
9420 |
+ # #352693. |
9421 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
9422 |
+} |
9423 |
+ |
9424 |
+src_configure() { |
9425 |
+ exportmakeopts |
9426 |
+} |
9427 |
+ |
9428 |
+src_compile() { |
9429 |
+ if use perl ; then |
9430 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
9431 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
9432 |
+ fi |
9433 |
+ git_emake || die "emake failed" |
9434 |
+ |
9435 |
+ if use emacs ; then |
9436 |
+ elisp-compile contrib/emacs/git{,-blame}.el |
9437 |
+ fi |
9438 |
+ |
9439 |
+ if use perl && use cgi ; then |
9440 |
+ git_emake \ |
9441 |
+ gitweb/gitweb.cgi \ |
9442 |
+ || die "emake gitweb/gitweb.cgi failed" |
9443 |
+ fi |
9444 |
+ |
9445 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
9446 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
9447 |
+ git_emake || die "emake credential-osxkeychain" |
9448 |
+ fi |
9449 |
+ |
9450 |
+ cd "${S}"/Documentation |
9451 |
+ if [[ ${PV} == *9999 ]] ; then |
9452 |
+ git_emake man \ |
9453 |
+ || die "emake man failed" |
9454 |
+ if use doc ; then |
9455 |
+ git_emake info html \ |
9456 |
+ || die "emake info html failed" |
9457 |
+ fi |
9458 |
+ else |
9459 |
+ if use doc ; then |
9460 |
+ git_emake info \ |
9461 |
+ || die "emake info html failed" |
9462 |
+ fi |
9463 |
+ fi |
9464 |
+ |
9465 |
+ if use subversion ; then |
9466 |
+ cd "${S}"/contrib/svn-fe |
9467 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
9468 |
+ if use doc ; then |
9469 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
9470 |
+ fi |
9471 |
+ cd "${S}" |
9472 |
+ fi |
9473 |
+ |
9474 |
+ if use gnome-keyring ; then |
9475 |
+ cd "${S}"/contrib/credential/gnome-keyring |
9476 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
9477 |
+ fi |
9478 |
+ |
9479 |
+ cd "${S}"/contrib/subtree |
9480 |
+ git_emake |
9481 |
+ use doc && git_emake doc |
9482 |
+} |
9483 |
+ |
9484 |
+src_install() { |
9485 |
+ git_emake \ |
9486 |
+ install || \ |
9487 |
+ die "make install failed" |
9488 |
+ |
9489 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
9490 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
9491 |
+ fi |
9492 |
+ |
9493 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
9494 |
+ # manpages may exist in either OR both of these directories. |
9495 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
9496 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
9497 |
+ |
9498 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
9499 |
+ use doc && dodir /usr/share/doc/${PF}/html |
9500 |
+ for d in / /howto/ /technical/ ; do |
9501 |
+ docinto ${d} |
9502 |
+ dodoc Documentation${d}*.txt |
9503 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
9504 |
+ done |
9505 |
+ docinto / |
9506 |
+ # Upstream does not ship this pre-built :-( |
9507 |
+ use doc && doinfo Documentation/{git,gitman}.info |
9508 |
+ |
9509 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
9510 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
9511 |
+ |
9512 |
+ if use emacs ; then |
9513 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} |
9514 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
9515 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
9516 |
+ # don't add automatically to the load-path, so the sitefile |
9517 |
+ # can do a conditional loading |
9518 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
9519 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
9520 |
+ fi |
9521 |
+ |
9522 |
+ if use python && use gtk ; then |
9523 |
+ python_doscript "${S}"/contrib/gitview/gitview |
9524 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
9525 |
+ fi |
9526 |
+ |
9527 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
9528 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
9529 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
9530 |
+ exeinto /usr/libexec/git-core/ |
9531 |
+ newexe contrib/git-resurrect.sh git-resurrect |
9532 |
+ |
9533 |
+ # git-subtree |
9534 |
+ cd "${S}"/contrib/subtree |
9535 |
+ git_emake install || die "Failed to emake install git-subtree" |
9536 |
+ if use doc ; then |
9537 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
9538 |
+ fi |
9539 |
+ newdoc README README.git-subtree |
9540 |
+ dodoc git-subtree.txt |
9541 |
+ cd "${S}" |
9542 |
+ |
9543 |
+ # git-diffall |
9544 |
+ dobin contrib/diffall/git-diffall |
9545 |
+ newdoc contrib/diffall/README git-diffall.txt |
9546 |
+ |
9547 |
+ # diff-highlight |
9548 |
+ dobin contrib/diff-highlight/diff-highlight |
9549 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
9550 |
+ |
9551 |
+ # git-jump |
9552 |
+ exeinto /usr/libexec/git-core/ |
9553 |
+ doexe contrib/git-jump/git-jump |
9554 |
+ newdoc contrib/git-jump/README git-jump.txt |
9555 |
+ |
9556 |
+ # git-contacts |
9557 |
+ exeinto /usr/libexec/git-core/ |
9558 |
+ doexe contrib/contacts/git-contacts |
9559 |
+ dodoc contrib/contacts/git-contacts.txt |
9560 |
+ |
9561 |
+ if use gnome-keyring ; then |
9562 |
+ cd "${S}"/contrib/credential/gnome-keyring |
9563 |
+ dobin git-credential-gnome-keyring |
9564 |
+ fi |
9565 |
+ |
9566 |
+ if use subversion ; then |
9567 |
+ cd "${S}"/contrib/svn-fe |
9568 |
+ dobin svn-fe |
9569 |
+ dodoc svn-fe.txt |
9570 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
9571 |
+ cd "${S}" |
9572 |
+ fi |
9573 |
+ |
9574 |
+ # remote-helpers |
9575 |
+ if use python ; then |
9576 |
+ python_scriptinto /usr/libexec/git-core/ |
9577 |
+ python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg} |
9578 |
+ python_optimize |
9579 |
+ fi |
9580 |
+ |
9581 |
+ dodir /usr/share/${PN}/contrib |
9582 |
+ # The following are excluded: |
9583 |
+ # completion - installed above |
9584 |
+ # credential/gnome-keyring TODO |
9585 |
+ # diff-highlight - done above |
9586 |
+ # diffall - done above |
9587 |
+ # emacs - installed above |
9588 |
+ # examples - these are stuff that is not used in Git anymore actually |
9589 |
+ # git-jump - done above |
9590 |
+ # gitview - installed above |
9591 |
+ # p4import - excluded because fast-import has a better one |
9592 |
+ # patches - stuff the Git guys made to go upstream to other places |
9593 |
+ # persistent-https - TODO |
9594 |
+ # mw-to-git - TODO |
9595 |
+ # subtree - build seperately |
9596 |
+ # svnimport - use git-svn |
9597 |
+ # thunderbird-patch-inline - fixes thunderbird |
9598 |
+ for i in \ |
9599 |
+ buildsystems convert-objects fast-import \ |
9600 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
9601 |
+ stats vim workdir \ |
9602 |
+ ; do |
9603 |
+ cp -rf \ |
9604 |
+ "${S}"/contrib/${i} \ |
9605 |
+ "${ED}"/usr/share/${PN}/contrib \ |
9606 |
+ || die "Failed contrib ${i}" |
9607 |
+ done |
9608 |
+ |
9609 |
+ if use perl && use cgi ; then |
9610 |
+ # We used to install in /usr/share/${PN}/gitweb |
9611 |
+ # but upstream installs in /usr/share/gitweb |
9612 |
+ # so we will install a symlink and use their location for compat with other |
9613 |
+ # distros |
9614 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
9615 |
+ |
9616 |
+ # INSTALL discusses configuration issues, not just installation |
9617 |
+ docinto / |
9618 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
9619 |
+ newdoc "${S}"/gitweb/README README.gitweb |
9620 |
+ |
9621 |
+ find "${ED}"/usr/lib64/perl5/ \ |
9622 |
+ -name .packlist \ |
9623 |
+ -exec rm \{\} \; |
9624 |
+ else |
9625 |
+ rm -rf "${ED}"/usr/share/gitweb |
9626 |
+ fi |
9627 |
+ |
9628 |
+ if ! use subversion ; then |
9629 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
9630 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
9631 |
+ fi |
9632 |
+ |
9633 |
+ if use xinetd ; then |
9634 |
+ insinto /etc/xinetd.d |
9635 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
9636 |
+ fi |
9637 |
+ |
9638 |
+ if use !prefix ; then |
9639 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
9640 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
9641 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
9642 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
9643 |
+ fi |
9644 |
+ |
9645 |
+ fixlocalpod |
9646 |
+} |
9647 |
+ |
9648 |
+src_test() { |
9649 |
+ local disabled="" |
9650 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
9651 |
+ t9400-git-cvsserver-server.sh \ |
9652 |
+ t9401-git-cvsserver-crlf.sh \ |
9653 |
+ t9402-git-cvsserver-refs.sh \ |
9654 |
+ t9600-cvsimport.sh \ |
9655 |
+ t9601-cvsimport-vendor-branch.sh \ |
9656 |
+ t9602-cvsimport-branches-tags.sh \ |
9657 |
+ t9603-cvsimport-patchsets.sh \ |
9658 |
+ t9604-cvsimport-timestamps.sh" |
9659 |
+ local tests_perl="t3701-add-interactive.sh \ |
9660 |
+ t5502-quickfetch.sh \ |
9661 |
+ t5512-ls-remote.sh \ |
9662 |
+ t5520-pull.sh \ |
9663 |
+ t7106-reset-unborn-branch.sh \ |
9664 |
+ t7501-commit.sh" |
9665 |
+ # Bug #225601 - t0004 is not suitable for root perm |
9666 |
+ # Bug #219839 - t1004 is not suitable for root perm |
9667 |
+ # t0001-init.sh - check for init notices EPERM* fails |
9668 |
+ local tests_nonroot="t0001-init.sh \ |
9669 |
+ t0004-unwritable.sh \ |
9670 |
+ t0070-fundamental.sh \ |
9671 |
+ t1004-read-tree-m-u-wf.sh \ |
9672 |
+ t3700-add.sh \ |
9673 |
+ t7300-clean.sh" |
9674 |
+ # t9100 still fails with symlinks in SVN 1.7 |
9675 |
+ local test_svn="t9100-git-svn-basic.sh" |
9676 |
+ |
9677 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
9678 |
+ if ! has_version app-arch/unzip ; then |
9679 |
+ einfo "Disabling tar-tree tests" |
9680 |
+ disabled="${disabled} t5000-tar-tree.sh" |
9681 |
+ fi |
9682 |
+ |
9683 |
+ cvs=0 |
9684 |
+ use cvs && let cvs=$cvs+1 |
9685 |
+ if [[ ${EUID} -eq 0 ]]; then |
9686 |
+ if [[ $cvs -eq 1 ]]; then |
9687 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
9688 |
+ ewarn "You should retest with FEATURES=userpriv!" |
9689 |
+ disabled="${disabled} ${tests_cvs}" |
9690 |
+ fi |
9691 |
+ einfo "Skipping other tests that require being non-root" |
9692 |
+ disabled="${disabled} ${tests_nonroot}" |
9693 |
+ else |
9694 |
+ [[ $cvs -gt 0 ]] && \ |
9695 |
+ has_version dev-vcs/cvs && \ |
9696 |
+ let cvs=$cvs+1 |
9697 |
+ [[ $cvs -gt 1 ]] && \ |
9698 |
+ has_version "dev-vcs/cvs[server]" && \ |
9699 |
+ let cvs=$cvs+1 |
9700 |
+ if [[ $cvs -lt 3 ]]; then |
9701 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
9702 |
+ disabled="${disabled} ${tests_cvs}" |
9703 |
+ fi |
9704 |
+ fi |
9705 |
+ |
9706 |
+ if ! use perl ; then |
9707 |
+ einfo "Disabling tests that need Perl" |
9708 |
+ disabled="${disabled} ${tests_perl}" |
9709 |
+ fi |
9710 |
+ |
9711 |
+ einfo "Disabling tests that fail with SVN 1.7" |
9712 |
+ disabled="${disabled} ${test_svn}" |
9713 |
+ |
9714 |
+ # Reset all previously disabled tests |
9715 |
+ cd "${S}/t" |
9716 |
+ for i in *.sh.DISABLED ; do |
9717 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
9718 |
+ done |
9719 |
+ einfo "Disabled tests:" |
9720 |
+ for i in ${disabled} ; do |
9721 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
9722 |
+ done |
9723 |
+ |
9724 |
+ # Avoid the test system removing the results because we want them ourselves |
9725 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
9726 |
+ -i "${S}"/t/Makefile |
9727 |
+ |
9728 |
+ # Clean old results first, must always run |
9729 |
+ cd "${S}/t" |
9730 |
+ nonfatal git_emake clean |
9731 |
+ |
9732 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
9733 |
+ # failure |
9734 |
+ cd "${S}" |
9735 |
+ einfo "Start test run" |
9736 |
+ #MAKEOPTS=-j1 |
9737 |
+ nonfatal git_emake --keep-going test |
9738 |
+ rc=$? |
9739 |
+ |
9740 |
+ # Display nice results, now print the results |
9741 |
+ cd "${S}/t" |
9742 |
+ nonfatal git_emake aggregate-results |
9743 |
+ |
9744 |
+ # And bail if there was a problem |
9745 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
9746 |
+} |
9747 |
+ |
9748 |
+showpkgdeps() { |
9749 |
+ local pkg=$1 |
9750 |
+ shift |
9751 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
9752 |
+} |
9753 |
+ |
9754 |
+pkg_postinst() { |
9755 |
+ use emacs && elisp-site-regen |
9756 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
9757 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
9758 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
9759 |
+ elog "These additional scripts need some dependencies:" |
9760 |
+ echo |
9761 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
9762 |
+ showpkgdeps git-instaweb \ |
9763 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
9764 |
+ echo |
9765 |
+} |
9766 |
+ |
9767 |
+pkg_postrm() { |
9768 |
+ use emacs && elisp-site-regen |
9769 |
+} |
9770 |
|
9771 |
diff --git a/dev-vcs/git/git-1.8.5.2.ebuild b/dev-vcs/git/git-1.8.5.2.ebuild |
9772 |
new file mode 100644 |
9773 |
index 0000000..048f393 |
9774 |
--- /dev/null |
9775 |
+++ b/dev-vcs/git/git-1.8.5.2.ebuild |
9776 |
@@ -0,0 +1,619 @@ |
9777 |
+# Copyright 1999-2013 Gentoo Foundation |
9778 |
+# Distributed under the terms of the GNU General Public License v2 |
9779 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.5.2.ebuild,v 1.1 2013/12/18 12:19:16 polynomial-c Exp $ |
9780 |
+ |
9781 |
+EAPI=5 |
9782 |
+ |
9783 |
+GENTOO_DEPEND_ON_PERL=no |
9784 |
+ |
9785 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
9786 |
+PYTHON_COMPAT=( python2_{6,7} ) |
9787 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
9788 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
9789 |
+ |
9790 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
9791 |
+ |
9792 |
+MY_PV="${PV/_rc/.rc}" |
9793 |
+MY_P="${PN}-${MY_PV}" |
9794 |
+ |
9795 |
+DOC_VER=${MY_PV} |
9796 |
+ |
9797 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
9798 |
+HOMEPAGE="http://www.git-scm.com/" |
9799 |
+if [[ ${PV} != *9999 ]]; then |
9800 |
+ SRC_URI_SUFFIX="gz" |
9801 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
9802 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
9803 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
9804 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
9805 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9806 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9807 |
+ doc? ( |
9808 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9809 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9810 |
+ )" |
9811 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
9812 |
+else |
9813 |
+ SRC_URI="" |
9814 |
+ KEYWORDS="" |
9815 |
+fi |
9816 |
+ |
9817 |
+LICENSE="GPL-2" |
9818 |
+SLOT="0" |
9819 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
9820 |
+ |
9821 |
+# Common to both DEPEND and RDEPEND |
9822 |
+CDEPEND=" |
9823 |
+ dev-libs/openssl |
9824 |
+ sys-libs/zlib |
9825 |
+ pcre? ( dev-libs/libpcre ) |
9826 |
+ perl? ( dev-lang/perl[-build(-)] ) |
9827 |
+ tk? ( dev-lang/tk ) |
9828 |
+ curl? ( |
9829 |
+ net-misc/curl |
9830 |
+ webdav? ( dev-libs/expat ) |
9831 |
+ ) |
9832 |
+ emacs? ( virtual/emacs ) |
9833 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
9834 |
+ |
9835 |
+RDEPEND="${CDEPEND} |
9836 |
+ gpg? ( app-crypt/gnupg ) |
9837 |
+ perl? ( dev-perl/Error |
9838 |
+ dev-perl/Net-SMTP-SSL |
9839 |
+ dev-perl/Authen-SASL |
9840 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
9841 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
9842 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
9843 |
+ ) |
9844 |
+ python? ( gtk? |
9845 |
+ ( |
9846 |
+ >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
9847 |
+ >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
9848 |
+ ) |
9849 |
+ ${PYTHON_DEPS} )" |
9850 |
+ |
9851 |
+# This is how info docs are created with Git: |
9852 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
9853 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
9854 |
+# .texi --(makeinfo)---------> .info |
9855 |
+DEPEND="${CDEPEND} |
9856 |
+ app-arch/cpio |
9857 |
+ doc? ( |
9858 |
+ app-text/asciidoc |
9859 |
+ app-text/docbook2X |
9860 |
+ sys-apps/texinfo |
9861 |
+ app-text/xmlto |
9862 |
+ ) |
9863 |
+ test? ( |
9864 |
+ app-crypt/gnupg |
9865 |
+ )" |
9866 |
+ |
9867 |
+# Live ebuild builds man pages and HTML docs, additionally |
9868 |
+if [[ ${PV} == *9999 ]]; then |
9869 |
+ DEPEND="${DEPEND} |
9870 |
+ app-text/asciidoc" |
9871 |
+fi |
9872 |
+ |
9873 |
+SITEFILE=50${PN}-gentoo.el |
9874 |
+S="${WORKDIR}/${MY_P}" |
9875 |
+ |
9876 |
+REQUIRED_USE=" |
9877 |
+ cgi? ( perl ) |
9878 |
+ cvs? ( perl ) |
9879 |
+ subversion? ( perl ) |
9880 |
+ webdav? ( curl ) |
9881 |
+ gtk? ( python ) |
9882 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
9883 |
+" |
9884 |
+ |
9885 |
+pkg_setup() { |
9886 |
+ if use subversion && has_version "dev-vcs/subversion[dso]"; then |
9887 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
9888 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
9889 |
+ ewarn "have been warned." |
9890 |
+ fi |
9891 |
+ if use python ; then |
9892 |
+ python-single-r1_pkg_setup |
9893 |
+ fi |
9894 |
+} |
9895 |
+ |
9896 |
+# This is needed because for some obscure reasons future calls to make don't |
9897 |
+# pick up these exports if we export them in src_unpack() |
9898 |
+exportmakeopts() { |
9899 |
+ local myopts |
9900 |
+ |
9901 |
+ if use blksha1 ; then |
9902 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
9903 |
+ elif use ppcsha1 ; then |
9904 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
9905 |
+ fi |
9906 |
+ |
9907 |
+ if use curl ; then |
9908 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
9909 |
+ else |
9910 |
+ myopts="${myopts} NO_CURL=YesPlease" |
9911 |
+ fi |
9912 |
+ |
9913 |
+ # broken assumptions, because of broken build system ... |
9914 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
9915 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
9916 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
9917 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
9918 |
+ myopts="${myopts} OLD_ICONV=" |
9919 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
9920 |
+ |
9921 |
+ # For svn-fe |
9922 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
9923 |
+ |
9924 |
+ # can't define this to null, since the entire makefile depends on it |
9925 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
9926 |
+ |
9927 |
+ use iconv \ |
9928 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
9929 |
+ use nls \ |
9930 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
9931 |
+ use tk \ |
9932 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
9933 |
+ use pcre \ |
9934 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
9935 |
+ && extlibs="${extlibs} -lpcre" |
9936 |
+ use perl \ |
9937 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
9938 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
9939 |
+ use python \ |
9940 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
9941 |
+ use subversion \ |
9942 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
9943 |
+ use threads \ |
9944 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \ |
9945 |
+ || myopts="${myopts} NO_PTHREADS=YesPlease" |
9946 |
+ use cvs \ |
9947 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
9948 |
+# Disabled until ~m68k-mint can be keyworded again |
9949 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
9950 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
9951 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
9952 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
9953 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
9954 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
9955 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
9956 |
+# fi |
9957 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
9958 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
9959 |
+ fi |
9960 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
9961 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
9962 |
+ fi |
9963 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
9964 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
9965 |
+ fi |
9966 |
+ |
9967 |
+ has_version '>=app-text/asciidoc-8.0' \ |
9968 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
9969 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
9970 |
+ |
9971 |
+ # Bug 290465: |
9972 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
9973 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
9974 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
9975 |
+ |
9976 |
+ export MY_MAKEOPTS="${myopts}" |
9977 |
+ export EXTLIBS="${extlibs}" |
9978 |
+} |
9979 |
+ |
9980 |
+src_unpack() { |
9981 |
+ if [[ ${PV} != *9999 ]]; then |
9982 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
9983 |
+ cd "${S}" |
9984 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9985 |
+ use doc && \ |
9986 |
+ cd "${S}"/Documentation && \ |
9987 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
9988 |
+ cd "${S}" |
9989 |
+ else |
9990 |
+ git-2_src_unpack |
9991 |
+ cd "${S}" |
9992 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
9993 |
+ fi |
9994 |
+ |
9995 |
+} |
9996 |
+ |
9997 |
+src_prepare() { |
9998 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
9999 |
+ epatch "${FILESDIR}"/git-1.8.5-optional-cvs.patch |
10000 |
+ |
10001 |
+ sed -i \ |
10002 |
+ -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
10003 |
+ -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ |
10004 |
+ -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ |
10005 |
+ -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ |
10006 |
+ -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
10007 |
+ -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
10008 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
10009 |
+ |
10010 |
+ # Never install the private copy of Error.pm (bug #296310) |
10011 |
+ sed -i \ |
10012 |
+ -e '/private-Error.pm/s,^,#,' \ |
10013 |
+ perl/Makefile.PL |
10014 |
+ |
10015 |
+ # Fix docbook2texi command |
10016 |
+ sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ |
10017 |
+ Documentation/Makefile || die "sed failed" |
10018 |
+ |
10019 |
+ # Fix git-subtree missing DESTDIR |
10020 |
+ sed -i \ |
10021 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
10022 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
10023 |
+ contrib/subtree/Makefile |
10024 |
+} |
10025 |
+ |
10026 |
+git_emake() { |
10027 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
10028 |
+ # bug #320647: PYTHON_PATH |
10029 |
+ PYTHON_PATH="" |
10030 |
+ use python && PYTHON_PATH="${PYTHON}" |
10031 |
+ emake ${MY_MAKEOPTS} \ |
10032 |
+ DESTDIR="${D}" \ |
10033 |
+ OPTCFLAGS="${CFLAGS}" \ |
10034 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
10035 |
+ OPTCC="$(tc-getCC)" \ |
10036 |
+ OPTAR="$(tc-getAR)" \ |
10037 |
+ prefix="${EPREFIX}"/usr \ |
10038 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
10039 |
+ sysconfdir="${EPREFIX}"/etc \ |
10040 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
10041 |
+ PERL_MM_OPT="" \ |
10042 |
+ GIT_TEST_OPTS="--no-color" \ |
10043 |
+ V=1 \ |
10044 |
+ "$@" |
10045 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
10046 |
+ # #352693. |
10047 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
10048 |
+} |
10049 |
+ |
10050 |
+src_configure() { |
10051 |
+ exportmakeopts |
10052 |
+} |
10053 |
+ |
10054 |
+src_compile() { |
10055 |
+ if use perl ; then |
10056 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
10057 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
10058 |
+ fi |
10059 |
+ git_emake || die "emake failed" |
10060 |
+ |
10061 |
+ if use emacs ; then |
10062 |
+ elisp-compile contrib/emacs/git{,-blame}.el |
10063 |
+ fi |
10064 |
+ |
10065 |
+ if use perl && use cgi ; then |
10066 |
+ git_emake \ |
10067 |
+ gitweb/gitweb.cgi \ |
10068 |
+ || die "emake gitweb/gitweb.cgi failed" |
10069 |
+ fi |
10070 |
+ |
10071 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
10072 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
10073 |
+ git_emake || die "emake credential-osxkeychain" |
10074 |
+ fi |
10075 |
+ |
10076 |
+ cd "${S}"/Documentation |
10077 |
+ if [[ ${PV} == *9999 ]] ; then |
10078 |
+ git_emake man \ |
10079 |
+ || die "emake man failed" |
10080 |
+ if use doc ; then |
10081 |
+ git_emake info html \ |
10082 |
+ || die "emake info html failed" |
10083 |
+ fi |
10084 |
+ else |
10085 |
+ if use doc ; then |
10086 |
+ git_emake info \ |
10087 |
+ || die "emake info html failed" |
10088 |
+ fi |
10089 |
+ fi |
10090 |
+ |
10091 |
+ if use subversion ; then |
10092 |
+ cd "${S}"/contrib/svn-fe |
10093 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
10094 |
+ if use doc ; then |
10095 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
10096 |
+ fi |
10097 |
+ cd "${S}" |
10098 |
+ fi |
10099 |
+ |
10100 |
+ if use gnome-keyring ; then |
10101 |
+ cd "${S}"/contrib/credential/gnome-keyring |
10102 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
10103 |
+ fi |
10104 |
+ |
10105 |
+ cd "${S}"/contrib/subtree |
10106 |
+ git_emake |
10107 |
+ use doc && git_emake doc |
10108 |
+} |
10109 |
+ |
10110 |
+src_install() { |
10111 |
+ git_emake \ |
10112 |
+ install || \ |
10113 |
+ die "make install failed" |
10114 |
+ |
10115 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
10116 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
10117 |
+ fi |
10118 |
+ |
10119 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
10120 |
+ # manpages may exist in either OR both of these directories. |
10121 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
10122 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
10123 |
+ |
10124 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
10125 |
+ use doc && dodir /usr/share/doc/${PF}/html |
10126 |
+ for d in / /howto/ /technical/ ; do |
10127 |
+ docinto ${d} |
10128 |
+ dodoc Documentation${d}*.txt |
10129 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
10130 |
+ done |
10131 |
+ docinto / |
10132 |
+ # Upstream does not ship this pre-built :-( |
10133 |
+ use doc && doinfo Documentation/{git,gitman}.info |
10134 |
+ |
10135 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
10136 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
10137 |
+ |
10138 |
+ if use emacs ; then |
10139 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} |
10140 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
10141 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
10142 |
+ # don't add automatically to the load-path, so the sitefile |
10143 |
+ # can do a conditional loading |
10144 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
10145 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
10146 |
+ fi |
10147 |
+ |
10148 |
+ if use python && use gtk ; then |
10149 |
+ python_doscript "${S}"/contrib/gitview/gitview |
10150 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
10151 |
+ fi |
10152 |
+ |
10153 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
10154 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
10155 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
10156 |
+ exeinto /usr/libexec/git-core/ |
10157 |
+ newexe contrib/git-resurrect.sh git-resurrect |
10158 |
+ |
10159 |
+ # git-subtree |
10160 |
+ cd "${S}"/contrib/subtree |
10161 |
+ git_emake install || die "Failed to emake install git-subtree" |
10162 |
+ if use doc ; then |
10163 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
10164 |
+ fi |
10165 |
+ newdoc README README.git-subtree |
10166 |
+ dodoc git-subtree.txt |
10167 |
+ cd "${S}" |
10168 |
+ |
10169 |
+ # git-diffall |
10170 |
+ dobin contrib/diffall/git-diffall |
10171 |
+ newdoc contrib/diffall/README git-diffall.txt |
10172 |
+ |
10173 |
+ # diff-highlight |
10174 |
+ dobin contrib/diff-highlight/diff-highlight |
10175 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
10176 |
+ |
10177 |
+ # git-jump |
10178 |
+ exeinto /usr/libexec/git-core/ |
10179 |
+ doexe contrib/git-jump/git-jump |
10180 |
+ newdoc contrib/git-jump/README git-jump.txt |
10181 |
+ |
10182 |
+ # git-contacts |
10183 |
+ exeinto /usr/libexec/git-core/ |
10184 |
+ doexe contrib/contacts/git-contacts |
10185 |
+ dodoc contrib/contacts/git-contacts.txt |
10186 |
+ |
10187 |
+ if use gnome-keyring ; then |
10188 |
+ cd "${S}"/contrib/credential/gnome-keyring |
10189 |
+ dobin git-credential-gnome-keyring |
10190 |
+ fi |
10191 |
+ |
10192 |
+ if use subversion ; then |
10193 |
+ cd "${S}"/contrib/svn-fe |
10194 |
+ dobin svn-fe |
10195 |
+ dodoc svn-fe.txt |
10196 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
10197 |
+ cd "${S}" |
10198 |
+ fi |
10199 |
+ |
10200 |
+ # remote-helpers |
10201 |
+ if use python ; then |
10202 |
+ python_scriptinto /usr/libexec/git-core/ |
10203 |
+ python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg} |
10204 |
+ python_optimize |
10205 |
+ fi |
10206 |
+ |
10207 |
+ dodir /usr/share/${PN}/contrib |
10208 |
+ # The following are excluded: |
10209 |
+ # completion - installed above |
10210 |
+ # credential/gnome-keyring TODO |
10211 |
+ # diff-highlight - done above |
10212 |
+ # diffall - done above |
10213 |
+ # emacs - installed above |
10214 |
+ # examples - these are stuff that is not used in Git anymore actually |
10215 |
+ # git-jump - done above |
10216 |
+ # gitview - installed above |
10217 |
+ # p4import - excluded because fast-import has a better one |
10218 |
+ # patches - stuff the Git guys made to go upstream to other places |
10219 |
+ # persistent-https - TODO |
10220 |
+ # mw-to-git - TODO |
10221 |
+ # subtree - build seperately |
10222 |
+ # svnimport - use git-svn |
10223 |
+ # thunderbird-patch-inline - fixes thunderbird |
10224 |
+ for i in \ |
10225 |
+ buildsystems convert-objects fast-import \ |
10226 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
10227 |
+ stats vim workdir \ |
10228 |
+ ; do |
10229 |
+ cp -rf \ |
10230 |
+ "${S}"/contrib/${i} \ |
10231 |
+ "${ED}"/usr/share/${PN}/contrib \ |
10232 |
+ || die "Failed contrib ${i}" |
10233 |
+ done |
10234 |
+ |
10235 |
+ if use perl && use cgi ; then |
10236 |
+ # We used to install in /usr/share/${PN}/gitweb |
10237 |
+ # but upstream installs in /usr/share/gitweb |
10238 |
+ # so we will install a symlink and use their location for compat with other |
10239 |
+ # distros |
10240 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
10241 |
+ |
10242 |
+ # INSTALL discusses configuration issues, not just installation |
10243 |
+ docinto / |
10244 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
10245 |
+ newdoc "${S}"/gitweb/README README.gitweb |
10246 |
+ |
10247 |
+ find "${ED}"/usr/lib64/perl5/ \ |
10248 |
+ -name .packlist \ |
10249 |
+ -exec rm \{\} \; |
10250 |
+ else |
10251 |
+ rm -rf "${ED}"/usr/share/gitweb |
10252 |
+ fi |
10253 |
+ |
10254 |
+ if ! use subversion ; then |
10255 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
10256 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
10257 |
+ fi |
10258 |
+ |
10259 |
+ if use xinetd ; then |
10260 |
+ insinto /etc/xinetd.d |
10261 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
10262 |
+ fi |
10263 |
+ |
10264 |
+ if use !prefix ; then |
10265 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
10266 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
10267 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
10268 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
10269 |
+ fi |
10270 |
+ |
10271 |
+ fixlocalpod |
10272 |
+} |
10273 |
+ |
10274 |
+src_test() { |
10275 |
+ local disabled="" |
10276 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
10277 |
+ t9400-git-cvsserver-server.sh \ |
10278 |
+ t9401-git-cvsserver-crlf.sh \ |
10279 |
+ t9402-git-cvsserver-refs.sh \ |
10280 |
+ t9600-cvsimport.sh \ |
10281 |
+ t9601-cvsimport-vendor-branch.sh \ |
10282 |
+ t9602-cvsimport-branches-tags.sh \ |
10283 |
+ t9603-cvsimport-patchsets.sh \ |
10284 |
+ t9604-cvsimport-timestamps.sh" |
10285 |
+ local tests_perl="t3701-add-interactive.sh \ |
10286 |
+ t5502-quickfetch.sh \ |
10287 |
+ t5512-ls-remote.sh \ |
10288 |
+ t5520-pull.sh \ |
10289 |
+ t7106-reset-unborn-branch.sh \ |
10290 |
+ t7501-commit.sh" |
10291 |
+ # Bug #225601 - t0004 is not suitable for root perm |
10292 |
+ # Bug #219839 - t1004 is not suitable for root perm |
10293 |
+ # t0001-init.sh - check for init notices EPERM* fails |
10294 |
+ local tests_nonroot="t0001-init.sh \ |
10295 |
+ t0004-unwritable.sh \ |
10296 |
+ t0070-fundamental.sh \ |
10297 |
+ t1004-read-tree-m-u-wf.sh \ |
10298 |
+ t3700-add.sh \ |
10299 |
+ t7300-clean.sh" |
10300 |
+ # t9100 still fails with symlinks in SVN 1.7 |
10301 |
+ local test_svn="t9100-git-svn-basic.sh" |
10302 |
+ |
10303 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
10304 |
+ if ! has_version app-arch/unzip ; then |
10305 |
+ einfo "Disabling tar-tree tests" |
10306 |
+ disabled="${disabled} t5000-tar-tree.sh" |
10307 |
+ fi |
10308 |
+ |
10309 |
+ cvs=0 |
10310 |
+ use cvs && let cvs=$cvs+1 |
10311 |
+ if [[ ${EUID} -eq 0 ]]; then |
10312 |
+ if [[ $cvs -eq 1 ]]; then |
10313 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
10314 |
+ ewarn "You should retest with FEATURES=userpriv!" |
10315 |
+ disabled="${disabled} ${tests_cvs}" |
10316 |
+ fi |
10317 |
+ einfo "Skipping other tests that require being non-root" |
10318 |
+ disabled="${disabled} ${tests_nonroot}" |
10319 |
+ else |
10320 |
+ [[ $cvs -gt 0 ]] && \ |
10321 |
+ has_version dev-vcs/cvs && \ |
10322 |
+ let cvs=$cvs+1 |
10323 |
+ [[ $cvs -gt 1 ]] && \ |
10324 |
+ has_version "dev-vcs/cvs[server]" && \ |
10325 |
+ let cvs=$cvs+1 |
10326 |
+ if [[ $cvs -lt 3 ]]; then |
10327 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
10328 |
+ disabled="${disabled} ${tests_cvs}" |
10329 |
+ fi |
10330 |
+ fi |
10331 |
+ |
10332 |
+ if ! use perl ; then |
10333 |
+ einfo "Disabling tests that need Perl" |
10334 |
+ disabled="${disabled} ${tests_perl}" |
10335 |
+ fi |
10336 |
+ |
10337 |
+ einfo "Disabling tests that fail with SVN 1.7" |
10338 |
+ disabled="${disabled} ${test_svn}" |
10339 |
+ |
10340 |
+ # Reset all previously disabled tests |
10341 |
+ cd "${S}/t" |
10342 |
+ for i in *.sh.DISABLED ; do |
10343 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
10344 |
+ done |
10345 |
+ einfo "Disabled tests:" |
10346 |
+ for i in ${disabled} ; do |
10347 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
10348 |
+ done |
10349 |
+ |
10350 |
+ # Avoid the test system removing the results because we want them ourselves |
10351 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
10352 |
+ -i "${S}"/t/Makefile |
10353 |
+ |
10354 |
+ # Clean old results first, must always run |
10355 |
+ cd "${S}/t" |
10356 |
+ nonfatal git_emake clean |
10357 |
+ |
10358 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
10359 |
+ # failure |
10360 |
+ cd "${S}" |
10361 |
+ einfo "Start test run" |
10362 |
+ #MAKEOPTS=-j1 |
10363 |
+ nonfatal git_emake --keep-going test |
10364 |
+ rc=$? |
10365 |
+ |
10366 |
+ # Display nice results, now print the results |
10367 |
+ cd "${S}/t" |
10368 |
+ nonfatal git_emake aggregate-results |
10369 |
+ |
10370 |
+ # And bail if there was a problem |
10371 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
10372 |
+} |
10373 |
+ |
10374 |
+showpkgdeps() { |
10375 |
+ local pkg=$1 |
10376 |
+ shift |
10377 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
10378 |
+} |
10379 |
+ |
10380 |
+pkg_postinst() { |
10381 |
+ use emacs && elisp-site-regen |
10382 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
10383 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
10384 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
10385 |
+ elog "These additional scripts need some dependencies:" |
10386 |
+ echo |
10387 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
10388 |
+ showpkgdeps git-instaweb \ |
10389 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
10390 |
+ echo |
10391 |
+} |
10392 |
+ |
10393 |
+pkg_postrm() { |
10394 |
+ use emacs && elisp-site-regen |
10395 |
+} |
10396 |
|
10397 |
diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild |
10398 |
new file mode 100644 |
10399 |
index 0000000..4d4ee50 |
10400 |
--- /dev/null |
10401 |
+++ b/dev-vcs/git/git-9999.ebuild |
10402 |
@@ -0,0 +1,618 @@ |
10403 |
+# Copyright 1999-2013 Gentoo Foundation |
10404 |
+# Distributed under the terms of the GNU General Public License v2 |
10405 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-9999.ebuild,v 1.50 2013/12/11 10:27:22 polynomial-c Exp $ |
10406 |
+ |
10407 |
+EAPI=5 |
10408 |
+ |
10409 |
+GENTOO_DEPEND_ON_PERL=no |
10410 |
+ |
10411 |
+# bug #329479: git-remote-testgit is not multiple-version aware |
10412 |
+PYTHON_COMPAT=( python2_{6,7} ) |
10413 |
+[[ ${PV} == *9999 ]] && SCM="git-2" |
10414 |
+EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
10415 |
+ |
10416 |
+inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
10417 |
+ |
10418 |
+MY_PV="${PV/_rc/.rc}" |
10419 |
+MY_P="${PN}-${MY_PV}" |
10420 |
+ |
10421 |
+DOC_VER=${MY_PV} |
10422 |
+ |
10423 |
+DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
10424 |
+HOMEPAGE="http://www.git-scm.com/" |
10425 |
+if [[ ${PV} != *9999 ]]; then |
10426 |
+ SRC_URI_SUFFIX="gz" |
10427 |
+ SRC_URI_GOOG="http://git-core.googlecode.com/files" |
10428 |
+ SRC_URI_KORG="mirror://kernel/software/scm/git" |
10429 |
+ SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
10430 |
+ ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
10431 |
+ ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10432 |
+ ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10433 |
+ doc? ( |
10434 |
+ ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10435 |
+ ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10436 |
+ )" |
10437 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
10438 |
+else |
10439 |
+ SRC_URI="" |
10440 |
+ KEYWORDS="" |
10441 |
+fi |
10442 |
+ |
10443 |
+LICENSE="GPL-2" |
10444 |
+SLOT="0" |
10445 |
+IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
10446 |
+ |
10447 |
+# Common to both DEPEND and RDEPEND |
10448 |
+CDEPEND=" |
10449 |
+ dev-libs/openssl |
10450 |
+ sys-libs/zlib |
10451 |
+ pcre? ( dev-libs/libpcre ) |
10452 |
+ perl? ( dev-lang/perl[-build(-)] ) |
10453 |
+ tk? ( dev-lang/tk ) |
10454 |
+ curl? ( |
10455 |
+ net-misc/curl |
10456 |
+ webdav? ( dev-libs/expat ) |
10457 |
+ ) |
10458 |
+ emacs? ( virtual/emacs ) |
10459 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
10460 |
+ |
10461 |
+RDEPEND="${CDEPEND} |
10462 |
+ gpg? ( app-crypt/gnupg ) |
10463 |
+ perl? ( dev-perl/Error |
10464 |
+ dev-perl/Net-SMTP-SSL |
10465 |
+ dev-perl/Authen-SASL |
10466 |
+ cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) ) |
10467 |
+ cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) |
10468 |
+ subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
10469 |
+ ) |
10470 |
+ python? ( gtk? |
10471 |
+ ( |
10472 |
+ >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
10473 |
+ >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
10474 |
+ ) |
10475 |
+ ${PYTHON_DEPS} )" |
10476 |
+ |
10477 |
+# This is how info docs are created with Git: |
10478 |
+# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
10479 |
+# .xml/docbook --(docbook2texi.pl)--> .texi |
10480 |
+# .texi --(makeinfo)---------> .info |
10481 |
+DEPEND="${CDEPEND} |
10482 |
+ app-arch/cpio |
10483 |
+ doc? ( |
10484 |
+ app-text/asciidoc |
10485 |
+ app-text/docbook2X |
10486 |
+ sys-apps/texinfo |
10487 |
+ app-text/xmlto |
10488 |
+ ) |
10489 |
+ test? ( |
10490 |
+ app-crypt/gnupg |
10491 |
+ )" |
10492 |
+ |
10493 |
+# Live ebuild builds man pages and HTML docs, additionally |
10494 |
+if [[ ${PV} == *9999 ]]; then |
10495 |
+ DEPEND="${DEPEND} |
10496 |
+ app-text/asciidoc" |
10497 |
+fi |
10498 |
+ |
10499 |
+SITEFILE=50${PN}-gentoo.el |
10500 |
+S="${WORKDIR}/${MY_P}" |
10501 |
+ |
10502 |
+REQUIRED_USE=" |
10503 |
+ cgi? ( perl ) |
10504 |
+ cvs? ( perl ) |
10505 |
+ subversion? ( perl ) |
10506 |
+ webdav? ( curl ) |
10507 |
+ gtk? ( python ) |
10508 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
10509 |
+" |
10510 |
+ |
10511 |
+pkg_setup() { |
10512 |
+ if use subversion && has_version "dev-vcs/subversion[dso]"; then |
10513 |
+ ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
10514 |
+ ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
10515 |
+ ewarn "have been warned." |
10516 |
+ fi |
10517 |
+ if use python ; then |
10518 |
+ python-single-r1_pkg_setup |
10519 |
+ fi |
10520 |
+} |
10521 |
+ |
10522 |
+# This is needed because for some obscure reasons future calls to make don't |
10523 |
+# pick up these exports if we export them in src_unpack() |
10524 |
+exportmakeopts() { |
10525 |
+ local myopts |
10526 |
+ |
10527 |
+ if use blksha1 ; then |
10528 |
+ myopts="${myopts} BLK_SHA1=YesPlease" |
10529 |
+ elif use ppcsha1 ; then |
10530 |
+ myopts="${myopts} PPC_SHA1=YesPlease" |
10531 |
+ fi |
10532 |
+ |
10533 |
+ if use curl ; then |
10534 |
+ use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
10535 |
+ else |
10536 |
+ myopts="${myopts} NO_CURL=YesPlease" |
10537 |
+ fi |
10538 |
+ |
10539 |
+ # broken assumptions, because of broken build system ... |
10540 |
+ myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
10541 |
+ myopts="${myopts} INSTALL=install TAR=tar" |
10542 |
+ myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh" |
10543 |
+ myopts="${myopts} SANE_TOOL_PATH=" |
10544 |
+ myopts="${myopts} OLD_ICONV=" |
10545 |
+ myopts="${myopts} NO_EXTERNAL_GREP=" |
10546 |
+ |
10547 |
+ # For svn-fe |
10548 |
+ extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
10549 |
+ |
10550 |
+ # can't define this to null, since the entire makefile depends on it |
10551 |
+ sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
10552 |
+ |
10553 |
+ use iconv \ |
10554 |
+ || myopts="${myopts} NO_ICONV=YesPlease" |
10555 |
+ use nls \ |
10556 |
+ || myopts="${myopts} NO_GETTEXT=YesPlease" |
10557 |
+ use tk \ |
10558 |
+ || myopts="${myopts} NO_TCLTK=YesPlease" |
10559 |
+ use pcre \ |
10560 |
+ && myopts="${myopts} USE_LIBPCRE=yes" \ |
10561 |
+ && extlibs="${extlibs} -lpcre" |
10562 |
+ use perl \ |
10563 |
+ && myopts="${myopts} INSTALLDIRS=vendor" \ |
10564 |
+ || myopts="${myopts} NO_PERL=YesPlease" |
10565 |
+ use python \ |
10566 |
+ || myopts="${myopts} NO_PYTHON=YesPlease" |
10567 |
+ use subversion \ |
10568 |
+ || myopts="${myopts} NO_SVN_TESTS=YesPlease" |
10569 |
+ use threads \ |
10570 |
+ && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \ |
10571 |
+ || myopts="${myopts} NO_PTHREADS=YesPlease" |
10572 |
+ use cvs \ |
10573 |
+ || myopts="${myopts} NO_CVS=YesPlease" |
10574 |
+# Disabled until ~m68k-mint can be keyworded again |
10575 |
+# if [[ ${CHOST} == *-mint* ]] ; then |
10576 |
+# myopts="${myopts} NO_MMAP=YesPlease" |
10577 |
+# myopts="${myopts} NO_IPV6=YesPlease" |
10578 |
+# myopts="${myopts} NO_STRLCPY=YesPlease" |
10579 |
+# myopts="${myopts} NO_MEMMEM=YesPlease" |
10580 |
+# myopts="${myopts} NO_MKDTEMP=YesPlease" |
10581 |
+# myopts="${myopts} NO_MKSTEMPS=YesPlease" |
10582 |
+# fi |
10583 |
+ if [[ ${CHOST} == ia64-*-hpux* ]]; then |
10584 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
10585 |
+ fi |
10586 |
+ if [[ ${CHOST} == *-*-aix* ]]; then |
10587 |
+ myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease" |
10588 |
+ fi |
10589 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
10590 |
+ myopts="${myopts} NEEDS_LIBICONV=YesPlease" |
10591 |
+ fi |
10592 |
+ |
10593 |
+ has_version '>=app-text/asciidoc-8.0' \ |
10594 |
+ && myopts="${myopts} ASCIIDOC8=YesPlease" |
10595 |
+ myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease" |
10596 |
+ |
10597 |
+ # Bug 290465: |
10598 |
+ # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
10599 |
+ [[ "${CHOST}" == *-uclibc* ]] && \ |
10600 |
+ myopts="${myopts} NO_NSEC=YesPlease" |
10601 |
+ |
10602 |
+ export MY_MAKEOPTS="${myopts}" |
10603 |
+ export EXTLIBS="${extlibs}" |
10604 |
+} |
10605 |
+ |
10606 |
+src_unpack() { |
10607 |
+ if [[ ${PV} != *9999 ]]; then |
10608 |
+ unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
10609 |
+ cd "${S}" |
10610 |
+ unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10611 |
+ use doc && \ |
10612 |
+ cd "${S}"/Documentation && \ |
10613 |
+ unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
10614 |
+ cd "${S}" |
10615 |
+ else |
10616 |
+ git-2_src_unpack |
10617 |
+ cd "${S}" |
10618 |
+ #cp "${FILESDIR}"/GIT-VERSION-GEN . |
10619 |
+ fi |
10620 |
+ |
10621 |
+} |
10622 |
+ |
10623 |
+src_prepare() { |
10624 |
+ # bug #350330 - automagic CVS when we don't want it is bad. |
10625 |
+ epatch "${FILESDIR}"/git-1.8.5-optional-cvs.patch |
10626 |
+ |
10627 |
+ sed -i \ |
10628 |
+ -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
10629 |
+ -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ |
10630 |
+ -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ |
10631 |
+ -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ |
10632 |
+ -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
10633 |
+ -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
10634 |
+ Makefile contrib/svn-fe/Makefile || die "sed failed" |
10635 |
+ |
10636 |
+ # Never install the private copy of Error.pm (bug #296310) |
10637 |
+ sed -i \ |
10638 |
+ -e '/private-Error.pm/s,^,#,' \ |
10639 |
+ perl/Makefile.PL |
10640 |
+ |
10641 |
+ # Fix docbook2texi command |
10642 |
+ sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ |
10643 |
+ Documentation/Makefile || die "sed failed" |
10644 |
+ |
10645 |
+ # Fix git-subtree missing DESTDIR |
10646 |
+ sed -i \ |
10647 |
+ -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
10648 |
+ -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
10649 |
+ contrib/subtree/Makefile |
10650 |
+} |
10651 |
+ |
10652 |
+git_emake() { |
10653 |
+ # bug #326625: PERL_PATH, PERL_MM_OPT |
10654 |
+ # bug #320647: PYTHON_PATH |
10655 |
+ PYTHON_PATH="" |
10656 |
+ use python && PYTHON_PATH="${PYTHON}" |
10657 |
+ emake ${MY_MAKEOPTS} \ |
10658 |
+ DESTDIR="${D}" \ |
10659 |
+ OPTCFLAGS="${CFLAGS}" \ |
10660 |
+ OPTLDFLAGS="${LDFLAGS}" \ |
10661 |
+ OPTCC="$(tc-getCC)" \ |
10662 |
+ OPTAR="$(tc-getAR)" \ |
10663 |
+ prefix="${EPREFIX}"/usr \ |
10664 |
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
10665 |
+ sysconfdir="${EPREFIX}"/etc \ |
10666 |
+ PYTHON_PATH="${PYTHON_PATH}" \ |
10667 |
+ PERL_MM_OPT="" \ |
10668 |
+ GIT_TEST_OPTS="--no-color" \ |
10669 |
+ V=1 \ |
10670 |
+ "$@" |
10671 |
+ # This is the fix for bug #326625, but it also causes breakage, see bug |
10672 |
+ # #352693. |
10673 |
+ # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
10674 |
+} |
10675 |
+ |
10676 |
+src_configure() { |
10677 |
+ exportmakeopts |
10678 |
+} |
10679 |
+ |
10680 |
+src_compile() { |
10681 |
+ if use perl ; then |
10682 |
+ git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
10683 |
+ git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
10684 |
+ fi |
10685 |
+ git_emake || die "emake failed" |
10686 |
+ |
10687 |
+ if use emacs ; then |
10688 |
+ elisp-compile contrib/emacs/git{,-blame}.el |
10689 |
+ fi |
10690 |
+ |
10691 |
+ if use perl && use cgi ; then |
10692 |
+ git_emake \ |
10693 |
+ gitweb/gitweb.cgi \ |
10694 |
+ || die "emake gitweb/gitweb.cgi failed" |
10695 |
+ fi |
10696 |
+ |
10697 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
10698 |
+ cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
10699 |
+ git_emake || die "emake credential-osxkeychain" |
10700 |
+ fi |
10701 |
+ |
10702 |
+ cd "${S}"/Documentation |
10703 |
+ if [[ ${PV} == *9999 ]] ; then |
10704 |
+ git_emake man \ |
10705 |
+ || die "emake man failed" |
10706 |
+ if use doc ; then |
10707 |
+ git_emake info html \ |
10708 |
+ || die "emake info html failed" |
10709 |
+ fi |
10710 |
+ else |
10711 |
+ if use doc ; then |
10712 |
+ git_emake info \ |
10713 |
+ || die "emake info html failed" |
10714 |
+ fi |
10715 |
+ fi |
10716 |
+ |
10717 |
+ if use subversion ; then |
10718 |
+ cd "${S}"/contrib/svn-fe |
10719 |
+ git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed" |
10720 |
+ if use doc ; then |
10721 |
+ git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
10722 |
+ fi |
10723 |
+ cd "${S}" |
10724 |
+ fi |
10725 |
+ |
10726 |
+ if use gnome-keyring ; then |
10727 |
+ cd "${S}"/contrib/credential/gnome-keyring |
10728 |
+ git_emake || die "emake git-credential-gnome-keyring failed" |
10729 |
+ fi |
10730 |
+ |
10731 |
+ cd "${S}"/contrib/subtree |
10732 |
+ git_emake |
10733 |
+ use doc && git_emake doc |
10734 |
+} |
10735 |
+ |
10736 |
+src_install() { |
10737 |
+ git_emake \ |
10738 |
+ install || \ |
10739 |
+ die "make install failed" |
10740 |
+ |
10741 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
10742 |
+ dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
10743 |
+ fi |
10744 |
+ |
10745 |
+ # Depending on the tarball and manual rebuild of the documentation, the |
10746 |
+ # manpages may exist in either OR both of these directories. |
10747 |
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
10748 |
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
10749 |
+ |
10750 |
+ dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
10751 |
+ use doc && dodir /usr/share/doc/${PF}/html |
10752 |
+ for d in / /howto/ /technical/ ; do |
10753 |
+ docinto ${d} |
10754 |
+ dodoc Documentation${d}*.txt |
10755 |
+ use doc && dohtml -p ${d} Documentation${d}*.html |
10756 |
+ done |
10757 |
+ docinto / |
10758 |
+ # Upstream does not ship this pre-built :-( |
10759 |
+ use doc && doinfo Documentation/{git,gitman}.info |
10760 |
+ |
10761 |
+ newbashcomp contrib/completion/git-completion.bash ${PN} |
10762 |
+ newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt |
10763 |
+ |
10764 |
+ if use emacs ; then |
10765 |
+ elisp-install ${PN} contrib/emacs/git.{el,elc} |
10766 |
+ elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
10767 |
+ #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
10768 |
+ # don't add automatically to the load-path, so the sitefile |
10769 |
+ # can do a conditional loading |
10770 |
+ touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
10771 |
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
10772 |
+ fi |
10773 |
+ |
10774 |
+ if use python && use gtk ; then |
10775 |
+ python_doscript "${S}"/contrib/gitview/gitview |
10776 |
+ dodoc "${S}"/contrib/gitview/gitview.txt |
10777 |
+ fi |
10778 |
+ |
10779 |
+ #dobin contrib/fast-import/git-p4 # Moved upstream |
10780 |
+ #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
10781 |
+ newbin contrib/fast-import/import-tars.perl import-tars |
10782 |
+ exeinto /usr/libexec/git-core/ |
10783 |
+ newexe contrib/git-resurrect.sh git-resurrect |
10784 |
+ |
10785 |
+ # git-subtree |
10786 |
+ cd "${S}"/contrib/subtree |
10787 |
+ git_emake install || die "Failed to emake install git-subtree" |
10788 |
+ if use doc ; then |
10789 |
+ git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
10790 |
+ fi |
10791 |
+ newdoc README README.git-subtree |
10792 |
+ dodoc git-subtree.txt |
10793 |
+ cd "${S}" |
10794 |
+ |
10795 |
+ # git-diffall |
10796 |
+ dobin contrib/diffall/git-diffall |
10797 |
+ newdoc contrib/diffall/README git-diffall.txt |
10798 |
+ |
10799 |
+ # diff-highlight |
10800 |
+ dobin contrib/diff-highlight/diff-highlight |
10801 |
+ newdoc contrib/diff-highlight/README README.diff-highlight |
10802 |
+ |
10803 |
+ # git-jump |
10804 |
+ exeinto /usr/libexec/git-core/ |
10805 |
+ doexe contrib/git-jump/git-jump |
10806 |
+ newdoc contrib/git-jump/README git-jump.txt |
10807 |
+ |
10808 |
+ # git-contacts |
10809 |
+ exeinto /usr/libexec/git-core/ |
10810 |
+ doexe contrib/contacts/git-contacts |
10811 |
+ dodoc contrib/contacts/git-contacts.txt |
10812 |
+ |
10813 |
+ if use gnome-keyring ; then |
10814 |
+ cd "${S}"/contrib/credential/gnome-keyring |
10815 |
+ dobin git-credential-gnome-keyring |
10816 |
+ fi |
10817 |
+ |
10818 |
+ if use subversion ; then |
10819 |
+ cd "${S}"/contrib/svn-fe |
10820 |
+ dobin svn-fe |
10821 |
+ dodoc svn-fe.txt |
10822 |
+ use doc && doman svn-fe.1 && dohtml svn-fe.html |
10823 |
+ cd "${S}" |
10824 |
+ fi |
10825 |
+ |
10826 |
+ # remote-helpers |
10827 |
+ if use python ; then |
10828 |
+ python_scriptinto /usr/libexec/git-core/ |
10829 |
+ python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg} |
10830 |
+ python_optimize |
10831 |
+ fi |
10832 |
+ |
10833 |
+ dodir /usr/share/${PN}/contrib |
10834 |
+ # The following are excluded: |
10835 |
+ # completion - installed above |
10836 |
+ # credential/gnome-keyring TODO |
10837 |
+ # diff-highlight - done above |
10838 |
+ # diffall - done above |
10839 |
+ # emacs - installed above |
10840 |
+ # examples - these are stuff that is not used in Git anymore actually |
10841 |
+ # git-jump - done above |
10842 |
+ # gitview - installed above |
10843 |
+ # p4import - excluded because fast-import has a better one |
10844 |
+ # patches - stuff the Git guys made to go upstream to other places |
10845 |
+ # persistent-https - TODO |
10846 |
+ # mw-to-git - TODO |
10847 |
+ # subtree - build seperately |
10848 |
+ # svnimport - use git-svn |
10849 |
+ # thunderbird-patch-inline - fixes thunderbird |
10850 |
+ for i in \ |
10851 |
+ buildsystems convert-objects fast-import \ |
10852 |
+ hg-to-git hooks remotes2config.sh rerere-train.sh \ |
10853 |
+ stats vim workdir \ |
10854 |
+ ; do |
10855 |
+ cp -rf \ |
10856 |
+ "${S}"/contrib/${i} \ |
10857 |
+ "${ED}"/usr/share/${PN}/contrib \ |
10858 |
+ || die "Failed contrib ${i}" |
10859 |
+ done |
10860 |
+ |
10861 |
+ if use perl && use cgi ; then |
10862 |
+ # We used to install in /usr/share/${PN}/gitweb |
10863 |
+ # but upstream installs in /usr/share/gitweb |
10864 |
+ # so we will install a symlink and use their location for compat with other |
10865 |
+ # distros |
10866 |
+ dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
10867 |
+ |
10868 |
+ # INSTALL discusses configuration issues, not just installation |
10869 |
+ docinto / |
10870 |
+ newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
10871 |
+ newdoc "${S}"/gitweb/README README.gitweb |
10872 |
+ |
10873 |
+ find "${ED}"/usr/lib64/perl5/ \ |
10874 |
+ -name .packlist \ |
10875 |
+ -exec rm \{\} \; |
10876 |
+ else |
10877 |
+ rm -rf "${ED}"/usr/share/gitweb |
10878 |
+ fi |
10879 |
+ |
10880 |
+ if ! use subversion ; then |
10881 |
+ rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
10882 |
+ "${ED}"/usr/share/man/man1/git-svn.1* |
10883 |
+ fi |
10884 |
+ |
10885 |
+ if use xinetd ; then |
10886 |
+ insinto /etc/xinetd.d |
10887 |
+ newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
10888 |
+ fi |
10889 |
+ |
10890 |
+ if use !prefix ; then |
10891 |
+ newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
10892 |
+ newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
10893 |
+ systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
10894 |
+ systemd_dounit "${FILESDIR}/git-daemon.socket" |
10895 |
+ fi |
10896 |
+ |
10897 |
+ fixlocalpod |
10898 |
+} |
10899 |
+ |
10900 |
+src_test() { |
10901 |
+ local disabled="" |
10902 |
+ local tests_cvs="t9200-git-cvsexportcommit.sh \ |
10903 |
+ t9400-git-cvsserver-server.sh \ |
10904 |
+ t9401-git-cvsserver-crlf.sh \ |
10905 |
+ t9600-cvsimport.sh \ |
10906 |
+ t9601-cvsimport-vendor-branch.sh \ |
10907 |
+ t9602-cvsimport-branches-tags.sh \ |
10908 |
+ t9603-cvsimport-patchsets.sh \ |
10909 |
+ t9604-cvsimport-timestamps.sh" |
10910 |
+ local tests_perl="t3701-add-interactive.sh \ |
10911 |
+ t5502-quickfetch.sh \ |
10912 |
+ t5512-ls-remote.sh \ |
10913 |
+ t5520-pull.sh \ |
10914 |
+ t7106-reset-unborn-branch.sh \ |
10915 |
+ t7501-commit.sh" |
10916 |
+ # Bug #225601 - t0004 is not suitable for root perm |
10917 |
+ # Bug #219839 - t1004 is not suitable for root perm |
10918 |
+ # t0001-init.sh - check for init notices EPERM* fails |
10919 |
+ local tests_nonroot="t0001-init.sh \ |
10920 |
+ t0004-unwritable.sh \ |
10921 |
+ t0070-fundamental.sh \ |
10922 |
+ t1004-read-tree-m-u-wf.sh \ |
10923 |
+ t3700-add.sh \ |
10924 |
+ t7300-clean.sh" |
10925 |
+ # t9100 still fails with symlinks in SVN 1.7 |
10926 |
+ local test_svn="t9100-git-svn-basic.sh" |
10927 |
+ |
10928 |
+ # Unzip is used only for the testcase code, not by any normal parts of Git. |
10929 |
+ if ! has_version app-arch/unzip ; then |
10930 |
+ einfo "Disabling tar-tree tests" |
10931 |
+ disabled="${disabled} t5000-tar-tree.sh" |
10932 |
+ fi |
10933 |
+ |
10934 |
+ cvs=0 |
10935 |
+ use cvs && let cvs=$cvs+1 |
10936 |
+ if [[ ${EUID} -eq 0 ]]; then |
10937 |
+ if [[ $cvs -eq 1 ]]; then |
10938 |
+ ewarn "Skipping CVS tests because CVS does not work as root!" |
10939 |
+ ewarn "You should retest with FEATURES=userpriv!" |
10940 |
+ disabled="${disabled} ${tests_cvs}" |
10941 |
+ fi |
10942 |
+ einfo "Skipping other tests that require being non-root" |
10943 |
+ disabled="${disabled} ${tests_nonroot}" |
10944 |
+ else |
10945 |
+ [[ $cvs -gt 0 ]] && \ |
10946 |
+ has_version dev-vcs/cvs && \ |
10947 |
+ let cvs=$cvs+1 |
10948 |
+ [[ $cvs -gt 1 ]] && \ |
10949 |
+ has_version "dev-vcs/cvs[server]" && \ |
10950 |
+ let cvs=$cvs+1 |
10951 |
+ if [[ $cvs -lt 3 ]]; then |
10952 |
+ einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
10953 |
+ disabled="${disabled} ${tests_cvs}" |
10954 |
+ fi |
10955 |
+ fi |
10956 |
+ |
10957 |
+ if ! use perl ; then |
10958 |
+ einfo "Disabling tests that need Perl" |
10959 |
+ disabled="${disabled} ${tests_perl}" |
10960 |
+ fi |
10961 |
+ |
10962 |
+ einfo "Disabling tests that fail with SVN 1.7" |
10963 |
+ disabled="${disabled} ${test_svn}" |
10964 |
+ |
10965 |
+ # Reset all previously disabled tests |
10966 |
+ cd "${S}/t" |
10967 |
+ for i in *.sh.DISABLED ; do |
10968 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
10969 |
+ done |
10970 |
+ einfo "Disabled tests:" |
10971 |
+ for i in ${disabled} ; do |
10972 |
+ [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
10973 |
+ done |
10974 |
+ |
10975 |
+ # Avoid the test system removing the results because we want them ourselves |
10976 |
+ sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
10977 |
+ -i "${S}"/t/Makefile |
10978 |
+ |
10979 |
+ # Clean old results first, must always run |
10980 |
+ cd "${S}/t" |
10981 |
+ nonfatal git_emake clean |
10982 |
+ |
10983 |
+ # Now run the tests, keep going if we hit an error, and don't terminate on |
10984 |
+ # failure |
10985 |
+ cd "${S}" |
10986 |
+ einfo "Start test run" |
10987 |
+ #MAKEOPTS=-j1 |
10988 |
+ nonfatal git_emake --keep-going test |
10989 |
+ rc=$? |
10990 |
+ |
10991 |
+ # Display nice results, now print the results |
10992 |
+ cd "${S}/t" |
10993 |
+ nonfatal git_emake aggregate-results |
10994 |
+ |
10995 |
+ # And bail if there was a problem |
10996 |
+ [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
10997 |
+} |
10998 |
+ |
10999 |
+showpkgdeps() { |
11000 |
+ local pkg=$1 |
11001 |
+ shift |
11002 |
+ elog " $(printf "%-17s:" ${pkg}) ${@}" |
11003 |
+} |
11004 |
+ |
11005 |
+pkg_postinst() { |
11006 |
+ use emacs && elisp-site-regen |
11007 |
+ einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
11008 |
+ einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt" |
11009 |
+ einfo "Note that the prompt bash code is now in the seperate script" |
11010 |
+ elog "These additional scripts need some dependencies:" |
11011 |
+ echo |
11012 |
+ showpkgdeps git-quiltimport "dev-util/quilt" |
11013 |
+ showpkgdeps git-instaweb \ |
11014 |
+ "|| ( www-servers/lighttpd www-servers/apache )" |
11015 |
+ echo |
11016 |
+} |
11017 |
+ |
11018 |
+pkg_postrm() { |
11019 |
+ use emacs && elisp-site-regen |
11020 |
+} |
11021 |
|
11022 |
diff --git a/dev-vcs/git/metadata.xml b/dev-vcs/git/metadata.xml |
11023 |
new file mode 100644 |
11024 |
index 0000000..106f3a8 |
11025 |
--- /dev/null |
11026 |
+++ b/dev-vcs/git/metadata.xml |
11027 |
@@ -0,0 +1,40 @@ |
11028 |
+<?xml version="1.0" encoding="UTF-8"?> |
11029 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
11030 |
+<pkgmetadata> |
11031 |
+ <maintainer> |
11032 |
+ <email>robbat2@g.o</email> |
11033 |
+ <name>Robin H. Johnson</name> |
11034 |
+ </maintainer> |
11035 |
+ <maintainer> |
11036 |
+ <email>prometheanfire@g.o</email> |
11037 |
+ </maintainer> |
11038 |
+ <maintainer> |
11039 |
+ <email>polynomial-c@g.o</email> |
11040 |
+ <name>Lars Wendler</name> |
11041 |
+ </maintainer> |
11042 |
+ <longdescription lang="en"> |
11043 |
+ Git - Fast Version Control System. Official titled |
11044 |
+ "GIT - the stupid content tracker". |
11045 |
+ |
11046 |
+ Git is a popular version control system designed to handle very large |
11047 |
+ projects with speed and efficiency; it is used mainly for various open |
11048 |
+ source projects, most notably the Linux kernel. |
11049 |
+ |
11050 |
+ Git falls in the category of distributed source code management tools, |
11051 |
+ similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary |
11052 |
+ world). Every Git working directory is a full-fledged repository with full |
11053 |
+ revision tracking capabilities, not dependent on network access or a central |
11054 |
+ server. |
11055 |
+ </longdescription> |
11056 |
+ <use> |
11057 |
+ <flag name="blksha1">Use the new optimized SHA1 implementation</flag> |
11058 |
+ <flag name="cgi">Install gitweb too</flag> |
11059 |
+ <flag name="curl">Support fetching and pushing (requires webdav too) over http:// and https:// protocols</flag> |
11060 |
+ <flag name="gpg">Pull in gnupg for signing -- without gnupg, attempts at signing will fail at runtime!</flag> |
11061 |
+ <flag name="gtk">Include the gitview contrib tool</flag> |
11062 |
+ <flag name="highlight">GitWeb support for app-text/highlight</flag> |
11063 |
+ <flag name="ppcsha1">Make use of a bundled routine that is optimized for the PPC arch</flag> |
11064 |
+ <flag name="subversion">Include git-svn for <pkg>dev-vcs/subversion</pkg> support</flag> |
11065 |
+ <flag name="webdav">Adds support for push'ing to HTTP/HTTPS repositories via DAV</flag> |
11066 |
+ </use> |
11067 |
+</pkgmetadata> |