1 |
# $Id: smeserver-shared-folders.spec,v 1.37 2011/01/03 08:41:13 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.75 2012/06/19 20:24:46 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 35 |
%define release 73 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
62 |
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
63 |
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
64 |
Patch48: smeserver-shared-folders-0.1-fix_files_starting_with_dash.patch |
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 |
|
|
106 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
107 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
120 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
121 |
|
|
122 |
%changelog |
%changelog |
123 |
|
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme |
124 |
|
- Apply locale 2012-07-20 patch |
125 |
|
|
126 |
|
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
127 |
|
- Explicitly set www acl so web access works even when only individual users |
128 |
|
have ACLs |
129 |
|
|
130 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
131 |
|
- Don't disable unix extension in share scope |
132 |
|
|
133 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
134 |
|
- Display permission form after creation |
135 |
|
- Display share name and desc in permission form |
136 |
|
|
137 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
138 |
|
- apply locale 2012-03-20 patch |
139 |
|
|
140 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
141 |
|
- Enable webdav even when no auth is required |
142 |
|
(but auth will still be required for write operations) |
143 |
|
|
144 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
145 |
|
- Add rsyncd support |
146 |
|
|
147 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
148 |
|
- Fix bg locale |
149 |
|
|
150 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
151 |
|
- Fix root ACL for users |
152 |
|
- Apply locale 2012-02-18 patch |
153 |
|
|
154 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
155 |
|
- In http access, remove ro users from rw list |
156 |
|
- templates cleanup |
157 |
|
|
158 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
159 |
|
- Replace fr with correct en-us locale for USERS entry |
160 |
|
|
161 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
162 |
|
- Code cleanup |
163 |
|
- Move ACL configuration in a separated page |
164 |
|
- User level ACL support |
165 |
|
|
166 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
167 |
|
- Hide Recycle Bin dir if recycle is disabled |
168 |
|
|
169 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
170 |
|
- Fix Ajaxplorer field display when the form has an error |
171 |
|
|
172 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
173 |
|
- Stop removing exec perm |
174 |
|
- use --physical for setfacl (don't follow symlinks) |
175 |
|
|
176 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
177 |
|
- Add wide links samba option |
178 |
|
|
179 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
180 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
181 |
|
|
182 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
183 |
|
- Apply locale 2011-10-18 patch |
184 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
185 |
|
|
186 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
187 |
|
- Fix share creation when encfs is not installed |
188 |
|
|
189 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
190 |
|
- Don't check password length when encryption is disabled |
191 |
|
|
192 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
193 |
|
- Fix encrypted share list |
194 |
|
|
195 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
196 |
|
- Fix panel when ajaxplorer is not installed |
197 |
|
|
198 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
199 |
|
- Fix modification of unencrypted shares |
200 |
|
|
201 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
202 |
|
- Apply locale 2011-07-05 patch |
203 |
|
|
204 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
205 |
|
- Make encryption support optional |
206 |
|
- Sanitize password field in userpanelEncfs |
207 |
|
- Prevent deletion of mounted, encrypted shares |
208 |
|
|
209 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
210 |
|
- Enable samba auditing |
211 |
|
|
212 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
213 |
|
- Fix Ajaxplorer fields on share creation |
214 |
|
|
215 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
216 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
217 |
|
|
218 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
219 |
|
- Add support for ajaxplorer |
220 |
|
|
221 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
222 |
|
- Set read only permissions on top dir of each share |
223 |
|
|
224 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
225 |
|
- Don't check password field if encryption is disabled |
226 |
|
|
227 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
228 |
|
- Add missing INACTIVITY entry in locale |
229 |
|
- Apply locale 2011-05-17 patch |
230 |
|
|
231 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
232 |
|
- apply locale 2011-05-16 patch |
233 |
|
|
234 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
235 |
|
- Support encryption using EncFS |
236 |
|
|
237 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
238 |
|
- apply locale 2011-04-27 patch |
239 |
|
|
240 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
241 |
|
- Fix removing empty directories in recycles |
242 |
|
|
243 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
244 |
|
- expand httpd.conf and restart apache on group-modify |
245 |
|
|
246 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
247 |
|
- Deduplicate writer user list in apache configuration |
248 |
|
- Always grant web access to user admin |
249 |
|
|
250 |
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
251 |
- Fix setting ACLs on files starting with a dash [SME: 6500] |
- Fix setting ACLs on files starting with a dash [SME: 6500] |
252 |
|
|
434 |
%patch46 -p1 |
%patch46 -p1 |
435 |
%patch47 -p1 |
%patch47 -p1 |
436 |
%patch48 -p1 |
%patch48 -p1 |
437 |
|
%patch49 -p1 |
438 |
|
%patch50 -p1 |
439 |
|
%patch51 -p1 |
440 |
|
%patch52 -p1 |
441 |
|
%patch53 -p1 |
442 |
|
%patch54 -p1 |
443 |
|
%patch55 -p1 |
444 |
|
%patch56 -p1 |
445 |
|
%patch57 -p1 |
446 |
|
%patch58 -p1 |
447 |
|
%patch59 -p1 |
448 |
|
%patch60 -p1 |
449 |
|
%patch61 -p1 |
450 |
|
%patch62 -p1 |
451 |
|
%patch63 -p1 |
452 |
|
%patch64 -p1 |
453 |
|
%patch65 -p1 |
454 |
|
%patch66 -p1 |
455 |
|
%patch67 -p1 |
456 |
|
%patch68 -p1 |
457 |
|
%patch69 -p1 |
458 |
|
%patch70 -p1 |
459 |
|
%patch71 -p1 |
460 |
|
%patch72 -p1 |
461 |
|
%patch73 -p1 |
462 |
|
%patch74 -p1 |
463 |
|
%patch75 -p1 |
464 |
|
%patch76 -p1 |
465 |
|
%patch77 -p1 |
466 |
|
%patch78 -p1 |
467 |
|
%patch79 -p1 |
468 |
|
%patch80 -p1 |
469 |
|
%patch81 -p1 |
470 |
|
%patch82 -p1 |
471 |
|
%patch83 -p1 |
472 |
|
%patch84 -p1 |
473 |
|
%patch85 -p1 |
474 |
|
%patch86 -p1 |
475 |
|
%patch87 -p1 |
476 |
|
%patch88 -p1 |
477 |
|
|
478 |
%pre |
%pre |
479 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
480 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
481 |
|
|
482 |
%post |
%post |
483 |
|
|
484 |
%build |
%build |
486 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
487 |
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} |
488 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
489 |
|
mkdir -p root/var/log/rsyncd |
490 |
|
|
491 |
perl createlinks |
perl createlinks |
492 |
|
|
495 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
496 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
497 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
498 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
499 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
500 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
501 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
502 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
503 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
504 |
|
|