diff options
author | 2020-07-20 00:50:53 +0000 | |
---|---|---|
committer | 2020-07-20 00:50:53 +0000 | |
commit | 16e07d70c4a05cd8cf941e639eabc13c6db2d278 (patch) | |
tree | c9f7482307241f1b758d4a1813030484534269fb | |
parent | www-apps/drupal: Fix Manifest. (diff) | |
download | jmbsvicetto-16e07d70c4a05cd8cf941e639eabc13c6db2d278.tar.gz jmbsvicetto-16e07d70c4a05cd8cf941e639eabc13c6db2d278.tar.bz2 jmbsvicetto-16e07d70c4a05cd8cf941e639eabc13c6db2d278.zip |
www-apps/dokuwiki: Add 20180422c and 20200609_rc3 releases.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r-- | www-apps/dokuwiki/Manifest | 2 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20180422c.ebuild | 79 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20200609_rc3.ebuild | 86 |
3 files changed, 167 insertions, 0 deletions
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest index a98e7d4..5509fe4 100644 --- a/www-apps/dokuwiki/Manifest +++ b/www-apps/dokuwiki/Manifest @@ -2,3 +2,5 @@ DIST dokuwiki-2016-06-26e.tgz 3464178 SHA256 af63ccaa54b617a809d78642c7e83fe6581 DIST dokuwiki-2017-02-19e.tgz 3505643 BLAKE2B 99fedb175fa8e1330a4ad14ed8d593edfc1edb9aeb7d8b9100e940fb4c5bfac9dada2fe395e030cff18b8c809e36211fc9d0bdc22d5be3fae7f243343704218a SHA512 6fadb64f9d8394731f346708849d8828b33f4f775e23bca97896b2e06bbfc3b70a6fc17d63dcef8199fdb0aaf0b8291eb0eebcdff7b81524b2d454229eb20be4 DIST dokuwiki-2018-04-22a.tgz 3749191 BLAKE2B bb03b771e857a2db16ebd44d3f888af8e3c9dcd6fb5da2a549dc7c942ad87cb1e0aee6d3ed78edaa9df864804bf51cd18a17cf8a4123d12fac39405fe661bc04 SHA512 bf1dd7411abadedb395c9e12c7a9f5586fe078e59556b1ce66a5351c06f338406eca944d7589f40d8a9eb098da6ed0edc256f83ec8b19f6335415e2fe6c31284 DIST dokuwiki-2018-04-22b.tgz 3745314 BLAKE2B 56c349c72038db83b5ae199ac1d6d00ef8566a00fdf2bc5a782e808e5205ae3ba5cfa47bdfc4f7fb0b2e493a22eed006517cfb46f7c0c57de748cfb800942f58 SHA512 6fc1fba8d93296d7cc795a4067e409339b3ce965ad38aefa42f1974d267ac05f199185e895a60d355ebe8371c68345fa51f2aea5871f955dbba1cdbdf8bedebf +DIST dokuwiki-2018-04-22c.tgz 3745201 BLAKE2B 13d8fb906136bed56a1a267a9999579521664c05904d08548afe36c73321e51d09b6e0a547852588a992014a10005ec8410ef834e6c1a0730215e6b7be7841c7 SHA512 aa6e97a04b92095132b2cc7a1e9f00df3ff97069198868d6da805fc97694ed8528dee919fc9752c0187df0c982337ad5a2f85991ca08592dd6d4d4114644668b +DIST dokuwiki-20200609_rc3.tgz 3817634 BLAKE2B 138aae6e7fe60e08fe22119e6aa8e968412663fab2714b5dc4d794108bfdb43b74fb6dd1e078347f790f579639448f8419839a699e0bb1250bddaa92e18ea5f4 SHA512 13fdde3de9d7570d49fd2dbbcea1a18fd1db0f2f462d239e872cd71a77a53270577ac4e3ed24db91923132a46aeb33037e581b7f5f1bcb9ced02b4acd966e42e diff --git a/www-apps/dokuwiki/dokuwiki-20180422c.ebuild b/www-apps/dokuwiki/dokuwiki-20180422c.ebuild new file mode 100644 index 0000000..1d99e10 --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20180422c.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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="https://wiki.dokuwiki.org" +SRC_URI="https://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 + + default +} + +src_install() { + webapp_src_preinst + + dodoc README + rm -f README COPYING + + docinto scripts + dodoc bin/* + rm -rf bin + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Copy custom .htaccess that works with both apache 2.2 and 2.4 + for dir in "conf" "data" "inc" "inc/lang"; do + insinto "${MY_HTDOCSDIR}/${dir}" + newins "${FILESDIR}/htaccess" ".htaccess" + done + + # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 + insinto "${MY_HTDOCSDIR}/" + newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" + + 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 +} diff --git a/www-apps/dokuwiki/dokuwiki-20200609_rc3.ebuild b/www-apps/dokuwiki/dokuwiki-20200609_rc3.ebuild new file mode 100644 index 0000000..9c0d761 --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20200609_rc3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit webapp + +# upstream uses dashes in the datestamp +MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" + +if [[ ${PV} == *rc* ]]; then + MY_PV="${MY_BASE_PV}${PV:8:4}" + MY_P="${PN}-rc-${MY_BASE_PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://download.dokuwiki.org/src/${PN}/${PN}-rc.tgz -> ${PN}-${PV}.tgz" +else + MY_PV="${MY_BASE_PV}${PV:8:4}" + SRC_URI="https://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs." +HOMEPAGE="https://wiki.dokuwiki.org" + +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 + +src_prepare() { + # create initial changes file + touch data/changes.log + + default +} + +src_install() { + webapp_src_preinst + + dodoc README + rm -f README COPYING + + docinto scripts + dodoc bin/* + rm -rf bin + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Copy custom .htaccess that works with both apache 2.2 and 2.4 + for dir in "conf" "data" "inc" "inc/lang"; do + insinto "${MY_HTDOCSDIR}/${dir}" + newins "${FILESDIR}/htaccess" ".htaccess" + done + + # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 + insinto "${MY_HTDOCSDIR}/" + newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" + + 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 +} |