/[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.8 - (show annotations) (download)
Mon Aug 1 04:17:51 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_3-18_el7_sme
Changes since 1.7: +7 -2 lines
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-18.sme
- update to httpd 2.4 access syntax [SME: 12060]
  removed compat lines, added requires e-smith-apache >= 2.6.0-19

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

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