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