--- rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud.spec 2018/04/12 01:19:40 1.8 +++ rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud.spec 2020/11/10 04:36:17 1.26 @@ -1,4 +1,4 @@ -%define release 7 +%define release 20 %define version 1.1.0 Summary: Koozali SME Server Nextcloud configuration @@ -16,6 +16,19 @@ Patch5: smeserver-nextcloud-1.1.0-bz1055 Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch +Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch +Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch +Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch +Patch12: smeserver-nextcloud-1.1.0-bz10709-well-known.patch +Patch13: smeserver-nextcloud-1.1.0-bz10711-occ-command.patch +Patch14: smeserver-nextcloud-1.1.0-bz10710-dbcolumnupdate.patch +Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch +Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch +Patch17: smeserver-nextcloud-1.1.0.bz11003-php73.patch +Patch18: smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch +Patch19: smeserver-nextcloud-1.1.0.bz11084-idletimeout.patch +Patch20: smeserver-nextcloud-1.1.0-bz10885-dedicateddomain.patch + BuildArch: noarch URL: https://www.nextcloud.com @@ -25,12 +38,17 @@ Requires: nextcloud >= 13.0.1 Requires: e-smith-apache Requires: e-smith-mysql Requires: smeserver-webapps-common -Requires: smeserver-php-fpm +Requires: smeserver-php-fpm >= 0.1.1-3 Requires: samba-client -Requires: php71-php-smbclient -Requires: php71-php-opcache -Requires: php71-php-pecl-apcu Requires: perl-JSON +Requires: php73-php-smbclient +Requires: php73-php-opcache +Requires: php73-php-pecl-apcu +Requires: php73-php-pecl-inotify +Requires: php73-php-pecl-zip +Requires: php73-php-pecl-imagick +Requires: php73-php-gmp + %description Koozali SME Server Nextcloud files and configuration. @@ -47,20 +65,37 @@ Koozali SME Server Nextcloud files and c %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin +%patch17 -p1 +touch root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/template-begin +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 %build perl createlinks %install rm -rf %{buildroot} +mkdir -p root/var/log/php/nextcloud (cd root; find . -depth -print | cpio -dump %{buildroot}) /sbin/e-smith/genfilelist %{buildroot} \ + --dir /var/log/php/nextcloud 'attr(0755,www,www)' \ --dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ --dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ --dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ + --file /usr/bin/OCC 'attr(0755,root,root)'\ > %{name}-%{version}-filelist cat %{name}-%{version}-filelist @@ -70,6 +105,42 @@ cat %{name}-%{version}-filelist %changelog +* Sun Nov 08 2020 Jean-Philipe Pialasse 1.1.0-20.sme +- use php73-fpm [SME: 11003] +- Require php-gmp for Nextcloud 19 and newer [SME: 11004] +- add phpbasedir support so you can add individual access to dir or files [SME: 11083] + simply use nextcloud PHPBaseDir property +- increase FastCgiExternalServer php pool timeout to 300 [SME: 11084] +- ease use of a dedicated domaine with https [SME: 10885] + +* Mon Jan 27 2020 Jean-Philipe Pialasse 1.1.0-16.sme +- fix missing Requirement and template-begins [SME: 10852] + +* Mon Dec 16 2019 Jean-Philipe Pialasse 1.1.0-15.sme +- use php72-fpm instead of php71-fpm [SME: 10852] + +* Sun Feb 17 2019 Jean-Philipe Pialasse 1.1.0-14.sme +- fix 512MB error on events [SME: 10728] +- add requirement for inotify support [SME: 10733] + +* Wed Jan 16 2019 Jean-Philipe Pialasse 1.1.0-13.sme +- fix /.well-known check [SME: 10709] +- created a OCC command you can call as root as if you were the right user. [SME: 10711] +- night cron to fix db [SME: 10710 ] + +* Mon Jan 07 2019 Jean-Philipe Pialasse 1.1.0-11.sme +- increase memory limit to new default from 128M to 512M [SME: 10695] + add property to nextcloud db key MemoryLimit to set to local value if needed. + +* Thu Dec 20 2018 Jean-Philipe Pialasse 1.1.0-10.sme +- fix /var/log/php/nextcloud/ is missing [SME: 10601] + +* Wed Dec 19 2018 Jean-Philipe Pialasse 1.1.0-9.sme +- fix timeout on update [SME: 10596] + +* Wed Jul 04 2018 Jean-Philipe Pialasse 1.1.0-8.sme +- fix wrong filter name for fail2ban jail.conf [SME: 10608] + * Wed Apr 11 2018 Jean-Philipe Pialasse 1.1.0-7.sme - fix long update [SME: 10564] - fix IncludeIbay not working.