1 |
# $Id: smeserver-shared-folders.spec,v 1.29 2010/11/26 13:48:24 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.70 2012/03/01 21:44:31 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 27 |
%define release 68 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
52 |
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
53 |
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
54 |
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
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 |
|
|
100 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
101 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
114 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
115 |
|
|
116 |
%changelog |
%changelog |
117 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
118 |
|
- Enable webdav even when no auth is required |
119 |
|
(but auth will still be required for write operations) |
120 |
|
|
121 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
122 |
|
- Add rsyncd support |
123 |
|
|
124 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
125 |
|
- Fix bg locale |
126 |
|
|
127 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
128 |
|
- Fix root ACL for users |
129 |
|
- Apply locale 2012-02-18 patch |
130 |
|
|
131 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
132 |
|
- In http access, remove ro users from rw list |
133 |
|
- templates cleanup |
134 |
|
|
135 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
136 |
|
- Replace fr with correct en-us locale for USERS entry |
137 |
|
|
138 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
139 |
|
- Code cleanup |
140 |
|
- Move ACL configuration in a separated page |
141 |
|
- User level ACL support |
142 |
|
|
143 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
144 |
|
- Hide Recycle Bin dir if recycle is disabled |
145 |
|
|
146 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
147 |
|
- Fix Ajaxplorer field display when the form has an error |
148 |
|
|
149 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
150 |
|
- Stop removing exec perm |
151 |
|
- use --physical for setfacl (don't follow symlinks) |
152 |
|
|
153 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
154 |
|
- Add wide links samba option |
155 |
|
|
156 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
157 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
158 |
|
|
159 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
160 |
|
- Apply locale 2011-10-18 patch |
161 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
162 |
|
|
163 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
164 |
|
- Fix share creation when encfs is not installed |
165 |
|
|
166 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
167 |
|
- Don't check password length when encryption is disabled |
168 |
|
|
169 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
170 |
|
- Fix encrypted share list |
171 |
|
|
172 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
173 |
|
- Fix panel when ajaxplorer is not installed |
174 |
|
|
175 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
176 |
|
- Fix modification of unencrypted shares |
177 |
|
|
178 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
179 |
|
- Apply locale 2011-07-05 patch |
180 |
|
|
181 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
182 |
|
- Make encryption support optional |
183 |
|
- Sanitize password field in userpanelEncfs |
184 |
|
- Prevent deletion of mounted, encrypted shares |
185 |
|
|
186 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
187 |
|
- Enable samba auditing |
188 |
|
|
189 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
190 |
|
- Fix Ajaxplorer fields on share creation |
191 |
|
|
192 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
193 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
194 |
|
|
195 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
196 |
|
- Add support for ajaxplorer |
197 |
|
|
198 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
199 |
|
- Set read only permissions on top dir of each share |
200 |
|
|
201 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
202 |
|
- Don't check password field if encryption is disabled |
203 |
|
|
204 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
205 |
|
- Add missing INACTIVITY entry in locale |
206 |
|
- Apply locale 2011-05-17 patch |
207 |
|
|
208 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
209 |
|
- apply locale 2011-05-16 patch |
210 |
|
|
211 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
212 |
|
- Support encryption using EncFS |
213 |
|
|
214 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
215 |
|
- apply locale 2011-04-27 patch |
216 |
|
|
217 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
218 |
|
- Fix removing empty directories in recycles |
219 |
|
|
220 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
221 |
|
- expand httpd.conf and restart apache on group-modify |
222 |
|
|
223 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
224 |
|
- Deduplicate writer user list in apache configuration |
225 |
|
- Always grant web access to user admin |
226 |
|
|
227 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
228 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
229 |
|
|
230 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
231 |
|
- Apply locale 2011-01-03 patch |
232 |
|
|
233 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
234 |
|
- New prop PHPAllowUrlFopen |
235 |
|
|
236 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
237 |
|
- Print the group table when ManualPermissions is enabled |
238 |
|
- Fix a warning in httpd.conf templates |
239 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
240 |
|
|
241 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
242 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
243 |
|
|
244 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
245 |
|
- Fix purge script |
246 |
|
|
247 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
248 |
|
- apply locale 2010-11-30 patch |
249 |
|
|
250 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
251 |
|
- Fix orig file removal the correct way |
252 |
|
|
253 |
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
254 |
- Remove .orig file |
- Remove .orig file |
255 |
|
|
387 |
%patch22 -p1 |
%patch22 -p1 |
388 |
%patch23 -p1 |
%patch23 -p1 |
389 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
390 |
%patch25 -p1 |
%patch25 -p1 |
391 |
%patch26 -p1 |
%patch26 -p1 |
392 |
%patch27 -p1 |
%patch27 -p1 |
401 |
%patch36 -p1 |
%patch36 -p1 |
402 |
%patch37 -p1 |
%patch37 -p1 |
403 |
%patch38 -p1 |
%patch38 -p1 |
404 |
%{__rm} -f root/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin.orig |
%patch39 -p1 |
405 |
|
%patch40 -p1 |
406 |
|
%patch41 -p1 |
407 |
|
%patch42 -p1 |
408 |
|
%patch43 -p1 |
409 |
|
%patch44 -p1 |
410 |
|
%patch45 -p1 |
411 |
|
%patch46 -p1 |
412 |
|
%patch47 -p1 |
413 |
|
%patch48 -p1 |
414 |
|
%patch49 -p1 |
415 |
|
%patch50 -p1 |
416 |
|
%patch51 -p1 |
417 |
|
%patch52 -p1 |
418 |
|
%patch53 -p1 |
419 |
|
%patch54 -p1 |
420 |
|
%patch55 -p1 |
421 |
|
%patch56 -p1 |
422 |
|
%patch57 -p1 |
423 |
|
%patch58 -p1 |
424 |
|
%patch59 -p1 |
425 |
|
%patch60 -p1 |
426 |
|
%patch61 -p1 |
427 |
|
%patch62 -p1 |
428 |
|
%patch63 -p1 |
429 |
|
%patch64 -p1 |
430 |
|
%patch65 -p1 |
431 |
|
%patch66 -p1 |
432 |
|
%patch67 -p1 |
433 |
|
%patch68 -p1 |
434 |
|
%patch69 -p1 |
435 |
|
%patch70 -p1 |
436 |
|
%patch71 -p1 |
437 |
|
%patch72 -p1 |
438 |
|
%patch73 -p1 |
439 |
|
%patch74 -p1 |
440 |
|
%patch75 -p1 |
441 |
|
%patch76 -p1 |
442 |
|
%patch77 -p1 |
443 |
|
%patch78 -p1 |
444 |
|
%patch79 -p1 |
445 |
|
%patch80 -p1 |
446 |
|
%patch81 -p1 |
447 |
|
%patch82 -p1 |
448 |
|
|
449 |
%pre |
%pre |
450 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
451 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
452 |
|
|
453 |
%post |
%post |
454 |
|
|
455 |
%build |
%build |
457 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
458 |
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} |
459 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
460 |
|
mkdir -p root/var/log/rsyncd |
461 |
|
|
462 |
perl createlinks |
perl createlinks |
463 |
|
|
466 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
467 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
468 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
469 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
470 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
471 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
472 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
473 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
474 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
475 |
|
|