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

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

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


Revision 1.22 - (hide annotations) (download)
Fri Jul 8 05:29:09 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
Changes since 1.21: +7 -1 lines
* Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme
- migrate property CloudDomain to VirtualHost [SME: 11918]
- use mariadb105 on new installs [SME: 11343]
- update rewriterules [SME: 11972]
- update to NC24 [SME: 12094]
  use a nextcloud-src rpm and avoid conflicts between web and rpm updates
- TODO add to backup
- TODO update httpd 2.4 syntax

1 jpp 1.18 %define release 16
2 jpp 1.2 %define version 1.2.0
3 jpp 1.1
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 jpp 1.4 Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch
11 jcrisp 1.5 Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch
12 jcrisp 1.6 Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch
13 jcrisp 1.7 Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch
14 jcrisp 1.8 Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch
15 jcrisp 1.9 Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch
16 jpp 1.10 Patch6: smeserver-nextcloud-1.2.0-bz11086.patch
17 jpp 1.11 Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch
18 jpp 1.12 Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch
19 jpp 1.14 Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch
20 jpp 1.15 Patch10: smeserver-nextcloud-1.2.0-bz11855-gencache.patch
21 terryfage 1.17 Patch11: smeserver-nextcloud-1.2.0-bz11854.patch
22 jpp 1.18 Patch12: smeserver-nextcloud-1.2.0-bz11918-migrateloudDomain2VirtualHost.patch
23 jpp 1.19 Patch13: smeserver-nextcloud-1.2.0-bz11343-mariadb105.patch
24 jpp 1.20 Patch14: smeserver-nextcloud-1.2.0-bz11972-rewriterules.patch
25 jpp 1.22 Patch15: smeserver-nextcloud-1.2.0-bz12094-use-src.patch
26 jpp 1.1
27 jpp 1.21 # for later smeserver-nextcloud-1.2.0-bz12053-httpd24.patch
28    
29 jpp 1.1 BuildArch: noarch
30     URL: https://www.nextcloud.com
31    
32     BuildRequires: e-smith-devtools
33    
34 jpp 1.22 Requires: nextcloud-src >= 24.0.1
35 jpp 1.1 Requires: e-smith-apache
36     Requires: e-smith-mysql
37     Requires: smeserver-webapps-common
38 jpp 1.3 Requires: smeserver-php >= 3.0.0-15
39 jpp 1.1 Requires: samba-client
40     Requires: perl-JSON
41 jcrisp 1.5 Requires: perl-Exporter-Tiny
42     Requires: perl-Sub-Quote
43 jpp 1.2 Requires: php74-php-smbclient
44     Requires: php74-php-opcache
45     Requires: php74-php-pecl-apcu
46     Requires: php74-php-pecl-inotify
47     Requires: php74-php-pecl-zip
48     Requires: php74-php-pecl-imagick
49     Requires: php74-php-gmp
50 jpp 1.19 Requires: jq
51     Requires: smeserver-mariadb105
52 jpp 1.21 #httpd24 Requires: e-smith-apache >= 2.6.0-19
53     #httpd24 Requires: smeserver-php >= 3.0.0-43
54 jpp 1.1
55     %description
56     Koozali SME Server Nextcloud files and configuration.
57    
58    
59     %prep
60     %setup
61 jpp 1.4 %patch0 -p1
62 jcrisp 1.5 %patch1 -p1
63 jcrisp 1.6 %patch2 -p1
64 jcrisp 1.7 %patch3 -p1
65 jcrisp 1.8 %patch4 -p1
66 jcrisp 1.9 %patch5 -p1
67 jpp 1.10 %patch6 -p1
68 jpp 1.11 %patch7 -p1
69 jpp 1.12 %patch8 -p1
70 jpp 1.14 %patch9 -p1
71 jpp 1.15 %patch10 -p1
72 terryfage 1.17 %patch11 -p1
73 jpp 1.18 %patch12 -p1
74 jpp 1.19 %patch13 -p1
75 jpp 1.20 %patch14 -p1
76 jpp 1.22 %patch15 -p1
77 jpp 1.1
78 jpp 1.21 # TODO patch httpd24
79    
80 jpp 1.1 %build
81     perl createlinks
82    
83     %install
84     rm -rf %{buildroot}
85     mkdir -p root/var/log/php/nextcloud
86     (cd root; find . -depth -print | cpio -dump %{buildroot})
87     /sbin/e-smith/genfilelist %{buildroot} \
88     --dir /var/log/php/nextcloud 'attr(0755,www,www)' \
89     --dir /var/lib/php/nextcloud 'attr(0755,www,www)' \
90     --dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \
91     --dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \
92     --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \
93     --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \
94     --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \
95 jcrisp 1.5 --ignoredir "/etc/sudoers.d" \
96     --file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \
97 jpp 1.1 --file /usr/bin/OCC 'attr(0755,root,root)'\
98 jpp 1.10 --file /usr/bin/occ 'attr(0755,root,root)'\
99 jpp 1.14 --file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\
100 jpp 1.1 > %{name}-%{version}-filelist
101    
102     cat %{name}-%{version}-filelist
103     %files -f %{name}-%{version}-filelist
104     %defattr(-,root,root)
105     %doc COPYING
106    
107    
108     %changelog
109 jpp 1.18 * Thu Jul 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-16.sme
110     - migrate property CloudDomain to VirtualHost [SME: 11918]
111 jpp 1.19 - use mariadb105 on new installs [SME: 11343]
112 jpp 1.20 - update rewriterules [SME: 11972]
113 jpp 1.22 - 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 jpp 1.18
118 terryfage 1.17 * Fri May 20 2022 Terry Fage <terry@fage.au> 1.2.0-15.sme
119     - fix cron syntax error [SME: 11854]
120    
121 jpp 1.16 * Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-14.sme
122 jpp 1.15 - fix gencache_init failed [SME: 11855]
123 jpp 1.16 fix missing nextcloud-conf action in update event
124 jpp 1.15
125 jpp 1.14 * 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 jpp 1.13 * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme
132 jpp 1.12 - fix logrotate error [SME: 11172]
133 jpp 1.13 - fix noise in error log
134 jpp 1.12
135 jpp 1.11 * 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 jpp 1.10 * 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 jcrisp 1.9 * 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 jcrisp 1.8 * 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 jcrisp 1.7 * 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 jcrisp 1.6 * 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 jcrisp 1.5 * 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 jpp 1.3 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme
166 jpp 1.4 - use username as id in place of ldap uuid [SME: 10876]
167 jpp 1.3
168 jpp 1.2 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
169     - initial SME10 import [SME: 11086]
170    
171 jpp 1.1 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-19.sme
172     - use php73-fpm [SME: 11003]
173     - Require php-gmp for Nextcloud 19 and newer [SME: 11004]
174     - add phpbasedir support so you can add individual access to dir or files [SME: 11083]
175     simply use nextcloud PHPBaseDir property
176     - increase FastCgiExternalServer php pool timeout to 300 [SME: 11084]
177     - ease use of a dedicated domaine with https [SME: 10885]
178    
179     * Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme
180     - fix missing Requirement and template-begins [SME: 10852]
181    
182     * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme
183     - use php72-fpm instead of php71-fpm [SME: 10852]
184    
185     * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme
186     - fix 512MB error on events [SME: 10728]
187     - add requirement for inotify support [SME: 10733]
188    
189     * Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme
190     - fix /.well-known check [SME: 10709]
191     - created a OCC command you can call as root as if you were the right user. [SME: 10711]
192     - night cron to fix db [SME: 10710 ]
193    
194     * Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme
195     - increase memory limit to new default from 128M to 512M [SME: 10695]
196     add property to nextcloud db key MemoryLimit to set to local value if needed.
197    
198     * Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme
199     - fix /var/log/php/nextcloud/ is missing [SME: 10601]
200    
201     * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme
202     - fix timeout on update [SME: 10596]
203    
204     * Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
205     - fix wrong filter name for fail2ban jail.conf [SME: 10608]
206    
207     * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
208     - fix long update [SME: 10564]
209     - fix IncludeIbay not working.
210    
211     * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
212     - fix shares not correctly handled [SME: 10564]
213     - improve shares support
214     - reload file cache after creation of ibays folder, so it displays to users.
215     - improve output to message log
216    
217     * Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
218     - fix signal-event nextcloud-update hang [SME: 10560]
219    
220     * Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme
221     - fix wrong logrotate option [SME: 10560]
222     - change password storage mode for smb share to allow access from portable devices [SME: 10558]
223     - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557]
224     - add Shared folders in nextcloud under the ibays folder [SME: 10559]
225    
226     * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme
227     - tidying templates, set cron update
228     - fix bad folder name for ibays [SME: 10556]
229    
230     * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
231     - initial release
232    

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