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