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