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