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