--- rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec 2022/07/08 03:11:04 1.19 +++ rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec 2023/09/10 03:48:38 1.38 @@ -1,4 +1,4 @@ -%define release 16 +%define release 28 %define version 1.2.0 Summary: Koozali SME Server Nextcloud configuration @@ -21,13 +21,26 @@ Patch10: smeserver-nextcloud-1.2.0-bz118 Patch11: smeserver-nextcloud-1.2.0-bz11854.patch Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch +Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch +Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch +Patch16: smeserver-nextcloud-1.2.0-bz12016-backup.patch +Patch17: smeserver-nextcloud-1.2.0-bz12096-bz12095.patch +Patch18: smeserver-nextcloud-1.2.0-bz12053-httpd24.patch +Patch19: smeserver-nextcloud-1.2.0-bz12208-bz12187-bz12241.patch +Patch20: smeserver-nextcloud-1.2.0-bz12277-disablefunctions-systempdir.patch +Patch21: smeserver-nextcloud-1.2.0-bz12299-opcache.patch +Patch22: smeserver-nextcloud-1.2.0-eventsactionsfixes.patch +Patch23: smeserver-nextcloud-1.2.0-bz11890-runuser.patch +Patch24: smeserver-nextcloud-1.2.0-bz12319-filescan.patch +Patch25: smeserver-nextcloud-1.2.0-bz12329-bz12298-bz12339-bz12401.patch +Patch26: smeserver-nextcloud-1.2.0-bz12298-opcachesegfault.patch BuildArch: noarch URL: https://www.nextcloud.com BuildRequires: e-smith-devtools -Requires: nextcloud >= 20.0.1 +Requires: nextcloud-src >= 24.0.1 Requires: e-smith-apache Requires: e-smith-mysql Requires: smeserver-webapps-common @@ -43,8 +56,18 @@ Requires: php74-php-pecl-inotify Requires: php74-php-pecl-zip Requires: php74-php-pecl-imagick Requires: php74-php-gmp +Requires: php81-php-smbclient +Requires: php81-php-opcache +Requires: php81-php-pecl-apcu +Requires: php81-php-pecl-inotify +Requires: php81-php-pecl-zip +Requires: php81-php-pecl-imagick +Requires: php81-php-gmp +Requires: php81-php-redis Requires: jq Requires: smeserver-mariadb105 +Requires: e-smith-apache >= 2.6.0-19 +Requires: smeserver-php >= 3.0.0-43 %description Koozali SME Server Nextcloud files and configuration. @@ -66,6 +89,20 @@ Koozali SME Server Nextcloud files and c %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p1 +touch root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/template-begin +%patch26 -p1 %build perl createlinks @@ -84,7 +121,6 @@ mkdir -p root/var/log/php/nextcloud --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ --ignoredir "/etc/sudoers.d" \ --file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ - --file /usr/bin/OCC 'attr(0755,root,root)'\ --file /usr/bin/occ 'attr(0755,root,root)'\ --file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\ > %{name}-%{version}-filelist @@ -96,15 +132,65 @@ cat %{name}-%{version}-filelist %changelog +* Sat Sep 09 2023 Jean-Philippe Pialasse 1.2.0-28.sme +- workaround opcache segfault with php 81 using in memory only [SME: 12298] + +* Sat Sep 09 2023 John Crisp 1.2.0-27.sme +- Fix syntax error in 20opcache.ini [SME: 12298] + +* Sat Aug 19 2023 Jean-Philippe Pialasse 1.2.0-26.sme +- fix missing template-begin + +* Tue Aug 08 2023 Jean-Philippe Pialasse 1.2.0-25.sme +- make php81 compatible for NC 25 and higher [SME: 12298] +- requires php81-redis [SME: 12401] +- recognize need cpuinfo access [SME: 12339 ] +- remove simple signup link [SME: 12329] + +* Wed Feb 08 2023 Jean-Philippe Pialasse 1.2.0-24.sme +- increase action script speed [SME: 12319] + +* Sat Jan 21 2023 Jean-Philippe Pialasse 1.2.0-23.sme +- typo fix [SME: 11890] + +* Wed Jan 11 2023 Jean-Philippe Pialasse 1.2.0-22.sme +- use of runuser in place of sudo -u [SME: 11890] + usage of /usr/bin/occ where possible + removal of /usr/bin/OCC + +* Mon Jan 09 2023 Jean-Philippe Pialasse 1.2.0-21.sme +- update disabled_fucntions list [SME: 12277] +- allow customization of opcache for Nextcloud see wiki [SME: 12299] +- actions scripts update + +* Wed Nov 23 2022 Jean-Philippe Pialasse 1.2.0-20.sme +- set overwrite.cli.url [SME: 12208] +- allow shell_exec [SME: 12187] +- fix username conflict with group name [SME: 12241] + +* Sat Jul 30 2022 Brian Read 1.2.0-19.sme +- Re-build and link to latest devtools [SME: 11997] + +* Fri Jul 08 2022 Jean-Philippe Pialasse 1.2.0-18.sme +- update httpd fragment for httpd2.4 syntax [SME: 12053] + +* Fri Jul 08 2022 Jean-Philippe Pialasse 1.2.0-17.sme +- Re-build and link to latest devtools gencache again [SME: 12096] +- Re-build and link to latest devtools ldap users/groups not availables on first run [SME: 12095] + * Thu Jul 07 2022 Jean-Philippe Pialasse 1.2.0-16.sme - migrate property CloudDomain to VirtualHost [SME: 11918] - use mariadb105 on new installs [SME: 11343] +- update rewriterules [SME: 11972] +- update to NC24 [SME: 12094] + use a nextcloud-src rpm and avoid conflicts between web and rpm updates +- add to backup [SME: 12016] * Fri May 20 2022 Terry Fage 1.2.0-15.sme -- fix cron syntax error [SME: 11854] +- Re-build and link to latest devtools cron syntax error [SME: 11854] * Wed May 18 2022 Jean-Philippe Pialasse 1.2.0-14.sme -- fix gencache_init failed [SME: 11855] +- Re-build and link to latest devtools gencache_init failed [SME: 11855] fix missing nextcloud-conf action in update event * Wed May 18 2022 Jean-Philippe Pialasse 1.2.0-12.sme @@ -114,11 +200,11 @@ cat %{name}-%{version}-filelist make occ used in scripts rather than OCC * Sun Jun 06 2021 Jean-Philippe Pialasse 1.2.0-11.sme -- fix logrotate error [SME: 11172] -- fix noise in error log +- Re-build and link to latest devtools logrotate error [SME: 11172] +- Re-build and link to latest devtools noise in error log * Sun Jun 06 2021 Jean-Philippe Pialasse 1.2.0-9.sme -- fix dav redirections for domain use and subdir [SME: 11086] +- Re-build and link to latest devtools dav redirections for domain use and subdir [SME: 11086] - refresh externalfs on loading, best for ibays - tidying @@ -162,17 +248,17 @@ cat %{name}-%{version}-filelist - 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] +- Re-build and link to latest devtools 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] +- Re-build and link to latest devtools 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] +- Re-build and link to latest devtools /.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 ] @@ -181,36 +267,36 @@ cat %{name}-%{version}-filelist 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] +- Re-build and link to latest devtools /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] +- Re-build and link to latest devtools 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] +- Re-build and link to latest devtools 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. +- Re-build and link to latest devtools long update [SME: 10564] +- Re-build and link to latest devtools IncludeIbay not working. * Wed Apr 11 2018 Jean-Philipe Pialasse 1.1.0-6.sme -- fix shares not correctly handled [SME: 10564] +- Re-build and link to latest devtools shares not correctly handled [SME: 10564] - improve shares support - reload file cache after creation of ibays folder, so it displays to users. - improve output to message log * Mon Apr 09 2018 Jean-Philipe Pialasse 1.1.0-5.sme -- fix signal-event nextcloud-update hang [SME: 10560] +- Re-build and link to latest devtools signal-event nextcloud-update hang [SME: 10560] * Sun Apr 08 2018 Jean-Philipe Pialasse 1.1.0-4.sme -- fix wrong logrotate option [SME: 10560] +- Re-build and link to latest devtools wrong logrotate option [SME: 10560] - change password storage mode for smb share to allow access from portable devices [SME: 10558] - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] - add Shared folders in nextcloud under the ibays folder [SME: 10559] * Sat Apr 07 2018 Jean-Philipe Pialasse 1.1.0-3.sme - tidying templates, set cron update -- fix bad folder name for ibays [SME: 10556] +- Re-build and link to latest devtools bad folder name for ibays [SME: 10556] * Fri Mar 30 2018 Jean-Philipe Pialasse 1.1.0-1.sme - initial release