Gentoo Archives: gentoo-commits

From: "Lance Albertson (ramereth)" <ramereth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/dokuwiki: ChangeLog dokuwiki-20080504.ebuild
Date: Tue, 06 May 2008 19:17:38
Message-Id: E1JtSfO-00074v-G6@stork.gentoo.org
1 ramereth 08/05/06 19:17:34
2
3 Modified: ChangeLog
4 Added: dokuwiki-20080504.ebuild
5 Log:
6 Bump to new upstream stable release 20080504, resolves #220605
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.33 www-apps/dokuwiki/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dokuwiki/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dokuwiki/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dokuwiki/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 31 Mar 2008 15:45:18 -0000 1.32
23 +++ ChangeLog 6 May 2008 19:17:34 -0000 1.33
24 @@ -1,6 +1,12 @@
25 # ChangeLog for www-apps/dokuwiki
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.32 2008/03/31 15:45:18 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.33 2008/05/06 19:17:34 ramereth Exp $
29 +
30 +*dokuwiki-20080504 (06 May 2008)
31 +
32 + 06 May 2008; Lance Albertson <ramereth@g.o>
33 + +dokuwiki-20080504.ebuild:
34 + Bump to new upstream stable release 20080504, resolves #220605
35
36 31 Mar 2008; Raúl Porcel <armin76@g.o> dokuwiki-20070626b.ebuild:
37 sparc stable wrt #215198, thanks to Aaron Mavrinac for testing
38
39
40
41 1.1 www-apps/dokuwiki/dokuwiki-20080504.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dokuwiki/dokuwiki-20080504.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/dokuwiki/dokuwiki-20080504.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dokuwiki-20080504.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20080504.ebuild,v 1.1 2008/05/06 19:17:34 ramereth Exp $
51
52 inherit webapp depend.php
53
54 # upstream uses dashes in the datestamp
55 MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}${PV:8:1}"
56
57 DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small companies documentation needs."
58 HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
59 SRC_URI="http://www.splitbrain.org/_media/projects/${PN}/${PN}-${MY_PV}.tgz"
60
61 LICENSE="GPL-2"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 need_httpd_cgi
69 need_php_httpd
70
71 pkg_setup() {
72 webapp_pkg_setup
73 has_php
74 if [[ ${PHP_VERSION} == "4" ]] ; then
75 require_php_with_use cli expat
76 else
77 require_php_with_use cli xml
78 fi
79 }
80
81 src_unpack() {
82 unpack ${A}
83 mv ${PN}-${MY_PV} ${P}
84 cd "${S}"
85
86 # create initial changes file
87 touch data/changes.log
88 }
89
90 src_install() {
91 webapp_src_preinst
92
93 dodoc README
94 rm -f README COPYING VERSION
95
96 docinto scripts
97 dodoc bin/*
98 rm -rf bin
99
100 insinto "${MY_HTDOCSDIR}"
101 doins -r .
102
103 for x in $(find data/ -not -name '.htaccess'); do
104 webapp_serverowned "${MY_HTDOCSDIR}"/${x}
105 done
106
107 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
108 webapp_configfile "${MY_HTDOCSDIR}"/conf
109
110 for x in $(find conf/ -not -name 'msg'); do
111 webapp_configfile "${MY_HTDOCSDIR}"/${x}
112 done
113
114 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
115 webapp_src_install
116 }
117
118
119
120 --
121 gentoo-commits@l.g.o mailing list