squirrelmail/squirrelmail.spec

changeset 159
5524672ebbe7
parent 157
3214ed6c04f6
child 165
cff8cdb0b6c4
equal deleted inserted replaced
0:0860b93eaddc 1:70e03dbe57fe
22 ## 22 ##
23 23
24 # package version 24 # package version
25 %define V_squirrelmail 1.4.17 25 %define V_squirrelmail 1.4.17
26 %define V_locale 1.4.13-20071220 26 %define V_locale 1.4.13-20071220
27 %define V_plugin_compat 2.0.9-1.0 27 %define V_plugin_compat 2.0.14-1.0
28 %define V_plugin_logger 1.4.0-1.0.6 28 %define V_plugin_logger 2.3-1.2.7
29 %define V_plugin_addgraphics 2.3-1.0.3 29 %define V_plugin_addgraphics 2.3-1.0.3
30 %define V_plugin_avelsieve 1.9.7 30 %define V_plugin_avelsieve 1.9.4
31 %define V_plugin_saslpwd 1.4.1-1.4 31 %define V_plugin_saslpwd 1.4.1-1.4
32 %define V_plugin_ldappwd 2.2-1.4.0
32 %define V_plugin_checkquota 2.2-1.4.0 33 %define V_plugin_checkquota 2.2-1.4.0
33 %define V_plugin_foldersize 1.5-1.4.0 34 %define V_plugin_foldersize 1.5-1.4.0
34 %define V_plugin_gnupg 2.0.1-1.4.2 35 %define V_plugin_gnupg 2.1
35 %define V_plugin_ldif 1.4-1.2.x 36 %define V_plugin_ldif 1.4-1.2.x
36 %define V_plugin_update 0.7-1.4.2 37 %define V_plugin_update 0.7-1.4.2
37 %define V_plugin_userip 3.3-re-1.2.2 38 %define V_plugin_userip 3.3-re-1.2.2
38 %define V_plugin_smallcal 0.8-1.2.3 39 %define V_plugin_smallcal 0.8-1.2.3
39 %define V_plugin_vkeyboard 0.9 40 %define V_plugin_vkeyboard 0.9.1
40 %define V_plugin_username 2.3-1.0.0 41 %define V_plugin_username 2.3-1.0.0
42 %define V_plugin_loginnotes 1.2-1.4.0
43 %define V_plugin_passforget 2.2-1.0.1
44 %define V_plugin_captcha 1.2-1.2.9
45 %define V_plugin_smime 0.7-1.1.1
46 %define V_plugin_debug 1.2-1.4
41 47
42 # package information 48 # package information
43 Name: squirrelmail 49 Name: squirrelmail
44 Summary: SquirrelMail Webmail Client 50 Summary: SquirrelMail Webmail Client
45 URL: http://www.squirrelmail.org/ 51 URL: http://www.squirrelmail.org/
48 Distribution: OpenPKG Community 54 Distribution: OpenPKG Community
49 Class: EVAL 55 Class: EVAL
50 Group: Mail 56 Group: Mail
51 License: GPL 57 License: GPL
52 Version: %{V_squirrelmail} 58 Version: %{V_squirrelmail}
53 Release: 20090327 59 Release: 20090416
54 60
55 # package options 61 # package options
56 %option with_plugins no 62 %option with_plugins no
57 %option with_kolab no 63 %option with_kolab no
58 64
59 # list of sources 65 # list of sources
60 Source0: http://switch.dl.sourceforge.net/squirrelmail/squirrelmail-%{V_squirrelmail}.tar.bz2 66 Source0: http://switch.dl.sourceforge.net/squirrelmail/squirrelmail-%{V_squirrelmail}.tar.bz2
61 Source1: http://switch.dl.sourceforge.net/squirrelmail/all_locales-%{V_locale}.tar.bz2 67 Source1: http://switch.dl.sourceforge.net/squirrelmail/all_locales-%{V_locale}.tar.bz2
62 Source2: http://www.squirrelmail.org/plugins/compatibility-%{V_plugin_compat}.tar.gz 68 Source2: http://www.squirrelmail.org/plugins/compatibility-%{V_plugin_compat}.tar.gz
63 Source3: http://www.squeaksoft.com/products/SquirrelLogger/squirrel_logger.%{V_plugin_logger}.tar.gz 69 Source3: http://www.squirrelmail.org/plugins/squirrel_logger-%{V_plugin_logger}.tar.gz
64 Source4: http://www.squirrelmail.org/plugins/addgraphics-%{V_plugin_addgraphics}.tar.gz 70 Source4: http://www.squirrelmail.org/plugins/addgraphics-%{V_plugin_addgraphics}.tar.gz
65 Source5: http://www.squirrelmail.org/plugins/avelsieve-%{V_plugin_avelsieve}.tar.gz 71 Source5: http://www.squirrelmail.org/plugins/avelsieve-%{V_plugin_avelsieve}.tar.gz
66 Source6: http://www.squirrelmail.org/plugins/chg_sasl_passwd-%{V_plugin_saslpwd}.tar.gz 72 Source6: http://www.squirrelmail.org/plugins/chg_sasl_passwd-%{V_plugin_saslpwd}.tar.gz
67 Source7: http://www.squirrelmail.org/plugins/check_quota-%{V_plugin_checkquota}.tar.gz 73 Source7: http://www.squirrelmail.org/plugins/change_ldappass-%{V_plugin_ldappwd}.tar.gz
68 Source8: http://www.squirrelmail.org/plugins/folder_sizes-%{V_plugin_foldersize}.tar.gz 74 Source8: http://www.squirrelmail.org/plugins/check_quota-%{V_plugin_checkquota}.tar.gz
69 Source9: http://www.squirrelmail.org/plugins/gpg.%{V_plugin_gnupg}.tar.gz 75 Source9: http://www.squirrelmail.org/plugins/folder_sizes-%{V_plugin_foldersize}.tar.gz
70 Source10: http://www.squirrelmail.org/plugins/ldifimport-%{V_plugin_ldif}.tar.gz 76 Source10: http://www.squirrelmail.org/plugins/gpg-%{V_plugin_gnupg}.tar.gz
71 Source11: http://www.squirrelmail.org/plugins/pupdate.%{V_plugin_update}.tar.gz 77 Source11: http://www.squirrelmail.org/plugins/ldifimport-%{V_plugin_ldif}.tar.gz
72 Source12: http://www.squirrelmail.org/plugins/show_user_and_ip-%{V_plugin_userip}.tar.gz 78 Source12: http://www.squirrelmail.org/plugins/pupdate.%{V_plugin_update}.tar.gz
73 Source13: http://www.squirrelmail.org/plugins/smallcal-%{V_plugin_smallcal}.tar.gz 79 Source13: http://www.squirrelmail.org/plugins/show_user_and_ip-%{V_plugin_userip}.tar.gz
74 Source14: http://www.squirrelmail.org/plugins/vkeyboard-%{V_plugin_vkeyboard}.tar.gz 80 Source14: http://www.squirrelmail.org/plugins/smallcal-%{V_plugin_smallcal}.tar.gz
75 Source15: http://www.squirrelmail.org/plugins/username-%{V_plugin_username}.tar.gz 81 Source15: http://www.squirrelmail.org/plugins/vkeyboard-%{V_plugin_vkeyboard}.tar.gz
76 Source16: config.php 82 Source16: http://www.squirrelmail.org/plugins/username-%{V_plugin_username}.tar.gz
77 Source17: defprefs.txt 83 Source17: http://www.squirrelmail.org/plugins/login_notes-%{V_plugin_loginnotes}.tar.gz
78 Source18: opkg_large.png 84 Source18: http://www.squirrelmail.org/plugins/password_forget-%{V_plugin_passforget}.tar.gz
79 Source19: opkg_small.png 85 Source19: http://www.squirrelmail.org/plugins/captcha-%{V_plugin_captcha}.tar.gz
80 Source20: rc.squirrelmail 86 Source20: http://www.squirrelmail.org/plugins/smime-%{V_plugin_smime}.tar.gz
81 Source21: squirrelmail.conf 87 Source21: http://www.squirrelmail.org/plugins/debugger-%{V_plugin_debug}.tar.gz
82 Source22: config_local_kolab.php 88 Source22: config.php
83 Source23: index.php 89 Source23: defprefs.txt
90 Source24: opkg_large.png
91 Source25: opkg_small.png
92 Source26: rc.squirrelmail
93 Source27: squirrelmail.conf
94 Source28: config_local_kolab.php
95 Source29: index.php
84 Patch0: squirrelmail.patch 96 Patch0: squirrelmail.patch
85 Patch1: squirrelmail.patch.plugins 97 Patch1: squirrelmail.patch.plugins
86 98
87 # build information 99 # build information
88 Prefix: %{l_prefix} 100 Prefix: %{l_prefix}
92 PreReq: MTA, apache, apache-php, apache-php::with_xml = yes 104 PreReq: MTA, apache, apache-php, apache-php::with_xml = yes
93 AutoReq: no 105 AutoReq: no
94 AutoReqProv: no 106 AutoReqProv: no
95 107
96 %description 108 %description
97 SquirrelMail is a standards-based webmail package written in PHP. It 109 SquirrelMail is a standards based webmail package written in PHP. It
98 includes built-in pure PHP support for the IMAP and SMTP protocols, 110 includes built in pure PHP support for the IMAP and SMTP protocols,
99 and all pages render in pure HTML 4.0 (with no Javascript) for 111 and all pages render in pure HTML 4.0 (with no Javascript) for
100 maximum compatibility across browsers. It has very few requirements 112 maximum compatibility across browsers. It has very few requirements
101 and is very easy to configure and install. SquirrelMail has all the 113 and is very easy to configure and install. SquirrelMail has all the
102 functionality you would want from an email client, including strong 114 functionality you would want from an email client, including strong
103 MIME support, address books, and folder manipulation. 115 MIME support, address books, and folder manipulation.
144 disabled 156 disabled
145 version = %{V_plugin_saslpwd} 157 version = %{V_plugin_saslpwd}
146 url = http://www.squirrelmail.org/plugins_category.php?category_id=all 158 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
147 regex = chg_sasl_passwd-(\d+\.\d+\.\d+-\d+\.\d+)\.tar\.gz 159 regex = chg_sasl_passwd-(\d+\.\d+\.\d+-\d+\.\d+)\.tar\.gz
148 } 160 }
161 prog squirrelmail:ldappwd = {
162 comment = "cs: untrackable due to CMS generated URLs"
163 disabled
164 version = %{V_plugin_ldappwd}
165 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
166 regex = change_ldappass-(\d+\.\d+-\d+\.\d+\.\d+)\.tar\.gz
167 }
149 prog squirrelmail:checkquota = { 168 prog squirrelmail:checkquota = {
150 comment = "cs: untrackable due to CMS generated URLs" 169 comment = "cs: untrackable due to CMS generated URLs"
151 disabled 170 disabled
152 version = %{V_plugin_checkquota} 171 version = %{V_plugin_checkquota}
153 url = http://www.squirrelmail.org/plugins_category.php?category_id=all 172 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
163 prog squirrelmail:gnupg = { 182 prog squirrelmail:gnupg = {
164 comment = "cs: untrackable due to CMS generated URLs" 183 comment = "cs: untrackable due to CMS generated URLs"
165 disabled 184 disabled
166 version = %{V_plugin_gnupg} 185 version = %{V_plugin_gnupg}
167 url = http://www.squirrelmail.org/plugins_category.php?category_id=all 186 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
168 regex = gpg.(\d+\.\d+\.\d+-\d+\.\d+\.\d+)\.tar\.gz 187 regex = gpg-(\d+\.\d+)\.tar\.gz
169 } 188 }
170 prog squirrelmail:ldif = { 189 prog squirrelmail:ldif = {
171 comment = "cs: untrackable due to CMS generated URLs" 190 comment = "cs: untrackable due to CMS generated URLs"
172 disabled 191 disabled
173 version = %{V_plugin_ldif} 192 version = %{V_plugin_ldif}
206 comment = "cs: untrackable due to CMS generated URLs" 225 comment = "cs: untrackable due to CMS generated URLs"
207 disabled 226 disabled
208 version = %{V_plugin_username} 227 version = %{V_plugin_username}
209 url = http://www.squirrelmail.org/plugins_category.php?category_id=all 228 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
210 regex = username-(__VER__)\.tar\.gz 229 regex = username-(__VER__)\.tar\.gz
230 }
231 prog squirrelmail:loginnotes = {
232 comment = "cs: untrackable due to CMS generated URLs"
233 disabled
234 version = %{V_plugin_loginnotes}
235 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
236 regex = login_notes--(__VER__)\.tar\.gz
237 }
238 prog squirrelmail:passforget = {
239 comment = "cs: untrackable due to CMS generated URLs"
240 disabled
241 version = %{V_plugin_passforget}
242 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
243 regex = password_forget-(__VER__)\.tar\.gz
244 }
245 prog squirrelmail:captcha = {
246 comment = "cs: untrackable due to CMS generated URLs"
247 disabled
248 version = %{V_plugin_captcha}
249 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
250 regex = captcha-(__VER__)\.tar\.gz
251 }
252 prog squirrelmail:smime = {
253 comment = "cs: untrackable due to CMS generated URLs"
254 disabled
255 version = %{V_plugin_smime}
256 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
257 regex = smime-(__VER__)\.tar\.gz
258 }
259 prog squirrelmail:debugger = {
260 comment = "cs: untrackable due to CMS generated URLs"
261 disabled
262 version = %{V_plugin_debug}
263 url = http://www.squirrelmail.org/plugins_category.php?category_id=all
264 regex = debugger-(__VER__)\.tar\.gz
211 } 265 }
212 266
213 %prep 267 %prep
214 %setup -q -c -n squirrelmail 268 %setup -q -c -n squirrelmail
215 %setup -q -D -T -a 1 -c -n squirrelmail/all_locales-%{V_locale} 269 %setup -q -D -T -a 1 -c -n squirrelmail/all_locales-%{V_locale}
228 %setup -q -D -T -a 11 -n squirrelmail 282 %setup -q -D -T -a 11 -n squirrelmail
229 %setup -q -D -T -a 12 -n squirrelmail 283 %setup -q -D -T -a 12 -n squirrelmail
230 %setup -q -D -T -a 13 -n squirrelmail 284 %setup -q -D -T -a 13 -n squirrelmail
231 %setup -q -D -T -a 14 -n squirrelmail 285 %setup -q -D -T -a 14 -n squirrelmail
232 %setup -q -D -T -a 15 -n squirrelmail 286 %setup -q -D -T -a 15 -n squirrelmail
287 %setup -q -D -T -a 16 -n squirrelmail
288 %setup -q -D -T -a 17 -n squirrelmail
289 %setup -q -D -T -a 18 -n squirrelmail
290 %setup -q -D -T -a 19 -n squirrelmail
291 %setup -q -D -T -a 20 -n squirrelmail
292 %setup -q -D -T -a 21 -n squirrelmail
233 293
234 # move additional plugins where other are already placed 294 # move additional plugins where other are already placed
235 for plug in addgraphics avelsieve check_quota chg_sasl_passwd \ 295 for plug in addgraphics avelsieve check_quota chg_sasl_passwd \
236 folder_sizes gpg ldifimport pupdate show_user_and_ip \ 296 change_ldappass folder_sizes gpg ldifimport pupdate \
237 smallcal vkeyboard username; do 297 show_user_and_ip smallcal vkeyboard username \
298 login_notes password_forget captcha smime debugger; do
238 mv $plug squirrelmail-%{V_squirrelmail}/plugins 299 mv $plug squirrelmail-%{V_squirrelmail}/plugins
239 done 300 done
240 %endif 301 %endif
241 302
242 # clean up login screen of distractions 303 # clean up login screen of distractions
264 rm -rf plugins/pupdate/docs 325 rm -rf plugins/pupdate/docs
265 %endif 326 %endif
266 327
267 # postadjustment cosmetics 328 # postadjustment cosmetics
268 %{l_shtool} subst \ 329 %{l_shtool} subst \
269 -e 's;\(#ffffff., .border="0" width=\)"350";\1"250";1' \ 330 -e 's;\(\$color\[4\], .border="0" width=\)"350";\1"250";1' \
270 src/login.php 331 src/login.php
271 332
272 # set default prefs 333 # set default prefs
273 cat %{SOURCE defprefs.txt} >>data/default_pref 334 cat %{SOURCE defprefs.txt} >>data/default_pref
274 ) || exit $? 335 ) || exit $?
327 ) || exit $? 388 ) || exit $?
328 %endif 389 %endif
329 390
330 # install plugin config files 391 # install plugin config files
331 ( cd $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins 392 ( cd $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins
332 %{l_shtool} subst \
333 -e 's;../data/access_log;../../../var/squirrelmail/log/access.log;' \
334 -e 's;\(\$sl_dateformat = \)"m/d/Y G:i:s";\1"d/m/Y G:i:s";' \
335 squirrel_logger/setup.php
336 %if "%{with_plugins}" == "yes" 393 %if "%{with_plugins}" == "yes"
337 cp -pf check_quota/config.sample.php check_quota/config.php 394 cp -pf check_quota/config.sample.php check_quota/config.php
338 cp -pf chg_sasl_passwd/config.php.sample chg_sasl_passwd/config.php 395 cp -pf chg_sasl_passwd/config.php.sample chg_sasl_passwd/config.php
339 cp -pf show_user_and_ip/config.php.sample show_user_and_ip/config.php 396 cp -pf show_user_and_ip/config.php.sample show_user_and_ip/config.php
340 %{l_shtool} install -c -m 644 \ 397 %{l_shtool} install -c -m 644 \
349 -e 's/^\(\$sieve_preferred_sasl_mech =\).*/\1 "PLAIN LOGIN CRAM-MD5 DIGEST-MD5";/' \ 406 -e 's/^\(\$sieve_preferred_sasl_mech =\).*/\1 "PLAIN LOGIN CRAM-MD5 DIGEST-MD5";/' \
350 -e 's/^\(\$avelsieve_oldcyrus =\).*/\1 false;/' \ 407 -e 's/^\(\$avelsieve_oldcyrus =\).*/\1 false;/' \
351 -e 's/^\(\$startitems =\).*/\1 4;/' \ 408 -e 's/^\(\$startitems =\).*/\1 4;/' \
352 avelsieve/config/config_sample.php \ 409 avelsieve/config/config_sample.php \
353 avelsieve/config/config.php 410 avelsieve/config/config.php
411 %{l_shtool} install -c -m 644 \
412 change_ldappass/config_sample.php \
413 change_ldappass/config.php
414 %{l_shtool} install -c -m 644 \
415 login_notes/config.sample.php \
416 login_notes/config.php
417 %{l_shtool} install -c -m 644 \
418 password_forget/config_example.php \
419 password_forget/config.php
420 %{l_shtool} install -c -m 644 \
421 -e 's;^//\( *\'CAPTCHA\'\);\1;g' \
422 -e 's;\(\$sl_logfile *=\);\1 \'%{l_prefix}/var/squirrelmail/log/squirrelmail.log\';' \
423 squirrel_logger/config_example.php \
424 squirrel_logger/config.php
425 %{l_shtool} install -c -m 644 \
426 -e 's;\(\$log_CAPTCHA_events =\).*;\1 1;' \
427 -e 's;\(\$captcha_backend =\).*;\1 \'recaptcha\';' \
428 captcha/config_example.php \
429 captcha/config.php
430 %{l_shtool} install -c -m 644 \
431 -e 's;\(\$captcha_backend =\).*;\1 \'recaptcha\';' \
432 captcha/backends/recaptcha/recaptcha_config_example.php \
433 captcha/backends/recaptcha/recaptcha_config.php
434 %{l_shtool} install -c -m 644 \
435 smime/config_example.php \
436 smime/config.php
354 %{l_shtool} subst \ 437 %{l_shtool} subst \
355 -e 's;\(path_to_gpg=\)/usr/bin/gpg.*;\1%{l_prefix}/bin/gpg;' \ 438 -e 's;\(path_to_gpg=\)/usr/bin/gpg.*;\1%{l_prefix}/bin/gpg;' \
356 gpg/gpg_local_prefs.txt 439 gpg/gpg_local_prefs.txt
357 %{l_shtool} install -c -m 644 \ 440 %{l_shtool} install -c -m 644 \
358 -e 's;\(adminusername = "\)[^"]*;\1%{l_musr};' \ 441 -e 's;\(adminusername = "\)[^"]*;\1%{l_musr};' \
392 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d 475 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
393 %{l_shtool} install -c -m 755 %{l_value -s -a} \ 476 %{l_shtool} install -c -m 755 %{l_value -s -a} \
394 %{SOURCE rc.squirrelmail} \ 477 %{SOURCE rc.squirrelmail} \
395 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ 478 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
396 479
480 # correct path to optional perl interpreter
481 %{l_shtool} subst \
482 -e 's;#!/usr/bin/env perl;#! %{l_prefix}/bin/perl;' \
483 $RPM_BUILD_ROOT%{l_prefix}/bin/squirrelconf
484
397 # replace false /etc config paths throughout 485 # replace false /etc config paths throughout
398 %{l_shtool} subst \ 486 %{l_shtool} subst \
399 -e 's;SM_PATH \. \(.\)config/;\1%{l_prefix}/etc/squirrelmail/;g' \ 487 -e 's;SM_PATH \. \(.\)config/;\1%{l_prefix}/etc/squirrelmail/;g' \
400 -e 's;require_once(SM_PATH \. \(.*\)%{l_prefix};require_once(\1%{l_prefix};g' \ 488 -e 's;require_once(SM_PATH \. \(.*\)%{l_prefix};require_once(\1%{l_prefix};g' \
401 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/functions/*.php \ 489 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/functions/*.php \
402 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/include/*.php \ 490 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/include/*.php \
403 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/abook_take/*.php \
404 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/administrator/*.php \ 491 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/administrator/*.php \
405 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/calendar/*.php \ 492 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/calendar/*.php \
406 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/src/*.php 493 $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/src/*.php
407 494
408 # integration into Apache under /webmail 495 # integration into Apache under /webmail
423 %endif 510 %endif
424 511
425 # determine package ingredients and tag config files 512 # determine package ingredients and tag config files
426 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 513 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
427 %{l_files_std} \ 514 %{l_files_std} \
428 '%config %{l_prefix}/etc/squirrelmail/*' \ 515 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/etc/squirrelmail/*' \
429 '%config %{l_prefix}/share/squirrelmail/prefs/*' \ 516
430 '%config %{l_prefix}/share/squirrelmail/plugins/squirrelspell/sqspell_config.php' \ 517 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/prefs/*' \
518 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/squirrelspell/sqspell_config.php' \
431 %if "%{with_plugins}" == "yes" 519 %if "%{with_plugins}" == "yes"
432 '%config %{l_prefix}/share/squirrelmail/plugins/addgraphics/config.php' \ 520 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/addgraphics/config.php' \
433 '%config %{l_prefix}/share/squirrelmail/plugins/avelsieve/config/config.php' \ 521 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/avelsieve/config/config.php' \
434 '%config %{l_prefix}/share/squirrelmail/plugins/check_quota/config.php' \ 522 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/check_quota/config.php' \
435 '%config %{l_prefix}/share/squirrelmail/plugins/chg_sasl_passwd/config.php' \ 523 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/chg_sasl_passwd/config.php' \
436 '%config %{l_prefix}/share/squirrelmail/plugins/folder_sizes/folder_sizes.php' \ 524 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/change_ldappass/config.php' \
437 '%config %{l_prefix}/share/squirrelmail/plugins/gpg/gpg_local_prefs.txt' \ 525 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/folder_sizes/folder_sizes.php' \
438 '%config %{l_prefix}/share/squirrelmail/plugins/ldifimport/config.php' \ 526 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/gpg/gpg_local_prefs.txt' \
439 '%config %{l_prefix}/share/squirrelmail/plugins/pupdate/config.php' \ 527 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/ldifimport/config.php' \
440 '%config %{l_prefix}/share/squirrelmail/plugins/show_user_and_ip/config.php' \ 528 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/pupdate/config.php' \
441 '%config %{l_prefix}/share/squirrelmail/plugins/vkeyboard/config.php' \ 529 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/show_user_and_ip/config.php' \
442 '%config %{l_prefix}/share/squirrelmail/plugins/username/config.php' \ 530 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/vkeyboard/config.php' \
531 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/username/config.php' \
532 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/login_notes/config.php' \
533 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/password_forget/config.php' \
534 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/config.php' \
535 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/b2evo/b2evo_config.php' \
536 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/captcha_php/captcha_php_config.php' \
537 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/csi/csi_config.php' \
538 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/freecap/freecap_config.php' \
539 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/hec/hec_config.php' \
540 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/hn_captcha/hn_captcha_config.php' \
541 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/index.php/index.php_config.php' \
542 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/meezerk/meezerk_config.php' \
543 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/opencaptcha/opencaptcha_config.php' \
544 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/phpcaptcha/phpcaptcha_config.php' \
545 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/quickcaptcha/quickcaptcha_config.php' \
546 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/quickform/quickform_config.php' \
547 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/recaptcha/recaptcha_config.php' \
548 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/textcapnum/textcapnum_config.php' \
549 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/textcaptcha/textcaptcha_config.php' \
550 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/captcha/backends/watercap/watercap_config.php' \
551 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/smime/config.php' \
552 '%attr(640,%{l_musr},%{l_ngrp}) %config %{l_prefix}/share/squirrelmail/plugins/debugger/setup.php' \
443 %endif 553 %endif
444 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/share/squirrelmail/prefs' \ 554 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/share/squirrelmail/prefs' \
445 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/squirrelmail/spool/attach' \ 555 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/squirrelmail/spool/attach' \
446 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/squirrelmail/log' 556 '%attr(755,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/squirrelmail/log'
447 557

mercurial