1 |
# $Id: smeserver-shared-folders.spec,v 1.45 2011/05/17 13:39:02 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.81 2012/10/18 11:33:12 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 43 |
%define release 79 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
71 |
Patch55: smeserver-shared-folders-0.1-add_missing_inactivity_entry.patch |
Patch55: smeserver-shared-folders-0.1-add_missing_inactivity_entry.patch |
72 |
Patch56: smeserver-shared-folders-0.1-locale-2011-05-17.patch |
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 |
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 |
|
Patch89: smeserver-shared-folders-0.1-ftp_access.patch |
106 |
|
Patch90: smeserver-shared-folders-0.1-hide_and_non_removable.patch |
107 |
|
Patch91: smeserver-shared-folders-0.1-enc_shares_user_acl.patch |
108 |
|
Patch92: smeserver-shared-folders-0.1-locale-2012-10-11.patch |
109 |
|
Patch93: smeserver-shared-folders-0.1-share_name_starting_with_a_num.patch |
110 |
|
Patch94: smeserver-shared-folders-0.1-name_ending_with_dollar.patch |
111 |
|
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
112 |
|
|
113 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
114 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
117 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
118 |
Requires: smeserver-mod_dav |
Requires: smeserver-mod_dav |
119 |
Requires: acl |
Requires: acl |
|
Requires: fuse-encfs |
|
120 |
|
|
121 |
BuildRequires: perl |
BuildRequires: perl |
122 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
127 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
128 |
|
|
129 |
%changelog |
%changelog |
130 |
|
* Sat Oct 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-79.sme |
131 |
|
- Enhance samba audit |
132 |
|
|
133 |
|
* Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-78.sme |
134 |
|
- Allow share names ending with dollar |
135 |
|
(windows can, and it might be needed for migrations) |
136 |
|
|
137 |
|
* Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-77.sme |
138 |
|
- Allow share names starting with numbers (there's no reason to deny it) |
139 |
|
|
140 |
|
* Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme |
141 |
|
- Look at users ACL for encrypted shares list |
142 |
|
- Apply locale 2012-10-11 patch |
143 |
|
|
144 |
|
* Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme |
145 |
|
- add possibility to hide shares and to mark them non removable |
146 |
|
|
147 |
|
* Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme |
148 |
|
- Enable FTP access |
149 |
|
|
150 |
|
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme |
151 |
|
- Apply locale 2012-07-20 patch |
152 |
|
|
153 |
|
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
154 |
|
- Explicitly set www acl so web access works even when only individual users |
155 |
|
have ACLs |
156 |
|
|
157 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
158 |
|
- Don't disable unix extension in share scope |
159 |
|
|
160 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
161 |
|
- Display permission form after creation |
162 |
|
- Display share name and desc in permission form |
163 |
|
|
164 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
165 |
|
- apply locale 2012-03-20 patch |
166 |
|
|
167 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
168 |
|
- Enable webdav even when no auth is required |
169 |
|
(but auth will still be required for write operations) |
170 |
|
|
171 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
172 |
|
- Add rsyncd support |
173 |
|
|
174 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
175 |
|
- Fix bg locale |
176 |
|
|
177 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
178 |
|
- Fix root ACL for users |
179 |
|
- Apply locale 2012-02-18 patch |
180 |
|
|
181 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
182 |
|
- In http access, remove ro users from rw list |
183 |
|
- templates cleanup |
184 |
|
|
185 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
186 |
|
- Replace fr with correct en-us locale for USERS entry |
187 |
|
|
188 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
189 |
|
- Code cleanup |
190 |
|
- Move ACL configuration in a separated page |
191 |
|
- User level ACL support |
192 |
|
|
193 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
194 |
|
- Hide Recycle Bin dir if recycle is disabled |
195 |
|
|
196 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
197 |
|
- Fix Ajaxplorer field display when the form has an error |
198 |
|
|
199 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
200 |
|
- Stop removing exec perm |
201 |
|
- use --physical for setfacl (don't follow symlinks) |
202 |
|
|
203 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
204 |
|
- Add wide links samba option |
205 |
|
|
206 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
207 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
208 |
|
|
209 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
210 |
|
- Apply locale 2011-10-18 patch |
211 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
212 |
|
|
213 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
214 |
|
- Fix share creation when encfs is not installed |
215 |
|
|
216 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
217 |
|
- Don't check password length when encryption is disabled |
218 |
|
|
219 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
220 |
|
- Fix encrypted share list |
221 |
|
|
222 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
223 |
|
- Fix panel when ajaxplorer is not installed |
224 |
|
|
225 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
226 |
|
- Fix modification of unencrypted shares |
227 |
|
|
228 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
229 |
|
- Apply locale 2011-07-05 patch |
230 |
|
|
231 |
|
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-49.sme |
232 |
|
- Make encryption support optional |
233 |
|
- Sanitize password field in userpanelEncfs |
234 |
|
- Prevent deletion of mounted, encrypted shares |
235 |
|
|
236 |
|
* Wed Jun 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-48.sme |
237 |
|
- Enable samba auditing |
238 |
|
|
239 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-47.sme |
240 |
|
- Fix Ajaxplorer fields on share creation |
241 |
|
|
242 |
|
* Tue Jun 28 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-46.sme |
243 |
|
- Change the way ajaxplorer is integrated (add a new config section) |
244 |
|
|
245 |
|
* Mon Jun 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-45.sme |
246 |
|
- Add support for ajaxplorer |
247 |
|
|
248 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
249 |
|
- Set read only permissions on top dir of each share |
250 |
|
|
251 |
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
252 |
- Don't check password field if encryption is disabled |
- Don't check password field if encryption is disabled |
253 |
|
|
470 |
%patch55 -p1 |
%patch55 -p1 |
471 |
%patch56 -p1 |
%patch56 -p1 |
472 |
%patch57 -p1 |
%patch57 -p1 |
473 |
|
%patch58 -p1 |
474 |
|
%patch59 -p1 |
475 |
|
%patch60 -p1 |
476 |
|
%patch61 -p1 |
477 |
|
%patch62 -p1 |
478 |
|
%patch63 -p1 |
479 |
|
%patch64 -p1 |
480 |
|
%patch65 -p1 |
481 |
|
%patch66 -p1 |
482 |
|
%patch67 -p1 |
483 |
|
%patch68 -p1 |
484 |
|
%patch69 -p1 |
485 |
|
%patch70 -p1 |
486 |
|
%patch71 -p1 |
487 |
|
%patch72 -p1 |
488 |
|
%patch73 -p1 |
489 |
|
%patch74 -p1 |
490 |
|
%patch75 -p1 |
491 |
|
%patch76 -p1 |
492 |
|
%patch77 -p1 |
493 |
|
%patch78 -p1 |
494 |
|
%patch79 -p1 |
495 |
|
%patch80 -p1 |
496 |
|
%patch81 -p1 |
497 |
|
%patch82 -p1 |
498 |
|
%patch83 -p1 |
499 |
|
%patch84 -p1 |
500 |
|
%patch85 -p1 |
501 |
|
%patch86 -p1 |
502 |
|
%patch87 -p1 |
503 |
|
%patch88 -p1 |
504 |
|
%patch89 -p1 |
505 |
|
%patch90 -p1 |
506 |
|
%patch91 -p1 |
507 |
|
%patch92 -p1 |
508 |
|
%patch93 -p1 |
509 |
|
%patch94 -p1 |
510 |
|
%patch95 -p1 |
511 |
|
|
512 |
%pre |
%pre |
513 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
514 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
515 |
|
|
516 |
%post |
%post |
517 |
|
|
518 |
%build |
%build |
520 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
521 |
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} |
522 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
523 |
|
mkdir -p root/var/log/rsyncd |
524 |
|
|
525 |
perl createlinks |
perl createlinks |
526 |
|
|
530 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
531 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
532 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
533 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
534 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
535 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
536 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
537 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
538 |
|
|