/[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.39 - (show annotations) (download)
Sun Sep 10 03:58:27 2023 UTC (8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-28_el7_sme
Changes since 1.38: +4 -0 lines
* Sat Sep 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-28.sme
- workaround opcache segfault with php 81 using in memory only [SME: 12298]
- index file cache using Redis [SME: 12401]

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

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