/[smecontribs]/rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec
ViewVC logotype

Contents of /rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.75 - (show annotations) (download)
Tue Jun 19 20:24:46 2012 UTC (12 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-72_el4_sme
Changes since 1.74: +8 -2 lines
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme
- Explicitly set www acl so web access works even when only individual users
  have ACLs

1 # $Id: smeserver-shared-folders.spec,v 1.74 2012/05/18 16:39:15 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 72
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 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
105 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
106 BuildArchitectures: noarch
107 Requires: e-smith-base >= 4.13.15-76
108 Requires: perl(CGI::FormMagick)
109 Requires: e-smith-formmagick >= 1.4.0-12
110 Requires: smeserver-mod_dav
111 Requires: acl
112
113 BuildRequires: perl
114 BuildRequires: e-smith-devtools >= 1.11.0-03
115
116
117 %description
118 This module allows you to create network shares
119 with more flexibility than ibays as it supports ACLs
120
121 %changelog
122 * Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme
123 - Explicitly set www acl so web access works even when only individual users
124 have ACLs
125
126 * Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme
127 - Don't disable unix extension in share scope
128
129 * Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme
130 - Display permission form after creation
131 - Display share name and desc in permission form
132
133 * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6
134 - apply locale 2012-03-20 patch
135
136 * Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme
137 - Enable webdav even when no auth is required
138 (but auth will still be required for write operations)
139
140 * Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme
141 - Add rsyncd support
142
143 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme
144 - Fix bg locale
145
146 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme
147 - Fix root ACL for users
148 - Apply locale 2012-02-18 patch
149
150 * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme
151 - In http access, remove ro users from rw list
152 - templates cleanup
153
154 * Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme
155 - Replace fr with correct en-us locale for USERS entry
156
157 * Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme
158 - Code cleanup
159 - Move ACL configuration in a separated page
160 - User level ACL support
161
162 * Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme
163 - Hide Recycle Bin dir if recycle is disabled
164
165 * Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme
166 - Fix Ajaxplorer field display when the form has an error
167
168 * Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme
169 - Stop removing exec perm
170 - use --physical for setfacl (don't follow symlinks)
171
172 * Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme
173 - Add wide links samba option
174
175 * Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme
176 - Use recursive setfacl command (should greatly speedup share modification)
177
178 * Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme
179 - Apply locale 2011-10-18 patch
180 - Enable FollowSymLinks if AllowOverride is set to All
181
182 * Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme
183 - Fix share creation when encfs is not installed
184
185 * Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme
186 - Don't check password length when encryption is disabled
187
188 * Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme
189 - Fix encrypted share list
190
191 * Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme
192 - Fix panel when ajaxplorer is not installed
193
194 * Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme
195 - Fix modification of unencrypted shares
196
197 * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme
198 - Apply locale 2011-07-05 patch
199
200 * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme
201 - Make encryption support optional
202 - Sanitize password field in userpanelEncfs
203 - Prevent deletion of mounted, encrypted shares
204
205 * Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme
206 - Enable samba auditing
207
208 * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme
209 - Fix Ajaxplorer fields on share creation
210
211 * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme
212 - Change the way ajaxplorer is integrated (add a new config section)
213
214 * Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme
215 - Add support for ajaxplorer
216
217 * Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme
218 - Set read only permissions on top dir of each share
219
220 * Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme
221 - Don't check password field if encryption is disabled
222
223 * Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme
224 - Add missing INACTIVITY entry in locale
225 - Apply locale 2011-05-17 patch
226
227 * Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme
228 - apply locale 2011-05-16 patch
229
230 * Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme
231 - Support encryption using EncFS
232
233 * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme
234 - apply locale 2011-04-27 patch
235
236 * Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme
237 - Fix removing empty directories in recycles
238
239 * Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme
240 - expand httpd.conf and restart apache on group-modify
241
242 * Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme
243 - Deduplicate writer user list in apache configuration
244 - Always grant web access to user admin
245
246 * Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme
247 - Fix setting ACLs on files starting with a dash [SME: 6500]
248
249 * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme
250 - Apply locale 2011-01-03 patch
251
252 * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme
253 - New prop PHPAllowUrlFopen
254
255 * Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme
256 - Print the group table when ManualPermissions is enabled
257 - Fix a warning in httpd.conf templates
258 - Use www as group owner of the root dir if httpAccess is enabled
259
260 * Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme
261 - Add new prop AliasOnPrimary to toggle alias on the system domain
262
263 * Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme
264 - Fix purge script
265
266 * Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme
267 - apply locale 2010-11-30 patch
268
269 * Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme
270 - Fix orig file removal the correct way
271
272 * Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme
273 - Remove .orig file
274
275 * Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme
276 - Add webdav support
277 - add recycle purge support (with configurable retention time)
278
279 * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme
280 - Fix excludes separator for samba recyle bin [SME: 6379]
281 - Recycle bin directory can be configured (RecycleBinDir prop)
282 - Create the recyle bin directory if enabled
283 - Fix defaults ACL on dir (fix issues with recycle bin)
284
285 * Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme
286 - Fix permission on group delete
287 - apply local 2010-10-20 patch
288
289 * Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme
290 - apply locale 2010-07-19 patch
291
292 * Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme
293 - correct typos in en-us locale [SME: 6103]
294 - apply locale 2010-07-06 patch
295
296 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme
297 - apply locale 2010-05-23 patch
298
299 * Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme
300 - apply locale 2010-03-26 patch (fix navigation-conf)
301
302 * Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme
303 - apply locale 2010-03-25 patch
304
305 * Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme
306 - really apply manual_permissions patch
307
308 * Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme
309 - Add an option to allow manual permissions (ManualPermissions)
310 - remove unused .orig file
311 - Exec CGI in cgi-bin directories
312
313 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme
314 - apply locale 2010-03-02 patch
315
316 * Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme
317 - apply locale 2009-11-17 patch
318
319 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme
320 - apply locale 2009-10-27 patch
321
322 * Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme
323 - apply locale 2009-10-21 patch
324
325 * Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme
326 - apply locale 2009-10-20 patch
327
328 * Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme
329 - apply locale 2009-09-28 patch
330
331 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme
332 - apply locale 2009-08-24 patch
333
334 * Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme
335 - Apply locale 2009-07-22 patch
336
337 * Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8]
338 - Apply locale 2009-06-15 patch
339
340 * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7]
341 - Include hosts/networks defined in $externalSSLAccess for local access
342 (httpAccess)
343
344 * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6]
345 - Apply locale 2009-05-25 patch
346
347 * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5]
348 - Add an empty template-begin for smb.conf template
349 - Add locale 2009-05-21 patch (en-us)
350
351 * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
352 - apply locale 2009-05-21 patch
353
354 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme
355 - apply locale 2009-05-20 patch
356
357 * Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
358 - add http access, with some options in the panel
359 - present the keepversion option of the recylcebin in the panel
360 - changes in db keys
361 - remove some descriptions in the panel
362 - optimization in share-modify to limit the time needed
363 to reset permissions
364
365 * Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
366 - Add locale patch 2009-05-05
367
368 * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3]
369 - Add acl option in fstab via the template system
370 (just like usrquota and grpquota)
371
372 * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2]
373 - Rename spec file
374
375 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1]
376 - Rename maxIbayNameLength to maxShareNameLength
377
378 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0]
379 - Initial release.
380
381 %prep
382 %setup
383
384 %patch0 -p1
385 %patch1 -p1
386 %patch2 -p1
387 %patch3 -p1
388 %patch4 -p1
389 %patch5 -p1
390 %patch6 -p1
391 %patch7 -p1
392 %patch8 -p1
393 %patch9 -p1
394 %patch10 -p1
395 %patch11 -p1
396 %patch12 -p1
397 %patch13 -p1
398 %patch14 -p1
399 %patch15 -p1
400 %patch16 -p1
401 %patch17 -p1
402 %patch18 -p1
403 %patch19 -p1
404 %patch20 -p1
405 %patch21 -p1
406 %patch22 -p1
407 %patch23 -p1
408 %patch24 -p1
409 %patch25 -p1
410 %patch26 -p1
411 %patch27 -p1
412 %patch28 -p1
413 %patch29 -p1
414 %patch30 -p1
415 %patch31 -p1
416 %patch32 -p1
417 %patch33 -p1
418 %patch34 -p1
419 %patch35 -p1
420 %patch36 -p1
421 %patch37 -p1
422 %patch38 -p1
423 %patch39 -p1
424 %patch40 -p1
425 %patch41 -p1
426 %patch42 -p1
427 %patch43 -p1
428 %patch44 -p1
429 %patch45 -p1
430 %patch46 -p1
431 %patch47 -p1
432 %patch48 -p1
433 %patch49 -p1
434 %patch50 -p1
435 %patch51 -p1
436 %patch52 -p1
437 %patch53 -p1
438 %patch54 -p1
439 %patch55 -p1
440 %patch56 -p1
441 %patch57 -p1
442 %patch58 -p1
443 %patch59 -p1
444 %patch60 -p1
445 %patch61 -p1
446 %patch62 -p1
447 %patch63 -p1
448 %patch64 -p1
449 %patch65 -p1
450 %patch66 -p1
451 %patch67 -p1
452 %patch68 -p1
453 %patch69 -p1
454 %patch70 -p1
455 %patch71 -p1
456 %patch72 -p1
457 %patch73 -p1
458 %patch74 -p1
459 %patch75 -p1
460 %patch76 -p1
461 %patch77 -p1
462 %patch78 -p1
463 %patch79 -p1
464 %patch80 -p1
465 %patch81 -p1
466 %patch82 -p1
467 %patch83 -p1
468 %patch84 -p1
469 %patch85 -p1
470 %patch86 -p1
471 %patch87 -p1
472
473 %pre
474 /usr/sbin/useradd -c "Rsyncd User" \
475 -s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || :
476
477 %post
478
479 %build
480 # Force creation of potentially empty directories
481 mkdir -p root/etc/e-smith/web/{common,functions}
482 mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html}
483 mkdir -p root/home/e-smith/files/shares
484 mkdir -p root/var/log/rsyncd
485
486 perl createlinks
487
488 %install
489 rm -rf $RPM_BUILD_ROOT
490 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
491 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
492 --file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \
493 --file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \
494 --file /var/service/rsyncd/run 'attr(0755,root,root)' \
495 --file /var/service/rsyncd/log/run 'attr(0755,root,root)' \
496 --dir /var/log/rsyncd 'attr(0770,root,smelog)' \
497 > %{name}-%{version}-%{release}-filelist
498 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
499
500 %clean
501 rm -rf $RPM_BUILD_ROOT
502
503 %files -f %{name}-%{version}-%{release}-filelist
504 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed