/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec
ViewVC logotype

Contents of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.25 - (show annotations) (download)
Fri Jul 8 16:10:29 2022 UTC (22 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-17_el7_sme
Changes since 1.24: +7 -1 lines
* Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-17.sme
- fix gencache again [SME: 12096]
- fix ldap users/groups not availables on first run [SME: 12095]

1 %define release 17
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 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 Patch16: smeserver-nextcloud-1.2.0-bz12016-backup.patch
27 Patch17: smeserver-nextcloud-1.2.0-bz12096-bz12095.patch
28
29 # for later smeserver-nextcloud-1.2.0-bz12053-httpd24.patch
30
31 BuildArch: noarch
32 URL: https://www.nextcloud.com
33
34 BuildRequires: e-smith-devtools
35
36 Requires: nextcloud-src >= 24.0.1
37 Requires: e-smith-apache
38 Requires: e-smith-mysql
39 Requires: smeserver-webapps-common
40 Requires: smeserver-php >= 3.0.0-15
41 Requires: samba-client
42 Requires: perl-JSON
43 Requires: perl-Exporter-Tiny
44 Requires: perl-Sub-Quote
45 Requires: php74-php-smbclient
46 Requires: php74-php-opcache
47 Requires: php74-php-pecl-apcu
48 Requires: php74-php-pecl-inotify
49 Requires: php74-php-pecl-zip
50 Requires: php74-php-pecl-imagick
51 Requires: php74-php-gmp
52 Requires: jq
53 Requires: smeserver-mariadb105
54 #httpd24 Requires: e-smith-apache >= 2.6.0-19
55 #httpd24 Requires: smeserver-php >= 3.0.0-43
56
57 %description
58 Koozali SME Server Nextcloud files and configuration.
59
60
61 %prep
62 %setup
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67 %patch4 -p1
68 %patch5 -p1
69 %patch6 -p1
70 %patch7 -p1
71 %patch8 -p1
72 %patch9 -p1
73 %patch10 -p1
74 %patch11 -p1
75 %patch12 -p1
76 %patch13 -p1
77 %patch14 -p1
78 %patch15 -p1
79 %patch16 -p1
80 %patch17 -p1
81
82 # TODO patch httpd24
83
84 %build
85 perl createlinks
86
87 %install
88 rm -rf %{buildroot}
89 mkdir -p root/var/log/php/nextcloud
90 (cd root; find . -depth -print | cpio -dump %{buildroot})
91 /sbin/e-smith/genfilelist %{buildroot} \
92 --dir /var/log/php/nextcloud 'attr(0755,www,www)' \
93 --dir /var/lib/php/nextcloud 'attr(0755,www,www)' \
94 --dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \
95 --dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \
96 --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \
97 --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \
98 --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \
99 --ignoredir "/etc/sudoers.d" \
100 --file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \
101 --file /usr/bin/OCC 'attr(0755,root,root)'\
102 --file /usr/bin/occ 'attr(0755,root,root)'\
103 --file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\
104 > %{name}-%{version}-filelist
105
106 cat %{name}-%{version}-filelist
107 %files -f %{name}-%{version}-filelist
108 %defattr(-,root,root)
109 %doc COPYING
110
111
112 %changelog
113 * Fri Jul 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-17.sme
114 - fix gencache again [SME: 12096]
115 - fix ldap users/groups not availables on first run [SME: 12095]
116
117 * Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme
118 - migrate property CloudDomain to VirtualHost [SME: 11918]
119 - use mariadb105 on new installs [SME: 11343]
120 - update rewriterules [SME: 11972]
121 - update to NC24 [SME: 12094]
122 use a nextcloud-src rpm and avoid conflicts between web and rpm updates
123 - add to backup [SME: 12016]
124
125 * Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme
126 - fix cron syntax error [SME: 11854]
127
128 * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme
129 - fix gencache_init failed [SME: 11855]
130 fix missing nextcloud-conf action in update event
131
132 * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme
133 - use php_pecl-apcu for cli [SME: 11920]
134 - db update of keys and indexes [SME: 11854]
135 - few nextcloud-occ-conf fixes [SME: 11973]
136 make occ used in scripts rather than OCC
137
138 * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme
139 - fix logrotate error [SME: 11172]
140 - fix noise in error log
141
142 * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme
143 - fix dav redirections for domain use and subdir [SME: 11086]
144 - refresh externalfs on loading, best for ibays
145 - tidying
146
147 * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme
148 - add update event [SME: 11086]
149 - add occ as hard link of OCC
150
151 * Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme
152 - Fix typo in php pool template [SME: 11268]
153
154 * Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme
155 - Add a check for the Min/Max/Start servers [SME: 11171]
156 - https://bugs.contribs.org/show_bug.cgi?id=11171#c4
157
158 * Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme
159 - Template missing Min/Start/Max Servers and Children [SME: 11171]
160
161 * Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme
162 - Add missing SMB configuration details including domain/workgroup
163
164 * Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme
165 - Fix sudoer file permissions in file list
166 - Fix some install bugs
167 - typo in httpd.conf
168 - switch db from mysql to maria db
169 - update php version
170 - add Requires
171
172 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme
173 - use username as id in place of ldap uuid [SME: 10876]
174
175 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
176 - initial SME10 import [SME: 11086]
177
178 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme
179 - use php73-fpm [SME: 11003]
180 - Require php-gmp for Nextcloud 19 and newer [SME: 11004]
181 - add phpbasedir support so you can add individual access to dir or files [SME: 11083]
182 simply use nextcloud PHPBaseDir property
183 - increase FastCgiExternalServer php pool timeout to 300 [SME: 11084]
184 - ease use of a dedicated domaine with https [SME: 10885]
185
186 * Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme
187 - fix missing Requirement and template-begins [SME: 10852]
188
189 * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme
190 - use php72-fpm instead of php71-fpm [SME: 10852]
191
192 * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme
193 - fix 512MB error on events [SME: 10728]
194 - add requirement for inotify support [SME: 10733]
195
196 * Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme
197 - fix /.well-known check [SME: 10709]
198 - created a OCC command you can call as root as if you were the right user. [SME: 10711]
199 - night cron to fix db [SME: 10710 ]
200
201 * Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme
202 - increase memory limit to new default from 128M to 512M [SME: 10695]
203 add property to nextcloud db key MemoryLimit to set to local value if needed.
204
205 * Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme
206 - fix /var/log/php/nextcloud/ is missing [SME: 10601]
207
208 * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme
209 - fix timeout on update [SME: 10596]
210
211 * Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
212 - fix wrong filter name for fail2ban jail.conf [SME: 10608]
213
214 * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
215 - fix long update [SME: 10564]
216 - fix IncludeIbay not working.
217
218 * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
219 - fix shares not correctly handled [SME: 10564]
220 - improve shares support
221 - reload file cache after creation of ibays folder, so it displays to users.
222 - improve output to message log
223
224 * Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
225 - fix signal-event nextcloud-update hang [SME: 10560]
226
227 * Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme
228 - fix wrong logrotate option [SME: 10560]
229 - change password storage mode for smb share to allow access from portable devices [SME: 10558]
230 - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557]
231 - add Shared folders in nextcloud under the ibays folder [SME: 10559]
232
233 * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme
234 - tidying templates, set cron update
235 - fix bad folder name for ibays [SME: 10556]
236
237 * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
238 - initial release
239

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed