1 |
jpp |
1.35 |
%define release 26 |
2 |
jpp |
1.2 |
%define version 1.2.0 |
3 |
jpp |
1.1 |
|
4 |
|
|
Summary: Koozali SME Server Nextcloud configuration |
5 |
|
|
Name: smeserver-nextcloud |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Source: %{name}-%{version}.tar.gz |
10 |
jpp |
1.4 |
Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch |
11 |
jcrisp |
1.5 |
Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch |
12 |
jcrisp |
1.6 |
Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch |
13 |
jcrisp |
1.7 |
Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch |
14 |
jcrisp |
1.8 |
Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch |
15 |
jcrisp |
1.9 |
Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch |
16 |
jpp |
1.10 |
Patch6: smeserver-nextcloud-1.2.0-bz11086.patch |
17 |
jpp |
1.11 |
Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch |
18 |
jpp |
1.12 |
Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch |
19 |
jpp |
1.14 |
Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch |
20 |
jpp |
1.15 |
Patch10: smeserver-nextcloud-1.2.0-bz11855-gencache.patch |
21 |
terryfage |
1.17 |
Patch11: smeserver-nextcloud-1.2.0-bz11854.patch |
22 |
jpp |
1.18 |
Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch |
23 |
jpp |
1.19 |
Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch |
24 |
jpp |
1.20 |
Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch |
25 |
jpp |
1.22 |
Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch |
26 |
jpp |
1.23 |
Patch16: smeserver-nextcloud-1.2.0-bz12016-backup.patch |
27 |
jpp |
1.25 |
Patch17: smeserver-nextcloud-1.2.0-bz12096-bz12095.patch |
28 |
jpp |
1.26 |
Patch18: smeserver-nextcloud-1.2.0-bz12053-httpd24.patch |
29 |
jpp |
1.28 |
Patch19: smeserver-nextcloud-1.2.0-bz12208-bz12187-bz12241.patch |
30 |
jpp |
1.29 |
Patch20: smeserver-nextcloud-1.2.0-bz12277-disablefunctions-systempdir.patch |
31 |
|
|
Patch21: smeserver-nextcloud-1.2.0-bz12299-opcache.patch |
32 |
jpp |
1.30 |
Patch22: smeserver-nextcloud-1.2.0-eventsactionsfixes.patch |
33 |
jpp |
1.31 |
Patch23: smeserver-nextcloud-1.2.0-bz11890-runuser.patch |
34 |
jpp |
1.33 |
Patch24: smeserver-nextcloud-1.2.0-bz12319-filescan.patch |
35 |
jpp |
1.34 |
Patch25: smeserver-nextcloud-1.2.0-bz12329-bz12298-bz12339-bz12401.patch |
36 |
jpp |
1.21 |
|
37 |
jpp |
1.1 |
BuildArch: noarch |
38 |
|
|
URL: https://www.nextcloud.com |
39 |
|
|
|
40 |
|
|
BuildRequires: e-smith-devtools |
41 |
|
|
|
42 |
jpp |
1.22 |
Requires: nextcloud-src >= 24.0.1 |
43 |
jpp |
1.1 |
Requires: e-smith-apache |
44 |
|
|
Requires: e-smith-mysql |
45 |
|
|
Requires: smeserver-webapps-common |
46 |
jpp |
1.3 |
Requires: smeserver-php >= 3.0.0-15 |
47 |
jpp |
1.1 |
Requires: samba-client |
48 |
|
|
Requires: perl-JSON |
49 |
jcrisp |
1.5 |
Requires: perl-Exporter-Tiny |
50 |
|
|
Requires: perl-Sub-Quote |
51 |
jpp |
1.2 |
Requires: php74-php-smbclient |
52 |
|
|
Requires: php74-php-opcache |
53 |
|
|
Requires: php74-php-pecl-apcu |
54 |
|
|
Requires: php74-php-pecl-inotify |
55 |
|
|
Requires: php74-php-pecl-zip |
56 |
|
|
Requires: php74-php-pecl-imagick |
57 |
|
|
Requires: php74-php-gmp |
58 |
jpp |
1.34 |
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 |
jpp |
1.19 |
Requires: jq |
67 |
|
|
Requires: smeserver-mariadb105 |
68 |
jpp |
1.26 |
Requires: e-smith-apache >= 2.6.0-19 |
69 |
|
|
Requires: smeserver-php >= 3.0.0-43 |
70 |
jpp |
1.1 |
|
71 |
|
|
%description |
72 |
|
|
Koozali SME Server Nextcloud files and configuration. |
73 |
|
|
|
74 |
|
|
|
75 |
|
|
%prep |
76 |
|
|
%setup |
77 |
jpp |
1.4 |
%patch0 -p1 |
78 |
jcrisp |
1.5 |
%patch1 -p1 |
79 |
jcrisp |
1.6 |
%patch2 -p1 |
80 |
jcrisp |
1.7 |
%patch3 -p1 |
81 |
jcrisp |
1.8 |
%patch4 -p1 |
82 |
jcrisp |
1.9 |
%patch5 -p1 |
83 |
jpp |
1.10 |
%patch6 -p1 |
84 |
jpp |
1.11 |
%patch7 -p1 |
85 |
jpp |
1.12 |
%patch8 -p1 |
86 |
jpp |
1.14 |
%patch9 -p1 |
87 |
jpp |
1.15 |
%patch10 -p1 |
88 |
terryfage |
1.17 |
%patch11 -p1 |
89 |
jpp |
1.18 |
%patch12 -p1 |
90 |
jpp |
1.19 |
%patch13 -p1 |
91 |
jpp |
1.20 |
%patch14 -p1 |
92 |
jpp |
1.22 |
%patch15 -p1 |
93 |
jpp |
1.23 |
%patch16 -p1 |
94 |
jpp |
1.25 |
%patch17 -p1 |
95 |
jpp |
1.26 |
%patch18 -p1 |
96 |
jpp |
1.28 |
%patch19 -p1 |
97 |
jpp |
1.29 |
%patch20 -p1 |
98 |
|
|
%patch21 -p1 |
99 |
jpp |
1.30 |
%patch22 -p1 |
100 |
jpp |
1.31 |
%patch23 -p1 |
101 |
jpp |
1.33 |
%patch24 -p1 |
102 |
jpp |
1.34 |
%patch25 -p1 |
103 |
jpp |
1.35 |
touch root/etc/e-smith/templates/etc/opt/remi/php81/php.d/20-opcache.ini/template-begin |
104 |
jpp |
1.21 |
|
105 |
jpp |
1.1 |
%build |
106 |
|
|
perl createlinks |
107 |
|
|
|
108 |
|
|
%install |
109 |
|
|
rm -rf %{buildroot} |
110 |
|
|
mkdir -p root/var/log/php/nextcloud |
111 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
112 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
113 |
|
|
--dir /var/log/php/nextcloud 'attr(0755,www,www)' \ |
114 |
|
|
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
115 |
|
|
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
116 |
|
|
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
117 |
|
|
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
118 |
|
|
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
119 |
|
|
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
120 |
jcrisp |
1.5 |
--ignoredir "/etc/sudoers.d" \ |
121 |
|
|
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
122 |
jpp |
1.10 |
--file /usr/bin/occ 'attr(0755,root,root)'\ |
123 |
jpp |
1.14 |
--file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\ |
124 |
jpp |
1.1 |
> %{name}-%{version}-filelist |
125 |
|
|
|
126 |
|
|
cat %{name}-%{version}-filelist |
127 |
|
|
%files -f %{name}-%{version}-filelist |
128 |
|
|
%defattr(-,root,root) |
129 |
|
|
%doc COPYING |
130 |
|
|
|
131 |
|
|
|
132 |
|
|
%changelog |
133 |
jpp |
1.35 |
* Sat Aug 19 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-26.sme |
134 |
|
|
- fix missing template-begin |
135 |
|
|
|
136 |
jpp |
1.34 |
* Tue Aug 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-25.sme |
137 |
|
|
- make php81 compatible for NC 25 and higher [SME: 12298] |
138 |
|
|
- requires php81-redis [SME: 12401] |
139 |
|
|
- recognize need cpuinfo access [SME: 12339 ] |
140 |
|
|
- remove simple signup link [SME: 12329] |
141 |
|
|
|
142 |
jpp |
1.33 |
* Wed Feb 08 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-24.sme |
143 |
|
|
- increase action script speed [SME: 12319] |
144 |
|
|
|
145 |
jpp |
1.32 |
* Sat Jan 21 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-23.sme |
146 |
|
|
- typo fix [SME: 11890] |
147 |
|
|
|
148 |
jpp |
1.31 |
* Wed Jan 11 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-22.sme |
149 |
|
|
- use of runuser in place of sudo -u [SME: 11890] |
150 |
|
|
usage of /usr/bin/occ where possible |
151 |
|
|
removal of /usr/bin/OCC |
152 |
|
|
|
153 |
jpp |
1.29 |
* Mon Jan 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-21.sme |
154 |
|
|
- update disabled_fucntions list [SME: 12277] |
155 |
|
|
- allow customization of opcache for Nextcloud see wiki [SME: 12299] |
156 |
jpp |
1.30 |
- actions scripts update |
157 |
jpp |
1.29 |
|
158 |
jpp |
1.28 |
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-20.sme |
159 |
|
|
- set overwrite.cli.url [SME: 12208] |
160 |
|
|
- allow shell_exec [SME: 12187] |
161 |
|
|
- fix username conflict with group name [SME: 12241] |
162 |
|
|
|
163 |
brianr |
1.27 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.2.0-19.sme |
164 |
|
|
- Re-build and link to latest devtools [SME: 11997] |
165 |
|
|
|
166 |
jpp |
1.26 |
* Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-18.sme |
167 |
|
|
- update httpd fragment for httpd2.4 syntax [SME: 12053] |
168 |
|
|
|
169 |
jpp |
1.25 |
* Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-17.sme |
170 |
brianr |
1.27 |
- Re-build and link to latest devtools gencache again [SME: 12096] |
171 |
|
|
- Re-build and link to latest devtools ldap users/groups not availables on first run [SME: 12095] |
172 |
jpp |
1.25 |
|
173 |
jpp |
1.18 |
* Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme |
174 |
|
|
- migrate property CloudDomain to VirtualHost [SME: 11918] |
175 |
jpp |
1.19 |
- use mariadb105 on new installs [SME: 11343] |
176 |
jpp |
1.20 |
- update rewriterules [SME: 11972] |
177 |
jpp |
1.22 |
- update to NC24 [SME: 12094] |
178 |
|
|
use a nextcloud-src rpm and avoid conflicts between web and rpm updates |
179 |
jpp |
1.24 |
- add to backup [SME: 12016] |
180 |
jpp |
1.18 |
|
181 |
terryfage |
1.17 |
* Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme |
182 |
brianr |
1.27 |
- Re-build and link to latest devtools cron syntax error [SME: 11854] |
183 |
terryfage |
1.17 |
|
184 |
jpp |
1.16 |
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme |
185 |
brianr |
1.27 |
- Re-build and link to latest devtools gencache_init failed [SME: 11855] |
186 |
jpp |
1.16 |
fix missing nextcloud-conf action in update event |
187 |
jpp |
1.15 |
|
188 |
jpp |
1.14 |
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
189 |
|
|
- use php_pecl-apcu for cli [SME: 11920] |
190 |
|
|
- db update of keys and indexes [SME: 11854] |
191 |
|
|
- few nextcloud-occ-conf fixes [SME: 11973] |
192 |
|
|
make occ used in scripts rather than OCC |
193 |
|
|
|
194 |
jpp |
1.13 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme |
195 |
brianr |
1.27 |
- Re-build and link to latest devtools logrotate error [SME: 11172] |
196 |
|
|
- Re-build and link to latest devtools noise in error log |
197 |
jpp |
1.12 |
|
198 |
jpp |
1.11 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
199 |
brianr |
1.27 |
- Re-build and link to latest devtools dav redirections for domain use and subdir [SME: 11086] |
200 |
jpp |
1.11 |
- refresh externalfs on loading, best for ibays |
201 |
|
|
- tidying |
202 |
|
|
|
203 |
jpp |
1.10 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
204 |
|
|
- add update event [SME: 11086] |
205 |
|
|
- add occ as hard link of OCC |
206 |
|
|
|
207 |
jcrisp |
1.9 |
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme |
208 |
|
|
- Fix typo in php pool template [SME: 11268] |
209 |
|
|
|
210 |
jcrisp |
1.8 |
* Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme |
211 |
|
|
- Add a check for the Min/Max/Start servers [SME: 11171] |
212 |
|
|
- https://bugs.contribs.org/show_bug.cgi?id=11171#c4 |
213 |
|
|
|
214 |
jcrisp |
1.7 |
* Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme |
215 |
|
|
- Template missing Min/Start/Max Servers and Children [SME: 11171] |
216 |
|
|
|
217 |
jcrisp |
1.6 |
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme |
218 |
|
|
- Add missing SMB configuration details including domain/workgroup |
219 |
|
|
|
220 |
jcrisp |
1.5 |
* Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme |
221 |
|
|
- Fix sudoer file permissions in file list |
222 |
|
|
- Fix some install bugs |
223 |
|
|
- typo in httpd.conf |
224 |
|
|
- switch db from mysql to maria db |
225 |
|
|
- update php version |
226 |
|
|
- add Requires |
227 |
|
|
|
228 |
jpp |
1.3 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
229 |
jpp |
1.4 |
- use username as id in place of ldap uuid [SME: 10876] |
230 |
jpp |
1.3 |
|
231 |
jpp |
1.2 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
232 |
|
|
- initial SME10 import [SME: 11086] |
233 |
|
|
|
234 |
jpp |
1.1 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme |
235 |
|
|
- use php73-fpm [SME: 11003] |
236 |
|
|
- Require php-gmp for Nextcloud 19 and newer [SME: 11004] |
237 |
|
|
- add phpbasedir support so you can add individual access to dir or files [SME: 11083] |
238 |
|
|
simply use nextcloud PHPBaseDir property |
239 |
|
|
- increase FastCgiExternalServer php pool timeout to 300 [SME: 11084] |
240 |
|
|
- ease use of a dedicated domaine with https [SME: 10885] |
241 |
|
|
|
242 |
|
|
* Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme |
243 |
brianr |
1.27 |
- Re-build and link to latest devtools missing Requirement and template-begins [SME: 10852] |
244 |
jpp |
1.1 |
|
245 |
|
|
* Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme |
246 |
|
|
- use php72-fpm instead of php71-fpm [SME: 10852] |
247 |
|
|
|
248 |
|
|
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme |
249 |
brianr |
1.27 |
- Re-build and link to latest devtools 512MB error on events [SME: 10728] |
250 |
jpp |
1.1 |
- add requirement for inotify support [SME: 10733] |
251 |
|
|
|
252 |
|
|
* Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme |
253 |
brianr |
1.27 |
- Re-build and link to latest devtools /.well-known check [SME: 10709] |
254 |
jpp |
1.1 |
- created a OCC command you can call as root as if you were the right user. [SME: 10711] |
255 |
|
|
- night cron to fix db [SME: 10710 ] |
256 |
|
|
|
257 |
|
|
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
258 |
|
|
- increase memory limit to new default from 128M to 512M [SME: 10695] |
259 |
|
|
add property to nextcloud db key MemoryLimit to set to local value if needed. |
260 |
|
|
|
261 |
|
|
* Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
262 |
brianr |
1.27 |
- Re-build and link to latest devtools /var/log/php/nextcloud/ is missing [SME: 10601] |
263 |
jpp |
1.1 |
|
264 |
|
|
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
265 |
brianr |
1.27 |
- Re-build and link to latest devtools timeout on update [SME: 10596] |
266 |
jpp |
1.1 |
|
267 |
|
|
* Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
268 |
brianr |
1.27 |
- Re-build and link to latest devtools wrong filter name for fail2ban jail.conf [SME: 10608] |
269 |
jpp |
1.1 |
|
270 |
|
|
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
271 |
brianr |
1.27 |
- Re-build and link to latest devtools long update [SME: 10564] |
272 |
|
|
- Re-build and link to latest devtools IncludeIbay not working. |
273 |
jpp |
1.1 |
|
274 |
|
|
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
275 |
brianr |
1.27 |
- Re-build and link to latest devtools shares not correctly handled [SME: 10564] |
276 |
jpp |
1.1 |
- improve shares support |
277 |
|
|
- reload file cache after creation of ibays folder, so it displays to users. |
278 |
|
|
- improve output to message log |
279 |
|
|
|
280 |
|
|
* Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
281 |
brianr |
1.27 |
- Re-build and link to latest devtools signal-event nextcloud-update hang [SME: 10560] |
282 |
jpp |
1.1 |
|
283 |
|
|
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
284 |
brianr |
1.27 |
- Re-build and link to latest devtools wrong logrotate option [SME: 10560] |
285 |
jpp |
1.1 |
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
286 |
|
|
- create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] |
287 |
|
|
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
288 |
|
|
|
289 |
|
|
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
290 |
|
|
- tidying templates, set cron update |
291 |
brianr |
1.27 |
- Re-build and link to latest devtools bad folder name for ibays [SME: 10556] |
292 |
jpp |
1.1 |
|
293 |
|
|
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
294 |
|
|
- initial release |
295 |
|
|
|