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

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

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


Revision 1.15 - (show annotations) (download)
Thu Jul 13 13:21:25 2017 UTC (7 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_3-10_el6_sme
Changes since 1.14: +5 -2 lines
* Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3-10.sme
- Missing \n in httpd templates when using mod_fastcgi

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

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