Mon, 28 Mar 2011 19:41:02 +0200
Completely rework package including...
Simpify 64-bit -fPIC logic, instruct make to build in parallel,
force error condition on failed profile dependency, build the
standard 'bootstrap' target as suggested, correct grammar, wording,
and punctuation in general, upgrade to latest upstream vendor version,
rearrange package dependencies mpc, mpfr, and gmp, correct buildconf
thanks to new lto-plugin forced, avoid failed platform specific stage
comparison, adjust patch code to reflect new version update, and most
importantly adjust optimization flags to platform. Please note that
block 'correct hardcoded paths' is likely no yet complete.
michael@157 | 1 | <?php |
michael@157 | 2 | |
michael@157 | 3 | /** |
michael@157 | 4 | * SquirrelMail Configuration File |
michael@157 | 5 | * Created using the configure script, conf.pl |
michael@157 | 6 | */ |
michael@157 | 7 | |
michael@157 | 8 | global $version; |
michael@159 | 9 | $config_version = '1.4.0'; |
michael@157 | 10 | $config_use_color = 1; |
michael@157 | 11 | |
michael@159 | 12 | $org_name = "Provisional Email"; |
michael@159 | 13 | $org_logo = SM_PATH . 'images/opkg_large.png'; |
michael@157 | 14 | $org_logo_width = '277'; |
michael@157 | 15 | $org_logo_height = '88'; |
michael@159 | 16 | $org_title = "SquirrelMail $version"; |
michael@159 | 17 | $signout_page = ''; |
michael@159 | 18 | $frame_top = '_top'; |
michael@157 | 19 | |
michael@159 | 20 | $motd = ""; |
michael@159 | 21 | $provider_uri = 'http://www.openpkg.org/'; |
michael@159 | 22 | $provider_name = 'OpenPKG'; |
michael@157 | 23 | |
michael@157 | 24 | $squirrelmail_default_language = 'de_DE'; |
michael@159 | 25 | $default_charset = 'iso-8859-1'; |
michael@159 | 26 | $lossy_encoding = false; |
michael@157 | 27 | |
michael@157 | 28 | $domain = '@l_fqdm@'; |
michael@157 | 29 | $imapServerAddress = '@l_fqdm@'; |
michael@157 | 30 | $imapPort = 143; |
michael@157 | 31 | $useSendmail = true; |
michael@157 | 32 | $smtpServerAddress = '@l_fqdm@'; |
michael@157 | 33 | $smtpPort = 25; |
michael@157 | 34 | $sendmail_path = '@l_prefix@/sbin/sendmail'; |
michael@157 | 35 | $pop_before_smtp = false; |
michael@159 | 36 | $imap_server_type = 'dovecot'; |
michael@157 | 37 | $invert_time = false; |
michael@159 | 38 | $optional_delimiter = 'detect'; |
michael@157 | 39 | |
michael@157 | 40 | $default_folder_prefix = ''; |
michael@159 | 41 | $trash_folder = 'Trash'; |
michael@159 | 42 | $sent_folder = 'Sent'; |
michael@159 | 43 | $draft_folder = 'Drafts'; |
michael@157 | 44 | $default_move_to_trash = true; |
michael@157 | 45 | $default_move_to_sent = true; |
michael@157 | 46 | $default_save_as_draft = true; |
michael@157 | 47 | $show_prefix_option = false; |
michael@157 | 48 | $list_special_folders_first = true; |
michael@157 | 49 | $use_special_folder_color = true; |
michael@157 | 50 | $auto_expunge = true; |
michael@157 | 51 | $default_sub_of_inbox = true; |
michael@157 | 52 | $show_contain_subfolders_option = false; |
michael@180 | 53 | $default_unseen_notify = 3; |
michael@157 | 54 | $default_unseen_type = 1; |
michael@157 | 55 | $auto_create_special = false; |
michael@159 | 56 | $delete_folder = false; |
michael@157 | 57 | $noselect_fix_enable = false; |
michael@157 | 58 | |
michael@157 | 59 | $data_dir = '@l_prefix@/share/squirrelmail/prefs/'; |
michael@157 | 60 | $attachment_dir = '@l_prefix@/var/squirrelmail/spool/attach/'; |
michael@157 | 61 | $dir_hash_level = 1; |
michael@157 | 62 | $default_left_size = '224'; |
michael@159 | 63 | $force_username_lowercase = true; |
michael@157 | 64 | $default_use_priority = true; |
michael@157 | 65 | $hide_sm_attributions = false; |
michael@157 | 66 | $default_use_mdn = true; |
michael@157 | 67 | $edit_identity = true; |
michael@157 | 68 | $edit_name = true; |
michael@159 | 69 | $hide_auth_header = true; |
michael@157 | 70 | $allow_thread_sort = true; |
michael@157 | 71 | $allow_server_sort = true; |
michael@157 | 72 | $allow_charset_search = true; |
michael@157 | 73 | $uid_support = true; |
michael@157 | 74 | |
michael@162 | 75 | $plugins[0] = 'administrator'; |
michael@162 | 76 | $plugins[1] = 'bug_report'; |
michael@162 | 77 | $plugins[2] = 'calendar'; |
michael@162 | 78 | $plugins[3] = 'compatibility'; |
michael@162 | 79 | $plugins[4] = 'delete_move_next'; |
michael@162 | 80 | $plugins[5] = 'filters'; |
michael@162 | 81 | $plugins[6] = 'fortune'; |
michael@162 | 82 | $plugins[7] = 'info'; |
michael@162 | 83 | $plugins[8] = 'listcommands'; |
michael@162 | 84 | $plugins[9] = 'mail_fetch'; |
michael@162 | 85 | $plugins[10] = 'message_details'; |
michael@162 | 86 | $plugins[11] = 'newmail'; |
michael@162 | 87 | $plugins[12] = 'sent_subfolders'; |
michael@162 | 88 | $plugins[13] = 'spamcop'; |
michael@162 | 89 | $plugins[14] = 'squirrel_logger'; |
michael@162 | 90 | $plugins[15] = 'squirrelspell'; |
michael@162 | 91 | $plugins[16] = 'translate'; |
michael@157 | 92 | |
michael@157 | 93 | /* NOP, for patch line placeholder (avoids fuzz) */ |
michael@157 | 94 | $theme_css = ''; |
michael@159 | 95 | $theme_default = 4; |
michael@159 | 96 | $theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesome.php'; |
michael@159 | 97 | $theme[0]['NAME'] = 'Bluesome'; |
michael@159 | 98 | $theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php'; |
michael@159 | 99 | $theme[1]['NAME'] = 'Dark Green'; |
michael@159 | 100 | $theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php'; |
michael@159 | 101 | $theme[2]['NAME'] = 'Dark Grey'; |
michael@157 | 102 | $theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php'; |
michael@157 | 103 | $theme[3]['NAME'] = 'Deep Ocean'; |
michael@159 | 104 | $theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php'; |
michael@159 | 105 | $theme[4]['NAME'] = 'Default'; |
michael@159 | 106 | $theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php'; |
michael@159 | 107 | $theme[5]['NAME'] = 'Forest'; |
michael@159 | 108 | $theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php'; |
michael@159 | 109 | $theme[6]['NAME'] = 'Ice'; |
michael@159 | 110 | $theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php'; |
michael@159 | 111 | $theme[7]['NAME'] = 'Maize'; |
michael@159 | 112 | $theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php'; |
michael@159 | 113 | $theme[8]['NAME'] = 'Purple'; |
michael@159 | 114 | $theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php'; |
michael@159 | 115 | $theme[9]['NAME'] = 'Sand Storm'; |
michael@159 | 116 | $theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php'; |
michael@159 | 117 | $theme[10]['NAME'] = 'Sea Spray'; |
michael@159 | 118 | $theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php'; |
michael@159 | 119 | $theme[11]['NAME'] = 'Servery'; |
michael@159 | 120 | $theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/silver_steel_theme.php'; |
michael@159 | 121 | $theme[12]['NAME'] = 'SilverSteel'; |
michael@159 | 122 | $theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_green_theme.php'; |
michael@159 | 123 | $theme[13]['NAME'] = 'SimpleGreen'; |
michael@162 | 124 | $theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life.php'; |
michael@162 | 125 | $theme[14]['NAME'] = 'SpiceLife'; |
michael@159 | 126 | $theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/wood_theme.php'; |
michael@159 | 127 | $theme[15]['NAME'] = 'Wood'; |
michael@157 | 128 | |
michael@159 | 129 | $ldap_server[0] = array( |
michael@159 | 130 | 'host' => 'ldaps://ldap.host.tld:636/', |
michael@159 | 131 | 'base' => 'dc=region,dc=domain,dc=tld', |
michael@159 | 132 | 'name' => 'Serveur LDAP', |
michael@159 | 133 | 'port' => 636, |
michael@159 | 134 | 'binddn' => 'cn=user,dc=domain,dc=tld', |
michael@159 | 135 | 'bindpw' => 'password', |
michael@159 | 136 | 'protocol' => 3 |
michael@159 | 137 | ); |
michael@157 | 138 | |
michael@159 | 139 | $addrbook_dsn = ''; |
michael@159 | 140 | $addrbook_table = 'address'; |
michael@159 | 141 | $abook_global_file = ''; |
michael@159 | 142 | $abook_global_file_writeable = false; |
michael@159 | 143 | $abook_global_file_listing = true; |
michael@159 | 144 | $abook_file_line_length = 2048; |
michael@159 | 145 | $default_use_javascript_addr_book = true; |
michael@157 | 146 | |
michael@159 | 147 | $prefs_dsn = ''; |
michael@159 | 148 | $prefs_table = 'userprefs'; |
michael@159 | 149 | $prefs_user_field = 'user'; |
michael@159 | 150 | $prefs_key_field = 'prefkey'; |
michael@159 | 151 | $prefs_val_field = 'prefval'; |
michael@159 | 152 | $addrbook_global_dsn = ''; |
michael@159 | 153 | $addrbook_global_table = 'global_abook'; |
michael@157 | 154 | $addrbook_global_writeable = false; |
michael@159 | 155 | $addrbook_global_listing = false; |
michael@157 | 156 | |
michael@159 | 157 | $no_list_for_subscribe = false; |
michael@159 | 158 | $smtp_auth_mech = 'digest-md5'; |
michael@159 | 159 | $imap_auth_mech = 'digest-md5'; |
michael@159 | 160 | $smtp_sitewide_user = ''; |
michael@159 | 161 | $smtp_sitewide_pass = ''; |
michael@159 | 162 | $use_imap_tls = false; |
michael@159 | 163 | $use_smtp_tls = false; |
michael@159 | 164 | $session_name = 'SQMSESSID'; |
michael@159 | 165 | $only_secure_cookies = true; |
michael@157 | 166 | |
michael@159 | 167 | $config_location_base = ''; |
michael@159 | 168 | |
michael@159 | 169 | @include SM_PATH . 'config_local.php'; |
michael@157 | 170 | |
michael@157 | 171 | /** |
michael@157 | 172 | * Make sure there are no characters after the PHP closing |
michael@157 | 173 | * tag below (including newline characters and whitespace). |
michael@157 | 174 | * Otherwise, that character will cause the headers to be |
michael@157 | 175 | * sent and regular output to begin, which will majorly screw |
michael@157 | 176 | * things up when we try to send more headers later. |
michael@157 | 177 | */ |
michael@157 | 178 | ?> |