summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2013-09-06 19:09:54 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2013-09-06 19:09:54 +0000
commit54d3caf5aa0f6624c1e09da88e4c54d47eff8014 (patch)
treec2e68aa875e8a2731e8ae855deb2f0fa53325eda /www-apps
parentVersion bump (diff)
downloadgentoo-2-54d3caf5aa0f6624c1e09da88e4c54d47eff8014.tar.gz
gentoo-2-54d3caf5aa0f6624c1e09da88e4c54d47eff8014.tar.bz2
gentoo-2-54d3caf5aa0f6624c1e09da88e4c54d47eff8014.zip
Version bump to 20130510a release.
Copied ebuild from my overlay and added a postinst warning. (Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/dokuwiki/ChangeLog9
-rw-r--r--www-apps/dokuwiki/dokuwiki-20130510a.ebuild76
2 files changed, 84 insertions, 1 deletions
diff --git a/www-apps/dokuwiki/ChangeLog b/www-apps/dokuwiki/ChangeLog
index 52a8d86b4e00..79e1bebf1335 100644
--- a/www-apps/dokuwiki/ChangeLog
+++ b/www-apps/dokuwiki/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-apps/dokuwiki
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.62 2013/06/16 09:29:05 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/ChangeLog,v 1.63 2013/09/06 19:09:54 jmbsvicetto Exp $
+
+*dokuwiki-20130510a (06 Sep 2013)
+
+ 06 Sep 2013; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +dokuwiki-20130510a.ebuild:
+ Version bump to 20130510a release. Copied ebuild from my overlay and added a
+ postinst warning.
16 Jun 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due #66351
diff --git a/www-apps/dokuwiki/dokuwiki-20130510a.ebuild b/www-apps/dokuwiki/dokuwiki-20130510a.ebuild
new file mode 100644
index 000000000000..fbc89010eb9c
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20130510a.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dokuwiki/dokuwiki-20130510a.ebuild,v 1.1 2013/09/06 19:09:54 jmbsvicetto Exp $
+
+EAPI="4"
+
+inherit webapp depend.php
+
+# upstream uses dashes in the datestamp
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PV="${MY_BASE_PV}${PV:8:1}"
+
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's 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 ~sparc ~x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/php-5.3[xml]
+ gd? ( ||
+ (
+ dev-lang/php[gd]
+ media-gfx/imagemagick
+ )
+ )
+"
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ # create initial changes file
+ touch data/changes.log
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README
+ rm -f README COPYING
+
+ docinto scripts
+ dodoc bin/*
+ rm -rf bin
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ for x in $(find data/ -not -name '.htaccess'); do
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
+ webapp_configfile "${MY_HTDOCSDIR}"/conf
+
+ for x in $(find conf/ -not -name 'msg'); do
+ webapp_configfile "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
+
+pkg_postinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ elog "The 20130510a release changed the authentication methods again."
+ elog "It now uses authentication plugins instead of backends and some of the old"
+ elog "backends no longer work. Check https://www.dokuwiki.org/auth for more details."
+ fi
+}