--- rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2021/04/05 06:25:55 1.2 +++ rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2024/02/24 22:44:50 1.17 @@ -1,12 +1,13 @@ %define name smeserver-roundcube %define version 1.2 -%define release 10 +%define release 20 Summary: smserver rpm to setup roundcube, an IMAP mail client Name: %{name} Version: %{version} Release: %{release}%{?dist} Source: %{name}-%{version}.tar.gz +Source1: composer.phar License: GNU GPL version 2 URL: http://www.contribs.org Group: SMEserver/addon @@ -14,20 +15,58 @@ BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArchitectures: noarch BuildRequires: e-smith-devtools -Requires: e-smith-release >= 9.0 -Requires: roundcubemail >= 1.1.3 +Requires: e-smith-release >= 10.0 +Requires: e-smith-apache >= 2.6.0-19 +Requires: roundcubemail >= 1.6 Requires: git Requires: smeserver-dovecot-extras -Requires: roundcubemail_plugins +Requires: jq +Requires: php-kolab-net-ldap3 +#Requires: roundcubemail_plugins Obsoletes: roundcube AutoReqProv: no Patch0: smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch Patch1: smeserver-roundcube-1.2-Add-update-event-in-createlinks-and-fix-smtp-port-in-config.patch +Patch2: smeserver-roundcube-1.2-bz12059-24syntax.patch +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 -smserver rpm to setup the roundcube IMAP mail client. +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] +- 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] + +* Sun Dec 11 2022 Jean-Philippe Pialasse 1.2-18.sme +- fix previous patch [SME: 11430] + +* Sat Dec 10 2022 Jean-Philippe Pialasse 1.2-17.sme +- remove sieverules [SME: 11430] + change skin on availability for 1.6 + +* Wed Dec 07 2022 Jean-Philippe Pialasse 1.2-14.sme +- fix list of plugins and add composer [SME: 11430] + do not load in conf plugins without an actual folder. + +* Mon Aug 01 2022 Jean-Philippe Pialasse 1.2-12.sme +- update to httpd 2.4 access syntax [SME: 12059] + thanks to Vasarhelyi Zsolt +- accept self signed certificates for imap and smtp [SME: 11430] +- Use of undefined constant, quote around module names [SME: 11430] + +* Mon Apr 05 2021 Brian Read 1.2-11.sme +- Update spec file to take out plugin rpm [SME: 11430 ] + * Sun Apr 04 2021 Brian Read 1.2-10.sme - Add-update-event-in-createlinks-and-fix-smtp-port-in-config [SME: 11430] @@ -80,7 +119,8 @@ smserver rpm to setup the roundcube IMAP * Sat May 10 2014 stephane de labrusse 1.1-1 - removed openbasedir and uploadtmpdir for roundcube compatibility -* Wed Apr 14 2014 stephane de labrusse 1.0-7 +* Mon Apr 14 2014 stephane de labrusse 1.0-7 + Wed Apr 14 2014 --> Wed Apr 09 2014 or Mon Apr 14 2014 or Wed Apr 16 2014 or .... - removed the copymessage plugin activated * Wed Apr 02 2014 stephane de labrusse 1.0-6 @@ -96,7 +136,8 @@ smserver rpm to setup the roundcube IMAP * Wed Nov 6 2013 JP Pialasse 0.9-17.sme - corrected bug: typo in patch1 [SME: 7981] -* Thu Nov 5 2013 JP Pialasse 0.9-16.sme +* Tue Nov 05 2013 JP Pialasse 0.9-16.sme + Thu Nov 05 2013 --> Thu Oct 31 2013 or Tue Nov 05 2013 or Thu Nov 07 2013 or .... - corrected bug [SME: 7981] - moved out spec file sql init and other event and actions @@ -106,7 +147,8 @@ smserver rpm to setup the roundcube IMAP * Sun Oct 20 2013 stephane de labrusse 0.9.14 - Change the original https_only -* Sat Oct 13 2013 stephane de labrusse 0.9.13 +* Sun Oct 13 2013 stephane de labrusse 0.9.13 + Sat Oct 13 2013 --> Sat Oct 12 2013 or Sun Oct 13 2013 or Sat Oct 19 2013 or .... - Add the Kolab calendar plugin : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar - Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu - Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2 @@ -155,7 +197,14 @@ smserver rpm to setup the roundcube IMAP %setup %patch0 -p1 %patch1 -p1 - +%patch2 -p1 +%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 %build perl createlinks @@ -164,7 +213,9 @@ perl createlinks rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /usr/local/bin/composer 'attr(0755,root,www)' \ + > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean @@ -176,17 +227,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