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