Version bump - fixes bug 557944.
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Thu, 20 Aug 2015 20:50:23 +0000 (20:50 +0000)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Thu, 20 Aug 2015 20:50:23 +0000 (20:50 +0000)
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
www-apps/dokuwiki/Manifest
www-apps/dokuwiki/dokuwiki-20150810.ebuild [new file with mode: 0644]

index 2a6111284e25b5982f9aee09649564712df78cd7..d482c6ed1ce32373eb20f9625b70186d8ead989a 100644 (file)
@@ -1,2 +1,3 @@
 DIST dokuwiki-2014-05-05e.tgz 3218289 SHA256 015b5e76427b97e584f195bab6652beaa80796f12f4a547ba9b6bc4e50387282 SHA512 b306be2378aed7119c9005fc9d0c8af4d89317eac19d633a992c6e37d9fb23e22493f25854e1803c892951ec995adf2a7689e04001666318614dd78813d0ffa4 WHIRLPOOL cb4823e7110fe83eea7d61fbf2937455b44a27805b849bc475ae5c9f74a4de353be283ebd8f2cf95a94df8ea395a2a34b9f2442e763a64c730401aee67347aa9
 DIST dokuwiki-2014-09-29d.tgz 3283317 SHA256 6fc6794e13c8e3fe07f5e02bd09cc3a167486a676e9822fa17aab0a45b094794 SHA512 426c41c5d7c6484cc6d5757dbe8e0ac50bf1088406c5c58d975f19fde5f6cb0a0dafb5a27c9901335b1d65a34578f46ffabbd44eed4f5bbd59d6c3fed1c769e3 WHIRLPOOL 59ea72ab973dfc5119056bfccbd5adae9a2ac45b13dbe5971325ca6e1bc4db2e8213aac1d5aab8d699b43b0602dd4b635841e7279e9535c63ed3d80cc85b1007
+DIST dokuwiki-2015-08-10.tgz 3399960 SHA256 bdede4c71e95c1bd6a8daaa65e2ccfa8ef7372022504b9358f175df964f0a399 SHA512 745edc9ff60d2d145936693a4c66cecc4059c88c6a6fdfcce28cac0f74896f43c9156a11469902be34f278e2138c61a2ee5a8547994bd9163816c25429d8eb1b WHIRLPOOL 74b443432c9b30e4fcfe034a2898cec41ba2142775fe4ee1ae60def332aa572e04f8691914a329975a31d116fdb5e12af3b24d2552c7098ac20cc82c7d960603
diff --git a/www-apps/dokuwiki/dokuwiki-20150810.ebuild b/www-apps/dokuwiki/dokuwiki-20150810.ebuild
new file mode 100644 (file)
index 0000000..7a54790
--- /dev/null
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+# 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://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+       >=dev-lang/php-5.3[xml]
+       virtual/httpd-php:*
+       gd? ( ||
+               (
+                       dev-lang/php[gd]
+                       media-gfx/imagemagick
+               )
+       )
+"
+
+need_httpd_cgi
+
+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
+}