summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/dokuwiki/ChangeLog10
-rw-r--r--www-apps/dokuwiki/Manifest4
-rw-r--r--www-apps/dokuwiki/dokuwiki-20050713.ebuild60
-rw-r--r--www-apps/dokuwiki/files/digest-dokuwiki-200507131
-rw-r--r--www-apps/dokuwiki/files/postinstall-en.txt47
-rw-r--r--www-apps/dokuwiki/metadata.xml18
6 files changed, 140 insertions, 0 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
new file mode 100644
index 000000000000..3aede455d396
--- /dev/null
+++ b/www-apps/dokuwiki/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/dokuwiki
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.1 2005/07/24 22:21:20 ramereth Exp $
+
+*dokuwiki-20050713 (24 Jul 2005)
+
+ 24 Jul 2005; Lance Albertson <ramereth@gentoo.org>
+ +files/postinstall-en.txt, +metadata.xml, +dokuwiki-20050713.ebuild:
+ * Initial commit for package
+
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest
new file mode 100644
index 000000000000..975683afeaad
--- /dev/null
+++ b/www-apps/dokuwiki/Manifest
@@ -0,0 +1,4 @@
+MD5 e7dda3e50ea7e764345e76da03eb5cb6 dokuwiki-20050713.ebuild 1379
+MD5 494ac870858e3c1dd3e6e1ca041856fa metadata.xml 703
+MD5 a65ef20ee770f09cfcd76f346f3da136 files/digest-dokuwiki-20050713 68
+MD5 1b5b86b6942f3451fc286451dbaf7c4a files/postinstall-en.txt 1590
diff --git a/www-apps/dokuwiki/dokuwiki-20050713.ebuild b/www-apps/dokuwiki/dokuwiki-20050713.ebuild
new file mode 100644
index 000000000000..f813e1cd2696
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20050713.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20050713.ebuild,v 1.1 2005/07/24 22:21:20 ramereth 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/Programming/PHP/DokuWiki/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/php"
+RDEPEND=""
+
+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_src_install
+}
diff --git a/www-apps/dokuwiki/files/digest-dokuwiki-20050713 b/www-apps/dokuwiki/files/digest-dokuwiki-20050713
new file mode 100644
index 000000000000..8da8ed2b9370
--- /dev/null
+++ b/www-apps/dokuwiki/files/digest-dokuwiki-20050713
@@ -0,0 +1 @@
+MD5 a034e5cf491b2da87670a938a84643c9 dokuwiki-2005-07-13.tgz 497122
diff --git a/www-apps/dokuwiki/files/postinstall-en.txt b/www-apps/dokuwiki/files/postinstall-en.txt
new file mode 100644
index 000000000000..b00cd479e3a5
--- /dev/null
+++ b/www-apps/dokuwiki/files/postinstall-en.txt
@@ -0,0 +1,47 @@
+To complete installation you need to perform the following steps:
+
+ 1) Configure dokuwiki base options
+ 2) Check the config
+ 3) Notes
+
+1 - Configure dokuwiki base options
+
+ The first thing we need to do is set base options of dokuwiki:
+
+ $ cd ${MY_INSTALLDIR}/conf
+
+ Edit dokuwiki/conf/dokuwiki.php (see config [1]) if you want to change
+ anything within it. Better yet, create ${MY_INSTALLDIR}/conf/local.php containing
+ those lines from dokuwiki.php which you want to change. This way, your
+ changes are preserved when overwriting the dokuwiki.php with a new
+ release.
+
+ $ cp local.php.dist local.php
+
+2 - Check the config
+
+ Finally, test if everything is set up correctly. Use the check option in a
+ URL and pull it up into a browser:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/doku.php?do=check
+
+3) - Notes
+
+ Please see the website [2] for more information on setting up dokuwiki.
+
+ Dokuwiki's default config leaves editing wide open, so please read the
+ acl [3] and user [4] documentation before proceding farther. If you use
+ the plaintext authentication, you may need to do the following:
+
+ $ cd conf/
+ $ cp users.auth.php.dist users.auth.php
+ $ cp acl.auth.php.dist acl.auth.php
+ $ chown apache:apache users.auth.php acl.auth.php
+
+ This enables apache to write to the files for editing the acl/user
+ creation capability.
+
+[1] http://wiki.splitbrain.org/wiki:config
+[2] http://wiki.splitbrain.org/wiki:dokuwiki
+[3] http://wiki.splitbrain.org/wiki:acl
+[4] http://wiki.splitbrain.org/wiki:auth_plain
diff --git a/www-apps/dokuwiki/metadata.xml b/www-apps/dokuwiki/metadata.xml
new file mode 100644
index 000000000000..94f975f42e92
--- /dev/null
+++ b/www-apps/dokuwiki/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>webapp</herd>
+ <maintainer>
+ <email>ramereth@gentoo.org</email>
+ <name>Lance Albertson</name>
+ </maintainer>
+ <longdescription lang="en">
+ DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at
+ creating documentation of any kind. It is targeted at developer teams,
+ workgroups and small companies. It has a simple but powerful syntax
+ which makes sure the datafiles remain readable outside the Wiki and
+ eases the creation of structured texts. All data is stored in plain text
+ files - no database is required.
+ </longdescription>
+</pkgmetadata>
+