1 |
commit: 9c0390fdf14bc701a937201e1aa1e251756bd3e6 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 16 02:31:36 2017 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 16 02:31:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0390fd |
7 |
|
8 |
www-apps/dokuwiki: Add 20160626b and 20170219b releases. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
www-apps/dokuwiki/Manifest | 2 + |
13 |
www-apps/dokuwiki/dokuwiki-20160626b.ebuild | 77 +++++++++++++++++++++++++++++ |
14 |
www-apps/dokuwiki/dokuwiki-20170219b.ebuild | 77 +++++++++++++++++++++++++++++ |
15 |
3 files changed, 156 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest |
18 |
index dba81b976cf..dea1e783044 100644 |
19 |
--- a/www-apps/dokuwiki/Manifest |
20 |
+++ b/www-apps/dokuwiki/Manifest |
21 |
@@ -3,3 +3,5 @@ DIST dokuwiki-2014-09-29d.tgz 3283317 SHA256 6fc6794e13c8e3fe07f5e02bd09cc3a1674 |
22 |
DIST dokuwiki-2015-08-10.tgz 3399960 SHA256 bdede4c71e95c1bd6a8daaa65e2ccfa8ef7372022504b9358f175df964f0a399 SHA512 745edc9ff60d2d145936693a4c66cecc4059c88c6a6fdfcce28cac0f74896f43c9156a11469902be34f278e2138c61a2ee5a8547994bd9163816c25429d8eb1b WHIRLPOOL 74b443432c9b30e4fcfe034a2898cec41ba2142775fe4ee1ae60def332aa572e04f8691914a329975a31d116fdb5e12af3b24d2552c7098ac20cc82c7d960603 |
23 |
DIST dokuwiki-2015-08-10a.tgz 3406922 SHA256 98f0868c0cf9fc6664b57f89149fa537b73222bcc010247771e4afc08c8199fd SHA512 61108e7dbfa0ce6a142d9a77fbffbfc29cd0ed38ecd52558ab4043703a62d570c230d57822eeb6da2a9e34f6cbf72ac25416e7f97c55b5deae121f34393a9850 WHIRLPOOL 7d4a59669220b8b6abd632a4f074c2643c703d8c7f0c59293536f9f620af92e6a25e896fb48e084dd576456fc8399df53331606628288b97508b2950a3323a77 |
24 |
DIST dokuwiki-2016-06-26a.tgz 3464161 SHA256 dfdb243cc766482eeefd99e70215b289c9aa0bd8bee83068f438440d7b1a1ce6 SHA512 5b0cb2efa0a1bc8d0601b7d19e34ac1d077522e9de2418fc0209a4162757833111e6fe659c5f2383143759a33b5613ad9783ebe42371b4c715ee5dc582b48249 WHIRLPOOL 0f381e629e9b810e98c46c3f89b98ddd1e716c63d71b9c1954e23c47ebcc3de9fbfdecda88be4022e750b24b2771b7f4ec0345bd76330daf315c4b9d070abe5a |
25 |
+DIST dokuwiki-2016-06-26b.tgz 3464109 SHA256 eda6421fbd381d67ac6c31c5649fba7e6526904fc186df18191641e5387d8b4f SHA512 6952e89cec7866897b93af5d2719d34e98927545c9ec73600378599d6a8fb8e11d44adf385b4911b9f666dac3f0c7e76b39e589ff28c93da8c83303390d4ff2b WHIRLPOOL 0d7f036b60676312e1adf689606eb10dfb30f5e509bcad9b333ddb32b5d0b1255f4d8c93e08d7b427393ae4b43ee57a697a310c879ec2b7c26522f46ae5165d8 |
26 |
+DIST dokuwiki-2017-02-19b.tgz 3505444 SHA256 88a4d6c83283a1059e9765477667262f15d443f50e48f583c7dc5d55c2abcdb6 SHA512 207f20fb4b5d72cae2cfd7446b43b549e58fb1a57fe5c6676979dc07ec22370841841eb9b455f2f88aa734425a7735f162708f205535498e331035e7bd1fcbb8 WHIRLPOOL d1d62e93d9f940039f3fd24f9ce6b621eaf7632d56223fa78f3650fc5e10ef8197f43f92e7e4bfd56b227cf0d6884a1f8e5ff5b4cf7a90fcdeca505d4f00c45e |
27 |
|
28 |
diff --git a/www-apps/dokuwiki/dokuwiki-20160626b.ebuild b/www-apps/dokuwiki/dokuwiki-20160626b.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..d6e837cfd1c |
31 |
--- /dev/null |
32 |
+++ b/www-apps/dokuwiki/dokuwiki-20160626b.ebuild |
33 |
@@ -0,0 +1,77 @@ |
34 |
+# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+inherit webapp |
40 |
+ |
41 |
+# upstream uses dashes in the datestamp |
42 |
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" |
43 |
+MY_PV="${MY_BASE_PV}${PV:8:1}" |
44 |
+ |
45 |
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs." |
46 |
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki" |
47 |
+SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
51 |
+IUSE="gd" |
52 |
+ |
53 |
+DEPEND="" |
54 |
+RDEPEND=" |
55 |
+ >=dev-lang/php-5.3[xml] |
56 |
+ virtual/httpd-php:* |
57 |
+ gd? ( || |
58 |
+ ( |
59 |
+ dev-lang/php[gd] |
60 |
+ media-gfx/imagemagick |
61 |
+ ) |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+need_httpd_cgi |
66 |
+ |
67 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ # create initial changes file |
71 |
+ touch data/changes.log |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ webapp_src_preinst |
76 |
+ |
77 |
+ dodoc README |
78 |
+ rm -f README COPYING |
79 |
+ |
80 |
+ docinto scripts |
81 |
+ dodoc bin/* |
82 |
+ rm -rf bin |
83 |
+ |
84 |
+ insinto "${MY_HTDOCSDIR}" |
85 |
+ doins -r . |
86 |
+ |
87 |
+ # Copy custom .htaccess that works with both apache 2.2 and 2.4 |
88 |
+ for dir in "conf" "data" "inc" "inc/lang"; do |
89 |
+ insinto "${MY_HTDOCSDIR}/${dir}" |
90 |
+ newins "${FILESDIR}/htaccess" ".htaccess" |
91 |
+ done |
92 |
+ |
93 |
+ # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 |
94 |
+ insinto "${MY_HTDOCSDIR}/" |
95 |
+ newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" |
96 |
+ |
97 |
+ for x in $(find data/ -not -name '.htaccess'); do |
98 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x} |
99 |
+ done |
100 |
+ |
101 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist |
102 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf |
103 |
+ |
104 |
+ for x in $(find conf/ -not -name 'msg'); do |
105 |
+ webapp_configfile "${MY_HTDOCSDIR}"/${x} |
106 |
+ done |
107 |
+ |
108 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
109 |
+ webapp_src_install |
110 |
+} |
111 |
|
112 |
diff --git a/www-apps/dokuwiki/dokuwiki-20170219b.ebuild b/www-apps/dokuwiki/dokuwiki-20170219b.ebuild |
113 |
new file mode 100644 |
114 |
index 00000000000..d6e837cfd1c |
115 |
--- /dev/null |
116 |
+++ b/www-apps/dokuwiki/dokuwiki-20170219b.ebuild |
117 |
@@ -0,0 +1,77 @@ |
118 |
+# Copyright 1999-2017 Gentoo Foundation |
119 |
+# Distributed under the terms of the GNU General Public License v2 |
120 |
+ |
121 |
+EAPI=5 |
122 |
+ |
123 |
+inherit webapp |
124 |
+ |
125 |
+# upstream uses dashes in the datestamp |
126 |
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" |
127 |
+MY_PV="${MY_BASE_PV}${PV:8:1}" |
128 |
+ |
129 |
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs." |
130 |
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki" |
131 |
+SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" |
132 |
+ |
133 |
+LICENSE="GPL-2" |
134 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
135 |
+IUSE="gd" |
136 |
+ |
137 |
+DEPEND="" |
138 |
+RDEPEND=" |
139 |
+ >=dev-lang/php-5.3[xml] |
140 |
+ virtual/httpd-php:* |
141 |
+ gd? ( || |
142 |
+ ( |
143 |
+ dev-lang/php[gd] |
144 |
+ media-gfx/imagemagick |
145 |
+ ) |
146 |
+ ) |
147 |
+" |
148 |
+ |
149 |
+need_httpd_cgi |
150 |
+ |
151 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
152 |
+ |
153 |
+src_prepare() { |
154 |
+ # create initial changes file |
155 |
+ touch data/changes.log |
156 |
+} |
157 |
+ |
158 |
+src_install() { |
159 |
+ webapp_src_preinst |
160 |
+ |
161 |
+ dodoc README |
162 |
+ rm -f README COPYING |
163 |
+ |
164 |
+ docinto scripts |
165 |
+ dodoc bin/* |
166 |
+ rm -rf bin |
167 |
+ |
168 |
+ insinto "${MY_HTDOCSDIR}" |
169 |
+ doins -r . |
170 |
+ |
171 |
+ # Copy custom .htaccess that works with both apache 2.2 and 2.4 |
172 |
+ for dir in "conf" "data" "inc" "inc/lang"; do |
173 |
+ insinto "${MY_HTDOCSDIR}/${dir}" |
174 |
+ newins "${FILESDIR}/htaccess" ".htaccess" |
175 |
+ done |
176 |
+ |
177 |
+ # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 |
178 |
+ insinto "${MY_HTDOCSDIR}/" |
179 |
+ newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" |
180 |
+ |
181 |
+ for x in $(find data/ -not -name '.htaccess'); do |
182 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x} |
183 |
+ done |
184 |
+ |
185 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist |
186 |
+ webapp_configfile "${MY_HTDOCSDIR}"/conf |
187 |
+ |
188 |
+ for x in $(find conf/ -not -name 'msg'); do |
189 |
+ webapp_configfile "${MY_HTDOCSDIR}"/${x} |
190 |
+ done |
191 |
+ |
192 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
193 |
+ webapp_src_install |
194 |
+} |