1 |
%define release 4 |
2 |
%define version 1.2.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 |
Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch |
11 |
Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch |
12 |
Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch |
13 |
|
14 |
BuildArch: noarch |
15 |
URL: https://www.nextcloud.com |
16 |
|
17 |
BuildRequires: e-smith-devtools |
18 |
|
19 |
Requires: nextcloud >= 20.0.1 |
20 |
Requires: e-smith-apache |
21 |
Requires: e-smith-mysql |
22 |
Requires: smeserver-webapps-common |
23 |
Requires: smeserver-php >= 3.0.0-15 |
24 |
Requires: samba-client |
25 |
Requires: perl-JSON |
26 |
Requires: perl-Exporter-Tiny |
27 |
Requires: perl-Sub-Quote |
28 |
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 |
|
36 |
|
37 |
%description |
38 |
Koozali SME Server Nextcloud files and configuration. |
39 |
|
40 |
|
41 |
%prep |
42 |
%setup |
43 |
%patch0 -p1 |
44 |
%patch1 -p1 |
45 |
%patch2 -p1 |
46 |
|
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 |
--ignoredir "/etc/sudoers.d" \ |
63 |
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
64 |
--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 |
* 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 |
* 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 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
86 |
- use username as id in place of ldap uuid [SME: 10876] |
87 |
|
88 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
89 |
- initial SME10 import [SME: 11086] |
90 |
|
91 |
* 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 |
|