Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/websvn: ChangeLog websvn-2.1.0.ebuild
Date: Wed, 03 Dec 2008 20:12:39
Message-Id: E1L7y5M-0003YS-TX@stork.gentoo.org
1 wrobel 08/12/03 20:12:36
2
3 Modified: ChangeLog
4 Added: websvn-2.1.0.ebuild
5 Log:
6 Added www-apps/websvn-2.1.0 in response to sec issue #243852.
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.25 www-apps/websvn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/websvn/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/websvn/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/websvn/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 26 Nov 2008 20:09:41 -0000 1.24
23 +++ ChangeLog 3 Dec 2008 20:12:36 -0000 1.25
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apps/websvn
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.24 2008/11/26 20:09:41 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/ChangeLog,v 1.25 2008/12/03 20:12:36 wrobel Exp $
29 +
30 +*websvn-2.1.0 (03 Dec 2008)
31 +
32 + 03 Dec 2008; Gunnar Wrobel <wrobel@g.o> +websvn-2.1.0.ebuild:
33 + Added www-apps/websvn-2.1.0 in response to sec issue #243852.
34
35 26 Nov 2008; Brent Baude <ranger@g.o> websvn-2.0.ebuild:
36 Added ~ppc and ~ppc64
37
38
39
40 1.1 www-apps/websvn/websvn-2.1.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/websvn/websvn-2.1.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/websvn/websvn-2.1.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: websvn-2.1.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.1.0.ebuild,v 1.1 2008/12/03 20:12:36 wrobel Exp $
50
51 inherit depend.php eutils webapp
52
53 MY_PV="${PV//_/}"
54
55 DESCRIPTION="Web-based browsing tool for Subversion (SVN) repositories in PHP"
56 HOMEPAGE="http://websvn.tigris.org/"
57 SRC_URI="http://websvn.tigris.org/files/documents/1380/44451/websvn-${MY_PV}.tar.gz"
58
59 RESTRICT="mirror"
60 LICENSE="GPL-2"
61 IUSE="enscript"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
63
64 RDEPEND="dev-util/subversion
65 enscript? ( app-text/enscript )"
66
67 need_httpd_cgi
68 need_php_httpd
69
70 S="${WORKDIR}"/websvn-${MY_PV}
71
72 pkg_setup() {
73 webapp_pkg_setup
74 has_php
75 if [[ ${PHP_VERSION} == "4" ]] ; then
76 require_php_with_use expat
77 else
78 require_php_with_use xml
79 fi
80 }
81
82 src_install() {
83 webapp_src_preinst
84
85 mv include/{dist,}config.php
86
87 dodoc changes.txt doc/templates.txt
88 dohtml doc/*
89 rm -rf license.txt changes.txt doc/
90
91 insinto "${MY_HTDOCSDIR}"
92 doins -r .
93
94 webapp_configfile "${MY_HTDOCSDIR}"/include/config.php
95 webapp_configfile "${MY_HTDOCSDIR}"/wsvn.php
96
97 webapp_serverowned "${MY_HTDOCSDIR}"/cache
98
99 webapp_src_install
100 }