1 |
%define release 19 |
%define release 9 |
2 |
%define version 1.1.0 |
%define version 1.2.0 |
3 |
|
|
4 |
Summary: Koozali SME Server Nextcloud configuration |
Summary: Koozali SME Server Nextcloud configuration |
5 |
Name: smeserver-nextcloud |
Name: smeserver-nextcloud |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
10 |
Patch0: smeserver-nextcloud-1.1.0.patch0.patch |
Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch |
11 |
Patch1: smeserver-nextcloud-1.1.0.bz10556.patch |
Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch |
12 |
Patch2: smeserver-nextcloud-1.1.0-bz10560-logrotate.patch |
Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch |
13 |
Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch |
Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch |
14 |
Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch |
Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch |
15 |
Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch |
Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch |
16 |
Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch |
Patch6: smeserver-nextcloud-1.2.0-bz11086.patch |
17 |
Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch |
Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch |
|
Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch |
|
|
Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch |
|
|
Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch |
|
|
Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch |
|
|
Patch12: smeserver-nextcloud-1.1.0-bz10709-well-known.patch |
|
|
Patch13: smeserver-nextcloud-1.1.0-bz10711-occ-command.patch |
|
|
Patch14: smeserver-nextcloud-1.1.0-bz10710-dbcolumnupdate.patch |
|
|
Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch |
|
|
Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch |
|
|
Patch17: smeserver-nextcloud-1.1.0.bz11003-php73.patch |
|
|
Patch18: smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch |
|
|
Patch19: smeserver-nextcloud-1.1.0.bz11084-idletimeout.patch |
|
|
Patch20: smeserver-nextcloud-1.1.0-bz10885-dedicateddomain.patch |
|
18 |
|
|
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
URL: https://www.nextcloud.com |
URL: https://www.nextcloud.com |
21 |
|
|
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
|
|
24 |
Requires: nextcloud >= 13.0.1 |
Requires: nextcloud >= 20.0.1 |
25 |
Requires: e-smith-apache |
Requires: e-smith-apache |
26 |
Requires: e-smith-mysql |
Requires: e-smith-mysql |
27 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
28 |
Requires: smeserver-php-fpm >= 0.1.1-3 |
Requires: smeserver-php >= 3.0.0-15 |
29 |
Requires: samba-client |
Requires: samba-client |
30 |
Requires: perl-JSON |
Requires: perl-JSON |
31 |
Requires: php73-php-smbclient |
Requires: perl-Exporter-Tiny |
32 |
Requires: php73-php-opcache |
Requires: perl-Sub-Quote |
33 |
Requires: php73-php-pecl-apcu |
Requires: php74-php-smbclient |
34 |
Requires: php73-php-pecl-inotify |
Requires: php74-php-opcache |
35 |
Requires: php73-php-pecl-zip |
Requires: php74-php-pecl-apcu |
36 |
Requires: php73-php-pecl-imagick |
Requires: php74-php-pecl-inotify |
37 |
Requires: php73-php-gmp |
Requires: php74-php-pecl-zip |
38 |
|
Requires: php74-php-pecl-imagick |
39 |
|
Requires: php74-php-gmp |
40 |
|
|
41 |
|
|
42 |
%description |
%description |
53 |
%patch5 -p1 |
%patch5 -p1 |
54 |
%patch6 -p1 |
%patch6 -p1 |
55 |
%patch7 -p1 |
%patch7 -p1 |
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin |
|
|
%patch17 -p1 |
|
|
touch root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/template-begin |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
56 |
|
|
57 |
%build |
%build |
58 |
perl createlinks |
perl createlinks |
69 |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
70 |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
71 |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
72 |
|
--ignoredir "/etc/sudoers.d" \ |
73 |
|
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
74 |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
75 |
|
--file /usr/bin/occ 'attr(0755,root,root)'\ |
76 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
77 |
|
|
78 |
cat %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist |
82 |
|
|
83 |
|
|
84 |
%changelog |
%changelog |
85 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
86 |
|
- fix dav redirections for domain use and subdir [SME: 11086] |
87 |
|
- refresh externalfs on loading, best for ibays |
88 |
|
- tidying |
89 |
|
|
90 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
91 |
|
- add update event [SME: 11086] |
92 |
|
- add occ as hard link of OCC |
93 |
|
|
94 |
|
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme |
95 |
|
- Fix typo in php pool template [SME: 11268] |
96 |
|
|
97 |
|
* Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme |
98 |
|
- Add a check for the Min/Max/Start servers [SME: 11171] |
99 |
|
- https://bugs.contribs.org/show_bug.cgi?id=11171#c4 |
100 |
|
|
101 |
|
* Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme |
102 |
|
- Template missing Min/Start/Max Servers and Children [SME: 11171] |
103 |
|
|
104 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme |
105 |
|
- Add missing SMB configuration details including domain/workgroup |
106 |
|
|
107 |
|
* Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme |
108 |
|
- Fix sudoer file permissions in file list |
109 |
|
- Fix some install bugs |
110 |
|
- typo in httpd.conf |
111 |
|
- switch db from mysql to maria db |
112 |
|
- update php version |
113 |
|
- add Requires |
114 |
|
|
115 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
116 |
|
- use username as id in place of ldap uuid [SME: 10876] |
117 |
|
|
118 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
119 |
|
- initial SME10 import [SME: 11086] |
120 |
|
|
121 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme |
122 |
- use php73-fpm [SME: 11003] |
- use php73-fpm [SME: 11003] |
123 |
- Require php-gmp for Nextcloud 19 and newer [SME: 11004] |
- Require php-gmp for Nextcloud 19 and newer [SME: 11004] |