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

Annotation of /rpms/smeserver-shared-folders/contribs10/smeserver-shared-folders.spec

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


Revision 1.13 - (hide annotations) (download)
Wed Mar 20 12:01:05 2024 UTC (2 months, 1 week ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_3-23_el7_sme, HEAD
Changes since 1.12: +7 -2 lines
* Wed Mar 20 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-23.sme
- NFR: have samba audit off by default for shared-folders  [SME: 12515]

1 terryfage 1.13 # $Id: smeserver-shared-folders.spec,v 1.12 2024/02/27 15:26:22 terryfage Exp $
2 brianr 1.1 # 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.3
9 terryfage 1.13 %define release 23
10 brianr 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Daemons
14     Source: %{name}-%{version}.tar.xz
15     Patch0: smeserver-shared-folders-0.3-remove_fstab_expand_on_post_upgrade.patch
16     Patch1: smeserver-shared-folders-0.3-dump_acl_and_xattr_for_manual_perm.patch
17     Patch2: smeserver-shared-folders-0.3-fix_missing_cr_in_smb_template.patch
18     Patch3: smeserver-shared-folders-0.3-fix_auth_basic.patch
19     Patch4: smeserver-shared-folders-0.3-handle_ext4.patch
20     Patch5: smeserver-shared-folders-0.3-locale-2015-02-17.patch
21     Patch6: smeserver-shared-folders-0.3-locale-2015-12-18.patch
22     Patch7: smeserver-shared-folders-0.3-veto_files.patch
23     Patch8: smeserver-shared-folders-0.3-support_php_fpm.patch
24     Patch9: smeserver-shared-folders-0.3-locale-2019-12-07.patch
25 terryfage 1.5 Patch10: smeserver-shared-folders-0.3-Imcomplete-Update-for-Server-Manager2.patch
26     Patch11: smeserver-shared-folders-0.3-Add-Update-event-to-createlinks.patch
27     Patch12: smeserver-shared-folders-0.3-locale-2021-08-23.patch
28 jpp 1.6 Patch13: smeserver-shared-folders-0.3-bz11523-php-fpm.patch
29 jpp 1.7 Patch14: smeserver-shared-folders-0.3-bz12060-httpd24.patch
30 terryfage 1.9 Patch15: smeserver-shared-folders-0.3-bz12119-admin-write.patch
31 terryfage 1.12 Patch16: smeserver-shared-folders-0.3-bz12477-shared-group.patch
32 terryfage 1.13 Patch17: smeserver-shared-folders-0.3-bz12515-audit-def-off.patch
33 brianr 1.1
34     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
35     BuildArchitectures: noarch
36     Requires: e-smith-base >= 4.13.15-76
37     Requires: perl(CGI::FormMagick)
38     Requires: e-smith-formmagick >= 1.4.0-12
39 jpp 1.8 Requires: e-smith-apache >= 2.6.0-19
40 brianr 1.1 Requires: smeserver-mod_dav
41     Requires: acl
42     BuildRequires: perl
43     BuildRequires: e-smith-devtools >= 1.11.0-03
44 brianr 1.3 AutoReqProv: no
45    
46 brianr 1.1 %description
47     This module allows you to create network shares
48     with more flexibility than ibays as it supports ACLs
49    
50     %changelog
51 terryfage 1.13 * Wed Mar 20 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-23.sme
52     - NFR: have samba audit off by default for shared-folders [SME: 12515]
53    
54 terryfage 1.12 * Wed Feb 28 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-22.sme
55     - NFR Add everyone group to groups list in shared folder's permissions [SME: 12477]
56     fix createlinks - httpd updated to httpd-e-smith like all others in rpm
57    
58 terryfage 1.11 * Tue Feb 27 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-21.sme
59     - Corrected wrong patch Update - No write access for admin in shared folder [SME: 12119]
60     fixed previous build error using old patch (Terry Fage)
61    
62 terryfage 1.10 * Tue Feb 27 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-20.sme
63     - Updated patch 15 - No write access for admin in shared folder [SME: 12119]
64     with this patch admin has write access both before and after saving permissions
65    
66 terryfage 1.9 * Thu Feb 22 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-19.sme
67     - No write access for admin in shared folder [SME: 12119]
68     with this patch admin has write access both before and after saving permissions
69    
70 jpp 1.8 * Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-18.sme
71     - update to httpd 2.4 access syntax [SME: 12060]
72     removed compat lines, added requires e-smith-apache >= 2.6.0-19
73    
74 jpp 1.7 * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-17.sme
75     - update to httpd 2.4 access syntax [SME: 12060]
76    
77 jpp 1.6 * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.3-16.sme
78     - merge php-fpm code [SME: 11523]
79    
80 terryfage 1.5 * Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 0.3-11.sme
81     - apply locale 2021-08-23 patch
82    
83 brianr 1.4 * Thu Apr 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-14.sme
84     - Add Update event to createlinks [SME: 10997]
85    
86     * Thu Apr 01 2021 BogusDateBot
87     - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
88     by assuming the date is correct and changing the weekday.
89     Thu Mar 26 2010 --> Thu Mar 25 2010 or Fri Mar 26 2010 or Thu Apr 01 2010 or ....
90     Wed Nov 26 2010 --> Wed Nov 24 2010 or Fri Nov 26 2010 or Wed Dec 01 2010 or ....
91    
92 brianr 1.3 * Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-13.sme
93     - Add AutoReqProv no to spec file [SME: 10997]
94    
95 brianr 1.2 * Sat Aug 01 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-12.sme
96 brianr 1.3 - Incomplete update to new Servee Manager Mojolicious framework [SME:10997]
97 brianr 1.2
98 brianr 1.1 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 0.3-11.sme
99     - apply locale 2019-12-07 patch
100    
101     * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3-10.sme
102     - Missing \n in httpd templates when using mod_fastcgi
103    
104     * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3-9.sme
105     - Add support for php fpm (but don't require it yet)
106    
107     * Fri Dec 18 2015 Daniel Berteaud <daniel@firewall-services.com> 0.3-8.sme
108     - Apply locale 2015-12-18 patch
109     - Add veto files directive support
110    
111     * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.3-7.sme
112     - Apply lcoale 2015-02-17 patch
113    
114     * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-6.sme
115     - Handle ext4 [SME: 8730]
116    
117     * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-5.sme
118     - Fix basic auth on EL6
119    
120     * Mon Jan 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-4.sme
121     - Add a missing CR in smb.conf templates
122    
123     * Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-3.sme
124     - Dump ACL and extended attributes in /home/e-smith/db/shares if
125     ManualPermissions is set
126    
127     * Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-2.sme
128     - Remove expand link for fstab in post-upgrade
129    
130     * Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-1.sme
131     - Rebuild for SME9
132    
133     * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme
134     - apply locale 2013-10-29 patch
135    
136     * Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme
137     - Rename ajaxplorer to pydio
138    
139     * Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-81.sme
140     - Add NT ACL support
141    
142     * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme
143     - apply locale 2013-07-14 patch
144    
145     * Sat Oct 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-79.sme
146     - Enhance samba audit
147    
148     * Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-78.sme
149     - Allow share names ending with dollar
150     (windows can, and it might be needed for migrations)
151    
152     * Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-77.sme
153     - Allow share names starting with numbers (there's no reason to deny it)
154    
155     * Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme
156     - Look at users ACL for encrypted shares list
157     - Apply locale 2012-10-11 patch
158    
159     * Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme
160     - add possibility to hide shares and to mark them non removable
161    
162     * Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme
163     - Enable FTP access
164    
165     * Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme
166     - Apply locale 2012-07-20 patch
167    
168     * Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme
169     - Explicitly set www acl so web access works even when only individual users
170     have ACLs
171    
172     * Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme
173     - Don't disable unix extension in share scope
174    
175     * Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme
176     - Display permission form after creation
177     - Display share name and desc in permission form
178    
179     * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6
180     - apply locale 2012-03-20 patch
181    
182     * Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme
183     - Enable webdav even when no auth is required
184     (but auth will still be required for write operations)
185    
186     * Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme
187     - Add rsyncd support
188    
189     * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme
190     - Fix bg locale
191    
192     * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme
193     - Fix root ACL for users
194     - Apply locale 2012-02-18 patch
195    
196     * Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme
197     - In http access, remove ro users from rw list
198     - templates cleanup
199    
200     * Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme
201     - Replace fr with correct en-us locale for USERS entry
202    
203     * Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme
204     - Code cleanup
205     - Move ACL configuration in a separated page
206     - User level ACL support
207    
208     * Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme
209     - Hide Recycle Bin dir if recycle is disabled
210    
211     * Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme
212     - Fix Ajaxplorer field display when the form has an error
213    
214     * Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme
215     - Stop removing exec perm
216     - use --physical for setfacl (don't follow symlinks)
217    
218     * Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme
219     - Add wide links samba option
220    
221     * Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme
222     - Use recursive setfacl command (should greatly speedup share modification)
223    
224     * Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme
225     - Apply locale 2011-10-18 patch
226     - Enable FollowSymLinks if AllowOverride is set to All
227    
228     * Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme
229     - Fix share creation when encfs is not installed
230    
231     * Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme
232     - Don't check password length when encryption is disabled
233    
234     * Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme
235     - Fix encrypted share list
236    
237     * Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme
238     - Fix panel when ajaxplorer is not installed
239    
240     * Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme
241     - Fix modification of unencrypted shares
242    
243     * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme
244     - Apply locale 2011-07-05 patch
245    
246     * Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme
247     - Make encryption support optional
248     - Sanitize password field in userpanelEncfs
249     - Prevent deletion of mounted, encrypted shares
250    
251     * Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme
252     - Enable samba auditing
253    
254     * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme
255     - Fix Ajaxplorer fields on share creation
256    
257     * Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme
258     - Change the way ajaxplorer is integrated (add a new config section)
259    
260     * Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme
261     - Add support for ajaxplorer
262    
263     * Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme
264     - Set read only permissions on top dir of each share
265    
266     * Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme
267     - Don't check password field if encryption is disabled
268    
269     * Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme
270     - Add missing INACTIVITY entry in locale
271     - Apply locale 2011-05-17 patch
272    
273     * Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme
274     - apply locale 2011-05-16 patch
275    
276     * Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme
277     - Support encryption using EncFS
278    
279     * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme
280     - apply locale 2011-04-27 patch
281    
282     * Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme
283     - Fix removing empty directories in recycles
284    
285     * Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme
286     - expand httpd.conf and restart apache on group-modify
287    
288     * Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme
289     - Deduplicate writer user list in apache configuration
290     - Always grant web access to user admin
291    
292     * Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme
293     - Fix setting ACLs on files starting with a dash [SME: 6500]
294    
295     * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme
296     - Apply locale 2011-01-03 patch
297    
298     * Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme
299     - New prop PHPAllowUrlFopen
300    
301     * Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme
302     - Print the group table when ManualPermissions is enabled
303     - Fix a warning in httpd.conf templates
304     - Use www as group owner of the root dir if httpAccess is enabled
305    
306     * Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme
307     - Add new prop AliasOnPrimary to toggle alias on the system domain
308    
309     * Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme
310     - Fix purge script
311    
312     * Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme
313     - apply locale 2010-11-30 patch
314    
315     * Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme
316     - Fix orig file removal the correct way
317    
318     * Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme
319     - Remove .orig file
320    
321 brianr 1.4 * Fri Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme
322     Wed Nov 26 2010 --> Wed Nov 24 2010 or Fri Nov 26 2010 or Wed Dec 01 2010 or ....
323 brianr 1.1 - Add webdav support
324     - add recycle purge support (with configurable retention time)
325    
326     * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme
327     - Fix excludes separator for samba recyle bin [SME: 6379]
328     - Recycle bin directory can be configured (RecycleBinDir prop)
329     - Create the recyle bin directory if enabled
330     - Fix defaults ACL on dir (fix issues with recycle bin)
331    
332     * Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme
333     - Fix permission on group delete
334     - apply local 2010-10-20 patch
335    
336     * Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme
337     - apply locale 2010-07-19 patch
338    
339     * Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme
340     - correct typos in en-us locale [SME: 6103]
341     - apply locale 2010-07-06 patch
342    
343     * Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme
344     - apply locale 2010-05-23 patch
345    
346 brianr 1.4 * Fri Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme
347     Thu Mar 26 2010 --> Thu Mar 25 2010 or Fri Mar 26 2010 or Thu Apr 01 2010 or ....
348 brianr 1.1 - apply locale 2010-03-26 patch (fix navigation-conf)
349    
350     * Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme
351     - apply locale 2010-03-25 patch
352    
353     * Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme
354     - really apply manual_permissions patch
355    
356     * Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme
357     - Add an option to allow manual permissions (ManualPermissions)
358     - remove unused .orig file
359     - Exec CGI in cgi-bin directories
360    
361     * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme
362     - apply locale 2010-03-02 patch
363    
364     * Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme
365     - apply locale 2009-11-17 patch
366    
367     * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme
368     - apply locale 2009-10-27 patch
369    
370     * Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme
371     - apply locale 2009-10-21 patch
372    
373     * Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme
374     - apply locale 2009-10-20 patch
375    
376     * Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme
377     - apply locale 2009-09-28 patch
378    
379     * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme
380     - apply locale 2009-08-24 patch
381    
382     * Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme
383     - Apply locale 2009-07-22 patch
384    
385     * Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8]
386     - Apply locale 2009-06-15 patch
387    
388     * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7]
389     - Include hosts/networks defined in $externalSSLAccess for local access
390     (httpAccess)
391    
392     * Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6]
393     - Apply locale 2009-05-25 patch
394    
395     * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5]
396     - Add an empty template-begin for smb.conf template
397     - Add locale 2009-05-21 patch (en-us)
398    
399     * Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
400     - apply locale 2009-05-21 patch
401    
402     * Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme
403     - apply locale 2009-05-20 patch
404    
405     * Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
406     - add http access, with some options in the panel
407     - present the keepversion option of the recylcebin in the panel
408     - changes in db keys
409     - remove some descriptions in the panel
410     - optimization in share-modify to limit the time needed
411     to reset permissions
412    
413     * Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
414     - Add locale patch 2009-05-05
415    
416     * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3]
417     - Add acl option in fstab via the template system
418     (just like usrquota and grpquota)
419    
420     * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2]
421     - Rename spec file
422    
423     * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1]
424     - Rename maxIbayNameLength to maxShareNameLength
425    
426     * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0]
427     - Initial release.
428    
429     %prep
430     %setup
431     %patch0 -p1
432     %patch1 -p1
433     %patch2 -p1
434     %patch3 -p1
435     %patch4 -p1
436     %patch5 -p1
437     %patch6 -p1
438     %patch7 -p1
439     %patch8 -p1
440     %patch9 -p1
441 brianr 1.2 %patch10 -p1
442 brianr 1.4 %patch11 -p1
443 terryfage 1.5 %patch12 -p1
444 jpp 1.6 %patch13 -p1
445 jpp 1.7 %patch14 -p1
446 terryfage 1.9 %patch15 -p1
447 terryfage 1.12 %patch16 -p1
448 terryfage 1.13 %patch17 -p1
449 brianr 1.1
450     %pre
451     /usr/sbin/useradd -c "Rsyncd User" \
452     -s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || :
453    
454     %post
455    
456     %build
457     # Force creation of potentially empty directories
458     mkdir -p root/etc/e-smith/web/{common,functions}
459     mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html}
460     mkdir -p root/home/e-smith/files/shares
461     mkdir -p root/var/log/rsyncd
462     mkdir -p root/home/e-smith/db/shares
463    
464     perl createlinks
465    
466     %install
467     rm -rf $RPM_BUILD_ROOT
468     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
469     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
470     --file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \
471     --file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \
472     --file /var/service/rsyncd/run 'attr(0755,root,root)' \
473     --file /var/service/rsyncd/log/run 'attr(0755,root,root)' \
474     --dir /var/log/rsyncd 'attr(0770,root,smelog)' \
475     --dir /home/e-smith/db/shares 'attr(0750,root,root)' \
476     > %{name}-%{version}-%{release}-filelist
477     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
478    
479     %clean
480     rm -rf $RPM_BUILD_ROOT
481    
482     %files -f %{name}-%{version}-%{release}-filelist
483     %defattr(-,root,root)

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