1 |
pva 11/04/29 19:02:19 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: cgit-0.8.3.5.ebuild cgit-9999.ebuild |
5 |
cgit-0.9.ebuild |
6 |
Log: |
7 |
Version bump, bug #325411. Fixes security bug #357819, thank Paweł Hajdan, Jr. for report. Fixes cgi support bug 310961 wrt parafin. Thank Nikoli for this job. |
8 |
|
9 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 www-apps/cgit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 16 Jun 2010 16:32:52 -0000 1.4 |
25 |
+++ ChangeLog 29 Apr 2011 19:02:19 -0000 1.5 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for www-apps/cgit |
28 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v 1.4 2010/06/16 16:32:52 ramereth Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v 1.5 2011/04/29 19:02:19 pva Exp $ |
32 |
+ |
33 |
+*cgit-9999 (29 Apr 2011) |
34 |
+*cgit-0.9 (29 Apr 2011) |
35 |
+*cgit-0.8.3.5 (29 Apr 2011) |
36 |
+ |
37 |
+ 29 Apr 2011; Peter Volkov <pva@g.o> +cgit-0.8.3.5.ebuild, |
38 |
+ +cgit-0.9.ebuild, +cgit-9999.ebuild, files/cgitrc, metadata.xml: |
39 |
+ Version bump, bug #325411. Fixes security bug #357819, thank Paweł Hajdan, |
40 |
+ Jr. for report. Fixes cgi support bug 310961 wrt parafin. Thank Nikoli for |
41 |
+ this job. |
42 |
|
43 |
16 Jun 2010; Lance Albertson <ramereth@g.o> -cgit-0.8.3.1.ebuild, |
44 |
cgit-0.8.3.1-r1.ebuild: |
45 |
|
46 |
|
47 |
|
48 |
1.2 www-apps/cgit/metadata.xml |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/metadata.xml?rev=1.2&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/metadata.xml?rev=1.2&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/metadata.xml?r1=1.1&r2=1.2 |
53 |
|
54 |
Index: metadata.xml |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/cgit/metadata.xml,v |
57 |
retrieving revision 1.1 |
58 |
retrieving revision 1.2 |
59 |
diff -u -r1.1 -r1.2 |
60 |
--- metadata.xml 23 Feb 2010 22:54:11 -0000 1.1 |
61 |
+++ metadata.xml 29 Apr 2011 19:02:19 -0000 1.2 |
62 |
@@ -6,11 +6,22 @@ |
63 |
<email>ramereth@g.o</email> |
64 |
<name>Lance Albertson</name> |
65 |
</maintainer> |
66 |
+ <maintainer> |
67 |
+ <email>nikoli@×××××××.com</email> |
68 |
+ <name>Nikoli</name> |
69 |
+ </maintainer> |
70 |
+ <maintainer> |
71 |
+ <email>pva@g.o</email> |
72 |
+ <name>Peter Volkov</name> |
73 |
+ </maintainer> |
74 |
<longdescription lang="en"> |
75 |
cgit - cgi for git |
76 |
|
77 |
This is an attempt to create a fast web interface for the git scm, using a |
78 |
builtin cache to decrease server io-pressure. |
79 |
</longdescription> |
80 |
+ <use> |
81 |
+ <flag name="highlight">Enable source code highlighting</flag> |
82 |
+ </use> |
83 |
</pkgmetadata> |
84 |
|
85 |
|
86 |
|
87 |
|
88 |
1.1 www-apps/cgit/cgit-0.8.3.5.ebuild |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.8.3.5.ebuild?rev=1.1&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.8.3.5.ebuild?rev=1.1&content-type=text/plain |
92 |
|
93 |
Index: cgit-0.8.3.5.ebuild |
94 |
=================================================================== |
95 |
# Copyright 1999-2011 Gentoo Foundation |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/cgit-0.8.3.5.ebuild,v 1.1 2011/04/29 19:02:18 pva Exp $ |
98 |
|
99 |
EAPI="2" |
100 |
|
101 |
WEBAPP_MANUAL_SLOT="yes" |
102 |
|
103 |
inherit webapp eutils multilib |
104 |
|
105 |
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/" |
106 |
|
107 |
GIT_V="1.7.3" |
108 |
|
109 |
DESCRIPTION="a fast web-interface for git repositories" |
110 |
HOMEPAGE="http://hjemli.net/git/cgit/about/" |
111 |
SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2 |
112 |
http://hjemli.net/git/cgit/snapshot/${P}.tar.bz2" |
113 |
|
114 |
LICENSE="GPL-2" |
115 |
SLOT="0" |
116 |
KEYWORDS="~amd64 ~x86" |
117 |
IUSE="doc highlight" |
118 |
|
119 |
RDEPEND=" |
120 |
dev-vcs/git |
121 |
sys-libs/zlib |
122 |
dev-libs/openssl |
123 |
virtual/httpd-cgi |
124 |
highlight? ( app-text/highlight ) |
125 |
" |
126 |
# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken |
127 |
DEPEND="${RDEPEND} |
128 |
!<www-apps/cgit-0.8.3.3 |
129 |
doc? ( app-text/docbook-xsl-stylesheets |
130 |
>=app-text/asciidoc-8.5.1 ) |
131 |
" |
132 |
|
133 |
pkg_setup() { |
134 |
webapp_pkg_setup |
135 |
enewuser "${PN}" |
136 |
} |
137 |
|
138 |
src_prepare() { |
139 |
rmdir git || die |
140 |
mv "${WORKDIR}"/git-"${GIT_V}" git || die |
141 |
|
142 |
sed -i \ |
143 |
-e "/^CACHE_ROOT =/s:/var/cache/cgit:${CGIT_CACHEDIR}:" \ |
144 |
Makefile || die |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
emake || die |
149 |
if use doc ; then |
150 |
emake man-doc || die |
151 |
fi |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
webapp_src_preinst |
156 |
|
157 |
emake \ |
158 |
CGIT_SCRIPT_PATH="${MY_CGIBINDIR}" \ |
159 |
CGIT_DATA_PATH="${MY_HTDOCSDIR}" \ |
160 |
DESTDIR="${D}" install || die |
161 |
|
162 |
exeinto /usr/$(get_libdir)/${PN}/filters |
163 |
doexe filters/*.sh |
164 |
|
165 |
insinto /etc |
166 |
doins "${FILESDIR}"/cgitrc |
167 |
|
168 |
dodoc README |
169 |
use doc && doman cgitrc.5 |
170 |
|
171 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
172 |
webapp_src_install |
173 |
|
174 |
keepdir "${CGIT_CACHEDIR}" |
175 |
fowners ${PN}:${PN} "${CGIT_CACHEDIR}" |
176 |
fperms 700 "${CGIT_CACHEDIR}" |
177 |
} |
178 |
|
179 |
pkg_postinst() { |
180 |
ewarn "If you intend to run cgit using web server's user" |
181 |
ewarn "you should change /var/cache/cgit/ permissions." |
182 |
} |
183 |
|
184 |
|
185 |
|
186 |
1.1 www-apps/cgit/cgit-9999.ebuild |
187 |
|
188 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-9999.ebuild?rev=1.1&view=markup |
189 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-9999.ebuild?rev=1.1&content-type=text/plain |
190 |
|
191 |
Index: cgit-9999.ebuild |
192 |
=================================================================== |
193 |
# Copyright 1999-2011 Gentoo Foundation |
194 |
# Distributed under the terms of the GNU General Public License v2 |
195 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/cgit-9999.ebuild,v 1.1 2011/04/29 19:02:19 pva Exp $ |
196 |
|
197 |
EAPI="2" |
198 |
|
199 |
WEBAPP_MANUAL_SLOT="yes" |
200 |
|
201 |
inherit webapp eutils multilib git |
202 |
|
203 |
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/" |
204 |
|
205 |
GIT_V="1.7.4" |
206 |
|
207 |
DESCRIPTION="a fast web-interface for git repositories" |
208 |
HOMEPAGE="http://hjemli.net/git/cgit/about/" |
209 |
SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2" |
210 |
EGIT_REPO_URI="git://hjemli.net/pub/git/${PN}" |
211 |
|
212 |
LICENSE="GPL-2" |
213 |
SLOT="0" |
214 |
KEYWORDS="" |
215 |
IUSE="doc highlight" |
216 |
|
217 |
RDEPEND=" |
218 |
dev-vcs/git |
219 |
sys-libs/zlib |
220 |
dev-libs/openssl |
221 |
virtual/httpd-cgi |
222 |
highlight? ( app-text/highlight ) |
223 |
" |
224 |
# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken |
225 |
DEPEND="${RDEPEND} |
226 |
!<www-apps/cgit-0.8.3.3 |
227 |
doc? ( app-text/docbook-xsl-stylesheets |
228 |
>=app-text/asciidoc-8.5.1 ) |
229 |
" |
230 |
|
231 |
pkg_setup() { |
232 |
webapp_pkg_setup |
233 |
enewuser "${PN}" |
234 |
} |
235 |
|
236 |
src_unpack() { |
237 |
git_src_unpack |
238 |
|
239 |
cd "${WORKDIR}" && unpack ${A} |
240 |
} |
241 |
|
242 |
src_prepare() { |
243 |
rmdir git || die |
244 |
mv "${WORKDIR}"/git-"${GIT_V}" git || die |
245 |
|
246 |
sed -i \ |
247 |
-e "/^CACHE_ROOT =/s:/var/cache/cgit:${CGIT_CACHEDIR}:" \ |
248 |
Makefile || die |
249 |
} |
250 |
|
251 |
src_compile() { |
252 |
emake || die |
253 |
if use doc ; then |
254 |
emake doc-man || die |
255 |
fi |
256 |
} |
257 |
|
258 |
src_install() { |
259 |
webapp_src_preinst |
260 |
|
261 |
emake \ |
262 |
prefix=/usr \ |
263 |
libdir=/usr/$(get_libdir) \ |
264 |
CGIT_SCRIPT_PATH="${MY_CGIBINDIR}" \ |
265 |
CGIT_DATA_PATH="${MY_HTDOCSDIR}" \ |
266 |
DESTDIR="${D}" install || die |
267 |
|
268 |
insinto /etc |
269 |
doins "${FILESDIR}"/cgitrc |
270 |
|
271 |
dodoc README |
272 |
use doc && doman cgitrc.5 |
273 |
|
274 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
275 |
webapp_src_install |
276 |
|
277 |
keepdir "${CGIT_CACHEDIR}" |
278 |
fowners ${PN}:${PN} "${CGIT_CACHEDIR}" |
279 |
fperms 700 "${CGIT_CACHEDIR}" |
280 |
} |
281 |
|
282 |
pkg_postinst() { |
283 |
ewarn "If you intend to run cgit using web server's user" |
284 |
ewarn "you should change /var/cache/cgit/ permissions." |
285 |
} |
286 |
|
287 |
|
288 |
|
289 |
1.1 www-apps/cgit/cgit-0.9.ebuild |
290 |
|
291 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.9.ebuild?rev=1.1&view=markup |
292 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.9.ebuild?rev=1.1&content-type=text/plain |
293 |
|
294 |
Index: cgit-0.9.ebuild |
295 |
=================================================================== |
296 |
# Copyright 1999-2011 Gentoo Foundation |
297 |
# Distributed under the terms of the GNU General Public License v2 |
298 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/cgit-0.9.ebuild,v 1.1 2011/04/29 19:02:19 pva Exp $ |
299 |
|
300 |
EAPI="2" |
301 |
|
302 |
WEBAPP_MANUAL_SLOT="yes" |
303 |
|
304 |
inherit webapp eutils multilib |
305 |
|
306 |
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/" |
307 |
|
308 |
GIT_V="1.7.4" |
309 |
|
310 |
DESCRIPTION="a fast web-interface for git repositories" |
311 |
HOMEPAGE="http://hjemli.net/git/cgit/about/" |
312 |
SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2 |
313 |
http://hjemli.net/git/cgit/snapshot/${P}.tar.bz2" |
314 |
|
315 |
LICENSE="GPL-2" |
316 |
SLOT="0" |
317 |
KEYWORDS="~amd64 ~x86" |
318 |
IUSE="doc highlight" |
319 |
|
320 |
RDEPEND=" |
321 |
dev-vcs/git |
322 |
sys-libs/zlib |
323 |
dev-libs/openssl |
324 |
virtual/httpd-cgi |
325 |
highlight? ( app-text/highlight ) |
326 |
" |
327 |
# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken |
328 |
DEPEND="${RDEPEND} |
329 |
!<www-apps/cgit-0.8.3.3 |
330 |
doc? ( app-text/docbook-xsl-stylesheets |
331 |
>=app-text/asciidoc-8.5.1 ) |
332 |
" |
333 |
|
334 |
pkg_setup() { |
335 |
webapp_pkg_setup |
336 |
enewuser "${PN}" |
337 |
} |
338 |
|
339 |
src_prepare() { |
340 |
rmdir git || die |
341 |
mv "${WORKDIR}"/git-"${GIT_V}" git || die |
342 |
|
343 |
sed -i \ |
344 |
-e "/^CACHE_ROOT =/s:/var/cache/cgit:${CGIT_CACHEDIR}:" \ |
345 |
Makefile || die |
346 |
} |
347 |
|
348 |
src_compile() { |
349 |
emake || die |
350 |
if use doc ; then |
351 |
emake doc-man || die |
352 |
fi |
353 |
} |
354 |
|
355 |
src_install() { |
356 |
webapp_src_preinst |
357 |
|
358 |
emake \ |
359 |
prefix=/usr \ |
360 |
libdir=/usr/$(get_libdir) \ |
361 |
CGIT_SCRIPT_PATH="${MY_CGIBINDIR}" \ |
362 |
CGIT_DATA_PATH="${MY_HTDOCSDIR}" \ |
363 |
DESTDIR="${D}" install || die |
364 |
|
365 |
insinto /etc |
366 |
doins "${FILESDIR}"/cgitrc |
367 |
|
368 |
dodoc README |
369 |
use doc && doman cgitrc.5 |
370 |
|
371 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
372 |
webapp_src_install |
373 |
|
374 |
keepdir "${CGIT_CACHEDIR}" |
375 |
fowners ${PN}:${PN} "${CGIT_CACHEDIR}" |
376 |
fperms 700 "${CGIT_CACHEDIR}" |
377 |
} |
378 |
|
379 |
pkg_postinst() { |
380 |
ewarn "If you intend to run cgit using web server's user" |
381 |
ewarn "you should change /var/cache/cgit/ permissions." |
382 |
} |