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.69 2012/02/18 20:38: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 6 |
%define release 67 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
28 |
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
29 |
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
30 |
Patch14: smeserver-shared-folders-0.1-locale-2009-05-25.patch |
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 |
|
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 |
|
Patch71: smeserver-shared-folders-0.1-samba_wide_links.patch |
88 |
|
Patch72: smeserver-shared-folders-0.1-setfacl_physical.patch |
89 |
|
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
90 |
|
Patch74: smeserver-shared-folders-0.1-hide_trash_if_disabled.patch |
91 |
|
Patch75: smeserver-shared-folders-0.1-users_acl.patch |
92 |
|
Patch76: smeserver-shared-folders-0.1-fixe_users_locale.patch |
93 |
|
Patch77: smeserver-shared-folders-0.1-http_remove_ro_from_rw.patch |
94 |
|
Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch |
95 |
|
Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch |
96 |
|
Patch80: smeserver-shared-folders-0.1-locale-2012-02-18.patch |
97 |
|
Patch81: smeserver-shared-folders-0.1-rsyncd.patch |
98 |
|
|
99 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
100 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
101 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
102 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
103 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
104 |
|
Requires: smeserver-mod_dav |
105 |
Requires: acl |
Requires: acl |
106 |
|
|
107 |
BuildRequires: perl |
BuildRequires: perl |
108 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
109 |
|
|
113 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
114 |
|
|
115 |
%changelog |
%changelog |
116 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
117 |
|
- Add rsyncd support |
118 |
|
|
119 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
120 |
|
- Fix bg locale |
121 |
|
|
122 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
123 |
|
- Fix root ACL for users |
124 |
|
- Apply locale 2012-02-18 patch |
125 |
|
|
126 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
127 |
|
- In http access, remove ro users from rw list |
128 |
|
- templates cleanup |
129 |
|
|
130 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
131 |
|
- Replace fr with correct en-us locale for USERS entry |
132 |
|
|
133 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
134 |
|
- Code cleanup |
135 |
|
- Move ACL configuration in a separated page |
136 |
|
- User level ACL support |
137 |
|
|
138 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
139 |
|
- Hide Recycle Bin dir if recycle is disabled |
140 |
|
|
141 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
142 |
|
- Fix Ajaxplorer field display when the form has an error |
143 |
|
|
144 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
145 |
|
- Stop removing exec perm |
146 |
|
- use --physical for setfacl (don't follow symlinks) |
147 |
|
|
148 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
149 |
|
- Add wide links samba option |
150 |
|
|
151 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
152 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
153 |
|
|
154 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
155 |
|
- Apply locale 2011-10-18 patch |
156 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
157 |
|
|
158 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
159 |
|
- Fix share creation when encfs is not installed |
160 |
|
|
161 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
162 |
|
- Don't check password length when encryption is disabled |
163 |
|
|
164 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
165 |
|
- Fix encrypted share list |
166 |
|
|
167 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
168 |
|
- Fix panel when ajaxplorer is not installed |
169 |
|
|
170 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
171 |
|
- Fix modification of unencrypted shares |
172 |
|
|
173 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
174 |
|
- Apply locale 2011-07-05 patch |
175 |
|
|
176 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
177 |
|
- Make encryption support optional |
178 |
|
- Sanitize password field in userpanelEncfs |
179 |
|
- Prevent deletion of mounted, encrypted shares |
180 |
|
|
181 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
182 |
|
- Enable samba auditing |
183 |
|
|
184 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
185 |
|
- Fix Ajaxplorer fields on share creation |
186 |
|
|
187 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
188 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
189 |
|
|
190 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
191 |
|
- Add support for ajaxplorer |
192 |
|
|
193 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
194 |
|
- Set read only permissions on top dir of each share |
195 |
|
|
196 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
197 |
|
- Don't check password field if encryption is disabled |
198 |
|
|
199 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
200 |
|
- Add missing INACTIVITY entry in locale |
201 |
|
- Apply locale 2011-05-17 patch |
202 |
|
|
203 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
204 |
|
- apply locale 2011-05-16 patch |
205 |
|
|
206 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
207 |
|
- Support encryption using EncFS |
208 |
|
|
209 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
210 |
|
- apply locale 2011-04-27 patch |
211 |
|
|
212 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
213 |
|
- Fix removing empty directories in recycles |
214 |
|
|
215 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
216 |
|
- expand httpd.conf and restart apache on group-modify |
217 |
|
|
218 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
219 |
|
- Deduplicate writer user list in apache configuration |
220 |
|
- Always grant web access to user admin |
221 |
|
|
222 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
223 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
224 |
|
|
225 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
226 |
|
- Apply locale 2011-01-03 patch |
227 |
|
|
228 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
229 |
|
- New prop PHPAllowUrlFopen |
230 |
|
|
231 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
232 |
|
- Print the group table when ManualPermissions is enabled |
233 |
|
- Fix a warning in httpd.conf templates |
234 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
235 |
|
|
236 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
237 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
238 |
|
|
239 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
240 |
|
- Fix purge script |
241 |
|
|
242 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
243 |
|
- apply locale 2010-11-30 patch |
244 |
|
|
245 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
246 |
|
- Fix orig file removal the correct way |
247 |
|
|
248 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
249 |
|
- Remove .orig file |
250 |
|
|
251 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
252 |
|
- Add webdav support |
253 |
|
- add recycle purge support (with configurable retention time) |
254 |
|
|
255 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
256 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
257 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
258 |
|
- Create the recyle bin directory if enabled |
259 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
260 |
|
|
261 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
262 |
|
- Fix permission on group delete |
263 |
|
- apply local 2010-10-20 patch |
264 |
|
|
265 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
266 |
|
- apply locale 2010-07-19 patch |
267 |
|
|
268 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
269 |
|
- correct typos in en-us locale [SME: 6103] |
270 |
|
- apply locale 2010-07-06 patch |
271 |
|
|
272 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
273 |
|
- apply locale 2010-05-23 patch |
274 |
|
|
275 |
|
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
276 |
|
- apply locale 2010-03-26 patch (fix navigation-conf) |
277 |
|
|
278 |
|
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
279 |
|
- apply locale 2010-03-25 patch |
280 |
|
|
281 |
|
* Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme |
282 |
|
- really apply manual_permissions patch |
283 |
|
|
284 |
|
* Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme |
285 |
|
- Add an option to allow manual permissions (ManualPermissions) |
286 |
|
- remove unused .orig file |
287 |
|
- Exec CGI in cgi-bin directories |
288 |
|
|
289 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme |
290 |
|
- apply locale 2010-03-02 patch |
291 |
|
|
292 |
|
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
293 |
|
- apply locale 2009-11-17 patch |
294 |
|
|
295 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
296 |
|
- apply locale 2009-10-27 patch |
297 |
|
|
298 |
|
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
299 |
|
- apply locale 2009-10-21 patch |
300 |
|
|
301 |
|
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
302 |
|
- apply locale 2009-10-20 patch |
303 |
|
|
304 |
|
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
305 |
|
- apply locale 2009-09-28 patch |
306 |
|
|
307 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
308 |
|
- apply locale 2009-08-24 patch |
309 |
|
|
310 |
|
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
311 |
|
- Apply locale 2009-07-22 patch |
312 |
|
|
313 |
|
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
314 |
|
- Apply locale 2009-06-15 patch |
315 |
|
|
316 |
|
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
317 |
|
- Include hosts/networks defined in $externalSSLAccess for local access |
318 |
|
(httpAccess) |
319 |
|
|
320 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
321 |
- Apply locale 2009-05-25 patch |
- Apply locale 2009-05-25 patch |
322 |
|
|
335 |
- present the keepversion option of the recylcebin in the panel |
- present the keepversion option of the recylcebin in the panel |
336 |
- changes in db keys |
- changes in db keys |
337 |
- remove some descriptions in the panel |
- remove some descriptions in the panel |
338 |
- optimization in share-modiffy to limit the time needed |
- optimization in share-modify to limit the time needed |
339 |
to reset permissions |
to reset permissions |
340 |
|
|
341 |
* 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] |
372 |
%patch12 -p1 |
%patch12 -p1 |
373 |
%patch13 -p1 |
%patch13 -p1 |
374 |
%patch14 -p1 |
%patch14 -p1 |
375 |
|
%patch15 -p1 |
376 |
|
%patch16 -p1 |
377 |
|
%patch17 -p1 |
378 |
|
%patch18 -p1 |
379 |
|
%patch19 -p1 |
380 |
|
%patch20 -p1 |
381 |
|
%patch21 -p1 |
382 |
|
%patch22 -p1 |
383 |
|
%patch23 -p1 |
384 |
|
%patch24 -p1 |
385 |
|
%patch25 -p1 |
386 |
|
%patch26 -p1 |
387 |
|
%patch27 -p1 |
388 |
|
%patch28 -p1 |
389 |
|
%patch29 -p1 |
390 |
|
%patch30 -p1 |
391 |
|
%patch31 -p1 |
392 |
|
%patch32 -p1 |
393 |
|
%patch33 -p1 |
394 |
|
%patch34 -p1 |
395 |
|
%patch35 -p1 |
396 |
|
%patch36 -p1 |
397 |
|
%patch37 -p1 |
398 |
|
%patch38 -p1 |
399 |
|
%patch39 -p1 |
400 |
|
%patch40 -p1 |
401 |
|
%patch41 -p1 |
402 |
|
%patch42 -p1 |
403 |
|
%patch43 -p1 |
404 |
|
%patch44 -p1 |
405 |
|
%patch45 -p1 |
406 |
|
%patch46 -p1 |
407 |
|
%patch47 -p1 |
408 |
|
%patch48 -p1 |
409 |
|
%patch49 -p1 |
410 |
|
%patch50 -p1 |
411 |
|
%patch51 -p1 |
412 |
|
%patch52 -p1 |
413 |
|
%patch53 -p1 |
414 |
|
%patch54 -p1 |
415 |
|
%patch55 -p1 |
416 |
|
%patch56 -p1 |
417 |
|
%patch57 -p1 |
418 |
|
%patch58 -p1 |
419 |
|
%patch59 -p1 |
420 |
|
%patch60 -p1 |
421 |
|
%patch61 -p1 |
422 |
|
%patch62 -p1 |
423 |
|
%patch63 -p1 |
424 |
|
%patch64 -p1 |
425 |
|
%patch65 -p1 |
426 |
|
%patch66 -p1 |
427 |
|
%patch67 -p1 |
428 |
|
%patch68 -p1 |
429 |
|
%patch69 -p1 |
430 |
|
%patch70 -p1 |
431 |
|
%patch71 -p1 |
432 |
|
%patch72 -p1 |
433 |
|
%patch73 -p1 |
434 |
|
%patch74 -p1 |
435 |
|
%patch75 -p1 |
436 |
|
%patch76 -p1 |
437 |
|
%patch77 -p1 |
438 |
|
%patch78 -p1 |
439 |
|
%patch79 -p1 |
440 |
|
%patch80 -p1 |
441 |
|
%patch81 -p1 |
442 |
|
|
443 |
%pre |
%pre |
444 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
445 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
446 |
|
|
447 |
%post |
%post |
448 |
|
|
449 |
%build |
%build |
451 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
452 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
453 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
454 |
|
mkdir -p root/var/log/rsyncd |
455 |
|
|
456 |
perl createlinks |
perl createlinks |
457 |
|
|
459 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
460 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
461 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
462 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
463 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
464 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
465 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
466 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
467 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
468 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
469 |
|
|