summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-05-31 19:21:32 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-05-31 19:21:32 +0000
commit4cecaff61e35c7f3737ee3b102aff0f00e16cc46 (patch)
treeae74773374ed8ee003979c9cde2fe948aedd446f /www-apps/dokuwiki
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-4cecaff61e35c7f3737ee3b102aff0f00e16cc46.tar.gz
gentoo-2-4cecaff61e35c7f3737ee3b102aff0f00e16cc46.tar.bz2
gentoo-2-4cecaff61e35c7f3737ee3b102aff0f00e16cc46.zip
Version bump. Bug #180349, by Marco Clocchiatti <ziapannocchia at gmail.com>.
(Portage version: 2.1.2.7)
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r--www-apps/dokuwiki/ChangeLog7
-rw-r--r--www-apps/dokuwiki/dokuwiki-20070524.ebuild87
-rw-r--r--www-apps/dokuwiki/files/digest-dokuwiki-200705243
3 files changed, 96 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
index 2560937f762b..b4d3bdf31a1e 100644
--- a/www-apps/dokuwiki/ChangeLog
+++ b/www-apps/dokuwiki/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/dokuwiki
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.22 2007/03/23 22:21:51 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.23 2007/05/31 19:21:32 ticho Exp $
+
+*dokuwiki-20070524 (31 May 2007)
+
+ 31 May 2007; Andrej Kacian <ticho@gentoo.org> +dokuwiki-20070524.ebuild:
+ Version bump. Bug #180349, by Marco Clocchiatti <ziapannocchia at gmail.com>.
23 Mar 2007; Andrej Kacian <ticho@gentoo.org> dokuwiki-20061106.ebuild:
Add missing call to webapp_pkg_setup.
diff --git a/www-apps/dokuwiki/dokuwiki-20070524.ebuild b/www-apps/dokuwiki/dokuwiki-20070524.ebuild
new file mode 100644
index 000000000000..633781e6f163
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20070524.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20070524.ebuild,v 1.1 2007/05/31 19:21:32 ticho Exp $
+
+inherit webapp depend.php
+
+# Upstream uses dashes in the datestamp
+MY_PV="rc${PV:0:4}-${PV:4:2}-${PV:6:2}"
+
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small companies
+documentation needs."
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
+SRC_URI="http://www.splitbrain.org/_media/projects/${PN}/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="virtual/php"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # let the eclass pick right php version...
+ require_php_cli
+
+ # ...and we check if correct USE flag for XML support is enabled
+ if [[ ${PHP_VERSION} == "4" ]] ; then
+ require_php_with_use expat
+ else
+ require_php_with_use xml
+ fi
+
+ webapp_pkg_setup
+}
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${PN}-${MY_PV}.tgz
+ mv ${PN}-${MY_PV} ${P}
+}
+
+src_compile() {
+ # Default compile hangs
+ echo "Nothing to compile"
+}
+
+src_install() {
+ local docs="README"
+ webapp_src_preinst
+
+ # NOTE: doc files should go into /usr/share/doc, and NOT installed in the vhost
+ einfo "Installing docs"
+ dodoc ${docs}
+ for doc in ${docs} COPYING; do
+ rm -f ${doc}
+ done
+
+ # Move bin directory to safe location (outside of docroot)
+ # To resolve security bug #146800
+ docinto scripts
+ dodoc bin/*
+ rm -rf bin
+
+ einfo "Copying main files"
+ cp -r . ${D}/${MY_HTDOCSDIR}
+
+ # Install the htaccess file for pretty urls
+ cp .htaccess ${D}/${MY_HTDOCSDIR}
+
+ # Create initial changes file
+ touch ${D}/${MY_HTDOCSDIR}/data/changes.log data/changes.log
+
+ # The data dir needs to be owned by the server
+ for x in `find . -print | grep "data/*" | grep -v .htaccess` ; do
+ webapp_serverowned ${MY_HTDOCSDIR}/$x
+ done
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_configfile ${MY_HTDOCSDIR}/.htaccess
+
+ webapp_configfile ${MY_HTDOCSDIR}/conf
+ for x in $( cd ${D}/${MY_HTDOCSDIR}/conf && echo * ) ; do
+ webapp_configfile ${MY_HTDOCSDIR}/conf/$x
+ done
+
+ webapp_src_install
+}
diff --git a/www-apps/dokuwiki/files/digest-dokuwiki-20070524 b/www-apps/dokuwiki/files/digest-dokuwiki-20070524
new file mode 100644
index 000000000000..6f9d63fcb1df
--- /dev/null
+++ b/www-apps/dokuwiki/files/digest-dokuwiki-20070524
@@ -0,0 +1,3 @@
+MD5 25658a40d4c403963d85d79623a6db05 dokuwiki-rc2007-05-24.tgz 1180038
+RMD160 ae41dac459b72e48dc038292341171acc1bcf1be dokuwiki-rc2007-05-24.tgz 1180038
+SHA256 f9d5a18dc56945d119f35093d91194c702e0fb92df0df49e92ecfa532805100d dokuwiki-rc2007-05-24.tgz 1180038