1 |
jpp |
1.18 |
%define release 16 |
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.13 |
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 |
jpp |
1.16 |
Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch |
26 |
jpp |
1.17 |
Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch |
27 |
|
|
|
28 |
jpp |
1.1 |
BuildArch: noarch |
29 |
jpp |
1.4 |
URL: https://www.nextcloud.com |
30 |
jpp |
1.1 |
|
31 |
|
|
BuildRequires: e-smith-devtools |
32 |
|
|
|
33 |
|
|
Requires: nextcloud >= 13.0.1 |
34 |
|
|
Requires: e-smith-apache |
35 |
|
|
Requires: e-smith-mysql |
36 |
|
|
Requires: smeserver-webapps-common |
37 |
jpp |
1.17 |
Requires: smeserver-php-fpm >= 0.1.1-3 |
38 |
jpp |
1.1 |
Requires: samba-client |
39 |
jpp |
1.18 |
Requires: perl-JSON |
40 |
jpp |
1.17 |
Requires: php72-php-smbclient |
41 |
|
|
Requires: php72-php-opcache |
42 |
|
|
Requires: php72-php-pecl-apcu |
43 |
|
|
Requires: php72-php-pecl-inotify |
44 |
jpp |
1.18 |
Requires: php72-php-pecl-zip |
45 |
|
|
Requires: php72-php-pecl-imagick |
46 |
|
|
|
47 |
jpp |
1.1 |
|
48 |
|
|
%description |
49 |
|
|
Koozali SME Server Nextcloud files and configuration. |
50 |
|
|
|
51 |
|
|
|
52 |
|
|
%prep |
53 |
|
|
%setup |
54 |
jpp |
1.3 |
%patch0 -p1 |
55 |
|
|
%patch1 -p1 |
56 |
jpp |
1.4 |
%patch2 -p1 |
57 |
|
|
%patch3 -p1 |
58 |
|
|
%patch4 -p1 |
59 |
|
|
%patch5 -p1 |
60 |
jpp |
1.5 |
%patch6 -p1 |
61 |
jpp |
1.6 |
%patch7 -p1 |
62 |
jpp |
1.7 |
%patch8 -p1 |
63 |
jpp |
1.9 |
%patch9 -p1 |
64 |
jpp |
1.10 |
%patch10 -p1 |
65 |
jpp |
1.12 |
%patch11 -p1 |
66 |
jpp |
1.13 |
%patch12 -p1 |
67 |
|
|
%patch13 -p1 |
68 |
|
|
%patch14 -p1 |
69 |
jpp |
1.16 |
%patch15 -p1 |
70 |
jpp |
1.17 |
%patch16 -p1 |
71 |
jpp |
1.18 |
touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin |
72 |
jpp |
1.1 |
|
73 |
|
|
%build |
74 |
|
|
perl createlinks |
75 |
|
|
|
76 |
|
|
%install |
77 |
|
|
rm -rf %{buildroot} |
78 |
jpp |
1.11 |
mkdir -p root/var/log/php/nextcloud |
79 |
jpp |
1.1 |
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
80 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
81 |
jpp |
1.11 |
--dir /var/log/php/nextcloud 'attr(0755,www,www)' \ |
82 |
jpp |
1.1 |
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
83 |
|
|
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
84 |
|
|
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
85 |
|
|
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
86 |
|
|
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
87 |
|
|
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
88 |
jpp |
1.14 |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
89 |
jpp |
1.1 |
> %{name}-%{version}-filelist |
90 |
|
|
|
91 |
|
|
cat %{name}-%{version}-filelist |
92 |
|
|
%files -f %{name}-%{version}-filelist |
93 |
|
|
%defattr(-,root,root) |
94 |
|
|
%doc COPYING |
95 |
|
|
|
96 |
|
|
|
97 |
|
|
%changelog |
98 |
jpp |
1.18 |
* Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme |
99 |
|
|
- fix missing Requirement and template-begins [SME: 10852] |
100 |
|
|
|
101 |
jpp |
1.17 |
* Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme |
102 |
|
|
- use php72-fpm instead of php71-fpm [SME: 10852] |
103 |
|
|
|
104 |
jpp |
1.16 |
* Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme |
105 |
|
|
- fix 512MB error on events [SME: 10728] |
106 |
|
|
- add requirement for inotify support [SME: 10733] |
107 |
|
|
|
108 |
jpp |
1.15 |
* Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme |
109 |
jpp |
1.13 |
- fix /.well-known check [SME: 10709] |
110 |
|
|
- created a OCC command you can call as root as if you were the right user. [SME: 10711] |
111 |
|
|
- night cron to fix db [SME: 10710 ] |
112 |
|
|
|
113 |
jpp |
1.12 |
* Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
114 |
|
|
- increase memory limit to new default from 128M to 512M [SME: 10695] |
115 |
|
|
add property to nextcloud db key MemoryLimit to set to local value if needed. |
116 |
|
|
|
117 |
jpp |
1.11 |
* Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
118 |
|
|
- fix /var/log/php/nextcloud/ is missing [SME: 10601] |
119 |
|
|
|
120 |
jpp |
1.10 |
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
121 |
|
|
- fix timeout on update [SME: 10596] |
122 |
|
|
|
123 |
jpp |
1.9 |
* Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
124 |
|
|
- fix wrong filter name for fail2ban jail.conf [SME: 10608] |
125 |
|
|
|
126 |
jpp |
1.7 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
127 |
|
|
- fix long update [SME: 10564] |
128 |
|
|
- fix IncludeIbay not working. |
129 |
|
|
|
130 |
jpp |
1.6 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
131 |
|
|
- fix shares not correctly handled [SME: 10564] |
132 |
|
|
- improve shares support |
133 |
|
|
- reload file cache after creation of ibays folder, so it displays to users. |
134 |
|
|
- improve output to message log |
135 |
|
|
|
136 |
jpp |
1.5 |
* Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
137 |
|
|
- fix signal-event nextcloud-update hang [SME: 10560] |
138 |
|
|
|
139 |
jpp |
1.4 |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
140 |
|
|
- fix wrong logrotate option [SME: 10560] |
141 |
|
|
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
142 |
|
|
- create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] |
143 |
|
|
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
144 |
|
|
|
145 |
jpp |
1.3 |
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
146 |
jpp |
1.2 |
- tidying templates, set cron update |
147 |
jpp |
1.3 |
- fix bad folder name for ibays [SME: 10556] |
148 |
jpp |
1.2 |
|
149 |
jpp |
1.1 |
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
150 |
|
|
- initial release |
151 |
|
|
|