Hello community,

here is the log from the commit of package roundcubemail.3859 for 
openSUSE:13.2:Update checked in at 2015-06-29 10:01:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.2:Update/roundcubemail.3859 (Old)
 and      /work/SRC/openSUSE:13.2:Update/.roundcubemail.3859.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "roundcubemail.3859"

Changes:
--------
New Changes file:

--- /dev/null   2015-06-25 09:04:34.320025005 +0200
+++ 
/work/SRC/openSUSE:13.2:Update/.roundcubemail.3859.new/roundcubemail.changes    
    2015-06-29 10:01:26.000000000 +0200
@@ -0,0 +1,731 @@
+-------------------------------------------------------------------
+Sat Jun  6 18:35:27 UTC 2015 - a...@ajaissle.de
+
+- Update to 1.0.6
+    Make SMTP error log more verbose - include server response and error code
+    Fix rows count when messages search fails (#1490266)
+    Fix security issue in DBMail driver of password plugin (#1490261)
+    Fix handling of some improper constructs in format=flowed text as per the 
RFC3676[4.5] (#1490284)
+    Fix missing or not up-to-date CATEGORIES entry in vCard export (#1490277)
+    Fix duplicate entry on timezones list in 
rcube_config::timezone_name_from_abbr() (#1490293)
+    Fix handling of %-encoded entities in mailto: URLs (#1490346)
+    Fix bug where messages count was not updated after message move/delete 
with skip_deleted=false (#1490372)
+    Fix security issue in contact photo handling (#1490379)
+    Fix bug where database_attachments_cache setting was not working
+    Fix attached file path unsetting in database_attachments plugin (#1490393)
+    Fix issues when using moduserprefs.sh without --user argument (#1490399) 
+
+-------------------------------------------------------------------
+Sun Feb  1 12:33:22 UTC 2015 - a...@ajaissle.de
+
+- Update to 1.0.5 (bnc#915789)
+    Fix bug where some valid text in a message was handled as uuencoded 
attachment
+    Fix wrong icon for download button in classic skin
+    Fix bug where sent message was saved in Sent folder even if disabled by 
user (#1490208)
+    Fix checks based on window.ActiveXObject in IE > 10
+    Fix XSS issue in style attribute handling (#1490227) (CVE-2015-1433)
+    Fix bug where Drafts list wasn't updated on draft-save action in new 
window (#1490225)
+    Fix so "set as default" option is hidden if identities_level > 1 (#1490226)
+    Fix bug where search was reset after returning from compose visited for 
reply
+    Fix javascript error in "IE 8.0/Tablet PC" browser (#1490210)
+    Fix bug where empty fieldmap config entries caused empty results of ldap 
search (#1490229) 
+
+-------------------------------------------------------------------
+Thu Dec 18 17:28:40 UTC 2014 - a...@ajaissle.de
+
+- Update to 1.0.4
+    Disable TinyMCE contextmenu plugin as there are more cons than pros in 
using it (#1490118)
+    Fix bug where show_real_foldernames setting wasn't honored on compose page 
(#1490153)
+    Fix issue where Archive folder wasn't protected in Folder Manager 
(#1490154)
+    Fix compatibility with PHP 5.2. in rcube_imap_generic (#1490115)
+    Fix setting flags on servers with no PERMANENTFLAGS response (#1490087)
+    Fix regression in SHAA password generation in ldap driver of password 
plugin (#1490094)
+    Fix displaying of HTML messages with absolutely positioned elements in 
Larry skin (#1490103)
+    Fix font style display issue in HTML messages with styled <span> elements 
(#1490101)
+    Fix download of attachments that are part of TNEF message (#1490091)
+    Fix handling of uuencoded messages if messages_cache is enabled (#1490108)
+    Fix handling of base64-encoded attachments with extra spaces (#1490111)
+    Fix handling of UNKNOWN-CTE response, try do decode content client-side 
(#1490046)
+    Fix bug where creating subfolders in shared folders wasn't possible 
without ACL extension (#1490113)
+    Fix reply scrolling issue with text mode and start message below the quote 
(#1490114)
+    Fix possible issues in skin/skin_path config handling (#1490125)
+    Fix lack of delimiter for recipient addresses in smtp_log (#1490150)
+    Fix generation of Blowfish-based password hashes (#1490184)
+    Fix bugs where CSRF attacks were still possible on some requests 
+
+-------------------------------------------------------------------
+Sat Nov 08 20:02:00 UTC 2014 - Led <led...@gmail.com>
+
+- fix bashisms in post scripts
+
+-------------------------------------------------------------------
+Mon Sep 29 17:23:39 UTC 2014 - a...@ajaissle.de
+
+- Update to 1.0.3
+    Fix insert-signature command in external compose window if opened from 
inline compose screen (#1490074)
+    Initialize HTML editor before restoring a message from localStorage 
(#1490016)
+    Add 'sig_max_lines' config option to default config file (#1490071)
+    Add option to specify IMAP connection socket parameters - 
imap_conn_options (#1489948)
+    Add option to set default message list mode - default_list_mode (#1487312)
+    Enable contextmenu plugin for TinyMCE editor (#1487014)
+    Fix some mime-type to extension mapping checks in Installer (#1489983)
+    Fix errors when using localStorage in Safari's private browsing mode 
(#1489996)
+    Fix bug where $Forwarded flag was being set even if server didn't support 
it (#1490000)
+    Fix various iCloud vCard issues, added fallback for external photos 
(#1489993)
+    Fix invalid Content-Type header when send_format_flowed=false (#1489992)
+    Fix errors when adding/updating contacts in active search (#1490015)
+    Fix incorrect thumbnail rotation with GD and exif orientation data 
(#1490029)
+    Fix contacts list update after adding/deleting/moving a contact (#1490028, 
#1490033)
+    Fix handling of email addresses with quoted domain part (#1490040)
+    Fix comm_path update on task switch (#1490041)
+    Fix error in MSSQL update script 2013061000.sql (#1490061)
+    Fix validation of email addresses with IDNA domains (#1490067) 
+
+-------------------------------------------------------------------
+Sun Jul 20 23:14:51 UTC 2014 - a...@ajaissle.de
+
+- Update to 1.0.2
+  * Fix storing unsaved drafts in localStorage (#1489818)
+  * Fix redundant horizontal scrollbar in HTML editor (#1489950)
+  * Fix PHP error in Preferences when default_folders was in dont_override 
(#1489940)
+  * Add configurable LDAP_OPT_DEREF option (#1489864)
+  * Fix unintentional draft autosave request if autosave is disabled (#1489882)
+  * Fix malformed References: header in send/saved mail (#1489891)
+  * Fix handling unicode characters in links (#1489898)
+  * Fix incorrect handling of HTML comments in messages sanitization code 
(#1489904)
+  * Fix so current page is reset on list-mode change (#1489907)
+  * Fix so responses menu hides on click in classic skin (#1489915)
+  * Fix unintentional line-height style modification in HTML messages 
(#1489917)
+  * Fix broken normalize_string(), add support for ISO-8859-2 (#1489918)
+  * Support csv contacts import in German localization (#1489920)
+  * Fix so message list and counters are updated when a message is opened in 
new window (#1489919)
+  * Fix malformed recipient name when composing a message by clicking on 
mailto link (#1489942)
+  * Fix list reload after sending message in another window (#1489931)
+  * Fix so address format errors are ignored when saving a draft (#1489954)
+  * Fix incorrect label translation in return receipt (#1489963)
+  * Fix security issue in delete-response action - allow only ajax request
+  * Fix Delete button state after deleting identity/response (#1489972)
+  * Fix bug where contacts with no email address were listed on compose 
addressbook (#1489970)
+  * Fix images import from various vCard formats (#1489977)
+  * Fix sorting messages by size on servers without SORT capability (#1489981) 
+
+-------------------------------------------------------------------
+Mon Jun 23 20:26:06 UTC 2014 - jam...@vicidial.com
+
+- Modify roundcubemail-httpd.conf for OpenSuSE v.13.1 apache2
+    o Apache2 on OpenSuSE v.13.1 has the mod_access_compat.c module
+      statically compiled into the Apache2 core. This means it can't
+      be unloaded and the older pre-2.4 access directives must be 
+      used. Since it is not advised to mix pre and post 2.4 access
+      methods the file had to be modified to look for this static
+      module and load pre-2.4 directives if found on Apache 2.4. It
+      should be forward compatible if the mod_access_compat.c module
+      become dynamic in the future and is not loaded.
+
+-------------------------------------------------------------------
+Sun May 11 18:01:57 UTC 2014 - a...@ajaissle.de
+
+- Update to 1.0.1
+  * Support 'error' and 'body_file' return attribs in 'message_before_send' 
hook (#1489595)
+  * Apply user-specific replacements to group's base_dn property (#1489779)
+  * Fix missing email address when importing contacts from outlook csv 
(#1489830)
+  * Fix bug where "With attachment" option in search filter wasn't selected 
after return from mail view (#1489774)
+  * Fix "washing" of unicoded style attributes (#1489777)
+  * Fix unintentional redirect from compose page in Webkit browsers (#1489789)
+  * Fix messages index cache update under some conditions (e.g. proxy) 
(#1489756)
+  * Fix lack of translation of special folders in some configurations 
(#1489799)
+  * Fix XSS issue in plain text spellchecker (#1489806)
+  * Fix invalid page title for some folders (1489804)
+  * Fix redundant alert message on over-size uploads (#1489817)
+  * Fix next message display after removing a message (#1489800)
+  * Fix missing Mail-Followup-To header in sent mail (#1489829)
+  * Fix error when spell-checking an empty text (#1489831)
+  * Avoid popupmenus being closed when scrollbar is clicked (#1489832)
+  * Add proxy_whitelist configuration option (#1489729)
+  * Fix identities_level=4 handling in new_user_dialog plugin (#1489840)
+  * Fix various db_prefix issues (#1489839)
+  * Fix too small length of users.preferences column data type on MySQL
+  * Fix redundant warning when switching from html to text in empty editor 
(#1489819)
+  * Fix invalid host validation on login (#1489841)
+  * Fix IMAP connection test in installer so it is aware of imap_auth_type 
(#1489746) 
+
+-------------------------------------------------------------------
+Thu Apr 10 20:22:54 UTC 2014 - a...@ajaissle.de
+
+- Remove possible 'leftover' SQL directory from document root,
+  preventing upgrades from versions > 0.9.5 [bnc#872790]
+
+-------------------------------------------------------------------
+Tue Apr  8 06:55:11 UTC 2014 - a...@ajaissle.de
+
+- Update to 1.0.0
+  * Cleaned up the configuration into a single file
+  * Importing email messages and contact group assignments
+  * Advanced LDAP address book functionality
+  * A toggle to switch between HTML and plaintext view
+  * Save drafts in local storage for recovery
+  * Canned responses to save and recall boilerplate texts
+  * Improved keyboard navigation in messages list
+  * Optimized UI to work on tablet devices
+  * Attachment reminder plugin
+  + many bug fixes
+
+-------------------------------------------------------------------
+Fri Mar  7 11:24:50 UTC 2014 - a...@ajaissle.de
+
+- Use macros for DES string replacement
+
+-------------------------------------------------------------------
+Fri Feb 28 16:52:47 UTC 2014 - a...@ajaissle.de
+
+- Require php-pear-Net_Sieve for managesieve plugin
+
+-------------------------------------------------------------------
+Thu Feb 27 16:39:07 UTC 2014 - a...@ajaissle.de
+
+- Be more verbose if migration happened
+- Deny web access to roundcubemail/{migration,migrated}
+
+-------------------------------------------------------------------
+Mon Feb 24 14:02:07 UTC 2014 - a...@ajaissle.de
+
+- Dropped SQL_dir.patch, it's way easier to maintain to just create
+  a symlink.
+
+-------------------------------------------------------------------
+Thu Feb 13 09:35:39 UTC 2014 - a...@ajaissle.de
+
++++ 534 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:13.2:Update/.roundcubemail.3859.new/roundcubemail.changes

New:
----
  README.openSUSE
  roundcubemail-0.9.1_config-dir.patch
  roundcubemail-1.0.6.tar.gz
  roundcubemail-httpd.conf
  roundcubemail-rpmlintrc
  roundcubemail.changes
  roundcubemail.logrotate
  roundcubemail.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ roundcubemail.spec ++++++
#
# spec file for package roundcubemail
#
# Copyright (c) 2015 SUSE LINUX 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/
#


Name:           roundcubemail
Version:        1.0.6
Release:        0
Summary:        A modern browser-based multilingual IMAP client
License:        GPL-3.0+ and GPL-2.0 and BSD-3-Clause
Group:          Productivity/Networking/Email/Clients

Url:            http://www.roundcube.net/
Source0:        %{name}-%{version}.tar.gz
Source1:        %{name}-rpmlintrc
Source2:        %{name}-httpd.conf
Source4:        README.openSUSE
Source5:        %{name}.logrotate
Source100:      %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE roundcubemail-0.9.1_config-dir.patch -- use the general 
config directory /etc
Patch0:         %{name}-0.9.1_config-dir.patch

BuildArch:      noarch
BuildRequires:  apache2-devel
%if 0%{suse_version} >= 1100
BuildRequires:  fdupes
%endif
BuildRequires:  pcre-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Requires:       http_daemon
Requires:       mod_php_any >= 5.3
Requires:       php-exif
Requires:       php-gettext
Requires:       php-iconv
Requires:       php-mbstring
Requires:       php-mcrypt
Requires:       php-openssl
Requires:       php-session
Requires:       php_any_db

## Requires: for upstream dep package
Requires:       php-pear-Auth_SASL >= 1.0.6
Requires:       php-pear-MDB2_Driver_mysqli
Requires:       php-pear-Mail_Mime >= 1.8.1
Requires:       php-pear-Mail_mimeDecode >= 1.5.5
Requires:       php-pear-Net_IDNA2 >= 0.1.1
Requires:       php-pear-Net_LDAP2
Requires:       php-pear-Net_SMTP
Requires:       php-pear-Net_Sieve
Requires:       php-pear-Net_Socket

Recommends:     logrotate
Recommends:     php-mysql
Recommends:     php5-intl
Recommends:     php5-fileinfo

Provides:       roundcube_framework = %{version}
Conflicts:      roundcube-framework

%define apache_serverroot %(/usr/sbin/apxs2 -q DATADIR)
%define apache_sysconfdir %(/usr/sbin/apxs2 -q SYSCONFDIR)
%define roundcubepath %{apache_serverroot}/%{name}
%define roundcubeconfigpath %{_sysconfdir}/%{name}

%description
Roundcube Webmail is a browser-based multilingual IMAP client with an
application-like user interface. It provides full  functionality  you
expect from an e-mail client, including MIME support, address book,
folder manipulation, message searching and spell checking.

Roundcube Webmail is written in PHP and requires the MySQL database.
The user interface is fully skinnable using XHTML and CSS 2.


%prep
%setup -q
%patch0 -p1
cp %{SOURCE4} .

# remove cruft from source archive
find . -name ".gitignore" -delete
# no need to check .htaccess each time, the apache config takes care of the 
restrictions
find . -name ".htaccess" -delete
# remove external libraries
%{__rm} -rf \
    program/lib/Auth/ \
    program/lib/Mail/ \
    program/lib/Net/ \
    program/lib/PEAR*
# remove mssql scripts (not needed on openSUSE)
%{__rm} -rf \
    SQL/mssql/ \
    SQL/mssql.*.sql
# remove shebang from chpass-wrapper
sed -i '1d' plugins/password/helpers/chpass-wrapper.py
# remove INSTALL doc
%{__rm} INSTALL

%build

%install
# install roundcubemail.logrotate
%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
%{__install} %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}

# extract roundcube-framework
%{__install} -d -m 0755 %{buildroot}%{_datadir}/php5
mv program/lib/Roundcube %{buildroot}%{_datadir}/php5/Roundcube

# install roundcubemail
%{__install} -d -m 0755 %{buildroot}%{roundcubepath}
cp -a * %{buildroot}%{roundcubepath}/

# install config
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
cp config/* %{buildroot}%{roundcubeconfigpath}/
%{__install} %{buildroot}%{roundcubeconfigpath}/config.inc.php.sample 
%{buildroot}%{roundcubeconfigpath}/config.inc.php
%{__rm} -rf %{buildroot}%{roundcubepath}/config
%{__ln_s} %{roundcubeconfigpath} %{buildroot}%{roundcubepath}/config

# logs + temp go into /var/
%{__rm} -rf %{buildroot}%{roundcubepath}/logs \
       %{buildroot}%{roundcubepath}/temp
%{__install} -d %{buildroot}%{_localstatedir}/log/%{name} \
         %{buildroot}%{_localstatedir}/lib/%{name}
%{__ln_s} %{_localstatedir}/log/%{name}/ %{buildroot}%{roundcubepath}/logs
%{__ln_s} %{_localstatedir}/lib/%{name}/ %{buildroot}%{roundcubepath}/temp

# move some plugin configs to /etc/roundcubemail
for PLUGIN in acl managesieve password; do
    if [[ -f %{buildroot}%{roundcubepath}/plugins/$PLUGIN/config.inc.php.dist 
]]; then
        mv %{buildroot}%{roundcubepath}/plugins/$PLUGIN/config.inc.php.dist 
%{buildroot}%{roundcubeconfigpath}/$PLUGIN.inc.php
        %{__ln_s} %{roundcubeconfigpath}/$PLUGIN.inc.php 
%{buildroot}%{roundcubepath}/plugins/$PLUGIN/config.inc.php
    fi
done

# install httpd.conf file and adapt the configuration
%{__install} -d -m 0755 %{buildroot}%{apache_sysconfdir}/conf.d
sed -e "s#__ROUNDCUBEPATH__#%{roundcubepath}#g" %{SOURCE2} > 
%{buildroot}%{apache_sysconfdir}/conf.d/roundcubemail.conf

# install docs
%{__install} -d -m 0755 %{buildroot}%{_defaultdocdir}/%{name}
for i in CHANGELOG UPGRADING LICENSE README.md README.openSUSE SQL; do
    mv -v %{buildroot}%{roundcubepath}/$i %{buildroot}%{_defaultdocdir}/%{name}/
done

# create a link for SQL
%{__ln_s} %{_defaultdocdir}/%{name}/SQL %{buildroot}%{roundcubepath}/SQL

# Make ghost files
mkdir %{buildroot}%{roundcubepath}/migrated
mkdir %{buildroot}%{roundcubepath}/migration

# fdupes
%if 0%{suse_version} >= 1100
%fdupes %{buildroot}%{roundcubepath}
%endif

%pre
# backup logs, temp and config for migration
if [ ! -h %{roundcubepath}/logs ] && [ -d %{roundcubepath}/logs ]; then
        mkdir -p %{roundcubepath}/migration
        mv %{roundcubepath}/logs %{roundcubepath}/migration/.
fi
if [ ! -h %{roundcubepath}/temp ] && [ -d %{roundcubepath}/temp ]; then
        mkdir -p %{roundcubepath}/migration
        mv %{roundcubepath}/temp %{roundcubepath}/migration/.
fi
if [ ! -h %{roundcubepath}/SQL ] && [ -d %{roundcubepath}/SQL ]; then
        mkdir -p %{roundcubepath}/migration
        mv %{roundcubepath}/SQL %{roundcubepath}/migration/.
fi

for PLUGIN in acl managesieve password; do
    if [ ! -h %{roundcubepath}/plugins/$PLUGIN/config.inc.php ] && [ -f 
%{roundcubepath}/plugins/$PLUGIN/config.inc.php ]; then
            mv %{roundcubepath}/plugins/$PLUGIN/config.inc.php 
%{roundcubepath}/migration/$PLUGIN.inc.php
    fi
done

%post
# replace default des string in config file for better security
makedesstr() {
        local 
chars="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
        local max=${#chars}
        for i in $(seq 1 24); do
                echo "$chars" | dd bs=1 skip=$(($(od -An -d -N2 /dev/urandom) % 
$max)) count=1 2>/dev/null
        done
        echo
}

sed -i "s/rcmail-\!24ByteDESkey\*Str/`makedesstr`/" 
%{roundcubeconfigpath}/defaults.inc.php || : &> /dev/null

# enable apache required apache modules
if [ -x /usr/sbin/a2enmod ]; then
  a2enmod -q alias || a2enmod alias
  a2enmod -q rewrite || a2enmod rewrite
fi

# restore backed up logs, temp and config
if [ -h %{roundcubepath}/logs ] && [ -d %{roundcubepath}/migration/logs ]; then
        mkdir -p %{roundcubepath}/migrated
        cp %{roundcubepath}/migration/logs/* %{roundcubepath}/logs/. 
        mv %{roundcubepath}/migration/logs %{roundcubepath}/migrated/.
fi
if [ -h %{roundcubepath}/temp ] && [ -d %{roundcubepath}/migration/temp ]; then
        mkdir -p %{roundcubepath}/migrated
        cp %{roundcubepath}/migration/temp/* %{roundcubepath}/temp/.
        mv %{roundcubepath}/migration/temp %{roundcubepath}/migrated/.
fi
if [ -h %{roundcubepath}/SQL ] && [ -d %{roundcubepath}/migration/SQL ]; then
        rm -r %{roundcubepath}/migration/SQL
fi
for PLUGIN in acl managesieve password; do
    if [ -f %{roundcubepath}/migration/$PLUGIN.inc.php ] && [ -h 
%{roundcubepath}/plugins/$PLUGIN/config.inc.php ]; then
            cp %{roundcubepath}/migration/$PLUGIN.inc.php 
%{roundcubeconfigpath}/.
            mv %{roundcubepath}/migration/$PLUGIN.inc.php 
%{roundcubepath}/migrated/$PLUGIN.inc.php
    fi
done
for MIGDIR in migration migrated; do
    if [ -d %{roundcubepath}/$MIGDIR ]; then
        find %{roundcubepath}/$MIGDIR -empty -delete
    fi
    if [ -d %{roundcubepath}/$MIGDIR ]; then
        echo "Found %{roundcubepath}/$MIGDIR! Make sure you delete this folder 
after checking the migration!"
    fi
done

# update/make new config
if [ ! -f %{roundcubeconfigpath}/config.inc.php ]; then
  if [ -f %{roundcubeconfigpath}/main.inc.php ] && [ -f 
%{roundcubeconfigpath}/db.inc.php ]; then
    %{roundcubepath}/bin/update.sh \
        --version '?' \
        --accept
  else
    cp %{roundcubeconfigpath}/config.inc.php.sample 
%{roundcubeconfigpath}/config.inc.php
  fi
fi

exit 0

%files
%defattr(0644, root, root,0755)
%doc CHANGELOG
%doc LICENSE
%doc README.md
%doc README.openSUSE
%doc UPGRADING
%doc SQL/
%dir %{roundcubepath}
%dir %{roundcubeconfigpath}
%ghost %config(noreplace) %{roundcubeconfigpath}/config.inc.php
%config(noreplace) %{roundcubeconfigpath}/acl.inc.php
%config(noreplace) %{roundcubeconfigpath}/managesieve.inc.php
%config(noreplace) %{roundcubeconfigpath}/password.inc.php
%config %{roundcubeconfigpath}/config.inc.php.sample
%config %{roundcubeconfigpath}/defaults.inc.php
%config %{roundcubeconfigpath}/mimetypes.php
%config(noreplace) %{apache_sysconfdir}/conf.d/roundcubemail.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%{roundcubepath}/composer.json-dist
%{roundcubepath}/config
%{roundcubepath}/index.php
%{roundcubepath}/robots.txt
%dir %{roundcubepath}/bin
%attr(0755,root,root) %{roundcubepath}/bin/*.sh
%{roundcubepath}/installer/
%{roundcubepath}/logs
%ghost %{roundcubepath}/migrated/
%ghost %{roundcubepath}/migration/
%{roundcubepath}/plugins/
%{roundcubepath}/program/
%{roundcubepath}/skins/
%{roundcubepath}/SQL
%{roundcubepath}/temp
%dir %{_datadir}/php5
%{_datadir}/php5/Roundcube/
%attr(-, wwwrun, root) %{_localstatedir}/log/%{name}
%attr(-, wwwrun, root) %{_localstatedir}/lib/%{name}

%changelog
++++++ README.openSUSE ++++++


This README contains additional information specific to the
openSUSE package of roundcube.


INSTALLATION
============

This application is packaged to integrate with Apache and MySQL but
it can basically run with every webserver being able to run PHP and
also use other SQL based database engines.

After installation of the package the application will immediately
be reachable from everywhere once Apache is enabled under the URL

  http://IP-ADDRESS/roundcube

The configuration is copied from the example config files from the
package and therefore not really working.

First step is to prepare the MySQL database for Roundcube:

Setting up the mysql database can be done by creating an empty database,
importing the table layout and granting the proper permissions to the
roundcube user. Here is an example of that procedure:

# mysql
> CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE 
> utf8_general_ci */;
> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost
  IDENTIFIED BY 'password';
> quit

# mysql roundcubemail < 
/usr/share/doc/packages/roundcubemail/SQL/mysql.initial.sql

Note 1: 'password' is the master password for the roundcube user. It is strongly
recommended you replace this with a more secure password. Please keep in
mind: You need to specify this password later in 
'/etc/roundcubemail/db.inc.php'.

To use the integrated web based installer you need to enable it first
in /etc/roundcubemail/main.inc.php:

$rcmail_config['enable_installer'] = true;

IMPORTANT: This MUST be disabled again after installation is finished
           for SECURITY reasons

and then access

  http://IP-ADDRESS/roundcube/installer

to finish the installation.

++++++ roundcubemail-0.9.1_config-dir.patch ++++++
diff --git a/installer/index.php b/installer/index.php
index 0e80b1c..0123a70 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -41,7 +41,7 @@ ini_set('display_errors', 1);
 
 define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/');
 define('RCUBE_INSTALL_PATH', INSTALL_PATH);
-define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/');
+define('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
 
 $include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
 $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
diff --git a/program/include/iniset.php b/program/include/iniset.php
index ca17640..b6da3a6 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -29,7 +29,7 @@ if (!defined('INSTALL_PATH')) {
 }
 
 if (!defined('RCMAIL_CONFIG_DIR')) {
-    define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
+    define('RCMAIL_CONFIG_DIR', '/etc/roundcubemail/');
 }
 
 if (!defined('RCUBE_LOCALIZATION_DIR')) {
++++++ roundcubemail-httpd.conf ++++++
# You might want to set up a virtual host for the server, but it is
# not a requirement. You can as well reach the server under its
# common name under http://your.server.name/roundcube
#
# NameVirtualHost *
# <VirtualHost *>
#     ServerName your.server.name
#     DocumentRoot /srv/www/roundcubemail


<IfModule mod_alias.c>
    Alias /roundcube __ROUNDCUBEPATH__
    Alias /roundcubemail __ROUNDCUBEPATH__
</IfModule>

# AddDefaultCharset     UTF-8
AddType text/x-component .htc

<Directory __ROUNDCUBEPATH__>
  <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
      Order allow,deny
      #Allow from 127.0.0.1
      Allow from all
    </IfModule>
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    #Allow from 127.0.0.1
    Allow from all
  </IfVersion>

  Options -Indexes +FollowSymLinks

  <IfModule mod_php5.c>
    php_flag        display_errors  Off
    php_flag        log_errors      On
    # php_value     error_log       logs/errors

    php_value       upload_max_filesize     5M
    php_value       post_max_size           6M
    php_value       memory_limit            64M

    php_flag        zlib.output_compression         Off
    php_flag        magic_quotes_gpc                Off
    php_flag        magic_quotes_runtime            Off
    php_flag        zend.ze1_compatibility_mode     Off
    php_flag        suhosin.session.encrypt         Off

    #php_value      session.cookie_path             /
    php_flag        session.auto_start      Off
    php_value       session.gc_maxlifetime  21600
    php_value       session.gc_divisor      500
    php_value       session.gc_probability  1

    # http://bugs.php.net/bug.php?id=30766
    php_value       mbstring.func_overload  0
  </IfModule>

  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
    # security rules
    RewriteRule .git - [F]
    RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG)$ - [F]
  </IfModule>

  <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
  </IfModule>

  <IfModule mod_headers.c>
    # replace 'append' with 'merge' for Apache version 2.2.9 and later
    #Header append Cache-Control public env=!NO_CACHE
  </IfModule>

  <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 1 month"
  </IfModule>

  FileETag MTime Size

</Directory>

 # Special directories

 <Directory __ROUNDCUBEPATH__/bin>
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>

 <Directory __ROUNDCUBEPATH__/config>
   Options -FollowSymLinks
   AllowOverride None
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>

 <Directory __ROUNDCUBEPATH__/logs>
   Options -FollowSymLinks
   AllowOverride None
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>

 <Directory __ROUNDCUBEPATH__/migration>
   Options -FollowSymLinks
   AllowOverride None
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>
 
 <Directory __ROUNDCUBEPATH__/migrated>
   Options -FollowSymLinks
   AllowOverride None
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>
 
 <Directory __ROUNDCUBEPATH__/plugins/enigma/home>
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>

 <Directory __ROUNDCUBEPATH__/program>
   <IfModule mod_rewrite.c>
     RewriteEngine On
     RewriteRule !^js|.*\.gif$ - [F]
   </IfModule>
 </Directory>

 <Directory __ROUNDCUBEPATH__/temp>
   Options -FollowSymLinks
   AllowOverride None
   <IfVersion >= 2.4>
    <IfModule !mod_access_compat.c> 
      Require all granted
    </IfModule>
    <IfModule mod_access_compat.c>
     Order allow,deny
     #Allow from 127.0.0.1
     Allow from all
    </IfModule>
   </IfVersion>
   <IfVersion < 2.4>
     Order allow,deny
     Deny from all
   </IfVersion>
 </Directory>

# </VirtualHost>

++++++ roundcubemail-rpmlintrc ++++++
addFilter("E: devel-file-in-non-devel-package")
++++++ roundcubemail.logrotate ++++++
/var/log/roundcubemail/console /var/log/roundcubemail/errors 
/var/log/roundcubemail/imap /var/log/roundcubemail/ldap 
/var/log/roundcubemail/sendmail /var/log/roundcubemail/sieve 
/var/log/roundcubemail/smtp /var/log/roundcubemail/sql 
/var/log/roundcubemail/userlogins {
    missingok
    compress
    notifempty
    size 30k
    create 0660 wwwrun www
}

Reply via email to