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

Contents of /rpms/smeserver-shared-folders/contribs10/smeserver-shared-folders.spec

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


Revision 1.7 - (show annotations) (download)
Mon Jul 25 06:53:12 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_3-17_el7_sme
Changes since 1.6: +7 -3 lines
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-17.sme
- update to httpd 2.4 access syntax [SME: 12060]

1 # $Id: smeserver-shared-folders.spec,v 1.6 2022/07/25 05:35:35 jpp Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 Summary: sme server shared folders module
6 %define name smeserver-shared-folders
7 Name: %{name}
8 %define version 0.3
9 %define release 17
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Networking/Daemons
14 Source: %{name}-%{version}.tar.xz
15 Patch0: smeserver-shared-folders-0.3-remove_fstab_expand_on_post_upgrade.patch
16 Patch1: smeserver-shared-folders-0.3-dump_acl_and_xattr_for_manual_perm.patch
17 Patch2: smeserver-shared-folders-0.3-fix_missing_cr_in_smb_template.patch
18 Patch3: smeserver-shared-folders-0.3-fix_auth_basic.patch
19 Patch4: smeserver-shared-folders-0.3-handle_ext4.patch
20 Patch5: smeserver-shared-folders-0.3-locale-2015-02-17.patch
21 Patch6: smeserver-shared-folders-0.3-locale-2015-12-18.patch
22 Patch7: smeserver-shared-folders-0.3-veto_files.patch
23 Patch8: smeserver-shared-folders-0.3-support_php_fpm.patch
24 Patch9: smeserver-shared-folders-0.3-locale-2019-12-07.patch
25 Patch10: smeserver-shared-folders-0.3-Imcomplete-Update-for-Server-Manager2.patch
26 Patch11: smeserver-shared-folders-0.3-Add-Update-event-to-createlinks.patch
27 Patch12: smeserver-shared-folders-0.3-locale-2021-08-23.patch
28 Patch13: smeserver-shared-folders-0.3-bz11523-php-fpm.patch
29 Patch14: smeserver-shared-folders-0.3-bz12060-httpd24.patch
30
31 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
32 BuildArchitectures: noarch
33 Requires: e-smith-base >= 4.13.15-76
34 Requires: perl(CGI::FormMagick)
35 Requires: e-smith-formmagick >= 1.4.0-12
36 Requires: smeserver-mod_dav
37 Requires: acl
38 BuildRequires: perl
39 BuildRequires: e-smith-devtools >= 1.11.0-03
40 AutoReqProv: no
41
42
43
44 %description
45 This module allows you to create network shares
46 with more flexibility than ibays as it supports ACLs
47
48 %changelog
49 * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-17.sme
50 - update to httpd 2.4 access syntax [SME: 12060]
51
52 * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-16.sme
53 - merge php-fpm code [SME: 11523]
54
55 * Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 0.3-11.sme
56 - apply locale 2021-08-23 patch
57
58 * Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-14.sme
59 - Add Update event to createlinks [SME: 10997]
60
61 * Thu Apr 01 2021 BogusDateBot
62 - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
63 by assuming the date is correct and changing the weekday.
64 Thu Mar 26 2010 --> Thu Mar 25 2010 or Fri Mar 26 2010 or Thu Apr 01 2010 or ....
65 Wed Nov 26 2010 --> Wed Nov 24 2010 or Fri Nov 26 2010 or Wed Dec 01 2010 or ....
66
67 * Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-13.sme
68 - Add AutoReqProv no to spec file [SME: 10997]
69
70 * Sat Aug 01 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-12.sme
71 - Incomplete update to new Servee Manager Mojolicious framework [SME:10997]
72
73 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 0.3-11.sme
74 - apply locale 2019-12-07 patch
75
76 * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3-10.sme
77 - Missing \n in httpd templates when using mod_fastcgi
78
79 * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3-9.sme
80 - Add support for php fpm (but don't require it yet)
81
82 * Fri Dec 18 2015 Daniel Berteaud <daniel@firewall-services.com> 0.3-8.sme
83 - Apply locale 2015-12-18 patch
84 - Add veto files directive support
85
86 * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.3-7.sme
87 - Apply lcoale 2015-02-17 patch
88
89 * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-6.sme
90 - Handle ext4 [SME: 8730]
91
92 * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-5.sme
93 - Fix basic auth on EL6
94
95 * Mon Jan 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-4.sme
96 - Add a missing CR in smb.conf templates
97
98 * Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-3.sme
99 - Dump ACL and extended attributes in /home/e-smith/db/shares if
100 ManualPermissions is set
101
102 * Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-2.sme
103 - Remove expand link for fstab in post-upgrade
104
105 * Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-1.sme
106 - Rebuild for SME9
107
108 * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme
109 - apply locale 2013-10-29 patch
110
111 * Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme
112 - Rename ajaxplorer to pydio
113
114 * Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-81.sme
115 - Add NT ACL support
116
117 * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme
118 - apply locale 2013-07-14 patch
119
120 * Sat Oct 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-79.sme
121 - Enhance samba audit
122
123 * Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-78.sme
124 - Allow share names ending with dollar
125 (windows can, and it might be needed for migrations)
126
127 * Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-77.sme
128 - Allow share names starting with numbers (there's no reason to deny it)
129
130 * Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme
131 - Look at users ACL for encrypted shares list
132 - Apply locale 2012-10-11 patch
133
134 * Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme
135 - add possibility to hide shares and to mark them non removable
136
137 * Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme
138 - Enable FTP access
139
140 * Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme
141 - Apply locale 2012-07-20 patch
142
143 * Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme
144 - Explicitly set www acl so web access works even when only individual users
145 have ACLs
146
147 * Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme
148 - Don't disable unix extension in share scope
149
150 * Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme
151 - Display permission form after creation
152 - Display share name and desc in permission form
153
154 * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6
155 - apply locale 2012-03-20 patch
156
157 * Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme
158 - Enable webdav even when no auth is required
159 (but auth will still be required for write operations)
160
161 * Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme
162 - Add rsyncd support
163
164 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme
165 - Fix bg locale
166
167 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme
168 - Fix root ACL for users
169 - Apply locale 2012-02-18 patch
170
171 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme
172 - In http access, remove ro users from rw list
173 - templates cleanup
174
175 * Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme
176 - Replace fr with correct en-us locale for USERS entry
177
178 * Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme
179 - Code cleanup
180 - Move ACL configuration in a separated page
181 - User level ACL support
182
183 * Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme
184 - Hide Recycle Bin dir if recycle is disabled
185
186 * Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme
187 - Fix Ajaxplorer field display when the form has an error
188
189 * Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme
190 - Stop removing exec perm
191 - use --physical for setfacl (don't follow symlinks)
192
193 * Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme
194 - Add wide links samba option
195
196 * Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme
197 - Use recursive setfacl command (should greatly speedup share modification)
198
199 * Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme
200 - Apply locale 2011-10-18 patch
201 - Enable FollowSymLinks if AllowOverride is set to All
202
203 * Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme
204 - Fix share creation when encfs is not installed
205
206 * Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme
207 - Don't check password length when encryption is disabled
208
209 * Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme
210 - Fix encrypted share list
211
212 * Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme
213 - Fix panel when ajaxplorer is not installed
214
215 * Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme
216 - Fix modification of unencrypted shares
217
218 * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme
219 - Apply locale 2011-07-05 patch
220
221 * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme
222 - Make encryption support optional
223 - Sanitize password field in userpanelEncfs
224 - Prevent deletion of mounted, encrypted shares
225
226 * Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme
227 - Enable samba auditing
228
229 * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme
230 - Fix Ajaxplorer fields on share creation
231
232 * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme
233 - Change the way ajaxplorer is integrated (add a new config section)
234
235 * Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme
236 - Add support for ajaxplorer
237
238 * Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme
239 - Set read only permissions on top dir of each share
240
241 * Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme
242 - Don't check password field if encryption is disabled
243
244 * Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme
245 - Add missing INACTIVITY entry in locale
246 - Apply locale 2011-05-17 patch
247
248 * Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme
249 - apply locale 2011-05-16 patch
250
251 * Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme
252 - Support encryption using EncFS
253
254 * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme
255 - apply locale 2011-04-27 patch
256
257 * Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme
258 - Fix removing empty directories in recycles
259
260 * Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme
261 - expand httpd.conf and restart apache on group-modify
262
263 * Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme
264 - Deduplicate writer user list in apache configuration
265 - Always grant web access to user admin
266
267 * Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme
268 - Fix setting ACLs on files starting with a dash [SME: 6500]
269
270 * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme
271 - Apply locale 2011-01-03 patch
272
273 * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme
274 - New prop PHPAllowUrlFopen
275
276 * Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme
277 - Print the group table when ManualPermissions is enabled
278 - Fix a warning in httpd.conf templates
279 - Use www as group owner of the root dir if httpAccess is enabled
280
281 * Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme
282 - Add new prop AliasOnPrimary to toggle alias on the system domain
283
284 * Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme
285 - Fix purge script
286
287 * Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme
288 - apply locale 2010-11-30 patch
289
290 * Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme
291 - Fix orig file removal the correct way
292
293 * Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme
294 - Remove .orig file
295
296 * Fri Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme
297 Wed Nov 26 2010 --> Wed Nov 24 2010 or Fri Nov 26 2010 or Wed Dec 01 2010 or ....
298 - Add webdav support
299 - add recycle purge support (with configurable retention time)
300
301 * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme
302 - Fix excludes separator for samba recyle bin [SME: 6379]
303 - Recycle bin directory can be configured (RecycleBinDir prop)
304 - Create the recyle bin directory if enabled
305 - Fix defaults ACL on dir (fix issues with recycle bin)
306
307 * Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme
308 - Fix permission on group delete
309 - apply local 2010-10-20 patch
310
311 * Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme
312 - apply locale 2010-07-19 patch
313
314 * Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme
315 - correct typos in en-us locale [SME: 6103]
316 - apply locale 2010-07-06 patch
317
318 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme
319 - apply locale 2010-05-23 patch
320
321 * Fri Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme
322 Thu Mar 26 2010 --> Thu Mar 25 2010 or Fri Mar 26 2010 or Thu Apr 01 2010 or ....
323 - apply locale 2010-03-26 patch (fix navigation-conf)
324
325 * Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme
326 - apply locale 2010-03-25 patch
327
328 * Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme
329 - really apply manual_permissions patch
330
331 * Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme
332 - Add an option to allow manual permissions (ManualPermissions)
333 - remove unused .orig file
334 - Exec CGI in cgi-bin directories
335
336 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme
337 - apply locale 2010-03-02 patch
338
339 * Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme
340 - apply locale 2009-11-17 patch
341
342 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme
343 - apply locale 2009-10-27 patch
344
345 * Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme
346 - apply locale 2009-10-21 patch
347
348 * Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme
349 - apply locale 2009-10-20 patch
350
351 * Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme
352 - apply locale 2009-09-28 patch
353
354 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme
355 - apply locale 2009-08-24 patch
356
357 * Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme
358 - Apply locale 2009-07-22 patch
359
360 * Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8]
361 - Apply locale 2009-06-15 patch
362
363 * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7]
364 - Include hosts/networks defined in $externalSSLAccess for local access
365 (httpAccess)
366
367 * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6]
368 - Apply locale 2009-05-25 patch
369
370 * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5]
371 - Add an empty template-begin for smb.conf template
372 - Add locale 2009-05-21 patch (en-us)
373
374 * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
375 - apply locale 2009-05-21 patch
376
377 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme
378 - apply locale 2009-05-20 patch
379
380 * Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
381 - add http access, with some options in the panel
382 - present the keepversion option of the recylcebin in the panel
383 - changes in db keys
384 - remove some descriptions in the panel
385 - optimization in share-modify to limit the time needed
386 to reset permissions
387
388 * Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
389 - Add locale patch 2009-05-05
390
391 * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3]
392 - Add acl option in fstab via the template system
393 (just like usrquota and grpquota)
394
395 * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2]
396 - Rename spec file
397
398 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1]
399 - Rename maxIbayNameLength to maxShareNameLength
400
401 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0]
402 - Initial release.
403
404 %prep
405 %setup
406 %patch0 -p1
407 %patch1 -p1
408 %patch2 -p1
409 %patch3 -p1
410 %patch4 -p1
411 %patch5 -p1
412 %patch6 -p1
413 %patch7 -p1
414 %patch8 -p1
415 %patch9 -p1
416 %patch10 -p1
417 %patch11 -p1
418 %patch12 -p1
419 %patch13 -p1
420 %patch14 -p1
421
422 %pre
423 /usr/sbin/useradd -c "Rsyncd User" \
424 -s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || :
425
426 %post
427
428 %build
429 # Force creation of potentially empty directories
430 mkdir -p root/etc/e-smith/web/{common,functions}
431 mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html}
432 mkdir -p root/home/e-smith/files/shares
433 mkdir -p root/var/log/rsyncd
434 mkdir -p root/home/e-smith/db/shares
435
436 perl createlinks
437
438 %install
439 rm -rf $RPM_BUILD_ROOT
440 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
441 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
442 --file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \
443 --file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \
444 --file /var/service/rsyncd/run 'attr(0755,root,root)' \
445 --file /var/service/rsyncd/log/run 'attr(0755,root,root)' \
446 --dir /var/log/rsyncd 'attr(0770,root,smelog)' \
447 --dir /home/e-smith/db/shares 'attr(0750,root,root)' \
448 > %{name}-%{version}-%{release}-filelist
449 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
450
451 %clean
452 rm -rf $RPM_BUILD_ROOT
453
454 %files -f %{name}-%{version}-%{release}-filelist
455 %defattr(-,root,root)

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