1 |
%define release 4 |
%define release 19 |
2 |
%define version 1.1.0 |
%define version 1.1.0 |
3 |
|
|
4 |
Summary: Koozali SME Server Nextcloud configuration |
Summary: Koozali SME Server Nextcloud configuration |
13 |
Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch |
Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch |
14 |
Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch |
Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch |
15 |
Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch |
Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch |
16 |
|
Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch |
17 |
|
Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch |
18 |
|
Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch |
19 |
|
Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch |
20 |
|
Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch |
21 |
|
Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch |
22 |
|
Patch12: smeserver-nextcloud-1.1.0-bz10709-well-known.patch |
23 |
|
Patch13: smeserver-nextcloud-1.1.0-bz10711-occ-command.patch |
24 |
|
Patch14: smeserver-nextcloud-1.1.0-bz10710-dbcolumnupdate.patch |
25 |
|
Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch |
26 |
|
Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch |
27 |
|
Patch17: smeserver-nextcloud-1.1.0.bz11003-php73.patch |
28 |
|
Patch18: smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch |
29 |
|
Patch19: smeserver-nextcloud-1.1.0.bz11084-idletimeout.patch |
30 |
|
Patch20: smeserver-nextcloud-1.1.0-bz10885-dedicateddomain.patch |
31 |
|
|
32 |
BuildArch: noarch |
BuildArch: noarch |
33 |
URL: https://www.nextcloud.com |
URL: https://www.nextcloud.com |
34 |
|
|
38 |
Requires: e-smith-apache |
Requires: e-smith-apache |
39 |
Requires: e-smith-mysql |
Requires: e-smith-mysql |
40 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
41 |
Requires: smeserver-php-fpm |
Requires: smeserver-php-fpm >= 0.1.1-3 |
42 |
Requires: samba-client |
Requires: samba-client |
|
Requires: php71-php-smbclient |
|
|
Requires: php71-php-opcache |
|
|
Requires: php71-php-pecl-apcu |
|
43 |
Requires: perl-JSON |
Requires: perl-JSON |
44 |
|
Requires: php73-php-smbclient |
45 |
|
Requires: php73-php-opcache |
46 |
|
Requires: php73-php-pecl-apcu |
47 |
|
Requires: php73-php-pecl-inotify |
48 |
|
Requires: php73-php-pecl-zip |
49 |
|
Requires: php73-php-pecl-imagick |
50 |
|
Requires: php73-php-gmp |
51 |
|
|
52 |
|
|
53 |
%description |
%description |
54 |
Koozali SME Server Nextcloud files and configuration. |
Koozali SME Server Nextcloud files and configuration. |
62 |
%patch3 -p1 |
%patch3 -p1 |
63 |
%patch4 -p1 |
%patch4 -p1 |
64 |
%patch5 -p1 |
%patch5 -p1 |
65 |
|
%patch6 -p1 |
66 |
|
%patch7 -p1 |
67 |
|
%patch8 -p1 |
68 |
|
%patch9 -p1 |
69 |
|
%patch10 -p1 |
70 |
|
%patch11 -p1 |
71 |
|
%patch12 -p1 |
72 |
|
%patch13 -p1 |
73 |
|
%patch14 -p1 |
74 |
|
%patch15 -p1 |
75 |
|
%patch16 -p1 |
76 |
|
touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin |
77 |
|
touch root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/template-begin |
78 |
|
%patch17 -p1 |
79 |
|
%patch18 -p1 |
80 |
|
%patch19 -p1 |
81 |
|
%patch20 -p1 |
82 |
|
|
83 |
%build |
%build |
84 |
perl createlinks |
perl createlinks |
85 |
|
|
86 |
%install |
%install |
87 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
88 |
|
mkdir -p root/var/log/php/nextcloud |
89 |
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
90 |
/sbin/e-smith/genfilelist %{buildroot} \ |
/sbin/e-smith/genfilelist %{buildroot} \ |
91 |
|
--dir /var/log/php/nextcloud 'attr(0755,www,www)' \ |
92 |
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
93 |
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
94 |
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
95 |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
96 |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
97 |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
98 |
|
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
99 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
100 |
|
|
101 |
cat %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist |
105 |
|
|
106 |
|
|
107 |
%changelog |
%changelog |
108 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme |
109 |
|
- use php73-fpm [SME: 11003] |
110 |
|
- Require php-gmp for Nextcloud 19 and newer [SME: 11004] |
111 |
|
- add phpbasedir support so you can add individual access to dir or files [SME: 11083] |
112 |
|
simply use nextcloud PHPBaseDir property |
113 |
|
- increase FastCgiExternalServer php pool timeout to 300 [SME: 11084] |
114 |
|
- ease use of a dedicated domaine with https [SME: 10885] |
115 |
|
|
116 |
|
* Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme |
117 |
|
- fix missing Requirement and template-begins [SME: 10852] |
118 |
|
|
119 |
|
* Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme |
120 |
|
- use php72-fpm instead of php71-fpm [SME: 10852] |
121 |
|
|
122 |
|
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme |
123 |
|
- fix 512MB error on events [SME: 10728] |
124 |
|
- add requirement for inotify support [SME: 10733] |
125 |
|
|
126 |
|
* Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme |
127 |
|
- fix /.well-known check [SME: 10709] |
128 |
|
- created a OCC command you can call as root as if you were the right user. [SME: 10711] |
129 |
|
- night cron to fix db [SME: 10710 ] |
130 |
|
|
131 |
|
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
132 |
|
- increase memory limit to new default from 128M to 512M [SME: 10695] |
133 |
|
add property to nextcloud db key MemoryLimit to set to local value if needed. |
134 |
|
|
135 |
|
* Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
136 |
|
- fix /var/log/php/nextcloud/ is missing [SME: 10601] |
137 |
|
|
138 |
|
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
139 |
|
- fix timeout on update [SME: 10596] |
140 |
|
|
141 |
|
* Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
142 |
|
- fix wrong filter name for fail2ban jail.conf [SME: 10608] |
143 |
|
|
144 |
|
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
145 |
|
- fix long update [SME: 10564] |
146 |
|
- fix IncludeIbay not working. |
147 |
|
|
148 |
|
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
149 |
|
- fix shares not correctly handled [SME: 10564] |
150 |
|
- improve shares support |
151 |
|
- reload file cache after creation of ibays folder, so it displays to users. |
152 |
|
- improve output to message log |
153 |
|
|
154 |
|
* Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
155 |
|
- fix signal-event nextcloud-update hang [SME: 10560] |
156 |
|
|
157 |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
158 |
- fix wrong logrotate option [SME: 10560] |
- fix wrong logrotate option [SME: 10560] |
159 |
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |