1 |
eradicator 08/01/12 02:40:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: squirrelmail-1.4.13-r1.ebuild |
5 |
squirrelmail-1.5.1-r7.ebuild |
6 |
Removed: squirrelmail-1.4.13.ebuild |
7 |
squirrelmail-1.4.11.ebuild |
8 |
squirrelmail-1.5.1-r6.ebuild |
9 |
Log: |
10 |
Removing gpg plugin because it is broken. See bug #202406. |
11 |
(Portage version: 2.1.4_rc11) |
12 |
|
13 |
Revision Changes Path |
14 |
1.110 mail-client/squirrelmail/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?rev=1.110&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?rev=1.110&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?r1=1.109&r2=1.110 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v |
23 |
retrieving revision 1.109 |
24 |
retrieving revision 1.110 |
25 |
diff -u -r1.109 -r1.110 |
26 |
--- ChangeLog 10 Jan 2008 17:06:36 -0000 1.109 |
27 |
+++ ChangeLog 12 Jan 2008 02:40:39 -0000 1.110 |
28 |
@@ -1,6 +1,15 @@ |
29 |
# ChangeLog for mail-client/squirrelmail |
30 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.109 2008/01/10 17:06:36 alonbl Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.110 2008/01/12 02:40:39 eradicator Exp $ |
33 |
+ |
34 |
+*squirrelmail-1.5.1-r7 (12 Jan 2008) |
35 |
+*squirrelmail-1.4.13-r1 (12 Jan 2008) |
36 |
+ |
37 |
+ 12 Jan 2008; Jeremy Huddleston <eradicator@g.o> |
38 |
+ -squirrelmail-1.4.11.ebuild, -squirrelmail-1.4.13.ebuild, |
39 |
+ +squirrelmail-1.4.13-r1.ebuild, -squirrelmail-1.5.1-r6.ebuild, |
40 |
+ +squirrelmail-1.5.1-r7.ebuild: |
41 |
+ Removing gpg plugin because it is broken. See bug #202406. |
42 |
|
43 |
10 Jan 2008; Alon Bar-Lev <alonbl@g.o> |
44 |
squirrelmail-1.4.10a-r2.ebuild, squirrelmail-1.4.11.ebuild, |
45 |
|
46 |
|
47 |
|
48 |
1.1 mail-client/squirrelmail/squirrelmail-1.4.13-r1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.13-r1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.13-r1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: squirrelmail-1.4.13-r1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.13-r1.ebuild,v 1.1 2008/01/12 02:40:39 eradicator Exp $ |
58 |
|
59 |
IUSE="ldap spell ssl filter mysql postgres nls" |
60 |
|
61 |
inherit webapp eutils |
62 |
|
63 |
DESCRIPTION="Webmail for nuts!" |
64 |
|
65 |
# Plugin Versions |
66 |
COMPATIBILITY_VER=2.0.9-1.0 |
67 |
USERDATA_VER=0.9-1.4.0 |
68 |
ADMINADD_VER=0.1-1.4.0 |
69 |
AMAVIS_VER=0.8.0-1.4 |
70 |
LDAP_USERDATA_VER=0.4 |
71 |
SECURELOGIN_VER=1.3-1.2.8 |
72 |
SHOWSSL_VER=2.2-1.2.8 |
73 |
LOCALES_VER=1.4.9-20070106 |
74 |
DECODING_VER=1.2 |
75 |
|
76 |
MY_P=${P/_rc/-RC} |
77 |
S="${WORKDIR}/${MY_P}" |
78 |
|
79 |
PLUGINS_LOC="http://www.squirrelmail.org/plugins" |
80 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 |
81 |
mirror://sourceforge/${PN}/squirrelmail-decode-${DECODING_VER}.tar.bz2 |
82 |
mirror://sourceforge/retruserdata/retrieveuserdata.${USERDATA_VER}.tar.gz |
83 |
${PLUGINS_LOC}/compatibility-${COMPATIBILITY_VER}.tar.gz |
84 |
ssl? ( ${PLUGINS_LOC}/secure_login-${SECURELOGIN_VER}.tar.gz ) |
85 |
ssl? ( ${PLUGINS_LOC}/show_ssl_link-${SHOWSSL_VER}.tar.gz ) |
86 |
${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz |
87 |
filter? ( ${PLUGINS_LOC}/amavisnewsql-0.8.0-1.4.tar.gz ) |
88 |
ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_USERDATA_VER}.tar.gz ) |
89 |
nls? ( mirror://sourceforge/${PN}/all_locales-${LOCALES_VER}.tar.bz2 )" |
90 |
|
91 |
HOMEPAGE="http://www.squirrelmail.org/" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
95 |
|
96 |
DEPEND="" |
97 |
|
98 |
RDEPEND="virtual/php |
99 |
virtual/perl-DB_File |
100 |
ldap? ( net-nds/openldap ) |
101 |
spell? ( || ( app-text/aspell app-text/ispell ) ) |
102 |
filter? ( mail-filter/amavisd-new dev-php/PEAR-Log dev-php/PEAR-DB dev-php/PEAR-Net_SMTP ) |
103 |
postgres? ( dev-php/PEAR-DB ) |
104 |
mysql? ( dev-php/PEAR-DB )" |
105 |
|
106 |
src_unpack() { |
107 |
unpack ${MY_P}.tar.bz2 |
108 |
unpack squirrelmail-decode-${DECODING_VER}.tar.bz2 |
109 |
|
110 |
cd ${S} |
111 |
|
112 |
mv config/config_default.php config/config.php |
113 |
|
114 |
sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" config/config.php |
115 |
|
116 |
# Now do the plugins |
117 |
cd ${S}/plugins |
118 |
|
119 |
sed -i 's:/usr/games/fortune:/usr/bin/fortune:g' fortune/setup.php || die "Unable to fix fortunes plugin." |
120 |
|
121 |
unpack compatibility-${COMPATIBILITY_VER}.tar.gz |
122 |
|
123 |
unpack admin_add.${ADMINADD_VER}.tar.gz |
124 |
|
125 |
unpack retrieveuserdata.${USERDATA_VER}.tar.gz |
126 |
|
127 |
use filter && |
128 |
unpack amavisnewsql-${AMAVIS_VER}.tar.gz && |
129 |
mv amavisnewsql/config.php.dist amavisnewsql/config.php |
130 |
|
131 |
use ldap && |
132 |
unpack ldapuserdata-${LDAP_USERDATA_VER}.tar.gz && |
133 |
epatch ${FILESDIR}/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch && |
134 |
mv ldapuserdata/config_sample.php ldapuserdata/config.php |
135 |
|
136 |
use ssl && |
137 |
unpack secure_login-${SECURELOGIN_VER}.tar.gz && |
138 |
mv secure_login/config.sample.php secure_login/config.php && |
139 |
unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && |
140 |
mv show_ssl_link/config.php.sample show_ssl_link/config.php |
141 |
|
142 |
use nls && |
143 |
cd ${S} && |
144 |
unpack all_locales-${LOCALES_VER}.tar.bz2 |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
#we need to have this empty function ... default compile hangs |
149 |
echo "Nothing to compile" |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
webapp_src_preinst |
154 |
|
155 |
# handle documentation files |
156 |
# |
157 |
# NOTE that doc files go into /usr/share/doc as normal; they do NOT |
158 |
# get installed per vhost! |
159 |
|
160 |
for doc in AUTHORS COPYING ChangeLog INSTALL README ReleaseNotes UPGRADE; do |
161 |
dodoc ${doc} |
162 |
rm -f ${doc} |
163 |
done |
164 |
|
165 |
docinto compatibility |
166 |
for doc in plugins/compatibility/INSTALL plugins/compatibility/README; do |
167 |
dodoc ${doc} |
168 |
rm -f ${doc} |
169 |
done |
170 |
|
171 |
docinto admin_add |
172 |
for doc in plugins/admin_add/README; do |
173 |
dodoc ${doc} |
174 |
rm -f ${doc} |
175 |
done |
176 |
|
177 |
docinto retrieveuserdata |
178 |
for doc in plugins/retrieveuserdata/INSTALL plugins/retrieveuserdata/changelog plugins/retrieveuserdata/users_example.txt; do |
179 |
dodoc ${doc} |
180 |
rm -f ${doc} |
181 |
done |
182 |
|
183 |
if use filter; then |
184 |
docinto amavisnewsql |
185 |
for doc in plugins/amavisnewsql/{CHANGELOG,README,UPGRADE}; do |
186 |
dodoc ${doc} |
187 |
rm -f ${doc} |
188 |
done |
189 |
fi |
190 |
|
191 |
if use ldap; then |
192 |
rm plugins/ldapuserdata/README |
193 |
docinto ldapuserdata |
194 |
for doc in plugins/ldapuserdata/doc/README; do |
195 |
dodoc ${doc} |
196 |
rm -f ${doc} |
197 |
done |
198 |
fi |
199 |
|
200 |
if use ssl; then |
201 |
docinto secure_login |
202 |
for doc in plugins/secure_login/INSTALL plugins/secure_login/README; do |
203 |
dodoc ${doc} |
204 |
rm -f ${doc} |
205 |
done |
206 |
|
207 |
docinto show_ssl_link |
208 |
for doc in plugins/show_ssl_link/INSTALL plugins/show_ssl_link/README; do |
209 |
dodoc ${doc} |
210 |
rm -f ${doc} |
211 |
done |
212 |
fi |
213 |
|
214 |
# Copy the app's main files |
215 |
einfo "Installing squirrelmail files." |
216 |
cp -r . ${D}${MY_HTDOCSDIR} |
217 |
|
218 |
cp ${WORKDIR}/squirrelmail-decode-${DECODING_VER}/*/*.php ${D}${MY_HTDOCSDIR}/functions/decode |
219 |
|
220 |
# Identify the configuration files that this app uses |
221 |
local configs="config/config.php config/config_local.php plugins/retrieveuserdata/config.php" |
222 |
use filter && configs="${configs} plugins/amavisnewsql/config.php" |
223 |
use ldap && configs="${configs} plugins/ldapuserdata/config.php" |
224 |
use ssl && configs="${configs} plugins/show_ssl_link/config.php plugins/secure_login/config.php" |
225 |
|
226 |
for file in ${configs}; do |
227 |
webapp_configfile ${MY_HTDOCSDIR}/${file} |
228 |
done |
229 |
|
230 |
# Identify any script files that need #! headers adding to run under |
231 |
# a CGI script (such as PHP/CGI) |
232 |
# |
233 |
# for phpmyadmin, we *assume* that all .php files that don't end in |
234 |
# .inc.php need to have CGI/BIN support added |
235 |
|
236 |
#for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do |
237 |
# webapp_runbycgibin php ${MY_HTDOCSDIR}/$x |
238 |
#done |
239 |
|
240 |
local server_owned="data index.php" |
241 |
for file in ${server_owned}; do |
242 |
webapp_serverowned ${MY_HTDOCSDIR}/${file} |
243 |
done |
244 |
|
245 |
# add the post-installation instructions |
246 |
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt |
247 |
|
248 |
# all done |
249 |
# |
250 |
# now we let the eclass strut its stuff ;-) |
251 |
|
252 |
webapp_src_install |
253 |
} |
254 |
|
255 |
|
256 |
|
257 |
1.1 mail-client/squirrelmail/squirrelmail-1.5.1-r7.ebuild |
258 |
|
259 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.5.1-r7.ebuild?rev=1.1&view=markup |
260 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.5.1-r7.ebuild?rev=1.1&content-type=text/plain |
261 |
|
262 |
Index: squirrelmail-1.5.1-r7.ebuild |
263 |
=================================================================== |
264 |
# Copyright 1999-2008 Gentoo Foundation |
265 |
# Distributed under the terms of the GNU General Public License v2 |
266 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.5.1-r7.ebuild,v 1.1 2008/01/12 02:40:39 eradicator Exp $ |
267 |
|
268 |
IUSE="ldap spell ssl filter mysql postgres nls" |
269 |
|
270 |
inherit webapp eutils |
271 |
|
272 |
DESCRIPTION="Webmail for nuts!" |
273 |
|
274 |
# Plugin Versions |
275 |
COMPATIBILITY_VER=2.0.8-1.0 |
276 |
USERDATA_VER=0.9-1.4.0 |
277 |
ADMINADD_VER=0.1-1.4.0 |
278 |
AMAVIS_VER=0.8.0-1.4 |
279 |
LDAP_USERDATA_VER=0.4 |
280 |
SECURELOGIN_VER=1.3-1.2.8 |
281 |
SHOWSSL_VER=2.2-1.2.8 |
282 |
LOCALES_VER=1.5.1-20060219 |
283 |
DECODING_VER=1.2 |
284 |
|
285 |
MY_P=${P/_rc/-RC} |
286 |
S="${WORKDIR}/${MY_P}" |
287 |
|
288 |
PLUGINS_LOC="http://www.squirrelmail.org/plugins" |
289 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 |
290 |
mirror://sourceforge/${PN}/squirrelmail-decode-${DECODING_VER}.tar.bz2 |
291 |
mirror://sourceforge/retruserdata/retrieveuserdata.${USERDATA_VER}.tar.gz |
292 |
${PLUGINS_LOC}/compatibility-${COMPATIBILITY_VER}.tar.gz |
293 |
ssl? ( ${PLUGINS_LOC}/secure_login-${SECURELOGIN_VER}.tar.gz ) |
294 |
ssl? ( ${PLUGINS_LOC}/show_ssl_link-${SHOWSSL_VER}.tar.gz ) |
295 |
${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz |
296 |
filter? ( ${PLUGINS_LOC}/amavisnewsql-0.8.0-1.4.tar.gz ) |
297 |
ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_USERDATA_VER}.tar.gz ) |
298 |
nls? ( mirror://sourceforge/${PN}/all_locales-${LOCALES_VER}.tar.bz2 )" |
299 |
|
300 |
HOMEPAGE="http://www.squirrelmail.org/" |
301 |
|
302 |
LICENSE="GPL-2" |
303 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
304 |
|
305 |
DEPEND="" |
306 |
|
307 |
RDEPEND="virtual/php |
308 |
virtual/perl-DB_File |
309 |
ldap? ( net-nds/openldap ) |
310 |
spell? ( || ( app-text/aspell app-text/ispell ) ) |
311 |
filter? ( mail-filter/amavisd-new dev-php/PEAR-Log dev-php/PEAR-DB dev-php/PEAR-Net_SMTP ) |
312 |
postgres? ( dev-php/PEAR-DB ) |
313 |
mysql? ( dev-php/PEAR-DB )" |
314 |
|
315 |
src_unpack() { |
316 |
unpack ${MY_P}.tar.bz2 |
317 |
unpack squirrelmail-decode-${DECODING_VER}.tar.bz2 |
318 |
|
319 |
cd ${S} |
320 |
epatch ${FILESDIR}/squirrelmail-1.5.1-CVE-2006-4019.patch |
321 |
epatch ${FILESDIR}/squirrelmail-1.5.1-CVE-2006-6142-draft_composesess.patch |
322 |
epatch ${FILESDIR}/squirrelmail-1.5.1-CVE-2006-6142-mailto.patch |
323 |
epatch ${FILESDIR}/squirrelmail-1.5.1-CVE-2006-6142-mime.patch |
324 |
epatch ${FILESDIR}/squirrelmail-1.5.1-ie-mime.patch |
325 |
epatch ${FILESDIR}/squirrelmail-1.5.1-CVE-2007-1262.patch |
326 |
epatch ${FILESDIR}/squirrelmail-1.5.1-sqimap_get_message.patch |
327 |
|
328 |
mv config/config_default.php config/config.php |
329 |
|
330 |
sed -i "s:'/var/local/squirrelmail/data':SM_PATH . 'data/':" config/config.php |
331 |
|
332 |
# Now do the plugins |
333 |
cd ${S}/plugins |
334 |
|
335 |
mv fortune/config_default.php fortune/config.php |
336 |
sed -i 's:/usr/games/fortune:/usr/bin/fortune:g' fortune/config.php |
337 |
|
338 |
mv bug_report/config_default.php bug_report/config.php |
339 |
mv change_password/config_default.php change_password/config.php |
340 |
mv filters/config_default.php filters/config.php |
341 |
mv mail_fetch/config_sample.php mail_fetch/config.php |
342 |
mv newmail/config_default.php newmail/config.php |
343 |
mv translate/config_default.php translate/config.php |
344 |
|
345 |
rm newmail/config_sample.php |
346 |
rm translate/config_sample.php |
347 |
|
348 |
unpack compatibility-${COMPATIBILITY_VER}.tar.gz |
349 |
|
350 |
unpack admin_add.${ADMINADD_VER}.tar.gz |
351 |
|
352 |
unpack retrieveuserdata.${USERDATA_VER}.tar.gz |
353 |
|
354 |
use filter && |
355 |
unpack amavisnewsql-${AMAVIS_VER}.tar.gz && |
356 |
mv amavisnewsql/config.php.dist amavisnewsql/config.php |
357 |
|
358 |
use ldap && |
359 |
unpack ldapuserdata-${LDAP_USERDATA_VER}.tar.gz && |
360 |
epatch ${FILESDIR}/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch && |
361 |
mv ldapuserdata/config_sample.php ldapuserdata/config.php |
362 |
|
363 |
use ssl && |
364 |
unpack secure_login-${SECURELOGIN_VER}.tar.gz && |
365 |
mv secure_login/config.sample.php secure_login/config.php && |
366 |
unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && |
367 |
mv show_ssl_link/config.php.sample show_ssl_link/config.php |
368 |
|
369 |
use nls && |
370 |
cd ${S} && |
371 |
unpack all_locales-${LOCALES_VER}.tar.bz2 |
372 |
} |
373 |
|
374 |
src_compile() { |
375 |
#we need to have this empty function ... default compile hangs |
376 |
echo "Nothing to compile" |
377 |
} |
378 |
|
379 |
src_install() { |
380 |
webapp_src_preinst |
381 |
|
382 |
# Copy the app's main files |
383 |
einfo "Installing squirrelmail files." |
384 |
cp -r . ${D}${MY_HTDOCSDIR} |
385 |
|
386 |
keepdir ${MY_HTDOCSDIR}/data |
387 |
|
388 |
# handle documentation files |
389 |
# |
390 |
# NOTE that doc files go into /usr/share/doc as normal; they do NOT |
391 |
# get installed per vhost! |
392 |
|
393 |
for doc in AUTHORS COPYING ChangeLog INSTALL README ReleaseNotes UPGRADE ; do |
394 |
dodoc ${doc} |
395 |
rm -f ${D}${MY_HTDOCSDIR}/${doc} |
396 |
done |
397 |
|
398 |
for doc in plugins/{README.plugins,*/{INSTALL,README,COPYRIGHTS,CHANGELOG,API,UPGRADE,TODO,README.txt,INSTALL.txt,user_example.txt}} ; do |
399 |
if [[ -f ${doc} ]] ; then |
400 |
docinto $(dirname ${doc}) |
401 |
dodoc ${doc} |
402 |
rm -f ${D}${MY_HTDOCSDIR}/${doc} |
403 |
fi |
404 |
done |
405 |
|
406 |
cp ${WORKDIR}/squirrelmail-decode-${DECODING_VER}/*/*.php ${D}${MY_HTDOCSDIR}/functions/decode |
407 |
|
408 |
# Identify the configuration files that this app uses |
409 |
for file in config/config.php plugins/*/{config.php,sqspell_config.php,gpg_local_prefs.txt}; do |
410 |
if [[ -f ${file} ]] ; then |
411 |
webapp_configfile ${MY_HTDOCSDIR}/${file} |
412 |
fi |
413 |
done |
414 |
|
415 |
# Identify any script files that need #! headers adding to run under |
416 |
# a CGI script (such as PHP/CGI) |
417 |
# |
418 |
# for phpmyadmin, we *assume* that all .php files that don't end in |
419 |
# .inc.php need to have CGI/BIN support added |
420 |
|
421 |
#for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do |
422 |
# webapp_runbycgibin php ${MY_HTDOCSDIR}/$x |
423 |
#done |
424 |
|
425 |
local server_owned="data index.php" |
426 |
for file in ${server_owned}; do |
427 |
webapp_serverowned ${MY_HTDOCSDIR}/${file} |
428 |
done |
429 |
|
430 |
# add the post-installation instructions |
431 |
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt |
432 |
|
433 |
# all done |
434 |
# |
435 |
# now we let the eclass strut its stuff ;-) |
436 |
|
437 |
webapp_src_install |
438 |
} |
439 |
|
440 |
|
441 |
|
442 |
-- |
443 |
gentoo-commits@l.g.o mailing list |