1 |
# $Id: smeserver-shared-folders.spec,v 1.22 2010/03/26 08:26:39 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.59 2011/10/18 16:47:39 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-shared-folders |
%define name smeserver-shared-folders |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.1 |
%define version 0.1 |
9 |
%define release 21 |
%define release 57 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
43 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
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 |
|
Patch68: smeserver-shared-folders-0.1-locale-2011-10-18.patch |
85 |
|
Patch69: smeserver-shared-folders-0.1-enable_followsymlinks_if_allowoverride_all.patch |
86 |
|
Patch70: smeserver-shared-folders-0.1-recursive_setfacl.patch |
87 |
|
|
88 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
89 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
90 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
91 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
92 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
93 |
|
Requires: smeserver-mod_dav |
94 |
Requires: acl |
Requires: acl |
95 |
|
|
96 |
BuildRequires: perl |
BuildRequires: perl |
97 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
98 |
|
|
102 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
103 |
|
|
104 |
%changelog |
%changelog |
105 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
106 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
107 |
|
|
108 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
109 |
|
- Apply locale 2011-10-18 patch |
110 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
111 |
|
|
112 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
113 |
|
- Fix share creation when encfs is not installed |
114 |
|
|
115 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
116 |
|
- Don't check password length when encryption is disabled |
117 |
|
|
118 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
119 |
|
- Fix encrypted share list |
120 |
|
|
121 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
122 |
|
- Fix panel when ajaxplorer is not installed |
123 |
|
|
124 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
125 |
|
- Fix modification of unencrypted shares |
126 |
|
|
127 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
128 |
|
- Apply locale 2011-07-05 patch |
129 |
|
|
130 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
131 |
|
- Make encryption support optional |
132 |
|
- Sanitize password field in userpanelEncfs |
133 |
|
- Prevent deletion of mounted, encrypted shares |
134 |
|
|
135 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
136 |
|
- Enable samba auditing |
137 |
|
|
138 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
139 |
|
- Fix Ajaxplorer fields on share creation |
140 |
|
|
141 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
142 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
143 |
|
|
144 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
145 |
|
- Add support for ajaxplorer |
146 |
|
|
147 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
148 |
|
- Set read only permissions on top dir of each share |
149 |
|
|
150 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
151 |
|
- Don't check password field if encryption is disabled |
152 |
|
|
153 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
154 |
|
- Add missing INACTIVITY entry in locale |
155 |
|
- Apply locale 2011-05-17 patch |
156 |
|
|
157 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
158 |
|
- apply locale 2011-05-16 patch |
159 |
|
|
160 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
161 |
|
- Support encryption using EncFS |
162 |
|
|
163 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
164 |
|
- apply locale 2011-04-27 patch |
165 |
|
|
166 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
167 |
|
- Fix removing empty directories in recycles |
168 |
|
|
169 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
170 |
|
- expand httpd.conf and restart apache on group-modify |
171 |
|
|
172 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
173 |
|
- Deduplicate writer user list in apache configuration |
174 |
|
- Always grant web access to user admin |
175 |
|
|
176 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
177 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
178 |
|
|
179 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
180 |
|
- Apply locale 2011-01-03 patch |
181 |
|
|
182 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
183 |
|
- New prop PHPAllowUrlFopen |
184 |
|
|
185 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
186 |
|
- Print the group table when ManualPermissions is enabled |
187 |
|
- Fix a warning in httpd.conf templates |
188 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
189 |
|
|
190 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
191 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
192 |
|
|
193 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
194 |
|
- Fix purge script |
195 |
|
|
196 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
197 |
|
- apply locale 2010-11-30 patch |
198 |
|
|
199 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
200 |
|
- Fix orig file removal the correct way |
201 |
|
|
202 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
203 |
|
- Remove .orig file |
204 |
|
|
205 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
206 |
|
- Add webdav support |
207 |
|
- add recycle purge support (with configurable retention time) |
208 |
|
|
209 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
210 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
211 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
212 |
|
- Create the recyle bin directory if enabled |
213 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
214 |
|
|
215 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
216 |
|
- Fix permission on group delete |
217 |
|
- apply local 2010-10-20 patch |
218 |
|
|
219 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
220 |
|
- apply locale 2010-07-19 patch |
221 |
|
|
222 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
223 |
|
- correct typos in en-us locale [SME: 6103] |
224 |
|
- apply locale 2010-07-06 patch |
225 |
|
|
226 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
227 |
- apply locale 2010-05-23 patch |
- apply locale 2010-05-23 patch |
228 |
|
|
336 |
%patch22 -p1 |
%patch22 -p1 |
337 |
%patch23 -p1 |
%patch23 -p1 |
338 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
339 |
%patch25 -p1 |
%patch25 -p1 |
340 |
%patch26 -p1 |
%patch26 -p1 |
341 |
%patch27 -p1 |
%patch27 -p1 |
342 |
%patch28 -p1 |
%patch28 -p1 |
343 |
%patch29 -p1 |
%patch29 -p1 |
344 |
|
%patch30 -p1 |
345 |
|
%patch31 -p1 |
346 |
|
%patch32 -p1 |
347 |
|
%patch33 -p1 |
348 |
|
%patch34 -p1 |
349 |
|
%patch35 -p1 |
350 |
|
%patch36 -p1 |
351 |
|
%patch37 -p1 |
352 |
|
%patch38 -p1 |
353 |
|
%patch39 -p1 |
354 |
|
%patch40 -p1 |
355 |
|
%patch41 -p1 |
356 |
|
%patch42 -p1 |
357 |
|
%patch43 -p1 |
358 |
|
%patch44 -p1 |
359 |
|
%patch45 -p1 |
360 |
|
%patch46 -p1 |
361 |
|
%patch47 -p1 |
362 |
|
%patch48 -p1 |
363 |
|
%patch49 -p1 |
364 |
|
%patch50 -p1 |
365 |
|
%patch51 -p1 |
366 |
|
%patch52 -p1 |
367 |
|
%patch53 -p1 |
368 |
|
%patch54 -p1 |
369 |
|
%patch55 -p1 |
370 |
|
%patch56 -p1 |
371 |
|
%patch57 -p1 |
372 |
|
%patch58 -p1 |
373 |
|
%patch59 -p1 |
374 |
|
%patch60 -p1 |
375 |
|
%patch61 -p1 |
376 |
|
%patch62 -p1 |
377 |
|
%patch63 -p1 |
378 |
|
%patch64 -p1 |
379 |
|
%patch65 -p1 |
380 |
|
%patch66 -p1 |
381 |
|
%patch67 -p1 |
382 |
|
%patch68 -p1 |
383 |
|
%patch69 -p1 |
384 |
|
%patch70 -p1 |
385 |
|
|
386 |
%pre |
%pre |
387 |
%post |
%post |
398 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
399 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
400 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
401 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
402 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
403 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
404 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
405 |
|
|