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