--- rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2023/10/31 12:10:51 1.15 +++ rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2024/02/24 17:37:05 1.16 @@ -1,6 +1,6 @@ %define name smeserver-roundcube %define version 1.2 -%define release 19 +%define release 20 Summary: smserver rpm to setup roundcube, an IMAP mail client Name: %{name} @@ -17,7 +17,7 @@ BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 10.0 Requires: e-smith-apache >= 2.6.0-19 -Requires: roundcubemail >= 1.5.3 +Requires: roundcubemail >= 1.6 Requires: git Requires: smeserver-dovecot-extras Requires: jq @@ -31,11 +31,20 @@ Patch2: smeserver-roundcube-1.2-bz12059 Patch3: smeserver-roundcube-1.2-bz11430-login.patch Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch Patch5: smeserver-roundcube-1.2-Update-params-forv1_6-roundcube.patch +Patch6: smeserver-roundcube-1.2-bz12489-bz12263.patch %description smeserver rpm to setup the roundcube IMAP mail client. %changelog +* Sat Feb 24 2024 Jean-Philippe Pialasse 1.2-20.sme +- add nextcloud_attachements plugin support [SME: 12489] + TODO template the file /usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php +- simplify access setting using access(private,public)/status [SME: 12263] +- Requires roundcube >= 1.6 + up to php81, add dedicated php pool + using update event to config plugins + * Tue Oct 31 2023 Brian Read 1.2-19.sme - Update params for changes from v1.6 roundcube [SME: 12415] @@ -193,6 +202,7 @@ smeserver rpm to setup the roundcube IMA %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules mkdir -p root/usr/local/bin/ cp %{SOURCE1} root/usr/local/bin/composer @@ -218,17 +228,17 @@ rm -rf %{name}-%{version} %post #Update the plugins -echo "" -echo "Update the Roundcube Plugins, please wait" -echo "" -/usr/bin/rcplugin_update.sh -echo "" +# now in smeserver-roundcube-update event +#echo "" +#echo "Update the Roundcube Plugins, please wait" +#echo "" +#/usr/bin/rcplugin_update.sh +#echo "" %postun #uninstall if [ $1 = 0 ] ; then - /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf - /usr/local/bin/svc -h /service/httpd-e-smith + /usr/bin/systemctl restart httpd-e-smith fi %files -f %{name}-%{version}-filelist