summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2006-06-11 17:33:26 +0000
committerStuart Herbert <stuart@gentoo.org>2006-06-11 17:33:26 +0000
commit5ac4e81b468315fafe440b2689f8df0861ce15c2 (patch)
tree4b6ed87db668f743a51f236a3f7cf411dc6c730b /www-apps/dokuwiki
parentWarn that avi2swf and gif2swf are not installed for bug 136046. Thanks to Sam... (diff)
downloadgentoo-2-5ac4e81b468315fafe440b2689f8df0861ce15c2.tar.gz
gentoo-2-5ac4e81b468315fafe440b2689f8df0861ce15c2.tar.bz2
gentoo-2-5ac4e81b468315fafe440b2689f8df0861ce15c2.zip
Fixes for security bug #135623, and config bug #129473
(Portage version: 2.1)
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r--www-apps/dokuwiki/ChangeLog13
-rw-r--r--www-apps/dokuwiki/dokuwiki-20060309-r1.ebuild67
-rw-r--r--www-apps/dokuwiki/files/digest-dokuwiki-20060309-r13
3 files changed, 82 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
index f6e79aecbb9b..adfa23fc1c23 100644
--- a/www-apps/dokuwiki/ChangeLog
+++ b/www-apps/dokuwiki/ChangeLog
@@ -1,6 +1,17 @@
# 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.7 2006/04/12 01:22:49 ramereth Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.8 2006/06/11 17:33:25 stuart Exp $
+
+ 11 Jun 2006; Stuart Herbert <stuart@gentoo.org> -dokuwiki-20050713.ebuild,
+ -dokuwiki-20060305.ebuild, -dokuwiki-20060309.ebuild,
+ +dokuwiki-20060309-r1.ebuild:
+ Removed old versions
+
+*dokuwiki-20060309-r1 (11 Jun 2006)
+
+ 11 Jun 2006; Stuart Herbert <stuart@gentoo.org>
+ +dokuwiki-20060309-r1.ebuild:
+ Bump; fixes security bug 135623
12 Apr 2006; Lance Albertson <ramereth@gentoo.org>
dokuwiki-20060309.ebuild:
diff --git a/www-apps/dokuwiki/dokuwiki-20060309-r1.ebuild b/www-apps/dokuwiki/dokuwiki-20060309-r1.ebuild
new file mode 100644
index 000000000000..a2cfb1bca8a9
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20060309-r1.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-20060309-r1.ebuild,v 1.1 2006/06/11 17:33:26 stuart Exp $
+
+inherit webapp
+
+# Upstream uses dashes in the datestamp
+MY_PV="${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}"
+
+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-20060309-r1 b/www-apps/dokuwiki/files/digest-dokuwiki-20060309-r1
new file mode 100644
index 000000000000..17b480c18156
--- /dev/null
+++ b/www-apps/dokuwiki/files/digest-dokuwiki-20060309-r1
@@ -0,0 +1,3 @@
+MD5 d67c854712347e7c3cdba6b4a951c533 dokuwiki-2006-03-09.tgz 834975
+RMD160 180d091711a17f53b77bf1ddc8c699764fe57096 dokuwiki-2006-03-09.tgz 834975
+SHA256 1c325c120aae7834cea6f8e7caf6938ebaf5231b7134ff0bf36ca59d86286a6a dokuwiki-2006-03-09.tgz 834975