1 |
commit: 36dc4b135fa4e3acbc57783b0e560e10ca38c556 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 1 10:53:19 2019 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 1 10:53:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dc4b13 |
7 |
|
8 |
www-apps/dokuwiki: bump to hotfix 20180422b. |
9 |
|
10 |
This hotfix fixes a PHP 7.3 compatibility issue and the ACL check. |
11 |
|
12 |
Release notes - https://www.dokuwiki.org/changes |
13 |
Thanks to boris for opening the bug requesting the bump. |
14 |
Closes: http://bugs.gentoo.org/676904 |
15 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
16 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
17 |
|
18 |
www-apps/dokuwiki/Manifest | 1 + |
19 |
www-apps/dokuwiki/dokuwiki-20180422b.ebuild | 79 +++++++++++++++++++++++++++++ |
20 |
2 files changed, 80 insertions(+) |
21 |
|
22 |
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest |
23 |
index a8b08deb1d7..64daffe8e74 100644 |
24 |
--- a/www-apps/dokuwiki/Manifest |
25 |
+++ b/www-apps/dokuwiki/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST dokuwiki-2016-06-26e.tgz 3464178 BLAKE2B cdeebee2f36cc899fcffe1d6df6f5beee8f7dd303db00a41fa4d187c27528971a8ea0fccffacb6331fe61f5854a9b2687ff55c2578d628164a39f817e4538a58 SHA512 b47c3a31b0bc731392703ed8d705717e7d1b75db0c44d822d8791c1e409d5285fe863a3dbd13bc60b73c01ca268f7a73a6a24c90edd211fd5c124d3a8be70039 |
28 |
DIST dokuwiki-2017-02-19e.tgz 3505643 BLAKE2B 99fedb175fa8e1330a4ad14ed8d593edfc1edb9aeb7d8b9100e940fb4c5bfac9dada2fe395e030cff18b8c809e36211fc9d0bdc22d5be3fae7f243343704218a SHA512 6fadb64f9d8394731f346708849d8828b33f4f775e23bca97896b2e06bbfc3b70a6fc17d63dcef8199fdb0aaf0b8291eb0eebcdff7b81524b2d454229eb20be4 |
29 |
DIST dokuwiki-2018-04-22a.tgz 3749191 BLAKE2B bb03b771e857a2db16ebd44d3f888af8e3c9dcd6fb5da2a549dc7c942ad87cb1e0aee6d3ed78edaa9df864804bf51cd18a17cf8a4123d12fac39405fe661bc04 SHA512 bf1dd7411abadedb395c9e12c7a9f5586fe078e59556b1ce66a5351c06f338406eca944d7589f40d8a9eb098da6ed0edc256f83ec8b19f6335415e2fe6c31284 |
30 |
+DIST dokuwiki-2018-04-22b.tgz 3745314 BLAKE2B 56c349c72038db83b5ae199ac1d6d00ef8566a00fdf2bc5a782e808e5205ae3ba5cfa47bdfc4f7fb0b2e493a22eed006517cfb46f7c0c57de748cfb800942f58 SHA512 6fc1fba8d93296d7cc795a4067e409339b3ce965ad38aefa42f1974d267ac05f199185e895a60d355ebe8371c68345fa51f2aea5871f955dbba1cdbdf8bedebf |
31 |
|
32 |
diff --git a/www-apps/dokuwiki/dokuwiki-20180422b.ebuild b/www-apps/dokuwiki/dokuwiki-20180422b.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..1d99e100aff |
35 |
--- /dev/null |
36 |
+++ b/www-apps/dokuwiki/dokuwiki-20180422b.ebuild |
37 |
@@ -0,0 +1,79 @@ |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+inherit webapp |
44 |
+ |
45 |
+# upstream uses dashes in the datestamp |
46 |
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" |
47 |
+MY_PV="${MY_BASE_PV}${PV:8:1}" |
48 |
+ |
49 |
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs." |
50 |
+HOMEPAGE="https://wiki.dokuwiki.org" |
51 |
+SRC_URI="https://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
55 |
+IUSE="gd" |
56 |
+ |
57 |
+DEPEND="" |
58 |
+RDEPEND=" |
59 |
+ >=dev-lang/php-5.3[xml] |
60 |
+ virtual/httpd-php:* |
61 |
+ gd? ( || |
62 |
+ ( |
63 |
+ dev-lang/php[gd] |
64 |
+ media-gfx/imagemagick |
65 |
+ ) |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+need_httpd_cgi |
70 |
+ |
71 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ # create initial changes file |
75 |
+ touch data/changes.log |
76 |
+ |
77 |
+ default |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ webapp_src_preinst |
82 |
+ |
83 |
+ dodoc README |
84 |
+ rm -f README COPYING |
85 |
+ |
86 |
+ docinto scripts |
87 |
+ dodoc bin/* |
88 |
+ rm -rf bin |
89 |
+ |
90 |
+ insinto "${MY_HTDOCSDIR}" |
91 |
+ doins -r . |
92 |
+ |
93 |
+ # Copy custom .htaccess that works with both apache 2.2 and 2.4 |
94 |
+ for dir in "conf" "data" "inc" "inc/lang"; do |
95 |
+ insinto "${MY_HTDOCSDIR}/${dir}" |
96 |
+ newins "${FILESDIR}/htaccess" ".htaccess" |
97 |
+ done |
98 |
+ |
99 |
+ # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 |
100 |
+ insinto "${MY_HTDOCSDIR}/" |
101 |
+ newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" |
102 |
+ |
103 |
+ for x in $(find data/ -not -name '.htaccess'); do |
104 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x} |
105 |
+ done |
106 |
+ |
107 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist |
108 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf |
109 |
+ |
110 |
+ for x in $(find conf/ -not -name 'msg'); do |
111 |
+ webapp_configfile "${MY_HTDOCSDIR}"/${x} |
112 |
+ done |
113 |
+ |
114 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
115 |
+ webapp_src_install |
116 |
+} |