/[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.1 - (show annotations) (download)
Thu Jul 23 17:47:21 2020 UTC (4 years, 4 months ago) by brianr
Branch: MAIN
Initial import

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

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