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