forked from extern/egroupware
* remove requirement for deprecated php-mcrypt extension
This commit is contained in:
parent
1b4bef13f5
commit
29739f6b82
@ -51,7 +51,6 @@ Depends: apache2,
|
||||
php5-mysql | php5-pgsql | php-mysql | php-pgsql,
|
||||
php5-json | php-json,
|
||||
php5-gd | php-gd,
|
||||
php5-mcrypt | php-mcrypt,
|
||||
php5-xsl | php-xsl,
|
||||
${misc:Depends}
|
||||
Recommends: mariadb-server | mysql-server, php-opcache | php-apc, php-apcu, php5-pecl-smb, php5-tidy | php-tidy, php5-zip | php-zip,
|
||||
|
@ -208,7 +208,7 @@ Further contributed applications are available as separate packages.
|
||||
Summary: The EGroupware core
|
||||
Group: Web/Database
|
||||
Requires: %{php} >= 5.4.0
|
||||
Requires: %{php}-mbstring %{php}-gd %{php}-mcrypt %{extra_requires} %{cron} zip %{php}-json %{php}-xsl
|
||||
Requires: %{php}-mbstring %{php}-gd %{extra_requires} %{cron} zip %{php}-json %{php}-xsl
|
||||
Provides: egw-core %{version}
|
||||
Provides: egw-addressbook %{version}
|
||||
%if 0%{?suse_version}
|
||||
|
@ -125,14 +125,6 @@ function set_distro_defaults($distro=null)
|
||||
$config['start_db'] = '/etc/init.d/mysql';
|
||||
$config['start_webserver'] = '/etc/init.d/apache2';
|
||||
}
|
||||
// enable mcrypt
|
||||
if (file_exists('/usr/sbin/php5enmod'))
|
||||
{
|
||||
$config['php5enmod'] = '/usr/sbin/php5enmod';
|
||||
// Ubuntu only needs "-s ALL" and Debian gives an error, because it does not support it
|
||||
if (!file_exists('/etc/php5/conf.d/')) $config['php5enmod'] .= ' -s ALL';
|
||||
$config['php5enmod'] .= ' mcrypt';
|
||||
}
|
||||
$config['autostart_db'] = '/usr/sbin/update-rc.d mysql defaults';
|
||||
$config['autostart_webserver'] = '/usr/sbin/update-rc.d apache2 defaults';
|
||||
$config['webserver_user'] = 'www-data';
|
||||
|
@ -214,10 +214,6 @@ $checks = array(
|
||||
'func' => 'extension_check',
|
||||
'error' => lang("The ctype extension is needed by HTMLpurifier to check content of FCKeditor agains Cross Site Skripting."),
|
||||
),
|
||||
'mcrypt' => array(
|
||||
'func' => 'extension_check',
|
||||
'warning' => lang('The mcrypt extension is used, to store eTemplate form state on the client, which is the prefered way to store it.'),
|
||||
),
|
||||
'json' => array(
|
||||
'func' => 'extension_check',
|
||||
'error' => lang('The json extension is required by EGroupware for AJAX.'),
|
||||
|
Loading…
Reference in New Issue
Block a user