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