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