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

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

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


Revision 1.41 - (show annotations) (download)
Fri Apr 12 20:57:29 2024 UTC (6 months, 2 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-30_el7_sme
Changes since 1.40: +8 -1 lines
* Fri Apr 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2.0-30.sme
- add maintenance windows start [SME: 12611]
  increase frequency of cron task every 5 min
- fix missing full path [SME: 12486]

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

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