Hello community,
here is the log from the commit of package squirrelmail-beta for openSUSE:Factory
checked in at Wed Jun 8 10:15:29 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/squirrelmail-beta/squirrelmail-beta.changes 2011-04-19 14:32:21.000000000 +0200
@@ -0,0 +1,9 @@
+-------------------------------------------------------------------
+Thu Apr 14 14:52:38 UTC 2011 - jengelh@medozas.de
+
+- Add Requires: for modules that Squirrelmail preferably should
+ have for improved speed
+- Remove dos2unix dependency
+- Remove unneeded %clean section
+- Remove strange %pre commands (removing files manually from /srv)
+- Add translation files
calling whatdependson for head-i586
New:
----
README.SUSE
config.php
squirrelmail-20110414_0200-SVN.devel.tar.xz
squirrelmail-20110414_0200-SVN.locales.tar.xz
squirrelmail-beta.changes
squirrelmail-beta.spec
squirrelmail.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ squirrelmail-beta.spec ++++++
#
# spec file for package squirrelmail-beta
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: squirrelmail-beta
Version: 1.5.2
Release: 1
Requires: mod_php_any
Requires: php-ctype
Requires: php-gettext
Requires: php-iconv
Requires: php-mbstring
Requires: php-mcrypt
Requires: php-mhash
Requires: php-openssl
Requires: php-posix
Requires: php-session
Requires: php-sockets
Group: Productivity/Networking/Email/Clients
License: GPL v2 or later
Url: http://www.squirrelmail.org
Summary: A web-mailer written in php
%define sqm_path /srv/www/htdocs/squirrelmail
%define b_sqm_path %buildroot%sqm_path
%define sqm_doc %_defaultdocdir/squirrelmail
%define b_sqm_doc %buidroot%sqm_doc
Source: squirrelmail-20110414_0200-SVN.devel.tar.xz
Source2: squirrelmail-20110414_0200-SVN.locales.tar.xz
Source3: config.php
Source4: README.SUSE
Source5: squirrelmail.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: xz
%description
Squirrelmail is a web-mail reader and writer written in php4. It
supports adressbook, ldap searches and many other plugins.
Authors:
--------
Luke Ehresman
Nathan Ehresman
Gustav Foseid
Pål Løberg
Shane Wilson
Steve Gare
Gerrit Padgham
Matt Phillips
Lewis Bergman
Bryan Stalcup
Tyler Akins
%package lang
Group: Productivity/Networking/Email/Clients
Summary: The Translations for squirrelmail
%description lang
Squirrelmail is a web-mail reader and writer written in PHP. It
supports adressbook, ldap searches and many other plugins.
This package contains the internationalization files for this tool.
%prep
%setup -qn squirrelmail.devel -a2
%build
rm -f functions/mime.php.orig
cp %{S:3} config/
cp %{S:4} .
find . -type f -iname "*.php" -print0 | \
xargs -0 grep -Zl '#!/usr/bin/php\b' | \
xargs -0 perl -i -pe 's{#!/usr/bin/php\b}{#!/usr/bin/php5}g';
%install
install -d -m 0755 %b_sqm_path
cp -a * %b_sqm_path/
rm -rf %b_sqm_path/plugins/calendar
# demo is disabled
rm -rf %b_sqm_path/plugins/demo
# bulkquery is disabled too
rm -rf %b_sqm_path/plugins/filters/bulkquery
# deletes all .htaccess (they are included in squirrelmail.conf)
rm %b_sqm_path/*/.htaccess
install -d -m 0770 %buildroot/var/lib/squirrelmail/attach
install -d -m 0770 %buildroot/var/lib/squirrelmail/data
mkdir -p %buildroot%_sysconfdir/apache2/conf.d
cp %{S:5} %buildroot%_sysconfdir/apache2/conf.d
# cleanup
rm -rf %buildroot%sqm_path/contrib
# language packs
pushd squirrelmail.locales/
cp -a locale help images %b_sqm_path/
popd
%files
%defattr(-,root,root)
%doc %attr(-,root,root) doc README README.SUSE
%dir %_sysconfdir/apache2
%dir %_sysconfdir/apache2/conf.d
%config %_sysconfdir/apache2/conf.d/*.conf
%dir %sqm_path
%dir %sqm_path/config
%config %sqm_path/config/default_pref
%config %sqm_path/config/config.php
%config %sqm_path/config/config_local.example.php
%sqm_path/config/conf.pl
%sqm_path/config/config_default.php
%sqm_path/config/index.php
%sqm_path/css
%sqm_path/class
%sqm_path/configure
%sqm_path/[^c]*
%dir %attr(-,root,www) /var/lib/squirrelmail
%dir %attr(-,root,www) /var/lib/squirrelmail/attach
%dir %attr(-,root,www) /var/lib/squirrelmail/data
%files lang
%defattr(-,root,root)
%lang(ar) %sqm_path/locale/ar
#%lang(ar) %sqm_path/help/ar
%lang(bg_BG) %sqm_path/locale/bg_BG
%lang(bg_BG) %sqm_path/help/bg_BG
%lang(bn_IN) %sqm_path/locale/bn_IN
#%lang(bn_IN) %sqm_path/help/bn_IN
%lang(bn_BD) %sqm_path/locale/bn_BD
#%lang(bn_BD) %sqm_path/help/bn_BD
%lang(ca_ES) %sqm_path/locale/ca_ES
%lang(ca_ES) %sqm_path/help/ca_ES
%lang(cs_CZ) %sqm_path/locale/cs_CZ
%lang(cs_CZ) %sqm_path/help/cs_CZ
%lang(cy_GB) %sqm_path/locale/cy_GB
%lang(cy_GB) %sqm_path/help/cy_GB
%lang(da_DK) %sqm_path/locale/da_DK
%lang(da_DK) %sqm_path/help/da_DK
%lang(de_DE) %sqm_path/locale/de_DE
%lang(de_DE) %sqm_path/help/de_DE
%lang(el_GR) %sqm_path/locale/el_GR
#%lang(el_GR) %sqm_path/help/el_GR
#%lang(en_GB) %sqm_path/locale/en_GB
#%lang(en_GB) %sqm_path/help/en_GB
#%lang(en_US) %sqm_path/locale/en_US
%lang(en_US) %sqm_path/help/en_US
%lang(es_ES) %sqm_path/locale/es_ES
%lang(es_ES) %sqm_path/help/es_ES
%lang(et_EE) %sqm_path/locale/et_EE
#%lang(et_EE) %sqm_path/help/et_EE
%lang(eu_ES) %sqm_path/locale/eu_ES
#%lang(eu_ES) %sqm_path/help/eu_ES
%lang(fa_IR) %sqm_path/locale/fa_IR
%lang(fa_IR) %sqm_path/help/fa_IR
%lang(fi_FI) %sqm_path/locale/fi_FI
%lang(fi_FI) %sqm_path/help/fi_FI
%lang(fo_FO) %sqm_path/locale/fo_FO
#%lang(fo_FO) %sqm_path/help/fo_FO
%lang(fr_FR) %sqm_path/locale/fr_FR
%lang(fr_FR) %sqm_path/help/fr_FR
%lang(fy) %sqm_path/locale/fy
#%lang(fy) %sqm_path/help/fy
%lang(he_IL) %sqm_path/locale/he_IL
#%lang(he_IL) %sqm_path/help/he_IL
%lang(hr_HR) %sqm_path/locale/hr_HR
#%lang(hr_HR) %sqm_path/help/hr_HR
%lang(hu_HU) %sqm_path/locale/hu_HU
#%lang(hu_HU) %sqm_path/help/hu_HU
%lang(id_ID) %sqm_path/locale/id_ID
%lang(id_ID) %sqm_path/help/id_ID
%lang(is_IS) %sqm_path/locale/is_IS
#%lang(is_IS) %sqm_path/help/is_IS
%lang(it_IT) %sqm_path/locale/it_IT
%lang(it_IT) %sqm_path/help/it_IT
%lang(ja_JP) %sqm_path/locale/ja_JP
%lang(ja_JP) %sqm_path/help/ja_JP
%lang(ka) %sqm_path/locale/ka
#%lang(ka) %sqm_path/help/ka
%lang(km) %sqm_path/locale/km
#%lang(km) %sqm_path/help/km
%lang(ko_KR) %sqm_path/locale/ko_KR
%lang(ko_KR) %sqm_path/help/ko_KR
%lang(lt_LT) %sqm_path/locale/lt_LT
%lang(lt_LT) %sqm_path/help/lt_LT
%lang(lv_LV) %sqm_path/locale/lv_LV
#%lang(lv_LV) %sqm_path/help/lv_LV
%lang(mk) %sqm_path/locale/mk
#%lang(mk) %sqm_path/help/mk
%lang(ms_MY) %sqm_path/locale/ms_MY
#%lang(ms_MY) %sqm_path/help/ms_MY
%lang(nb_NO) %sqm_path/locale/nb_NO
#%lang(nb_NO) %sqm_path/help/nb_NO
%lang(nl_NL) %sqm_path/locale/nl_NL
%lang(nl_NL) %sqm_path/help/nl_NL
%lang(nn_NO) %sqm_path/locale/nn_NO
#%lang(nn_NO) %sqm_path/help/nn_NO
%lang(pl_PL) %sqm_path/locale/pl_PL
%lang(pl_PL) %sqm_path/help/pl_PL
%lang(pt_BR) %sqm_path/locale/pt_BR
%lang(pt_BR) %sqm_path/help/pt_BR
%lang(pt_PT) %sqm_path/locale/pt_PT
%lang(pt_PT) %sqm_path/help/pt_PT
%lang(ro_RO) %sqm_path/locale/ro_RO
#%lang(ro_RO) %sqm_path/help/ro_RO
%lang(ru_RU) %sqm_path/locale/ru_RU
%lang(ru_RU) %sqm_path/help/ru_RU
%lang(sk_SK) %sqm_path/locale/sk_SK
%lang(sk_SK) %sqm_path/help/sk_SK
%lang(sl_SI) %sqm_path/locale/sl_SI
%lang(sl_SI) %sqm_path/help/sl_SI
%lang(sr_YU) %sqm_path/locale/sr_YU
%lang(sr_YU) %sqm_path/help/sr_YU
%lang(sv_SE) %sqm_path/locale/sv_SE
%lang(sv_SE) %sqm_path/help/sv_SE
%lang(ta_LK) %sqm_path/locale/ta_LK
#%lang(ta_LK) %sqm_path/help/ta_LK
%lang(tr_TR) %sqm_path/locale/tr_TR
#%lang(tr_TR) %sqm_path/help/tr_TR
#%lang(th_TH) %sqm_path/locale/th_TH
#%lang(th_TH) %sqm_path/help/th_TH
%lang(uk_UA) %sqm_path/locale/uk_UA
%lang(uk_UA) %sqm_path/help/uk_UA
%lang(vi_VN) %sqm_path/locale/vi_VN
#%lang(vi_VN) %sqm_path/help/vi_VN
%lang(zh_CN) %sqm_path/locale/zh_CN
%lang(zh_CN) %sqm_path/help/zh_CN
%lang(ug) %sqm_path/locale/ug
#%lang(ug) %sqm_path/help/ug
%lang(zh_TW) %sqm_path/locale/zh_TW
#%lang(zh_TW) %sqm_path/help/zh_TW
%changelog
++++++ README.SUSE ++++++
README.SUSE for squirrelmail
============================
This package is configured to use the University of Washington IMAP
server over SSL. To enable the IMAP server, please open
`YaST2->Network Services->Network Services(xinetd)' and turn on imaps.
You may need to generate a SSL certificate for your IMAP server, please
refer to /usr/share/doc/packages/imap/README.SuSE how to do that.
You can change the pre configured values by executeing the configure script in
/srv/www/htdocs/squirrelmail/config/conf.pl.
Per default the session.save_path in /etc/php.ini is set to /tmp.
It is strongly recommended to set this parameter to a directory, which is only
readable and writeable by the webserver (group www).
Squirrelmail and Pear DB support
--------------------------------
Php4-pear and php5-pear packages from SUSE distribution come
without Pear DB database support, which was obsoleted by MDB2.
However, Pear DB is needed by Squirrelmail if you want to store user
preferences in database. Please, install Pear DB by typing:
pear install --onlyreqdeps DB
More information can be found at bugzilla.novell.com, bug #178982.
++++++ config.php ++++++
<?php
/**
* SquirrelMail Configuration File
* Created using the configure script, conf.pl
*/
global $version;
$config_version = '1.4.0';
$config_use_color = 2;
$org_name = "TestCompany";
$org_logo = SM_PATH . 'images/sm_logo.png';
$org_logo_width = '0';
$org_logo_height = '0';
$org_title = "SquirrelMail $version";
$signout_page = '';
$frame_top = '_top';
$provider_uri = 'http://www.squirrelmail.org/';
$provider_name = 'SquirrelMail';
$motd = "Have a lot of fun... ";
$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';
$lossy_encoding = false;
$domain = 'suse.de';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = false;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'courier';
$invert_time = false;
$optional_delimiter = '.';
$encode_header_key = '';
$default_folder_prefix = 'INBOX.';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
$default_move_to_trash = true;
$default_move_to_sent = true;
$default_save_as_draft = true;
$show_prefix_option = false;
$list_special_folders_first = true;
$use_special_folder_color = true;
$auto_expunge = true;
$default_sub_of_inbox = false;
$show_contain_subfolders_option = false;
$default_unseen_notify = 2;
$default_unseen_type = 1;
$auto_create_special = true;
$delete_folder = true;
$noselect_fix_enable = false;
$data_dir = SM_PATH . 'data/';
$attachment_dir = '/var/lib/squirrelmail/attach/';
$dir_hash_level = 0;
$default_left_size = '150';
$force_username_lowercase = false;
$default_use_priority = true;
$hide_sm_attributions = false;
$default_use_mdn = true;
$edit_identity = true;
$edit_name = true;
$hide_auth_header = false;
$allow_thread_sort = false;
$allow_server_sort = false;
$allow_charset_search = true;
$uid_support = true;
$theme_css = '';
$theme_default = 0;
$theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
$theme[0]['NAME'] = 'Default';
$theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
$theme[1]['NAME'] = 'Plain Blue';
$theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
$theme[2]['NAME'] = 'Sand Storm';
$theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
$theme[3]['NAME'] = 'Deep Ocean';
$theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
$theme[4]['NAME'] = 'Slashdot';
$theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
$theme[5]['NAME'] = 'Purple';
$theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
$theme[6]['NAME'] = 'Forest';
$theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
$theme[7]['NAME'] = 'Ice';
$theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
$theme[8]['NAME'] = 'Sea Spray';
$theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
$theme[9]['NAME'] = 'Blue Steel';
$theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
$theme[10]['NAME'] = 'Dark Grey';
$theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
$theme[11]['NAME'] = 'High Contrast';
$theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
$theme[12]['NAME'] = 'Black Bean Burrito';
$theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
$theme[13]['NAME'] = 'Servery';
$theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
$theme[14]['NAME'] = 'Maize';
$theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
$theme[15]['NAME'] = 'BluesNews';
$theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
$theme[16]['NAME'] = 'Deep Ocean 2';
$theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
$theme[17]['NAME'] = 'Blue Grey';
$theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
$theme[18]['NAME'] = 'Dompie';
$theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
$theme[19]['NAME'] = 'Methodical';
$theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
$theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
$theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
$theme[21]['NAME'] = 'In The Pink (Changes)';
$theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
$theme[22]['NAME'] = 'Kind of Blue (Changes)';
$theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
$theme[23]['NAME'] = 'Monostochastic (Changes)';
$theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
$theme[24]['NAME'] = 'Shades of Grey (Changes)';
$theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
$theme[25]['NAME'] = 'Spice of Life (Changes)';
$theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
$theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
$theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
$theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
$theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
$theme[28]['NAME'] = 'Holiday - Christmas';
$theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
$theme[29]['NAME'] = 'Darkness (Changes)';
$theme[30]['PATH'] = SM_PATH . 'themes/random.php';
$theme[30]['NAME'] = 'Random (Changes every login)';
$theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
$theme[31]['NAME'] = 'Midnight';
$default_use_javascript_addr_book = false;
$abook_global_file = '';
$abook_global_file_writeable = false;
$addrbook_dsn = '';
$addrbook_table = '';
$prefs_dsn = '';
$prefs_table = '';
$prefs_user_field = 'user';
$prefs_key_field = 'prefkey';
$prefs_val_field = 'prefval';
$addrbook_global_dsn = '';
$addrbook_global_table = 'global_abook';
$addrbook_global_writeable = false;
$addrbook_global_listing = false;
$no_list_for_subscribe = false;
$smtp_auth_mech = 'none';
$imap_auth_mech = 'login';
$use_imap_tls = false;
$use_smtp_tls = false;
$session_name = 'SQMSESSID';
@include SM_PATH . 'config/config_local.php';
/**
* Make sure there are no characters after the PHP closing
* tag below (including newline characters and whitespace).
* Otherwise, that character will cause the headers to be
* sent and regular output to begin, which will majorly screw
* things up when we try to send more headers later.
*/
?>++++++ squirrelmail.conf ++++++