/[smecontribs]/rpms/smeserver-roundcube/contribs10/smeserver-roundcube-1.2-rcplugin_update.patch
ViewVC logotype

Annotation of /rpms/smeserver-roundcube/contribs10/smeserver-roundcube-1.2-rcplugin_update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Mar 25 15:25:49 2024 UTC (8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-roundcube-1_2-24_el7_sme, HEAD
* Mon Mar 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2-24.sme
- fix temp event not ending because of interactive install of plugin [SME: 12530]
- stop altering php81 ini file [SME: 12529]
- workaround Composer could not detect the root package [SME: 12531]
- workaround roundcube/plugin-installer is also a root requirement [SME: 12532]

1 jpp 1.1 diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh
2     --- smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh 2024-03-25 11:07:28.309000000 -0400
3     +++ smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh 2024-03-25 11:10:33.183000000 -0400
4     @@ -1,20 +1,14 @@
5     #!/bin/bash
6     -/sbin/e-smith/db configuration setprop php81 AllowUrlFopen On
7     -/sbin/e-smith/expand-template /etc/opt/remi/php81/php.ini
8     -/usr/bin/systemctl restart php81-php-fpm >/dev/null 2>&1
9     -#/etc/init.d/httpd-e-smith restart >/dev/null 2>&1
10     pathroundcube=$(pwd)
11     -
12     cd /usr/share/roundcubemail
13     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require johndoh/contextmenu --with-dependencies
14     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require johndoh/globaladdressbook ~2.1 --with-dependencies
15     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require roundcube/larry ~1.6.0 --with-dependencies
16     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require bennet0496/nextcloud_attachments --with-dependencies
17     -
18     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer self-update
19     -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer update --with-dependencies
20     -/sbin/e-smith/db configuration setprop php81 AllowUrlFopen off
21     -/sbin/e-smith/expand-template /etc/opt/remi/php81/php.ini
22     -/usr/bin/systemctl restart php81-php-fpm >/dev/null 2>&1
23     +# composer seems to have issues to detect roundcubemail 1.6.6 version... so:
24     +# we could also get it from index.php header.
25     +export COMPOSER_ROOT_VERSION=`rpm -q roundcubemail --queryformat "%{VERSION}"`
26     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require johndoh/contextmenu --with-all-dependencies --no-interaction
27     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require johndoh/globaladdressbook ~2.1 --with-all-dependencies --no-interaction
28     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require roundcube/larry ~1.6.0 --with-all-dependencies --no-interaction
29     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require bennet0496/nextcloud_attachments --with-all-dependencies --no-interaction
30     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer self-update --no-interaction
31     +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer update --with-all-dependencies --no-interaction
32     cd $pathroundcube
33    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed