/[gentoo-x86]/www-apps/phpwiki/phpwiki-1.3.10-r2.ebuild
Gentoo

Contents of /www-apps/phpwiki/phpwiki-1.3.10-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Aug 9 10:28:47 2007 UTC (13 years ago) by wrobel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed insecure phpwiki-1.3.10-r2 from the tree.
(Portage version: 2.1.2.11)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/phpwiki/phpwiki-1.3.10-r2.ebuild,v 1.4 2007/07/29 17:33:28 phreak Exp $
4
5 inherit eutils webapp
6
7 DESCRIPTION="PhpWiki is a WikiWikiWeb clone in PHP"
8 HOMEPAGE="http://phpwiki.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz http://dev.gentoo.org/~stuart/patches/${PN}-xmlrpc.tar.gz"
10
11 LICENSE="GPL-2"
12 KEYWORDS="ppc ~sparc ~x86"
13 IUSE=""
14
15 RDEPEND="virtual/php
16 www-servers/apache"
17
18 src_unpack() {
19 unpack ${A}
20 cd ${S}
21 epatch ${FILESDIR}/phpwiki-1.3.10-xmlrpc.patch
22 rm -f Makefile LICENSE
23
24 # patch for XMLRPC vulnerabilities
25 cp -f ${WORKDIR}/phpwiki-xmlrpc/* lib/XMLRPC/
26 }
27
28 src_install() {
29 webapp_src_preinst
30
31 cp -pPR * ${D}/${MY_HTDOCSDIR}
32 rm -rf ${D}/${MY_HTDOCSDIR}/{doc,schemas,README,INSTALL,UPGRADING}
33
34 dodoc README INSTALL UPGRADING doc/* schemas/*
35
36 # Create config file from distribution default, and fix up invalid defaults
37 cd ${D}/${MY_HTDOCSDIR}/config
38 sed "s:;DEBUG = 1:DEBUG = 0:" config-dist.ini > config.ini
39
40 webapp_postinst_txt en ${FILESDIR}/postinstall-1.3-en.txt
41 webapp_configfile ${MY_HTDOCSDIR}/config/config.ini
42
43 webapp_src_install
44 }

  ViewVC Help
Powered by ViewVC 1.1.20