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/tikiwiki: ChangeLog tikiwiki-2.2.ebuild
Date: Thu, 30 Oct 2008 15:32:04
Message-Id: E1KvZVC-0001cC-NQ@stork.gentoo.org
1 wrobel 08/10/30 15:32:02
2
3 Modified: ChangeLog
4 Added: tikiwiki-2.2.ebuild
5 Log:
6 Added www-apps/tikiwiki-2.2 (sec issue #243854).
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.62 www-apps/tikiwiki/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/tikiwiki/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/tikiwiki/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/tikiwiki/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 21 Sep 2008 13:09:50 -0000 1.61
23 +++ ChangeLog 30 Oct 2008 15:32:02 -0000 1.62
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apps/tikiwiki
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.61 2008/09/21 13:09:50 wrobel Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.62 2008/10/30 15:32:02 wrobel Exp $
29 +
30 +*tikiwiki-2.2 (30 Oct 2008)
31 +
32 + 30 Oct 2008; Gunnar Wrobel <wrobel@g.o> +tikiwiki-2.2.ebuild:
33 + Added www-apps/tikiwiki-2.2 (sec issue #243854).
34
35 21 Sep 2008; wrobel@g.o -tikiwiki-1.9.10.1.ebuild:
36 Removed vulnerable tikiwiki-1.9.10.1 (#213320).
37
38
39
40 1.1 www-apps/tikiwiki/tikiwiki-2.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/tikiwiki/tikiwiki-2.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/tikiwiki/tikiwiki-2.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tikiwiki-2.2.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/tikiwiki/tikiwiki-2.2.ebuild,v 1.1 2008/10/30 15:32:02 wrobel Exp $
50
51 inherit webapp depend.php
52
53 DESCRIPTION="Full-featured Web Content Management System using PHP and Smarty Templates"
54 HOMEPAGE="http://tikiwiki.org/"
55 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
56
57 LICENSE="LGPL-2.1"
58 IUSE="mysql postgres graphviz"
59 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
60
61 RDEPEND="graphviz? ( media-gfx/graphviz )"
62
63 need_httpd_cgi
64 need_php_httpd
65
66 pkg_setup () {
67 webapp_pkg_setup
68
69 local my_flags=
70 use mysql && my_flags="${my_flags} mysql"
71 use postgres && my_flags="${my_flags} postgres"
72
73 require_php_with_use ${my_flags}
74 }
75
76 src_install() {
77 webapp_src_preinst
78
79 # Remove the execute permission from the setup.sh script
80 # and rename it. Its actions have been incorporated here.
81 chmod a-x setup.sh
82 mv setup.sh setup.sh.done
83
84 dodoc changelog.txt copyright.txt doc/readme.txt doc/htaccess doc/htaccess.readme INSTALL README
85 rm -rf changelog.txt copyright.txt doc/ INSTALL license.txt README
86
87 insinto "${MY_HTDOCSDIR}"
88 doins -r .
89
90 local DIR DIRENTRY
91 local DIRS="backups db dump files img/trackers img/wiki
92 img/wiki_up modules/cache temp
93 templates_c templates styles maps whelp mods
94 lib/Galaxia/processes"
95
96 # Recursively set server ownership to allow server to write
97 # This is the rough equivalent of the setup.sh script
98 # provided in the distribution.
99 # Note: Cannot use xargs or find -exec here because
100 # these don't work with shell functions.
101
102 webapp_serverowned "${MY_HTDOCSDIR}"
103 webapp_serverowned "${MY_HTDOCSDIR}"/tiki-install.php
104
105 # ensure that directories exist, some don't.
106 # (part of original setup.sh)
107 for DIR in ${DIRS}; do
108 dodir "${MY_HTDOCSDIR}/${DIR}"
109 webapp_serverowned -R "${MY_HTDOCSDIR}/${DIR}"
110 done
111
112 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
113 webapp_src_install
114 }