summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2006-09-11 15:55:58 +0000
committerLance Albertson <ramereth@gentoo.org>2006-09-11 15:55:58 +0000
commitfb022f576af5237ea302e1d8d70265b5c27cfd71 (patch)
tree143caa6129aebe463a39b975785a47c13d51477c /www-apps/dokuwiki
parentppc stable, bug #146486 (diff)
downloadgentoo-2-fb022f576af5237ea302e1d8d70265b5c27cfd71.tar.gz
gentoo-2-fb022f576af5237ea302e1d8d70265b5c27cfd71.tar.bz2
gentoo-2-fb022f576af5237ea302e1d8d70265b5c27cfd71.zip
version bump, also fixes security bug #146800
(Portage version: 2.1-r2)
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r--www-apps/dokuwiki/ChangeLog8
-rw-r--r--www-apps/dokuwiki/dokuwiki-20060309c.ebuild67
-rw-r--r--www-apps/dokuwiki/files/digest-dokuwiki-20060309c3
3 files changed, 77 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
index 123e21db31a3..75a992b20272 100644
--- a/www-apps/dokuwiki/ChangeLog
+++ b/www-apps/dokuwiki/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/dokuwiki
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.10 2006/09/05 04:25:11 ramereth Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.11 2006/09/11 15:55:58 ramereth Exp $
+
+*dokuwiki-20060309c (11 Sep 2006)
+
+ 11 Sep 2006; Lance Albertson <ramereth@gentoo.org>
+ +dokuwiki-20060309c.ebuild:
+ * Version bump, also fixes security bug #146800
05 Sep 2006; Lance Albertson <ramereth@gentoo.org>
-dokuwiki-20050922.ebuild:
diff --git a/www-apps/dokuwiki/dokuwiki-20060309c.ebuild b/www-apps/dokuwiki/dokuwiki-20060309c.ebuild
new file mode 100644
index 000000000000..f97b0eb21876
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20060309c.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20060309c.ebuild,v 1.1 2006/09/11 15:55:58 ramereth Exp $
+
+inherit webapp
+
+# Upstream uses dashes in the datestamp
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}${PV:8:1}"
+
+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}"
+
+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
+
+ 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-20060309c b/www-apps/dokuwiki/files/digest-dokuwiki-20060309c
new file mode 100644
index 000000000000..b8f54f0ae28b
--- /dev/null
+++ b/www-apps/dokuwiki/files/digest-dokuwiki-20060309c
@@ -0,0 +1,3 @@
+MD5 de5ea0e1e18c9b57d92b9e83f2fc47ac dokuwiki-2006-03-09c.tgz 835922
+RMD160 9544d2c3fa6f6389610f90a331c57ec2a0053cfb dokuwiki-2006-03-09c.tgz 835922
+SHA256 85bcb6eba52f472c98e3f3a05dcd538ac6a067e82a292d9bd4e67faeed9853df dokuwiki-2006-03-09c.tgz 835922