/[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.29 - (show annotations) (download)
Tue Jan 10 04:09:29 2023 UTC (16 months ago) by jpp
Branch: MAIN
Changes since 1.28: +9 -1 lines
* Mon Jan 09 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-21.sme
- update disabled_fucntions list [SME: 12277]
- allow customization of opcache for Nextcloud see wiki [SME: 12299]

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

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