1 |
jpp |
1.12 |
%define release 11 |
2 |
jpp |
1.1 |
%define version 1.1.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 |
jpp |
1.3 |
Patch0: smeserver-nextcloud-1.1.0.patch0.patch |
11 |
|
|
Patch1: smeserver-nextcloud-1.1.0.bz10556.patch |
12 |
jpp |
1.4 |
Patch2: smeserver-nextcloud-1.1.0-bz10560-logrotate.patch |
13 |
|
|
Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch |
14 |
|
|
Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch |
15 |
|
|
Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch |
16 |
jpp |
1.5 |
Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch |
17 |
jpp |
1.8 |
Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch |
18 |
jpp |
1.7 |
Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch |
19 |
jpp |
1.9 |
Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch |
20 |
jpp |
1.10 |
Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch |
21 |
jpp |
1.12 |
Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch |
22 |
jpp |
1.1 |
BuildArch: noarch |
23 |
jpp |
1.4 |
URL: https://www.nextcloud.com |
24 |
jpp |
1.1 |
|
25 |
|
|
BuildRequires: e-smith-devtools |
26 |
|
|
|
27 |
|
|
Requires: nextcloud >= 13.0.1 |
28 |
|
|
Requires: e-smith-apache |
29 |
|
|
Requires: e-smith-mysql |
30 |
|
|
Requires: smeserver-webapps-common |
31 |
|
|
Requires: smeserver-php-fpm |
32 |
|
|
Requires: samba-client |
33 |
|
|
Requires: php71-php-smbclient |
34 |
|
|
Requires: php71-php-opcache |
35 |
|
|
Requires: php71-php-pecl-apcu |
36 |
|
|
Requires: perl-JSON |
37 |
|
|
|
38 |
|
|
%description |
39 |
|
|
Koozali SME Server Nextcloud files and configuration. |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
%prep |
43 |
|
|
%setup |
44 |
jpp |
1.3 |
%patch0 -p1 |
45 |
|
|
%patch1 -p1 |
46 |
jpp |
1.4 |
%patch2 -p1 |
47 |
|
|
%patch3 -p1 |
48 |
|
|
%patch4 -p1 |
49 |
|
|
%patch5 -p1 |
50 |
jpp |
1.5 |
%patch6 -p1 |
51 |
jpp |
1.6 |
%patch7 -p1 |
52 |
jpp |
1.7 |
%patch8 -p1 |
53 |
jpp |
1.9 |
%patch9 -p1 |
54 |
jpp |
1.10 |
%patch10 -p1 |
55 |
jpp |
1.12 |
%patch11 -p1 |
56 |
jpp |
1.1 |
|
57 |
|
|
%build |
58 |
|
|
perl createlinks |
59 |
|
|
|
60 |
|
|
%install |
61 |
|
|
rm -rf %{buildroot} |
62 |
jpp |
1.11 |
mkdir -p root/var/log/php/nextcloud |
63 |
jpp |
1.1 |
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
64 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
65 |
jpp |
1.11 |
--dir /var/log/php/nextcloud 'attr(0755,www,www)' \ |
66 |
jpp |
1.1 |
--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 |
|
|
> %{name}-%{version}-filelist |
73 |
|
|
|
74 |
|
|
cat %{name}-%{version}-filelist |
75 |
|
|
%files -f %{name}-%{version}-filelist |
76 |
|
|
%defattr(-,root,root) |
77 |
|
|
%doc COPYING |
78 |
|
|
|
79 |
|
|
|
80 |
|
|
%changelog |
81 |
jpp |
1.12 |
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
82 |
|
|
- increase memory limit to new default from 128M to 512M [SME: 10695] |
83 |
|
|
add property to nextcloud db key MemoryLimit to set to local value if needed. |
84 |
|
|
|
85 |
jpp |
1.11 |
* Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
86 |
|
|
- fix /var/log/php/nextcloud/ is missing [SME: 10601] |
87 |
|
|
|
88 |
jpp |
1.10 |
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
89 |
|
|
- fix timeout on update [SME: 10596] |
90 |
|
|
|
91 |
jpp |
1.9 |
* Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
92 |
|
|
- fix wrong filter name for fail2ban jail.conf [SME: 10608] |
93 |
|
|
|
94 |
jpp |
1.7 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
95 |
|
|
- fix long update [SME: 10564] |
96 |
|
|
- fix IncludeIbay not working. |
97 |
|
|
|
98 |
jpp |
1.6 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
99 |
|
|
- fix shares not correctly handled [SME: 10564] |
100 |
|
|
- improve shares support |
101 |
|
|
- reload file cache after creation of ibays folder, so it displays to users. |
102 |
|
|
- improve output to message log |
103 |
|
|
|
104 |
jpp |
1.5 |
* Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
105 |
|
|
- fix signal-event nextcloud-update hang [SME: 10560] |
106 |
|
|
|
107 |
jpp |
1.4 |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
108 |
|
|
- fix wrong logrotate option [SME: 10560] |
109 |
|
|
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
110 |
|
|
- create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] |
111 |
|
|
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
112 |
|
|
|
113 |
jpp |
1.3 |
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
114 |
jpp |
1.2 |
- tidying templates, set cron update |
115 |
jpp |
1.3 |
- fix bad folder name for ibays [SME: 10556] |
116 |
jpp |
1.2 |
|
117 |
jpp |
1.1 |
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
118 |
|
|
- initial release |
119 |
|
|
|