/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec
ViewVC logotype

Diff of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec

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

Revision 1.1 by jpp, Sun Nov 8 20:18:22 2020 UTC Revision 1.42 by jpp, Thu May 16 13:41:27 2024 UTC
# Line 1  Line 1 
1  %define release 19  %define release 31
2  %define version 1.1.0  %define version 1.2.0
3    
4  Summary: Koozali SME Server Nextcloud configuration  Summary: Koozali SME Server Nextcloud configuration
5  Name: smeserver-nextcloud  Name: smeserver-nextcloud
# Line 7  Version: %{version} Line 7  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
9  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
10  Patch0: smeserver-nextcloud-1.1.0.patch0.patch  Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch
11  Patch1: smeserver-nextcloud-1.1.0.bz10556.patch  Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch
12  Patch2: smeserver-nextcloud-1.1.0-bz10560-logrotate.patch  Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch
13  Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch  Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch
14  Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch  Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch
15  Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch  Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch
16  Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch  Patch6: smeserver-nextcloud-1.2.0-bz11086.patch
17  Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch  Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch
18  Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch  Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch
19  Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch  Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch
20  Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch  Patch10: smeserver-nextcloud-1.2.0-bz11855-gencache.patch
21  Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch  Patch11: smeserver-nextcloud-1.2.0-bz11854.patch
22  Patch12: smeserver-nextcloud-1.1.0-bz10709-well-known.patch  Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch
23  Patch13: smeserver-nextcloud-1.1.0-bz10711-occ-command.patch  Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch
24  Patch14: smeserver-nextcloud-1.1.0-bz10710-dbcolumnupdate.patch  Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch
25  Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch  Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch
26  Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch  Patch16: smeserver-nextcloud-1.2.0-bz12016-backup.patch
27  Patch17: smeserver-nextcloud-1.1.0.bz11003-php73.patch  Patch17: smeserver-nextcloud-1.2.0-bz12096-bz12095.patch
28  Patch18: smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch  Patch18: smeserver-nextcloud-1.2.0-bz12053-httpd24.patch
29  Patch19: smeserver-nextcloud-1.1.0.bz11084-idletimeout.patch  Patch19: smeserver-nextcloud-1.2.0-bz12208-bz12187-bz12241.patch
30  Patch20: smeserver-nextcloud-1.1.0-bz10885-dedicateddomain.patch  Patch20: smeserver-nextcloud-1.2.0-bz12277-disablefunctions-systempdir.patch
31    Patch21: smeserver-nextcloud-1.2.0-bz12299-opcache.patch
32    Patch22: smeserver-nextcloud-1.2.0-eventsactionsfixes.patch
33    Patch23: smeserver-nextcloud-1.2.0-bz11890-runuser.patch
34    Patch24: smeserver-nextcloud-1.2.0-bz12319-filescan.patch
35    Patch25: smeserver-nextcloud-1.2.0-bz12329-bz12298-bz12339-bz12401.patch
36    Patch26: smeserver-nextcloud-1.2.0-bz12298-opcachesegfault.patch
37    Patch27: smeserver-nextcloud-1.2.0-bz12401-redis.patch
38    Patch28: smeserver-nextcloud-1.2.0-bz12318-bz12412-NC26andhigher.patch
39    Patch29: smeserver-nextcloud-1.2.0-bz12611-bz12486.patch
40    Patch30: smeserver-nextcloud-1.2.0-bz12685-defaultphponinstall.patch
41    
42  BuildArch: noarch  BuildArch: noarch
43  URL: https://www.nextcloud.com  URL: https://www.nextcloud.com
44    
45  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
46    
47  Requires: nextcloud >= 13.0.1  Requires: nextcloud-src >= 26.0.1
48  Requires: e-smith-apache  Requires: e-smith-apache
49  Requires: e-smith-mysql  Requires: e-smith-mysql
50  Requires: smeserver-webapps-common  Requires: smeserver-webapps-common
51  Requires: smeserver-php-fpm >= 0.1.1-3  Requires: smeserver-php >= 3.0.0-15
52  Requires: samba-client  Requires: samba-client
53  Requires: perl-JSON  Requires: perl-JSON
54  Requires: php73-php-smbclient  Requires: perl-Exporter-Tiny
55  Requires: php73-php-opcache  Requires: perl-Sub-Quote
56  Requires: php73-php-pecl-apcu  Requires: php74-php-smbclient
57  Requires: php73-php-pecl-inotify  Requires: php74-php-opcache
58  Requires: php73-php-pecl-zip  Requires: php74-php-pecl-apcu
59  Requires: php73-php-pecl-imagick  Requires: php74-php-pecl-inotify
60  Requires: php73-php-gmp  Requires: php74-php-pecl-zip
61    Requires: php74-php-pecl-imagick
62    Requires: php74-php-gmp
63    Requires: php81-php-smbclient
64    Requires: php81-php-opcache
65    Requires: php81-php-pecl-apcu
66    Requires: php81-php-pecl-inotify
67    Requires: php81-php-pecl-zip
68    Requires: php81-php-pecl-imagick
69    Requires: php81-php-gmp
70    Requires: php81-php-redis
71    Requires: smeserver-redis
72    Requires: jq
73    Requires: smeserver-mariadb105
74    Requires: e-smith-apache >= 2.6.0-19
75    Requires: smeserver-php >= 3.0.0-43
76    
77  %description  %description
78  Koozali SME Server Nextcloud files and configuration.  Koozali SME Server Nextcloud files and configuration.
# Line 73  Koozali SME Server Nextcloud files and c Line 97  Koozali SME Server Nextcloud files and c
97  %patch14 -p1  %patch14 -p1
98  %patch15 -p1  %patch15 -p1
99  %patch16 -p1  %patch16 -p1
 touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin  
100  %patch17 -p1  %patch17 -p1
 touch root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/template-begin  
101  %patch18 -p1  %patch18 -p1
102  %patch19 -p1  %patch19 -p1
103  %patch20 -p1  %patch20 -p1
104    %patch21 -p1
105    %patch22 -p1
106    %patch23 -p1
107    %patch24 -p1
108    %patch25 -p1
109    touch  root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/template-begin
110    %patch26 -p1
111    %patch27 -p1
112    %patch28 -p1
113    %patch29 -p1
114    %patch30 -p1
115    
116  %build  %build
117  perl createlinks  perl createlinks
# Line 95  mkdir -p root/var/log/php/nextcloud Line 128  mkdir -p root/var/log/php/nextcloud
128   --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \   --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \
129   --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \   --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \
130   --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \   --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \
131   --file /usr/bin/OCC 'attr(0755,root,root)'\   --ignoredir "/etc/sudoers.d" \
132     --file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \
133     --file /usr/bin/occ 'attr(0755,root,root)'\
134     --file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\
135   > %{name}-%{version}-filelist   > %{name}-%{version}-filelist
136    
137  cat %{name}-%{version}-filelist  cat %{name}-%{version}-filelist
# Line 105  cat %{name}-%{version}-filelist Line 141  cat %{name}-%{version}-filelist
141    
142    
143  %changelog  %changelog
144    * Thu May 16 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2.0-31.sme
145    - fix php version on initial install [SME: 12685]
146    
147    * Fri Apr 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2.0-30.sme
148    - add maintenance windows start [SME: 12611]
149      increase frequency of cron task every 5 min
150    - fix missing full path [SME: 12486]
151    
152    * Mon Jan 29 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-29.sme
153    - require nextcloud-src >= 26 [SME: 12318]
154      multiple fixes and rewrites
155    - restore default log level [SME: 12412]
156    
157    * Sat Sep 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-28.sme
158    - workaround opcache segfault with php 81 using in memory only [SME: 12298]
159    - index file cache using Redis [SME: 12401]
160    
161    * Sat Sep 09 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-27.sme
162    - Fix syntax error in 20opcache.ini [SME: 12298]
163    
164    * Sat Aug 19 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-26.sme
165    - fix missing template-begin
166    
167    * Tue Aug 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-25.sme
168    - make php81 compatible for NC 25 and higher [SME: 12298]
169    - requires php81-redis [SME: 12401]
170    - recognize need cpuinfo access [SME: 12339 ]
171    - remove simple signup link [SME: 12329]
172    
173    * Wed Feb 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-24.sme
174    - increase action script speed [SME: 12319]
175    
176    * Sat Jan 21 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-23.sme
177    - typo fix [SME: 11890]
178    
179    * Wed Jan 11 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-22.sme
180    - use of runuser in place of sudo -u [SME: 11890]
181      usage of /usr/bin/occ where possible
182      removal of /usr/bin/OCC
183    
184    * Mon Jan 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-21.sme
185    - update disabled_fucntions list [SME: 12277]
186    - allow customization of opcache for Nextcloud see wiki [SME: 12299]
187    - actions scripts update
188    
189    * Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-20.sme
190    - set overwrite.cli.url [SME: 12208]
191    - allow shell_exec [SME: 12187]
192    - fix username conflict with group name [SME: 12241]
193    
194    * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.2.0-19.sme
195    - Re-build and link to latest devtools [SME: 11997]
196    
197    * Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-18.sme
198    - update httpd fragment for httpd2.4 syntax [SME: 12053]
199    
200    * Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-17.sme
201    - Re-build and link to latest devtools gencache again [SME: 12096]
202    - Re-build and link to latest devtools ldap users/groups not availables on first run [SME: 12095]
203    
204    * Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme
205    - migrate property CloudDomain to VirtualHost [SME: 11918]
206    - use mariadb105 on new installs [SME: 11343]
207    - update rewriterules [SME: 11972]
208    - update to NC24 [SME: 12094]
209      use a nextcloud-src rpm and avoid conflicts between web and rpm updates
210    - add to backup [SME: 12016]
211    
212    * Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme
213    - Re-build and link to latest devtools cron syntax error [SME: 11854]
214    
215    * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme
216    - Re-build and link to latest devtools gencache_init failed [SME: 11855]
217      fix missing nextcloud-conf action in update event
218    
219    * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme
220    - use php_pecl-apcu for cli [SME: 11920]
221    - db update of keys and indexes [SME: 11854]
222    - few nextcloud-occ-conf fixes [SME: 11973]
223      make occ used in scripts rather than OCC
224    
225    * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme
226    - Re-build and link to latest devtools logrotate error [SME: 11172]
227    - Re-build and link to latest devtools noise in error log
228    
229    * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme
230    - Re-build and link to latest devtools dav redirections for domain use and subdir  [SME: 11086]
231    - refresh externalfs on loading, best for ibays
232    - tidying
233    
234    * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme
235    - add update event [SME: 11086]
236    - add occ as hard link of OCC
237    
238    * Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme
239    - Fix typo in php pool template [SME: 11268]
240    
241    * Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme
242    - Add a check for the Min/Max/Start servers [SME: 11171]
243    - https://bugs.contribs.org/show_bug.cgi?id=11171#c4
244    
245    * Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme
246    - Template missing Min/Start/Max Servers and Children [SME: 11171]
247    
248    * Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme
249    - Add missing SMB configuration details including domain/workgroup
250    
251    * Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme
252    - Fix sudoer file permissions in file list
253    - Fix some install bugs
254    - typo in httpd.conf
255    - switch db from mysql to maria db
256    - update php version
257    - add Requires
258    
259    * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme
260    - use username as id in place of ldap uuid [SME: 10876]
261    
262    * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
263    - initial SME10 import [SME: 11086]
264    
265  * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme  * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme
266  - use php73-fpm [SME: 11003]  - use php73-fpm [SME: 11003]
267  - Require php-gmp for Nextcloud 19 and newer [SME: 11004]  - Require php-gmp for Nextcloud 19 and newer [SME: 11004]
# Line 114  cat %{name}-%{version}-filelist Line 271  cat %{name}-%{version}-filelist
271  - ease use of a dedicated domaine with https [SME: 10885]  - ease use of a dedicated domaine with https [SME: 10885]
272    
273  * Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme  * Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme
274  - fix missing Requirement and template-begins  [SME: 10852]  - Re-build and link to latest devtools missing Requirement and template-begins  [SME: 10852]
275    
276  * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme  * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme
277  - use php72-fpm instead of php71-fpm [SME: 10852]  - use php72-fpm instead of php71-fpm [SME: 10852]
278    
279  * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme  * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme
280  - fix 512MB error on events [SME: 10728]  - Re-build and link to latest devtools 512MB error on events [SME: 10728]
281  - add requirement for inotify support [SME: 10733]  - add requirement for inotify support [SME: 10733]
282    
283  * Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme  * Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme
284  - fix /.well-known check [SME: 10709]  - Re-build and link to latest devtools /.well-known check [SME: 10709]
285  - created a OCC command you can call as root as if you were the right user. [SME: 10711]  - created a OCC command you can call as root as if you were the right user. [SME: 10711]
286  - night cron to fix db [SME: 10710 ]  - night cron to fix db [SME: 10710 ]
287    
# Line 133  cat %{name}-%{version}-filelist Line 290  cat %{name}-%{version}-filelist
290    add property to nextcloud db key MemoryLimit to set to local value if needed.    add property to nextcloud db key MemoryLimit to set to local value if needed.
291    
292  * Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme  * Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme
293  - fix /var/log/php/nextcloud/ is missing [SME: 10601]  - Re-build and link to latest devtools /var/log/php/nextcloud/ is missing [SME: 10601]
294    
295  * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme  * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme
296  - fix timeout on update [SME: 10596]  - Re-build and link to latest devtools timeout on update [SME: 10596]
297    
298  * Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme  * Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
299  - 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]
300    
301  * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme  * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
302  - fix long update [SME: 10564]  - Re-build and link to latest devtools long update [SME: 10564]
303  - fix IncludeIbay not working.  - Re-build and link to latest devtools IncludeIbay not working.
304    
305  * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme  * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
306  - fix shares not correctly handled [SME: 10564]  - Re-build and link to latest devtools shares not correctly handled [SME: 10564]
307  - improve shares support  - improve shares support
308  - reload file cache after creation of ibays folder, so it displays to users.  - reload file cache after creation of ibays folder, so it displays to users.
309  - improve output to message log  - improve output to message log
310    
311  * Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme  * Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
312  - fix signal-event nextcloud-update hang [SME: 10560]  - Re-build and link to latest devtools signal-event nextcloud-update hang [SME: 10560]
313    
314  * Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme  * Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme
315  - fix wrong logrotate option [SME: 10560]  - Re-build and link to latest devtools wrong logrotate option [SME: 10560]
316  - change password storage mode for smb share to allow access from portable devices [SME: 10558]  - change password storage mode for smb share to allow access from portable devices [SME: 10558]
317  - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557]  - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557]
318  - add Shared folders in nextcloud under the ibays folder [SME: 10559]  - add Shared folders in nextcloud under the ibays folder [SME: 10559]
319    
320  * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme  * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme
321  - tidying templates, set cron update  - tidying templates, set cron update
322  - fix bad folder name for ibays [SME: 10556]  - Re-build and link to latest devtools bad folder name for ibays [SME: 10556]
323    
324  * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme  * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
325  - initial release  - initial release


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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