1 |
zx2c4 13/05/27 20:42:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cgit-0.9.2.ebuild |
5 |
Removed: cgit-0.9.1.ebuild |
6 |
Log: |
7 |
Version bump, and remove old version with security vulnerability. |
8 |
|
9 |
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE) |
10 |
|
11 |
Revision Changes Path |
12 |
1.15 www-apps/cgit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?rev=1.15&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?rev=1.15&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/ChangeLog?r1=1.14&r2=1.15 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v |
21 |
retrieving revision 1.14 |
22 |
retrieving revision 1.15 |
23 |
diff -u -r1.14 -r1.15 |
24 |
--- ChangeLog 17 Mar 2013 15:37:06 -0000 1.14 |
25 |
+++ ChangeLog 27 May 2013 20:42:15 -0000 1.15 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for www-apps/cgit |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v 1.14 2013/03/17 15:37:06 hwoarang Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/ChangeLog,v 1.15 2013/05/27 20:42:15 zx2c4 Exp $ |
31 |
+ |
32 |
+*cgit-0.9.2 (27 May 2013) |
33 |
+ |
34 |
+ 27 May 2013; Jason A. Donenfeld <zx2c4@g.o> +cgit-0.9.2.ebuild, |
35 |
+ -cgit-0.9.1.ebuild: |
36 |
+ Version bump, and remove old version with security vulnerability. |
37 |
|
38 |
17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
39 |
Add proxy-maintainers to metadata.xml |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-apps/cgit/cgit-0.9.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.9.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/cgit/cgit-0.9.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cgit-0.9.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/cgit/cgit-0.9.2.ebuild,v 1.1 2013/05/27 20:42:15 zx2c4 Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
WEBAPP_MANUAL_SLOT="yes" |
57 |
|
58 |
inherit webapp eutils multilib user |
59 |
|
60 |
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/" |
61 |
|
62 |
GIT_V="1.7.4" |
63 |
|
64 |
DESCRIPTION="a fast web-interface for git repositories" |
65 |
HOMEPAGE="http://git.zx2c4.com/cgit/about" |
66 |
SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2 |
67 |
http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="doc highlight" |
73 |
|
74 |
RDEPEND=" |
75 |
dev-vcs/git |
76 |
sys-libs/zlib |
77 |
dev-libs/openssl |
78 |
virtual/httpd-cgi |
79 |
highlight? ( || ( dev-python/pygments app-text/highlight ) ) |
80 |
" |
81 |
# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken |
82 |
DEPEND="${RDEPEND} |
83 |
!<www-apps/cgit-0.8.3.3 |
84 |
doc? ( app-text/docbook-xsl-stylesheets |
85 |
>=app-text/asciidoc-8.5.1 ) |
86 |
" |
87 |
|
88 |
pkg_setup() { |
89 |
webapp_pkg_setup |
90 |
enewuser "${PN}" |
91 |
} |
92 |
|
93 |
src_prepare() { |
94 |
rmdir git || die |
95 |
mv "${WORKDIR}"/git-"${GIT_V}" git || die |
96 |
|
97 |
sed -i \ |
98 |
-e "/^CACHE_ROOT =/s:/var/cache/cgit:${CGIT_CACHEDIR}:" \ |
99 |
Makefile || die |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
emake |
104 |
use doc && emake doc-man |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
webapp_src_preinst |
109 |
|
110 |
emake \ |
111 |
prefix="${EPREFIX}"/usr \ |
112 |
libdir="${EPREFIX}"/usr/$(get_libdir) \ |
113 |
CGIT_SCRIPT_PATH="${MY_CGIBINDIR}" \ |
114 |
CGIT_DATA_PATH="${MY_HTDOCSDIR}" \ |
115 |
DESTDIR="${D}" install |
116 |
|
117 |
insinto /etc |
118 |
doins "${FILESDIR}"/cgitrc |
119 |
|
120 |
dodoc README |
121 |
use doc && doman cgitrc.5 |
122 |
|
123 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
124 |
webapp_src_install |
125 |
|
126 |
keepdir "${CGIT_CACHEDIR}" |
127 |
fowners ${PN}:${PN} "${CGIT_CACHEDIR}" |
128 |
fperms 700 "${CGIT_CACHEDIR}" |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
webapp_pkg_postinst |
133 |
ewarn "If you intend to run cgit using web server's user" |
134 |
ewarn "you should change ${CGIT_CACHEDIR} permissions." |
135 |
} |