1 |
# $Id: smeserver-shared-folders.spec,v 1.57 2011/08/04 10:51:40 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.1 |
9 |
%define release 55 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
|
16 |
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
17 |
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
18 |
Patch2: smeserver-shared-folders-0.1-locale-2009-05-05.patch |
19 |
Patch3: smeserver-shared-folders-0.1-optimize_permissions.patch |
20 |
Patch4: smeserver-shared-folders-0.1-extended_access.patch |
21 |
Patch5: smeserver-shared-folders-0.1-keep_versions_in_panel.patch |
22 |
Patch6: smeserver-shared-folders-0.1-locale_extended_access.patch |
23 |
Patch7: smeserver-shared-folders-0.1-locale_add_description.patch |
24 |
Patch8: smeserver-shared-folders-0.1-remove_desc.patch |
25 |
Patch9: smeserver-shared-folders-0.1-http_skip_wrong_values.patch |
26 |
Patch10: smeserver-shared-folders-0.1-locale-2009-05-20.patch |
27 |
Patch11: smeserver-shared-folders-0.1-locale-2009-05-21.patch |
28 |
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
29 |
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
30 |
Patch14: smeserver-shared-folders-0.1-locale-2009-05-25.patch |
31 |
Patch15: smeserver-shared-folders-0.1-external_ssl_as_local.patch |
32 |
Patch16: smeserver-shared-folders-0.1-locale-2009-06-15.patch |
33 |
Patch17: smeserver-shared-folders-0.1-locale-2009-07-22.patch |
34 |
Patch18: smeserver-shared-folders-0.1-locale-2009-08-24.patch |
35 |
Patch19: smeserver-shared-folders-0.1-locale-2009-09-28.patch |
36 |
Patch20: smeserver-shared-folders-0.1-locale-2009-10-20.patch |
37 |
Patch21: smeserver-shared-folders-0.1-locale-2009-10-21.patch |
38 |
Patch22: smeserver-shared-folders-0.1-locale-2009-10-27.patch |
39 |
Patch23: smeserver-shared-folders-0.1-locale-2009-11-17.patch |
40 |
Patch24: smeserver-shared-folders-0.1-locale-2010-03-02.patch |
41 |
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
42 |
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
43 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
46 |
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
50 |
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
51 |
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
53 |
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
54 |
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
55 |
Patch39: smeserver-shared-folders-0.1-locale-2010-11-30.patch |
56 |
Patch40: smeserver-shared-folders-0.1-fix_purge_script.patch |
57 |
Patch41: smeserver-shared-folders-0.1-prop_alias_on_primary.patch |
58 |
Patch42: smeserver-shared-folders-0.1-print_group_table_with_manual_perms.patch |
59 |
Patch43: smeserver-shared-folders-0.1-update_manual_perms_warning.patch |
60 |
Patch44: smeserver-shared-folders-0.1-fix_warning_in_httpd_template.patch |
61 |
Patch45: smeserver-shared-folders-0.1-fix_www_access.patch |
62 |
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
63 |
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
64 |
Patch48: smeserver-shared-folders-0.1-fix_files_starting_with_dash.patch |
65 |
Patch49: smeserver-shared-folders-0.1-dedup_writers.patch |
66 |
Patch50: smeserver-shared-folders-0.1-expand_and_restart_http_on_group_mod.patch |
67 |
Patch51: smeserver-shared-folders-0.1-fix_recycle_purge_script.patch |
68 |
Patch52: smeserver-shared-folders-0.1-locale-2011-04-27.patch |
69 |
Patch53: smeserver-shared-folders-0.1-encfs.patch |
70 |
Patch54: smeserver-shared-folders-0.1-locale-2011-05-16.patch |
71 |
Patch55: smeserver-shared-folders-0.1-add_missing_inactivity_entry.patch |
72 |
Patch56: smeserver-shared-folders-0.1-locale-2011-05-17.patch |
73 |
Patch57: smeserver-shared-folders-0.1-dont_check_pass_if_enc_is_off.patch |
74 |
Patch58: smeserver-shared-folders-0.1-ro_on_top_dir.patch |
75 |
Patch59: smeserver-shared-folders-0.1-add_ajaxplorer_support.patch |
76 |
Patch60: smeserver-shared-folders-0.1-samba_audit.patch |
77 |
Patch61: smeserver-shared-folders-0.1-make_encfs_optional.patch |
78 |
Patch62: smeserver-shared-folders-0.1-locale-2011-07-05.patch |
79 |
Patch63: smeserver-shared-folders-0.1-fix_unencrypted_shares_modify.patch |
80 |
Patch64: smeserver-shared-folders-0.1-fix_when_ajaxplorer_is_not_installed.patch |
81 |
Patch65: smeserver-shared-folders-0.1-fix_encrypted_share_list.patch |
82 |
Patch66: smeserver-shared-folders-0.1-dont_check_passwd_if_encrypt_disabled.patch |
83 |
Patch67: smeserver-shared-folders-0.1-fix_creation_without_encfs.patch |
84 |
|
85 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
86 |
BuildArchitectures: noarch |
87 |
Requires: e-smith-base >= 4.13.15-76 |
88 |
Requires: perl(CGI::FormMagick) |
89 |
Requires: e-smith-formmagick >= 1.4.0-12 |
90 |
Requires: smeserver-mod_dav |
91 |
Requires: acl |
92 |
|
93 |
BuildRequires: perl |
94 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
95 |
|
96 |
|
97 |
%description |
98 |
This module allows you to create network shares |
99 |
with more flexibility than ibays as it supports ACLs |
100 |
|
101 |
%changelog |
102 |
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
103 |
- Fix share creation when encfs is not installed |
104 |
|
105 |
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
106 |
- Don't check password length when encryption is disabled |
107 |
|
108 |
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
109 |
- Fix encrypted share list |
110 |
|
111 |
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
112 |
- Fix panel when ajaxplorer is not installed |
113 |
|
114 |
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
115 |
- Fix modification of unencrypted shares |
116 |
|
117 |
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
118 |
- Apply locale 2011-07-05 patch |
119 |
|
120 |
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
121 |
- Make encryption support optional |
122 |
- Sanitize password field in userpanelEncfs |
123 |
- Prevent deletion of mounted, encrypted shares |
124 |
|
125 |
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
126 |
- Enable samba auditing |
127 |
|
128 |
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
129 |
- Fix Ajaxplorer fields on share creation |
130 |
|
131 |
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
132 |
- Change the way ajaxplorer is integrated (add a new config section) |
133 |
|
134 |
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
135 |
- Add support for ajaxplorer |
136 |
|
137 |
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
138 |
- Set read only permissions on top dir of each share |
139 |
|
140 |
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
141 |
- Don't check password field if encryption is disabled |
142 |
|
143 |
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
144 |
- Add missing INACTIVITY entry in locale |
145 |
- Apply locale 2011-05-17 patch |
146 |
|
147 |
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
148 |
- apply locale 2011-05-16 patch |
149 |
|
150 |
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
151 |
- Support encryption using EncFS |
152 |
|
153 |
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
154 |
- apply locale 2011-04-27 patch |
155 |
|
156 |
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
157 |
- Fix removing empty directories in recycles |
158 |
|
159 |
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
160 |
- expand httpd.conf and restart apache on group-modify |
161 |
|
162 |
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
163 |
- Deduplicate writer user list in apache configuration |
164 |
- Always grant web access to user admin |
165 |
|
166 |
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
167 |
- Fix setting ACLs on files starting with a dash [SME: 6500] |
168 |
|
169 |
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
170 |
- Apply locale 2011-01-03 patch |
171 |
|
172 |
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
173 |
- New prop PHPAllowUrlFopen |
174 |
|
175 |
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
176 |
- Print the group table when ManualPermissions is enabled |
177 |
- Fix a warning in httpd.conf templates |
178 |
- Use www as group owner of the root dir if httpAccess is enabled |
179 |
|
180 |
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
181 |
- Add new prop AliasOnPrimary to toggle alias on the system domain |
182 |
|
183 |
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
184 |
- Fix purge script |
185 |
|
186 |
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
187 |
- apply locale 2010-11-30 patch |
188 |
|
189 |
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
190 |
- Fix orig file removal the correct way |
191 |
|
192 |
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
193 |
- Remove .orig file |
194 |
|
195 |
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
196 |
- Add webdav support |
197 |
- add recycle purge support (with configurable retention time) |
198 |
|
199 |
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
200 |
- Fix excludes separator for samba recyle bin [SME: 6379] |
201 |
- Recycle bin directory can be configured (RecycleBinDir prop) |
202 |
- Create the recyle bin directory if enabled |
203 |
- Fix defaults ACL on dir (fix issues with recycle bin) |
204 |
|
205 |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
206 |
- Fix permission on group delete |
207 |
- apply local 2010-10-20 patch |
208 |
|
209 |
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
210 |
- apply locale 2010-07-19 patch |
211 |
|
212 |
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
213 |
- correct typos in en-us locale [SME: 6103] |
214 |
- apply locale 2010-07-06 patch |
215 |
|
216 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
217 |
- apply locale 2010-05-23 patch |
218 |
|
219 |
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
220 |
- apply locale 2010-03-26 patch (fix navigation-conf) |
221 |
|
222 |
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
223 |
- apply locale 2010-03-25 patch |
224 |
|
225 |
* Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme |
226 |
- really apply manual_permissions patch |
227 |
|
228 |
* Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme |
229 |
- Add an option to allow manual permissions (ManualPermissions) |
230 |
- remove unused .orig file |
231 |
- Exec CGI in cgi-bin directories |
232 |
|
233 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme |
234 |
- apply locale 2010-03-02 patch |
235 |
|
236 |
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
237 |
- apply locale 2009-11-17 patch |
238 |
|
239 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
240 |
- apply locale 2009-10-27 patch |
241 |
|
242 |
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
243 |
- apply locale 2009-10-21 patch |
244 |
|
245 |
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
246 |
- apply locale 2009-10-20 patch |
247 |
|
248 |
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
249 |
- apply locale 2009-09-28 patch |
250 |
|
251 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
252 |
- apply locale 2009-08-24 patch |
253 |
|
254 |
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
255 |
- Apply locale 2009-07-22 patch |
256 |
|
257 |
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
258 |
- Apply locale 2009-06-15 patch |
259 |
|
260 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
261 |
- Include hosts/networks defined in $externalSSLAccess for local access |
262 |
(httpAccess) |
263 |
|
264 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
265 |
- Apply locale 2009-05-25 patch |
266 |
|
267 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
268 |
- Add an empty template-begin for smb.conf template |
269 |
- Add locale 2009-05-21 patch (en-us) |
270 |
|
271 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
272 |
- apply locale 2009-05-21 patch |
273 |
|
274 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme |
275 |
- apply locale 2009-05-20 patch |
276 |
|
277 |
* Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2] |
278 |
- add http access, with some options in the panel |
279 |
- present the keepversion option of the recylcebin in the panel |
280 |
- changes in db keys |
281 |
- remove some descriptions in the panel |
282 |
- optimization in share-modify to limit the time needed |
283 |
to reset permissions |
284 |
|
285 |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
286 |
- Add locale patch 2009-05-05 |
287 |
|
288 |
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3] |
289 |
- Add acl option in fstab via the template system |
290 |
(just like usrquota and grpquota) |
291 |
|
292 |
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2] |
293 |
- Rename spec file |
294 |
|
295 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1] |
296 |
- Rename maxIbayNameLength to maxShareNameLength |
297 |
|
298 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0] |
299 |
- Initial release. |
300 |
|
301 |
%prep |
302 |
%setup |
303 |
|
304 |
%patch0 -p1 |
305 |
%patch1 -p1 |
306 |
%patch2 -p1 |
307 |
%patch3 -p1 |
308 |
%patch4 -p1 |
309 |
%patch5 -p1 |
310 |
%patch6 -p1 |
311 |
%patch7 -p1 |
312 |
%patch8 -p1 |
313 |
%patch9 -p1 |
314 |
%patch10 -p1 |
315 |
%patch11 -p1 |
316 |
%patch12 -p1 |
317 |
%patch13 -p1 |
318 |
%patch14 -p1 |
319 |
%patch15 -p1 |
320 |
%patch16 -p1 |
321 |
%patch17 -p1 |
322 |
%patch18 -p1 |
323 |
%patch19 -p1 |
324 |
%patch20 -p1 |
325 |
%patch21 -p1 |
326 |
%patch22 -p1 |
327 |
%patch23 -p1 |
328 |
%patch24 -p1 |
329 |
%patch25 -p1 |
330 |
%patch26 -p1 |
331 |
%patch27 -p1 |
332 |
%patch28 -p1 |
333 |
%patch29 -p1 |
334 |
%patch30 -p1 |
335 |
%patch31 -p1 |
336 |
%patch32 -p1 |
337 |
%patch33 -p1 |
338 |
%patch34 -p1 |
339 |
%patch35 -p1 |
340 |
%patch36 -p1 |
341 |
%patch37 -p1 |
342 |
%patch38 -p1 |
343 |
%patch39 -p1 |
344 |
%patch40 -p1 |
345 |
%patch41 -p1 |
346 |
%patch42 -p1 |
347 |
%patch43 -p1 |
348 |
%patch44 -p1 |
349 |
%patch45 -p1 |
350 |
%patch46 -p1 |
351 |
%patch47 -p1 |
352 |
%patch48 -p1 |
353 |
%patch49 -p1 |
354 |
%patch50 -p1 |
355 |
%patch51 -p1 |
356 |
%patch52 -p1 |
357 |
%patch53 -p1 |
358 |
%patch54 -p1 |
359 |
%patch55 -p1 |
360 |
%patch56 -p1 |
361 |
%patch57 -p1 |
362 |
%patch58 -p1 |
363 |
%patch59 -p1 |
364 |
%patch60 -p1 |
365 |
%patch61 -p1 |
366 |
%patch62 -p1 |
367 |
%patch63 -p1 |
368 |
%patch64 -p1 |
369 |
%patch65 -p1 |
370 |
%patch66 -p1 |
371 |
%patch67 -p1 |
372 |
|
373 |
%pre |
374 |
%post |
375 |
|
376 |
%build |
377 |
# Force creation of potentially empty directories |
378 |
mkdir -p root/etc/e-smith/web/{common,functions} |
379 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
380 |
mkdir -p root/home/e-smith/files/shares |
381 |
|
382 |
perl createlinks |
383 |
|
384 |
%install |
385 |
rm -rf $RPM_BUILD_ROOT |
386 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
387 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
388 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
389 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
390 |
> %{name}-%{version}-%{release}-filelist |
391 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
392 |
|
393 |
%clean |
394 |
rm -rf $RPM_BUILD_ROOT |
395 |
|
396 |
%files -f %{name}-%{version}-%{release}-filelist |
397 |
%defattr(-,root,root) |