squirrelmail/config_local_kolab.php

Tue, 29 Mar 2011 20:04:34 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 29 Mar 2011 20:04:34 +0200
changeset 334
4a34d7a82eab
permissions
-rw-r--r--

Rework package yet again, correcting and introducing new buildconf logic:
Conditionally disable bootstrap stage comparison correctly, correct
english grammar, better find system as(1) and ld(1), indotruce detailed
optimization option messages, more completely guess cpu types, allow
profiled bootstrapping without a preinstalled GCC because many other
compilers have long since implemented 64-bit arithmetic, instruct make
to build sequentially (not in sparallel) when building a profiled
bootstrap as GCC online documents recommend, and generally improve
comment blocks.

The single most important correction in this changeset relates to the
GCC changed optimization policy since at least GCC 4.5, in which -march
is always passed and not always correctly guessed. In the case of this
package, allowing GCC to guess the architecture leads to wild build
errors at various subcomponents (zlib, libgcc, libiberty...) and
bootstrap stages. It seems quite platform specific, and the safest
approach to correcting this seems to be explicitly always specifying the
-march argument when bootstrapping GCC. Because the best choice 'native'
is not available when bootstrapping using a foreign (non GCC) compiler,
a guess is made according to rpmmacros l_platform in that case.

It is questionable as to whether these recent optimization changes
on the part of GCC or this package are compatible with each other,
or if either are complete or correct at all. At least applying these
corrections allows this package to build again in most cases test.

michael@157 1 <?php
michael@157 2 /*
michael@157 3 * config_local.php
michael@157 4 */
michael@157 5
michael@157 6 $squirrelmail_default_language = 'en_US';
michael@157 7 $default_charset = 'utf-8';
michael@157 8
michael@157 9 $imapServerAddress = 'localhost';
michael@157 10 $imap_auth_mech = 'login';
michael@157 11
michael@157 12 $optional_delimiter = '/';
michael@157 13
michael@157 14 $trash_folder = 'INBOX/Trash';
michael@157 15 $sent_folder = 'INBOX/Sent';
michael@157 16 $draft_folder = 'INBOX/Drafts';
michael@157 17 $auto_create_special = true;
michael@157 18
michael@157 19 $useSendmail = false;
michael@157 20 $smtpServerAddress = 'localhost';
michael@157 21 $smtpPort = 465;
michael@157 22 $use_smtp_tls = true;
michael@157 23 $smtp_auth_mech = 'plain';
michael@157 24
michael@157 25 /* $encode_header_key = 'ec708b484289'; */
michael@157 26 /* $hide_auth_header = false; */
michael@157 27
michael@157 28 $org_name = "Kolab";
michael@157 29 $org_logo = SM_PATH . 'images/sm_logo.png';
michael@157 30 $org_logo_width = '308';
michael@157 31 $org_logo_height = '111';
michael@157 32
michael@157 33 $org_title = "Kolab";
michael@157 34
michael@157 35 $provider_name = 'Kolab';
michael@157 36 $provider_uri = 'http://www.kolab.org/';
michael@157 37
michael@157 38 $edit_identity = false;
michael@157 39
michael@157 40 unset($plugins);
michael@157 41 $plugins[0] = 'abook_take';
michael@157 42 $plugins[] = 'administrator';
michael@157 43 $plugins[] = 'calendar';
michael@157 44 $plugins[] = 'compatibility';
michael@157 45 $plugins[] = 'delete_move_next';
michael@157 46 $plugins[] = 'listcommands';
michael@157 47 $plugins[] = 'message_details';
michael@157 48 $plugins[] = 'newmail';
michael@157 49 $plugins[] = 'squirrelspell';
michael@157 50 $plugins[] = 'squirrel_logger';
michael@157 51 $plugins[] = 'translate';
michael@157 52
michael@157 53 $plugins[] = 'addgraphics';
michael@157 54 $plugins[] = 'check_quota';
michael@157 55 $plugins[] = 'folder_sizes';
michael@157 56 $plugins[] = 'pupdate';
michael@157 57 $plugins[] = 'show_user_and_ip';
michael@157 58 $plugins[] = 'smallcal';
michael@157 59 $plugins[] = 'vkeyboard';
michael@157 60 $plugins[] = 'username';
michael@157 61
michael@157 62 ?>

mercurial