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.79 2012/10/11 08:29:34 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 77 |
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 |
|
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 |
|
Patch82: smeserver-shared-folders-0.1-webdav_access_when_no_auth_required.patch |
99 |
|
Patch83: smeserver-shared-folders-0.1-locale-2012-03-20.patch |
100 |
|
Patch84: smeserver-shared-folders-0.1-mod_perm_after_create.patch |
101 |
|
Patch85: smeserver-shared-folders-0.1-name_and_desc_on_perm_form.patch |
102 |
|
Patch86: smeserver-shared-folders-0.1-stop_disabling_unix_in_share_scope.patch |
103 |
|
Patch87: smeserver-shared-folders-0.1-set_www_user_acls.patch |
104 |
|
Patch88: smeserver-shared-folders-0.1-locale-2012-07-20.patch |
105 |
|
Patch89: smeserver-shared-folders-0.1-ftp_access.patch |
106 |
|
Patch90: smeserver-shared-folders-0.1-hide_and_non_removable.patch |
107 |
|
Patch91: smeserver-shared-folders-0.1-enc_shares_user_acl.patch |
108 |
|
Patch92: smeserver-shared-folders-0.1-locale-2012-10-11.patch |
109 |
|
Patch93: smeserver-shared-folders-0.1-share_name_starting_with_a_num.patch |
110 |
|
|
111 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
112 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
113 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
114 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
115 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
116 |
|
Requires: smeserver-mod_dav |
117 |
Requires: acl |
Requires: acl |
118 |
|
|
119 |
BuildRequires: perl |
BuildRequires: perl |
120 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
121 |
|
|
125 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
126 |
|
|
127 |
%changelog |
%changelog |
128 |
|
* Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-77.sme |
129 |
|
- Allow share names starting with numbers (there's no reason to deny it) |
130 |
|
|
131 |
|
* Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme |
132 |
|
- Look at users ACL for encrypted shares list |
133 |
|
- Apply locale 2012-10-11 patch |
134 |
|
|
135 |
|
* Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme |
136 |
|
- add possibility to hide shares and to mark them non removable |
137 |
|
|
138 |
|
* Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme |
139 |
|
- Enable FTP access |
140 |
|
|
141 |
|
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme |
142 |
|
- Apply locale 2012-07-20 patch |
143 |
|
|
144 |
|
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
145 |
|
- Explicitly set www acl so web access works even when only individual users |
146 |
|
have ACLs |
147 |
|
|
148 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
149 |
|
- Don't disable unix extension in share scope |
150 |
|
|
151 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
152 |
|
- Display permission form after creation |
153 |
|
- Display share name and desc in permission form |
154 |
|
|
155 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
156 |
|
- apply locale 2012-03-20 patch |
157 |
|
|
158 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
159 |
|
- Enable webdav even when no auth is required |
160 |
|
(but auth will still be required for write operations) |
161 |
|
|
162 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
163 |
|
- Add rsyncd support |
164 |
|
|
165 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
166 |
|
- Fix bg locale |
167 |
|
|
168 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
169 |
|
- Fix root ACL for users |
170 |
|
- Apply locale 2012-02-18 patch |
171 |
|
|
172 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
173 |
|
- In http access, remove ro users from rw list |
174 |
|
- templates cleanup |
175 |
|
|
176 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
177 |
|
- Replace fr with correct en-us locale for USERS entry |
178 |
|
|
179 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
180 |
|
- Code cleanup |
181 |
|
- Move ACL configuration in a separated page |
182 |
|
- User level ACL support |
183 |
|
|
184 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
185 |
|
- Hide Recycle Bin dir if recycle is disabled |
186 |
|
|
187 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
188 |
|
- Fix Ajaxplorer field display when the form has an error |
189 |
|
|
190 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
191 |
|
- Stop removing exec perm |
192 |
|
- use --physical for setfacl (don't follow symlinks) |
193 |
|
|
194 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
195 |
|
- Add wide links samba option |
196 |
|
|
197 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
198 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
199 |
|
|
200 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
201 |
|
- Apply locale 2011-10-18 patch |
202 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
203 |
|
|
204 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
205 |
|
- Fix share creation when encfs is not installed |
206 |
|
|
207 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
208 |
|
- Don't check password length when encryption is disabled |
209 |
|
|
210 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
211 |
|
- Fix encrypted share list |
212 |
|
|
213 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
214 |
|
- Fix panel when ajaxplorer is not installed |
215 |
|
|
216 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
217 |
|
- Fix modification of unencrypted shares |
218 |
|
|
219 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
220 |
|
- Apply locale 2011-07-05 patch |
221 |
|
|
222 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
223 |
|
- Make encryption support optional |
224 |
|
- Sanitize password field in userpanelEncfs |
225 |
|
- Prevent deletion of mounted, encrypted shares |
226 |
|
|
227 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
228 |
|
- Enable samba auditing |
229 |
|
|
230 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
231 |
|
- Fix Ajaxplorer fields on share creation |
232 |
|
|
233 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
234 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
235 |
|
|
236 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
237 |
|
- Add support for ajaxplorer |
238 |
|
|
239 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
240 |
|
- Set read only permissions on top dir of each share |
241 |
|
|
242 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
243 |
|
- Don't check password field if encryption is disabled |
244 |
|
|
245 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
246 |
|
- Add missing INACTIVITY entry in locale |
247 |
|
- Apply locale 2011-05-17 patch |
248 |
|
|
249 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
250 |
|
- apply locale 2011-05-16 patch |
251 |
|
|
252 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
253 |
|
- Support encryption using EncFS |
254 |
|
|
255 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
256 |
|
- apply locale 2011-04-27 patch |
257 |
|
|
258 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
259 |
|
- Fix removing empty directories in recycles |
260 |
|
|
261 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
262 |
|
- expand httpd.conf and restart apache on group-modify |
263 |
|
|
264 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
265 |
|
- Deduplicate writer user list in apache configuration |
266 |
|
- Always grant web access to user admin |
267 |
|
|
268 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
269 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
270 |
|
|
271 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
272 |
|
- Apply locale 2011-01-03 patch |
273 |
|
|
274 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
275 |
|
- New prop PHPAllowUrlFopen |
276 |
|
|
277 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
278 |
|
- Print the group table when ManualPermissions is enabled |
279 |
|
- Fix a warning in httpd.conf templates |
280 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
281 |
|
|
282 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
283 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
284 |
|
|
285 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
286 |
|
- Fix purge script |
287 |
|
|
288 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
289 |
|
- apply locale 2010-11-30 patch |
290 |
|
|
291 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
292 |
|
- Fix orig file removal the correct way |
293 |
|
|
294 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
295 |
|
- Remove .orig file |
296 |
|
|
297 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
298 |
|
- Add webdav support |
299 |
|
- add recycle purge support (with configurable retention time) |
300 |
|
|
301 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
302 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
303 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
304 |
|
- Create the recyle bin directory if enabled |
305 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
306 |
|
|
307 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
308 |
|
- Fix permission on group delete |
309 |
|
- apply local 2010-10-20 patch |
310 |
|
|
311 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
312 |
|
- apply locale 2010-07-19 patch |
313 |
|
|
314 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
315 |
|
- correct typos in en-us locale [SME: 6103] |
316 |
|
- apply locale 2010-07-06 patch |
317 |
|
|
318 |
* 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 |
319 |
- apply locale 2010-05-23 patch |
- apply locale 2010-05-23 patch |
320 |
|
|
428 |
%patch22 -p1 |
%patch22 -p1 |
429 |
%patch23 -p1 |
%patch23 -p1 |
430 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
431 |
%patch25 -p1 |
%patch25 -p1 |
432 |
%patch26 -p1 |
%patch26 -p1 |
433 |
%patch27 -p1 |
%patch27 -p1 |
434 |
%patch28 -p1 |
%patch28 -p1 |
435 |
%patch29 -p1 |
%patch29 -p1 |
436 |
|
%patch30 -p1 |
437 |
|
%patch31 -p1 |
438 |
|
%patch32 -p1 |
439 |
|
%patch33 -p1 |
440 |
|
%patch34 -p1 |
441 |
|
%patch35 -p1 |
442 |
|
%patch36 -p1 |
443 |
|
%patch37 -p1 |
444 |
|
%patch38 -p1 |
445 |
|
%patch39 -p1 |
446 |
|
%patch40 -p1 |
447 |
|
%patch41 -p1 |
448 |
|
%patch42 -p1 |
449 |
|
%patch43 -p1 |
450 |
|
%patch44 -p1 |
451 |
|
%patch45 -p1 |
452 |
|
%patch46 -p1 |
453 |
|
%patch47 -p1 |
454 |
|
%patch48 -p1 |
455 |
|
%patch49 -p1 |
456 |
|
%patch50 -p1 |
457 |
|
%patch51 -p1 |
458 |
|
%patch52 -p1 |
459 |
|
%patch53 -p1 |
460 |
|
%patch54 -p1 |
461 |
|
%patch55 -p1 |
462 |
|
%patch56 -p1 |
463 |
|
%patch57 -p1 |
464 |
|
%patch58 -p1 |
465 |
|
%patch59 -p1 |
466 |
|
%patch60 -p1 |
467 |
|
%patch61 -p1 |
468 |
|
%patch62 -p1 |
469 |
|
%patch63 -p1 |
470 |
|
%patch64 -p1 |
471 |
|
%patch65 -p1 |
472 |
|
%patch66 -p1 |
473 |
|
%patch67 -p1 |
474 |
|
%patch68 -p1 |
475 |
|
%patch69 -p1 |
476 |
|
%patch70 -p1 |
477 |
|
%patch71 -p1 |
478 |
|
%patch72 -p1 |
479 |
|
%patch73 -p1 |
480 |
|
%patch74 -p1 |
481 |
|
%patch75 -p1 |
482 |
|
%patch76 -p1 |
483 |
|
%patch77 -p1 |
484 |
|
%patch78 -p1 |
485 |
|
%patch79 -p1 |
486 |
|
%patch80 -p1 |
487 |
|
%patch81 -p1 |
488 |
|
%patch82 -p1 |
489 |
|
%patch83 -p1 |
490 |
|
%patch84 -p1 |
491 |
|
%patch85 -p1 |
492 |
|
%patch86 -p1 |
493 |
|
%patch87 -p1 |
494 |
|
%patch88 -p1 |
495 |
|
%patch89 -p1 |
496 |
|
%patch90 -p1 |
497 |
|
%patch91 -p1 |
498 |
|
%patch92 -p1 |
499 |
|
%patch93 -p1 |
500 |
|
|
501 |
%pre |
%pre |
502 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
503 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
504 |
|
|
505 |
%post |
%post |
506 |
|
|
507 |
%build |
%build |
509 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
510 |
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} |
511 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
512 |
|
mkdir -p root/var/log/rsyncd |
513 |
|
|
514 |
perl createlinks |
perl createlinks |
515 |
|
|
517 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
518 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
519 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
520 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
521 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
522 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
523 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
524 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
525 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
526 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
527 |
|
|