1 |
%define release 1 |
%define release 27 |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
|
|
4 |
Summary: Koozali SME Server Nextcloud configuration |
Summary: Koozali SME Server Nextcloud configuration |
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.2.0-bz10876-username-for-ldap.patch |
11 |
|
Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch |
12 |
|
Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch |
13 |
|
Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch |
14 |
|
Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch |
15 |
|
Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch |
16 |
|
Patch6: smeserver-nextcloud-1.2.0-bz11086.patch |
17 |
|
Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch |
18 |
|
Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch |
19 |
|
Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch |
20 |
|
Patch10: smeserver-nextcloud-1.2.0-bz11855-gencache.patch |
21 |
|
Patch11: smeserver-nextcloud-1.2.0-bz11854.patch |
22 |
|
Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch |
23 |
|
Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch |
24 |
|
Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch |
25 |
|
Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch |
26 |
|
Patch16: smeserver-nextcloud-1.2.0-bz12016-backup.patch |
27 |
|
Patch17: smeserver-nextcloud-1.2.0-bz12096-bz12095.patch |
28 |
|
Patch18: smeserver-nextcloud-1.2.0-bz12053-httpd24.patch |
29 |
|
Patch19: smeserver-nextcloud-1.2.0-bz12208-bz12187-bz12241.patch |
30 |
|
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 |
|
|
37 |
BuildArch: noarch |
BuildArch: noarch |
38 |
URL: https://www.nextcloud.com |
URL: https://www.nextcloud.com |
39 |
|
|
40 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
41 |
|
|
42 |
Requires: nextcloud >= 13.0.1 |
Requires: nextcloud-src >= 24.0.1 |
43 |
Requires: e-smith-apache |
Requires: e-smith-apache |
44 |
Requires: e-smith-mysql |
Requires: e-smith-mysql |
45 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
46 |
Requires: smeserver-php-fpm >= 0.1.1-3 |
Requires: smeserver-php >= 3.0.0-15 |
47 |
Requires: samba-client |
Requires: samba-client |
48 |
Requires: perl-JSON |
Requires: perl-JSON |
49 |
|
Requires: perl-Exporter-Tiny |
50 |
|
Requires: perl-Sub-Quote |
51 |
Requires: php74-php-smbclient |
Requires: php74-php-smbclient |
52 |
Requires: php74-php-opcache |
Requires: php74-php-opcache |
53 |
Requires: php74-php-pecl-apcu |
Requires: php74-php-pecl-apcu |
55 |
Requires: php74-php-pecl-zip |
Requires: php74-php-pecl-zip |
56 |
Requires: php74-php-pecl-imagick |
Requires: php74-php-pecl-imagick |
57 |
Requires: php74-php-gmp |
Requires: php74-php-gmp |
58 |
|
Requires: php81-php-smbclient |
59 |
|
Requires: php81-php-opcache |
60 |
|
Requires: php81-php-pecl-apcu |
61 |
|
Requires: php81-php-pecl-inotify |
62 |
|
Requires: php81-php-pecl-zip |
63 |
|
Requires: php81-php-pecl-imagick |
64 |
|
Requires: php81-php-gmp |
65 |
|
Requires: php81-php-redis |
66 |
|
Requires: jq |
67 |
|
Requires: smeserver-mariadb105 |
68 |
|
Requires: e-smith-apache >= 2.6.0-19 |
69 |
|
Requires: smeserver-php >= 3.0.0-43 |
70 |
|
|
71 |
%description |
%description |
72 |
Koozali SME Server Nextcloud files and configuration. |
Koozali SME Server Nextcloud files and configuration. |
74 |
|
|
75 |
%prep |
%prep |
76 |
%setup |
%setup |
77 |
|
%patch0 -p1 |
78 |
|
%patch1 -p1 |
79 |
|
%patch2 -p1 |
80 |
|
%patch3 -p1 |
81 |
|
%patch4 -p1 |
82 |
|
%patch5 -p1 |
83 |
|
%patch6 -p1 |
84 |
|
%patch7 -p1 |
85 |
|
%patch8 -p1 |
86 |
|
%patch9 -p1 |
87 |
|
%patch10 -p1 |
88 |
|
%patch11 -p1 |
89 |
|
%patch12 -p1 |
90 |
|
%patch13 -p1 |
91 |
|
%patch14 -p1 |
92 |
|
%patch15 -p1 |
93 |
|
%patch16 -p1 |
94 |
|
%patch17 -p1 |
95 |
|
%patch18 -p1 |
96 |
|
%patch19 -p1 |
97 |
|
%patch20 -p1 |
98 |
|
%patch21 -p1 |
99 |
|
%patch22 -p1 |
100 |
|
%patch23 -p1 |
101 |
|
%patch24 -p1 |
102 |
|
%patch25 -p1 |
103 |
|
touch root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/template-begin |
104 |
|
|
105 |
%build |
%build |
106 |
perl createlinks |
perl createlinks |
117 |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
118 |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
119 |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
120 |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
--ignoredir "/etc/sudoers.d" \ |
121 |
|
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
122 |
|
--file /usr/bin/occ 'attr(0755,root,root)'\ |
123 |
|
--file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\ |
124 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
125 |
|
|
126 |
cat %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist |
130 |
|
|
131 |
|
|
132 |
%changelog |
%changelog |
133 |
|
* Sat Sep 09 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-27.sme |
134 |
|
- Fix syntax error in 20opcache.ini [SME: 12298] |
135 |
|
|
136 |
|
* Sat Aug 19 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-26.sme |
137 |
|
- fix missing template-begin |
138 |
|
|
139 |
|
* Tue Aug 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-25.sme |
140 |
|
- make php81 compatible for NC 25 and higher [SME: 12298] |
141 |
|
- requires php81-redis [SME: 12401] |
142 |
|
- recognize need cpuinfo access [SME: 12339 ] |
143 |
|
- remove simple signup link [SME: 12329] |
144 |
|
|
145 |
|
* Wed Feb 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-24.sme |
146 |
|
- increase action script speed [SME: 12319] |
147 |
|
|
148 |
|
* Sat Jan 21 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-23.sme |
149 |
|
- typo fix [SME: 11890] |
150 |
|
|
151 |
|
* Wed Jan 11 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-22.sme |
152 |
|
- use of runuser in place of sudo -u [SME: 11890] |
153 |
|
usage of /usr/bin/occ where possible |
154 |
|
removal of /usr/bin/OCC |
155 |
|
|
156 |
|
* Mon Jan 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-21.sme |
157 |
|
- update disabled_fucntions list [SME: 12277] |
158 |
|
- allow customization of opcache for Nextcloud see wiki [SME: 12299] |
159 |
|
- actions scripts update |
160 |
|
|
161 |
|
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-20.sme |
162 |
|
- set overwrite.cli.url [SME: 12208] |
163 |
|
- allow shell_exec [SME: 12187] |
164 |
|
- fix username conflict with group name [SME: 12241] |
165 |
|
|
166 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.2.0-19.sme |
167 |
|
- Re-build and link to latest devtools [SME: 11997] |
168 |
|
|
169 |
|
* Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-18.sme |
170 |
|
- update httpd fragment for httpd2.4 syntax [SME: 12053] |
171 |
|
|
172 |
|
* Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-17.sme |
173 |
|
- Re-build and link to latest devtools gencache again [SME: 12096] |
174 |
|
- Re-build and link to latest devtools ldap users/groups not availables on first run [SME: 12095] |
175 |
|
|
176 |
|
* Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme |
177 |
|
- migrate property CloudDomain to VirtualHost [SME: 11918] |
178 |
|
- use mariadb105 on new installs [SME: 11343] |
179 |
|
- update rewriterules [SME: 11972] |
180 |
|
- update to NC24 [SME: 12094] |
181 |
|
use a nextcloud-src rpm and avoid conflicts between web and rpm updates |
182 |
|
- add to backup [SME: 12016] |
183 |
|
|
184 |
|
* Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme |
185 |
|
- Re-build and link to latest devtools cron syntax error [SME: 11854] |
186 |
|
|
187 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme |
188 |
|
- Re-build and link to latest devtools gencache_init failed [SME: 11855] |
189 |
|
fix missing nextcloud-conf action in update event |
190 |
|
|
191 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
192 |
|
- use php_pecl-apcu for cli [SME: 11920] |
193 |
|
- db update of keys and indexes [SME: 11854] |
194 |
|
- few nextcloud-occ-conf fixes [SME: 11973] |
195 |
|
make occ used in scripts rather than OCC |
196 |
|
|
197 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme |
198 |
|
- Re-build and link to latest devtools logrotate error [SME: 11172] |
199 |
|
- Re-build and link to latest devtools noise in error log |
200 |
|
|
201 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
202 |
|
- Re-build and link to latest devtools dav redirections for domain use and subdir [SME: 11086] |
203 |
|
- refresh externalfs on loading, best for ibays |
204 |
|
- tidying |
205 |
|
|
206 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
207 |
|
- add update event [SME: 11086] |
208 |
|
- add occ as hard link of OCC |
209 |
|
|
210 |
|
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme |
211 |
|
- Fix typo in php pool template [SME: 11268] |
212 |
|
|
213 |
|
* Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme |
214 |
|
- Add a check for the Min/Max/Start servers [SME: 11171] |
215 |
|
- https://bugs.contribs.org/show_bug.cgi?id=11171#c4 |
216 |
|
|
217 |
|
* Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme |
218 |
|
- Template missing Min/Start/Max Servers and Children [SME: 11171] |
219 |
|
|
220 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme |
221 |
|
- Add missing SMB configuration details including domain/workgroup |
222 |
|
|
223 |
|
* Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme |
224 |
|
- Fix sudoer file permissions in file list |
225 |
|
- Fix some install bugs |
226 |
|
- typo in httpd.conf |
227 |
|
- switch db from mysql to maria db |
228 |
|
- update php version |
229 |
|
- add Requires |
230 |
|
|
231 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
232 |
|
- use username as id in place of ldap uuid [SME: 10876] |
233 |
|
|
234 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
235 |
- initial SME10 import [SME: 11086] |
- initial SME10 import [SME: 11086] |
236 |
|
|
243 |
- ease use of a dedicated domaine with https [SME: 10885] |
- ease use of a dedicated domaine with https [SME: 10885] |
244 |
|
|
245 |
* 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 |
246 |
- fix missing Requirement and template-begins [SME: 10852] |
- Re-build and link to latest devtools missing Requirement and template-begins [SME: 10852] |
247 |
|
|
248 |
* 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 |
249 |
- use php72-fpm instead of php71-fpm [SME: 10852] |
- use php72-fpm instead of php71-fpm [SME: 10852] |
250 |
|
|
251 |
* 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 |
252 |
- fix 512MB error on events [SME: 10728] |
- Re-build and link to latest devtools 512MB error on events [SME: 10728] |
253 |
- add requirement for inotify support [SME: 10733] |
- add requirement for inotify support [SME: 10733] |
254 |
|
|
255 |
* 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 |
256 |
- fix /.well-known check [SME: 10709] |
- Re-build and link to latest devtools /.well-known check [SME: 10709] |
257 |
- 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] |
258 |
- night cron to fix db [SME: 10710 ] |
- night cron to fix db [SME: 10710 ] |
259 |
|
|
262 |
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. |
263 |
|
|
264 |
* 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 |
265 |
- fix /var/log/php/nextcloud/ is missing [SME: 10601] |
- Re-build and link to latest devtools /var/log/php/nextcloud/ is missing [SME: 10601] |
266 |
|
|
267 |
* 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 |
268 |
- fix timeout on update [SME: 10596] |
- Re-build and link to latest devtools timeout on update [SME: 10596] |
269 |
|
|
270 |
* 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 |
271 |
- 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] |
272 |
|
|
273 |
* 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 |
274 |
- fix long update [SME: 10564] |
- Re-build and link to latest devtools long update [SME: 10564] |
275 |
- fix IncludeIbay not working. |
- Re-build and link to latest devtools IncludeIbay not working. |
276 |
|
|
277 |
* 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 |
278 |
- fix shares not correctly handled [SME: 10564] |
- Re-build and link to latest devtools shares not correctly handled [SME: 10564] |
279 |
- improve shares support |
- improve shares support |
280 |
- 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. |
281 |
- improve output to message log |
- improve output to message log |
282 |
|
|
283 |
* 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 |
284 |
- fix signal-event nextcloud-update hang [SME: 10560] |
- Re-build and link to latest devtools signal-event nextcloud-update hang [SME: 10560] |
285 |
|
|
286 |
* 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 |
287 |
- fix wrong logrotate option [SME: 10560] |
- Re-build and link to latest devtools wrong logrotate option [SME: 10560] |
288 |
- 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] |
289 |
- 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] |
290 |
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
291 |
|
|
292 |
* 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 |
293 |
- tidying templates, set cron update |
- tidying templates, set cron update |
294 |
- fix bad folder name for ibays [SME: 10556] |
- Re-build and link to latest devtools bad folder name for ibays [SME: 10556] |
295 |
|
|
296 |
* 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 |
297 |
- initial release |
- initial release |