Here is what I did, but need more advice to complete! My patch
(candidate) is a the end.
I thing the package should be "install&play", just install and then
connect to http:/.........../webmail
and it should works. Do you agree ?
To make it works Here is what I want to include in the patch :
- Add a squirrelmail.conf into apache to add a '/webmail' alias
- Replace index.php, because the original one check for config/config.php,
but openpkg don't have such directory, all configuration is in /etc
- Provid an option with_kolab and a compatible config_local.php to make int
plug&play with kolab.
- force config.php to read config_local.php from /etc
[EMAIL PROTECTED] SM_PATH . 'config_local.php';
[EMAIL PROTECTED] 'config_local.php';
Any advice ?
Happy New Year .
Alain
--- /RPM/SRC/squirrelmail-1.4.13-20071221/squirrelmail.spec
2007-12-21 09:06:54.000000000 +0100
+++ /kolab/RPM/SRC/squirrelmail/squirrelmail.spec 2007-12-31
18:52:31.000000000 +0100
@@ -25,17 +25,17 @@
# package version
%define V_squirrelmail 1.4.13
%define V_locale 1.4.13-20071220
-%define V_plugin_compat 2.0.7-1.0
+%define V_plugin_compat 2.0.9-1.0
%define V_plugin_logger 1.4.0-1.0.6
%define V_plugin_addgraphics 2.3-1.0.3
%define V_plugin_avelsieve 1.9.7
%define V_plugin_saslpwd 1.4.1-1.4
-%define V_plugin_checkquota 1.4-1.2.7
+%define V_plugin_checkquota 2.2-1.4.0
%define V_plugin_foldersize 1.5-1.4.0
%define V_plugin_gnupg 2.0.1-1.4.2
%define V_plugin_ldif 1.4-1.2.x
%define V_plugin_update 0.7-1.4.2
-%define V_plugin_userip 3.3-1.2.2
+%define V_plugin_userip 3.3-re-1.2.2
%define V_plugin_smallcal 0.8-1.2.3
%define V_plugin_vkeyboard 0.9
%define V_plugin_username 2.3-1.0.0
@@ -51,7 +51,7 @@
Group: Mail
License: GPL
Version: %{V_squirrelmail}
-Release: 20071221
+Release: 20071221_asx
# package options
%option with_plugins no
@@ -155,7 +155,7 @@
disabled
version = %{V_plugin_foldersize}
url =
http://www.squirrelmail.org/plugins_category.php?category_id=all
- regex = folder_sizes.(__VER__)\.tar\.gz
+ regex = folder_sizes-(__VER__)\.tar\.gz
}
prog squirrelmail:gnupg = {
comment = "cs: untrackable due to CMS generated URLs"
@@ -336,7 +336,7 @@
-e 's;\(\$sl_dateformat = \)"m/d/Y G:i:s";\1"d/m/Y G:i:s";' \
squirrel_logger/setup.php
%if "%{with_plugins}" == "yes"
- cp -pf check_quota/config.php.sample check_quota/config.php
+ cp -pf check_quota/config.sample.php check_quota/config.php
cp -pf chg_sasl_passwd/config.php.sample chg_sasl_passwd/config.php
cp -pf show_user_and_ip/config.php.sample show_user_and_ip/config.php
%{l_shtool} install -c -m 644 \
@@ -418,7 +418,7 @@
'%config
%{l_prefix}/share/squirrelmail/plugins/avelsieve/config/config.php' \
'%config
%{l_prefix}/share/squirrelmail/plugins/check_quota/config.php' \
'%config
%{l_prefix}/share/squirrelmail/plugins/chg_sasl_passwd/config.php' \
- '%config
%{l_prefix}/share/squirrelmail/plugins/folder_sizes/folder_sizes_config.php'
\
+ '%config
%{l_prefix}/share/squirrelmail/plugins/folder_sizes/folder_sizes.php'
\
'%config
%{l_prefix}/share/squirrelmail/plugins/gpg/gpg_local_prefs.txt' \
'%config
%{l_prefix}/share/squirrelmail/plugins/ldifimport/config.php' \
'%config %{l_prefix}/share/squirrelmail/plugins/pupdate/config.php' \
On Dec 19, 2007 2:04 PM, Ralf S. Engelschall <[EMAIL PROTECTED]> wrote:
> On Wed, Dec 19, 2007, Alain Spineux wrote:
>
> > Hello I would like to repage the squirrelmail package and would like
> > to get your advice.
> >
> > I have with "check_quota" plugin when http is running in another port,
> > the gauge
> > is no displayed because the plugins provide a self made absolute url.
> > I made a one line patch
> > but this version of the plugin is obsolete.
> > I tried the new version with success, I just had to change the
> > "engine" from UNIX quota to cyrus one.
> >
> > Do you prefer a patch for the old one or the chnage for the new one ?
>
> Just always use the latest stuff if it works fine.
> So, use the new one and patch this one.
>
> > Second I wolud like to move the configuration files to
> > /kolab/etc/squirrelmail/
> > This include config_local.php and config.php
>
> Just do, there is actually belongs anyway.
>
> Ralf S. Engelschall
> [EMAIL PROTECTED]
> www.engelschall.com
>
> ______________________________________________________________________
> OpenPKG http://openpkg.org
> User Communication List [email protected]
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List [email protected]