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