On Jan 4, 2008 12:08 PM, Ralf S. Engelschall <[EMAIL PROTECTED]> wrote: > On Fri, Jan 04, 2008, Alain Spineux wrote: > > > Their was no problem ! > > My own post-install script had replaced apache-php.conf by an empty file, > > as I was doing before the patch, then no more PHPINIDir, and then > > the error message. > > > > My squirrelmail package was already ok with openpkg, > > but now kolab has a patch that should make it work. > > So, please still acceede the OpenPKG Contributor Agreement on the > website, send your patch to me via mail and I'll commit it for you into > OpenPKG-CURRENT.
http://openpkg.org/go/oca/ , this link doesn't work. I found one working :-) If you need more info, you know where is my source. Frohes Neues Jahr! > > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > > ______________________________________________________________________ > OpenPKG http://openpkg.org > User Communication List openpkg-users@openpkg.org > -- Alain Spineux aspineux gmail com May the sources be with you
Binary files squirrelmail.orig/check_quota-1.4-1.2.7.tar.gz and squirrelmail/check_quota-1.4-1.2.7.tar.gz differ Binary files squirrelmail.orig/check_quota-2.2-1.4.0.tar.gz and squirrelmail/check_quota-2.2-1.4.0.tar.gz differ Binary files squirrelmail.orig/compatibility-2.0.7-1.0.tar.gz and squirrelmail/compatibility-2.0.7-1.0.tar.gz differ Binary files squirrelmail.orig/compatibility-2.0.9-1.0.tar.gz and squirrelmail/compatibility-2.0.9-1.0.tar.gz differ diff -uN squirrelmail.orig/config.php squirrelmail/config.php --- squirrelmail.orig/config.php 2005-03-20 17:06:38.000000000 +0100 +++ squirrelmail/config.php 2008-01-02 15:00:37.000000000 +0100 @@ -187,7 +187,7 @@ $use_smtp_tls = false; $session_name = 'SQMSESSID'; [EMAIL PROTECTED] SM_PATH . 'config_local.php'; [EMAIL PROTECTED] 'config_local.php'; /** * Make sure there are no characters after the PHP closing diff -uN squirrelmail.orig/config_local_kolab.php squirrelmail/config_local_kolab.php --- squirrelmail.orig/config_local_kolab.php 1970-01-01 01:00:00.000000000 +0100 +++ squirrelmail/config_local_kolab.php 2008-01-02 14:56:46.000000000 +0100 @@ -0,0 +1,62 @@ +<?php +/* + * config_local.php + */ + +$squirrelmail_default_language = 'en_US'; +$default_charset = 'utf-8'; + +$imapServerAddress = 'localhost'; +$imap_auth_mech = 'login'; + +$optional_delimiter = '/'; + +$trash_folder = 'INBOX/Trash'; +$sent_folder = 'INBOX/Sent'; +$draft_folder = 'INBOX/Drafts'; +$auto_create_special = true; + +$useSendmail = false; +$smtpServerAddress = 'localhost'; +$smtpPort = 465; +$use_smtp_tls = true; +$smtp_auth_mech = 'plain'; + +/* $encode_header_key = 'ec708b484289'; */ +/* $hide_auth_header = false; */ + +$org_name = "Kolab"; +$org_logo = SM_PATH . 'images/sm_logo.png'; +$org_logo_width = '308'; +$org_logo_height = '111'; + +$org_title = "Kolab"; + +$provider_name = 'Kolab'; +$provider_uri = 'http://www.kolab.org/'; + +$edit_identity = false; + +unset($plugins); +$plugins[0] = 'abook_take'; +$plugins[] = 'administrator'; +$plugins[] = 'calendar'; +$plugins[] = 'compatibility'; +$plugins[] = 'delete_move_next'; +$plugins[] = 'listcommands'; +$plugins[] = 'message_details'; +$plugins[] = 'newmail'; +$plugins[] = 'squirrelspell'; +$plugins[] = 'squirrel_logger'; +$plugins[] = 'translate'; + +$plugins[] = 'addgraphics'; +$plugins[] = 'check_quota'; +$plugins[] = 'folder_sizes'; +$plugins[] = 'pupdate'; +$plugins[] = 'show_user_and_ip'; +$plugins[] = 'smallcal'; +$plugins[] = 'vkeyboard'; +$plugins[] = 'username'; + +?> diff -uN squirrelmail.orig/index.php squirrelmail/index.php --- squirrelmail.orig/index.php 1970-01-01 01:00:00.000000000 +0100 +++ squirrelmail/index.php 2008-01-02 14:57:19.000000000 +0100 @@ -0,0 +1,10 @@ +<?php + +// If we are, go ahead to the login page. + +// This index.php presume SM is already configured (no check anymore) + +header('Location: src/login.php'); + +?> + Binary files squirrelmail.orig/show_user_and_ip-3.3-1.2.2.tar.gz and squirrelmail/show_user_and_ip-3.3-1.2.2.tar.gz differ Binary files squirrelmail.orig/show_user_and_ip-3.3-re-1.2.2.tar.gz and squirrelmail/show_user_and_ip-3.3-re-1.2.2.tar.gz differ diff -uN squirrelmail.orig/squirrelmail.conf squirrelmail/squirrelmail.conf --- squirrelmail.orig/squirrelmail.conf 1970-01-01 01:00:00.000000000 +0100 +++ squirrelmail/squirrelmail.conf 2008-01-02 14:53:53.000000000 +0100 @@ -0,0 +1 @@ +Alias /webmail /kolab/share/squirrelmail diff -uN squirrelmail.orig/squirrelmail.patch.plugins squirrelmail/squirrelmail.patch.plugins --- squirrelmail.orig/squirrelmail.patch.plugins 2006-10-16 15:53:19.000000000 +0200 +++ squirrelmail/squirrelmail.patch.plugins 2008-01-03 06:41:23.000000000 +0100 @@ -71,3 +71,17 @@ /* Switch back to the SquirrelMail domain */ textdomain('squirrelmail'); +Index: share/squirrelmail/plugins/check_quota/config.sample.php +diff -uaN share/squirrelmail/plugins/check_quota/config.sample.php.orig share/squirrelmail/plugins/check_quota/config.sample.php +--- share/squirrelmail/plugins/check_quota/config.sample.php.orig 2008-01-03 06:39:34.000000000 +0100 ++++ share/squirrelmail/plugins/check_quota/config.sample.php 2008-01-03 06:39:48.000000000 +0100 +@@ -25,7 +25,7 @@ + * 0: UNIX / 1: IMAP / 2: cPanel + */ + +-$settings['quota_type'] = 0; ++$settings['quota_type'] = 1; + + + /* + diff -uN squirrelmail.orig/squirrelmail.spec squirrelmail/squirrelmail.spec --- squirrelmail.orig/squirrelmail.spec 2008-01-01 15:32:43.000000000 +0100 +++ squirrelmail/squirrelmail.spec 2008-01-03 06:32:31.000000000 +0100 @@ -1,6 +1,7 @@ ## ## squirrelmail.spec -- OpenPKG RPM Package Specification -## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> +## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/> +## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/> ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -24,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 @@ -50,10 +51,11 @@ Group: Mail License: GPL Version: %{V_squirrelmail} -Release: 20080101 +Release: 20071221_asx # package options %option with_plugins no +%option with_kolab no # list of sources Source0: http://switch.dl.sourceforge.net/squirrelmail/squirrelmail-%{V_squirrelmail}.tar.bz2 @@ -77,6 +79,9 @@ Source18: opkg_large.png Source19: opkg_small.png Source20: rc.squirrelmail +Source21: squirrelmail.conf +Source22: config_local_kolab.php +Source23: index.php Patch0: squirrelmail.patch Patch1: squirrelmail.patch.plugins @@ -154,7 +159,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" @@ -298,11 +303,6 @@ # create initial administrator list echo %{l_musr} >>$RPM_BUILD_ROOT%{l_prefix}/etc/squirrelmail/admins - # install main index file to view in client browser - %{l_shtool} install -c -m 644 \ - index.php \ - $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/ - # copy over most functional directories, a lot of stuff for dir in class doc functions include plugins src themes; do cp -rpf $dir $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/ @@ -335,7 +335,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 \ @@ -406,6 +406,23 @@ $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/calendar/*.php \ $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/src/*.php + # ASX apache integration /webmail + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d + %{l_shtool} install -c -m 644 %{l_value -s -a} \ + %{SOURCE squirrelmail.conf} \ + $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/ + %{l_shtool} install -c -m 644 %{l_value -s -a} \ + %{SOURCE index.php} \ + $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/ + +%if "%{with_kolab}" == "yes" + %{l_shtool} install -c -m 644 %{l_value -s -a} \ + %{SOURCE config_local_kolab.php} \ + $RPM_BUILD_ROOT%{l_prefix}/etc/squirrelmail/config_local.php +%endif + + # determine package ingredients and tag config files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ @@ -417,7 +434,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' \