Projects
Kolab:Winterfell
roundcubemail
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 159
View file
roundcubemail.spec
Changed
@@ -76,8 +76,6 @@ Source200: 2017111400.sql -Source300: plesk.premium.inc.php - Patch201: default-configuration.patch Patch202: roundcubemail-1.4-beta86-plugin-enigma-homedir.patch @@ -2377,10 +2375,6 @@ -e '/^(%dir )*\/var\//d' \ *.files -%if 0%{?plesk} -%{__install} %{SOURCE300} %{buildroot}%{confdir}/premium.inc.php -%endif - %pre if [ -L %{plugindir}/enigma/home -a ! -d %{plugindir}/enigma/home ]; then %{__rm} -rf %{plugindir}/enigma/home >/dev/null 2>&1 || : @@ -2586,10 +2580,6 @@ %{__sed} -i -r -e "s/.*(\s*define\(\s*'RCMAIL_VERSION'\s*,\s*').*('\);)/\1%{version}-%{release}\2/g" \ %{datadir}/program/include/iniset.php || : -%if 0%{?plesk} -/usr/local/psa/admin/bin/php %{_datadir}/roundcubemail/bin/fix-plesk-domains-config.php >/dev/null 2&1 || : -%endif - if [ ! -f %{_localstatedir}/lib/rpm-state/roundcubemail/httpd.restarted ]; then if [ -f "%{php_inidir}/apc.ini" -o -f "%{php_inidir}/apcu.ini" ]; then if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc{,u}.ini 2>/dev/null)" ]; then @@ -3126,9 +3116,6 @@ %endif %attr(0640,root,%{httpd_group}) %config(noreplace) %{confdir}/config.inc.php %attr(0640,root,%{httpd_group}) %config(noreplace) %{confdir}/defaults.inc.php -%if 0%{?plesk} -%attr(0640,root,%{httpd_group}) %{confdir}/premium.inc.php -%endif %attr(0640,root,%{httpd_group}) %{confdir}/mimetypes.php %attr(0770,root,%{httpd_group}) %dir %{logdir} %attr(0770,root,%{httpd_group}) %dir %{tmpdir}
View file
debian.rules
Changed
@@ -139,8 +139,6 @@ cp -v ../SOURCES/plesk.config.inc.php config/config.inc.php ; \ cp -v ../SOURCES/plesk.managesieve.inc.php config/managesieve.inc.php ; \ cp -v ../SOURCES/plesk.password.inc.php config/password.inc.php ; \ - cp -v ../SOURCES/plesk.premium.inc.php config/premium.inc.php ; \ - cp -v ../SOURCES/fix-premium-domains-config.php bin/fix-premium-domains-config.php ; \ sed -i -e 's/www-data adm/roundcube_sysuser roundcube_sysgroup/g' debian/logrotate ; \ echo "misc:Depends:roundcubemail-skin-plesk" >> debian/roundcubemail-core.substvars ; \ else \
View file
debian.tar.gz/roundcubemail-core.postinst
Changed
@@ -48,11 +48,6 @@ sed -i "s/rcmail-\!24ByteDESkey\*Str/`head -c 200 /dev/urandom | tr -dc _A-Z-a-z-0-9 | head -c24`/" \ /etc/roundcubemail/defaults.inc.php || : &> /dev/null - if [ -f "/etc/plesk-release" ]; then - /usr/local/psa/admin/bin/php /usr/share/roundcubemail/bin/fix-plesk-domains-config.php >/dev/null 2>&1 || : - exit 0 - fi - if [ -e "/etc/apache2/sites-available/roundcubemail.conf" -a ! -e "/etc/apache2/sites-enabled/roundcubemail.conf" ]; then a2ensite roundcubemail.conf fi
View file
fix-premium-domains-config.php
Deleted
@@ -1,36 +0,0 @@ -<?php - require_once('sdk.php'); - - pm_Context::init('kolab'); - - $fm = new \pm_ServerFileManager(); - - $str = ""; - - // Get the contents of premium.inc.php from the extension. - if ($fm->fileExists(rtrim(pm_Context::getVarDir(), '/') . '/webmail/premium.inc.php')) { - $str = $fm->getFileContents( - rtrim(pm_Context::getVarDir(), '/') . '/webmail/premium.inc.php' - ); - - // Get the contents of premium.inc.php from the software package. - } elseif ('/etc/roundcubemail/premium.inc.php') { - $str = $fm->getFileContents('/etc/roundcubemail/premium.inc.php'); - } else { - return FALSE; - } - - foreach (pm_Domain::getAllDomains() as $domain) { - if ($domain->hasPermission("manage_kolab") && $domain->hasHosting()) { - $w_domain = 'webmail.' . $domain_name; - - if ($domain->hasPermission('manage_kolab')) { - if (!$fm->fileExists("/etc/roundcubemail/{$w_domain}/")) { - $fm->mkdir("/etc/roundcubemail/{$w_domain}/", '0755'); - } - - $fm->filePutContents("/etc/roundcubemail/{$w_domain}/premium.inc.php", $str); - } - } - } -}
View file
plesk.config.inc.php
Changed
@@ -45,13 +45,28 @@ $config['enable_installer'] = false; $config['plugins'] = Array( + 'acl', + 'archive', + 'calendar', 'jqueryui', + 'kolab_activesync', + 'kolab_addressbook', 'kolab_config', + //'kolab_delegation', + 'kolab_files', 'kolab_folders', + 'kolab_notes', + 'kolab_tags', 'libkolab', 'libcalendaring', + 'managesieve', + 'markasjunk', + 'newmail_notifier', + 'odfviewer', 'password', - 'contextmenu' + 'pdfviewer', + 'tasklist', + 'contextmenu', ); $config['activesync_plugins'] = Array( @@ -186,9 +201,9 @@ @include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/'. basename(__FILE__)); } - // Additional options for Plesk Premium Email "Gold" - if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/premium.inc.php')) { - @include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/premium.inc.php'); + // Additional options for Plesk Premium Email - Free + if (file_exists(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/freemium.inc.php')) { + @include_once(RCUBE_CONFIG_DIR .'/'. $_SERVER['HTTP_HOST'] .'/freemium.inc.php'); } // Integration between Plesk Premium Email and Collabora Online extensions
View file
plesk.premium.inc.php
Deleted
@@ -1,28 +0,0 @@ -<?php - # This file is shipped with the Plesk Premium Email software. Changes you - # make here will be overwritten. - - $config['plugins'] = Array( - 'acl', - 'archive', - 'calendar', - 'jqueryui', - 'kolab_activesync', - 'kolab_addressbook', - 'kolab_config', - //'kolab_delegation', - 'kolab_files', - 'kolab_folders', - 'kolab_notes', - 'kolab_tags', - 'libkolab', - 'libcalendaring', - 'managesieve', - 'markasjunk', - 'newmail_notifier', - 'odfviewer', - 'password', - 'pdfviewer', - 'tasklist', - 'contextmenu', - );
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.