1 |
%define release 2 |
%define release 16 |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
|
|
4 |
Summary: Koozali SME Server Nextcloud configuration |
Summary: Koozali SME Server Nextcloud configuration |
8 |
License: GPL |
License: GPL |
9 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
10 |
Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch |
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 |
|
Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch |
14 |
|
Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch |
15 |
|
Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch |
16 |
|
Patch6: smeserver-nextcloud-1.2.0-bz11086.patch |
17 |
|
Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch |
18 |
|
Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch |
19 |
|
Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch |
20 |
|
Patch10: smeserver-nextcloud-1.2.0-bz11855-gencache.patch |
21 |
|
Patch11: smeserver-nextcloud-1.2.0-bz11854.patch |
22 |
|
Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch |
23 |
|
Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch |
24 |
|
Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch |
25 |
|
Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch |
26 |
|
|
27 |
|
# for later smeserver-nextcloud-1.2.0-bz12053-httpd24.patch |
28 |
|
|
29 |
BuildArch: noarch |
BuildArch: noarch |
30 |
URL: https://www.nextcloud.com |
URL: https://www.nextcloud.com |
31 |
|
|
32 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
33 |
|
|
34 |
Requires: nextcloud >= 20.0.1 |
Requires: nextcloud-src >= 24.0.1 |
35 |
Requires: e-smith-apache |
Requires: e-smith-apache |
36 |
Requires: e-smith-mysql |
Requires: e-smith-mysql |
37 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
38 |
Requires: smeserver-php >= 3.0.0-15 |
Requires: smeserver-php >= 3.0.0-15 |
39 |
Requires: samba-client |
Requires: samba-client |
40 |
Requires: perl-JSON |
Requires: perl-JSON |
41 |
|
Requires: perl-Exporter-Tiny |
42 |
|
Requires: perl-Sub-Quote |
43 |
Requires: php74-php-smbclient |
Requires: php74-php-smbclient |
44 |
Requires: php74-php-opcache |
Requires: php74-php-opcache |
45 |
Requires: php74-php-pecl-apcu |
Requires: php74-php-pecl-apcu |
47 |
Requires: php74-php-pecl-zip |
Requires: php74-php-pecl-zip |
48 |
Requires: php74-php-pecl-imagick |
Requires: php74-php-pecl-imagick |
49 |
Requires: php74-php-gmp |
Requires: php74-php-gmp |
50 |
|
Requires: jq |
51 |
|
Requires: smeserver-mariadb105 |
52 |
|
#httpd24 Requires: e-smith-apache >= 2.6.0-19 |
53 |
|
#httpd24 Requires: smeserver-php >= 3.0.0-43 |
54 |
|
|
55 |
%description |
%description |
56 |
Koozali SME Server Nextcloud files and configuration. |
Koozali SME Server Nextcloud files and configuration. |
59 |
%prep |
%prep |
60 |
%setup |
%setup |
61 |
%patch0 -p1 |
%patch0 -p1 |
62 |
|
%patch1 -p1 |
63 |
|
%patch2 -p1 |
64 |
|
%patch3 -p1 |
65 |
|
%patch4 -p1 |
66 |
|
%patch5 -p1 |
67 |
|
%patch6 -p1 |
68 |
|
%patch7 -p1 |
69 |
|
%patch8 -p1 |
70 |
|
%patch9 -p1 |
71 |
|
%patch10 -p1 |
72 |
|
%patch11 -p1 |
73 |
|
%patch12 -p1 |
74 |
|
%patch13 -p1 |
75 |
|
%patch14 -p1 |
76 |
|
%patch15 -p1 |
77 |
|
|
78 |
|
# TODO patch httpd24 |
79 |
|
|
80 |
%build |
%build |
81 |
perl createlinks |
perl createlinks |
92 |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
93 |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
94 |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
95 |
|
--ignoredir "/etc/sudoers.d" \ |
96 |
|
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
97 |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
98 |
|
--file /usr/bin/occ 'attr(0755,root,root)'\ |
99 |
|
--file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\ |
100 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
101 |
|
|
102 |
cat %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist |
106 |
|
|
107 |
|
|
108 |
%changelog |
%changelog |
109 |
|
* Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme |
110 |
|
- migrate property CloudDomain to VirtualHost [SME: 11918] |
111 |
|
- use mariadb105 on new installs [SME: 11343] |
112 |
|
- update rewriterules [SME: 11972] |
113 |
|
- update to NC24 [SME: 12094] |
114 |
|
use a nextcloud-src rpm and avoid conflicts between web and rpm updates |
115 |
|
- TODO add to backup |
116 |
|
- TODO update httpd 2.4 syntax |
117 |
|
|
118 |
|
* Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme |
119 |
|
- fix cron syntax error [SME: 11854] |
120 |
|
|
121 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme |
122 |
|
- fix gencache_init failed [SME: 11855] |
123 |
|
fix missing nextcloud-conf action in update event |
124 |
|
|
125 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
126 |
|
- use php_pecl-apcu for cli [SME: 11920] |
127 |
|
- db update of keys and indexes [SME: 11854] |
128 |
|
- few nextcloud-occ-conf fixes [SME: 11973] |
129 |
|
make occ used in scripts rather than OCC |
130 |
|
|
131 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme |
132 |
|
- fix logrotate error [SME: 11172] |
133 |
|
- fix noise in error log |
134 |
|
|
135 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
136 |
|
- fix dav redirections for domain use and subdir [SME: 11086] |
137 |
|
- refresh externalfs on loading, best for ibays |
138 |
|
- tidying |
139 |
|
|
140 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
141 |
|
- add update event [SME: 11086] |
142 |
|
- add occ as hard link of OCC |
143 |
|
|
144 |
|
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme |
145 |
|
- Fix typo in php pool template [SME: 11268] |
146 |
|
|
147 |
|
* Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme |
148 |
|
- Add a check for the Min/Max/Start servers [SME: 11171] |
149 |
|
- https://bugs.contribs.org/show_bug.cgi?id=11171#c4 |
150 |
|
|
151 |
|
* Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme |
152 |
|
- Template missing Min/Start/Max Servers and Children [SME: 11171] |
153 |
|
|
154 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme |
155 |
|
- Add missing SMB configuration details including domain/workgroup |
156 |
|
|
157 |
|
* Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme |
158 |
|
- Fix sudoer file permissions in file list |
159 |
|
- Fix some install bugs |
160 |
|
- typo in httpd.conf |
161 |
|
- switch db from mysql to maria db |
162 |
|
- update php version |
163 |
|
- add Requires |
164 |
|
|
165 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
166 |
- use username as id in place of ldap uuid [SME: 10876] |
- use username as id in place of ldap uuid [SME: 10876] |
167 |
|
|