1 |
# $Id: e-smith-shared-folders.spec,v 1.0 2009/04/08 20:02:28 VIP-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.44 2011/05/16 08:28:48 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 1 |
%define release 42 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
16 |
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
17 |
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
18 |
Patch2: smeserver-shared-folders-0.1-locale-2009-05-05.patch |
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 |
|
|
74 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
75 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
76 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
77 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
78 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
79 |
|
Requires: smeserver-mod_dav |
80 |
Requires: acl |
Requires: acl |
81 |
|
Requires: fuse-encfs |
82 |
|
|
83 |
BuildRequires: perl |
BuildRequires: perl |
84 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
85 |
|
|
86 |
|
|
87 |
%description |
%description |
88 |
This module allows you to create network shares (only samba is supported for now) |
This module allows you to create network shares |
89 |
with more flexibility than ibay as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
90 |
|
|
91 |
%changelog |
%changelog |
92 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
93 |
|
- Add missing INACTIVITY entry in locale |
94 |
|
- Apply locale 2011-05-17 patch |
95 |
|
|
96 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
97 |
|
- apply locale 2011-05-16 patch |
98 |
|
|
99 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
100 |
|
- Support encryption using EncFS |
101 |
|
|
102 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
103 |
|
- apply locale 2011-04-27 patch |
104 |
|
|
105 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
106 |
|
- Fix removing empty directories in recycles |
107 |
|
|
108 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
109 |
|
- expand httpd.conf and restart apache on group-modify |
110 |
|
|
111 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
112 |
|
- Deduplicate writer user list in apache configuration |
113 |
|
- Always grant web access to user admin |
114 |
|
|
115 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
116 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
117 |
|
|
118 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
119 |
|
- Apply locale 2011-01-03 patch |
120 |
|
|
121 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
122 |
|
- New prop PHPAllowUrlFopen |
123 |
|
|
124 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
125 |
|
- Print the group table when ManualPermissions is enabled |
126 |
|
- Fix a warning in httpd.conf templates |
127 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
128 |
|
|
129 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
130 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
131 |
|
|
132 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
133 |
|
- Fix purge script |
134 |
|
|
135 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
136 |
|
- apply locale 2010-11-30 patch |
137 |
|
|
138 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
139 |
|
- Fix orig file removal the correct way |
140 |
|
|
141 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
142 |
|
- Remove .orig file |
143 |
|
|
144 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
145 |
|
- Add webdav support |
146 |
|
- add recycle purge support (with configurable retention time) |
147 |
|
|
148 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
149 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
150 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
151 |
|
- Create the recyle bin directory if enabled |
152 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
153 |
|
|
154 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
155 |
|
- Fix permission on group delete |
156 |
|
- apply local 2010-10-20 patch |
157 |
|
|
158 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
159 |
|
- apply locale 2010-07-19 patch |
160 |
|
|
161 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
162 |
|
- correct typos in en-us locale [SME: 6103] |
163 |
|
- apply locale 2010-07-06 patch |
164 |
|
|
165 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
166 |
|
- apply locale 2010-05-23 patch |
167 |
|
|
168 |
|
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
169 |
|
- apply locale 2010-03-26 patch (fix navigation-conf) |
170 |
|
|
171 |
|
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
172 |
|
- apply locale 2010-03-25 patch |
173 |
|
|
174 |
|
* Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme |
175 |
|
- really apply manual_permissions patch |
176 |
|
|
177 |
|
* Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme |
178 |
|
- Add an option to allow manual permissions (ManualPermissions) |
179 |
|
- remove unused .orig file |
180 |
|
- Exec CGI in cgi-bin directories |
181 |
|
|
182 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme |
183 |
|
- apply locale 2010-03-02 patch |
184 |
|
|
185 |
|
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
186 |
|
- apply locale 2009-11-17 patch |
187 |
|
|
188 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
189 |
|
- apply locale 2009-10-27 patch |
190 |
|
|
191 |
|
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
192 |
|
- apply locale 2009-10-21 patch |
193 |
|
|
194 |
|
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
195 |
|
- apply locale 2009-10-20 patch |
196 |
|
|
197 |
|
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
198 |
|
- apply locale 2009-09-28 patch |
199 |
|
|
200 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
201 |
|
- apply locale 2009-08-24 patch |
202 |
|
|
203 |
|
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
204 |
|
- Apply locale 2009-07-22 patch |
205 |
|
|
206 |
|
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
207 |
|
- Apply locale 2009-06-15 patch |
208 |
|
|
209 |
|
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
210 |
|
- Include hosts/networks defined in $externalSSLAccess for local access |
211 |
|
(httpAccess) |
212 |
|
|
213 |
|
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
214 |
|
- Apply locale 2009-05-25 patch |
215 |
|
|
216 |
|
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
217 |
|
- Add an empty template-begin for smb.conf template |
218 |
|
- Add locale 2009-05-21 patch (en-us) |
219 |
|
|
220 |
|
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
221 |
|
- apply locale 2009-05-21 patch |
222 |
|
|
223 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme |
224 |
|
- apply locale 2009-05-20 patch |
225 |
|
|
226 |
|
* Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2] |
227 |
|
- add http access, with some options in the panel |
228 |
|
- present the keepversion option of the recylcebin in the panel |
229 |
|
- changes in db keys |
230 |
|
- remove some descriptions in the panel |
231 |
|
- optimization in share-modify to limit the time needed |
232 |
|
to reset permissions |
233 |
|
|
234 |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
235 |
- Add locale patch 2009-05-05 |
- Add locale patch 2009-05-05 |
236 |
|
|
253 |
%patch0 -p1 |
%patch0 -p1 |
254 |
%patch1 -p1 |
%patch1 -p1 |
255 |
%patch2 -p1 |
%patch2 -p1 |
256 |
|
%patch3 -p1 |
257 |
|
%patch4 -p1 |
258 |
|
%patch5 -p1 |
259 |
|
%patch6 -p1 |
260 |
|
%patch7 -p1 |
261 |
|
%patch8 -p1 |
262 |
|
%patch9 -p1 |
263 |
|
%patch10 -p1 |
264 |
|
%patch11 -p1 |
265 |
|
%patch12 -p1 |
266 |
|
%patch13 -p1 |
267 |
|
%patch14 -p1 |
268 |
|
%patch15 -p1 |
269 |
|
%patch16 -p1 |
270 |
|
%patch17 -p1 |
271 |
|
%patch18 -p1 |
272 |
|
%patch19 -p1 |
273 |
|
%patch20 -p1 |
274 |
|
%patch21 -p1 |
275 |
|
%patch22 -p1 |
276 |
|
%patch23 -p1 |
277 |
|
%patch24 -p1 |
278 |
|
%patch25 -p1 |
279 |
|
%patch26 -p1 |
280 |
|
%patch27 -p1 |
281 |
|
%patch28 -p1 |
282 |
|
%patch29 -p1 |
283 |
|
%patch30 -p1 |
284 |
|
%patch31 -p1 |
285 |
|
%patch32 -p1 |
286 |
|
%patch33 -p1 |
287 |
|
%patch34 -p1 |
288 |
|
%patch35 -p1 |
289 |
|
%patch36 -p1 |
290 |
|
%patch37 -p1 |
291 |
|
%patch38 -p1 |
292 |
|
%patch39 -p1 |
293 |
|
%patch40 -p1 |
294 |
|
%patch41 -p1 |
295 |
|
%patch42 -p1 |
296 |
|
%patch43 -p1 |
297 |
|
%patch44 -p1 |
298 |
|
%patch45 -p1 |
299 |
|
%patch46 -p1 |
300 |
|
%patch47 -p1 |
301 |
|
%patch48 -p1 |
302 |
|
%patch49 -p1 |
303 |
|
%patch50 -p1 |
304 |
|
%patch51 -p1 |
305 |
|
%patch52 -p1 |
306 |
|
%patch53 -p1 |
307 |
|
%patch54 -p1 |
308 |
|
%patch55 -p1 |
309 |
|
%patch56 -p1 |
310 |
|
|
311 |
%pre |
%pre |
312 |
%post |
%post |
323 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
324 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
325 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
326 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
327 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
328 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
329 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
330 |
|
|