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