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