1 |
# $Id: smeserver-shared-folders.spec,v 1.54 2011/07/08 08:55:47 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.78 2012/08/24 15:37:54 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 52 |
%define release 76 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
78 |
Patch62: smeserver-shared-folders-0.1-locale-2011-07-05.patch |
Patch62: smeserver-shared-folders-0.1-locale-2011-07-05.patch |
79 |
Patch63: smeserver-shared-folders-0.1-fix_unencrypted_shares_modify.patch |
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 |
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 |
|
|
110 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
111 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
124 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
125 |
|
|
126 |
%changelog |
%changelog |
127 |
|
* Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme |
128 |
|
- Look at users ACL for encrypted shares list |
129 |
|
- Apply locale 2012-10-11 patch |
130 |
|
|
131 |
|
* Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme |
132 |
|
- add possibility to hide shares and to mark them non removable |
133 |
|
|
134 |
|
* Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme |
135 |
|
- Enable FTP access |
136 |
|
|
137 |
|
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme |
138 |
|
- Apply locale 2012-07-20 patch |
139 |
|
|
140 |
|
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
141 |
|
- Explicitly set www acl so web access works even when only individual users |
142 |
|
have ACLs |
143 |
|
|
144 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
145 |
|
- Don't disable unix extension in share scope |
146 |
|
|
147 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
148 |
|
- Display permission form after creation |
149 |
|
- Display share name and desc in permission form |
150 |
|
|
151 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
152 |
|
- apply locale 2012-03-20 patch |
153 |
|
|
154 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
155 |
|
- Enable webdav even when no auth is required |
156 |
|
(but auth will still be required for write operations) |
157 |
|
|
158 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
159 |
|
- Add rsyncd support |
160 |
|
|
161 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
162 |
|
- Fix bg locale |
163 |
|
|
164 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
165 |
|
- Fix root ACL for users |
166 |
|
- Apply locale 2012-02-18 patch |
167 |
|
|
168 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
169 |
|
- In http access, remove ro users from rw list |
170 |
|
- templates cleanup |
171 |
|
|
172 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
173 |
|
- Replace fr with correct en-us locale for USERS entry |
174 |
|
|
175 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
176 |
|
- Code cleanup |
177 |
|
- Move ACL configuration in a separated page |
178 |
|
- User level ACL support |
179 |
|
|
180 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
181 |
|
- Hide Recycle Bin dir if recycle is disabled |
182 |
|
|
183 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
184 |
|
- Fix Ajaxplorer field display when the form has an error |
185 |
|
|
186 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
187 |
|
- Stop removing exec perm |
188 |
|
- use --physical for setfacl (don't follow symlinks) |
189 |
|
|
190 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
191 |
|
- Add wide links samba option |
192 |
|
|
193 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
194 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
195 |
|
|
196 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
197 |
|
- Apply locale 2011-10-18 patch |
198 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
199 |
|
|
200 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
201 |
|
- Fix share creation when encfs is not installed |
202 |
|
|
203 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
204 |
|
- Don't check password length when encryption is disabled |
205 |
|
|
206 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
207 |
|
- Fix encrypted share list |
208 |
|
|
209 |
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
210 |
- Fix panel when ajaxplorer is not installed |
- Fix panel when ajaxplorer is not installed |
211 |
|
|
464 |
%patch62 -p1 |
%patch62 -p1 |
465 |
%patch63 -p1 |
%patch63 -p1 |
466 |
%patch64 -p1 |
%patch64 -p1 |
467 |
|
%patch65 -p1 |
468 |
|
%patch66 -p1 |
469 |
|
%patch67 -p1 |
470 |
|
%patch68 -p1 |
471 |
|
%patch69 -p1 |
472 |
|
%patch70 -p1 |
473 |
|
%patch71 -p1 |
474 |
|
%patch72 -p1 |
475 |
|
%patch73 -p1 |
476 |
|
%patch74 -p1 |
477 |
|
%patch75 -p1 |
478 |
|
%patch76 -p1 |
479 |
|
%patch77 -p1 |
480 |
|
%patch78 -p1 |
481 |
|
%patch79 -p1 |
482 |
|
%patch80 -p1 |
483 |
|
%patch81 -p1 |
484 |
|
%patch82 -p1 |
485 |
|
%patch83 -p1 |
486 |
|
%patch84 -p1 |
487 |
|
%patch85 -p1 |
488 |
|
%patch86 -p1 |
489 |
|
%patch87 -p1 |
490 |
|
%patch88 -p1 |
491 |
|
%patch89 -p1 |
492 |
|
%patch90 -p1 |
493 |
|
%patch91 -p1 |
494 |
|
%patch92 -p1 |
495 |
|
|
496 |
%pre |
%pre |
497 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
498 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
499 |
|
|
500 |
%post |
%post |
501 |
|
|
502 |
%build |
%build |
504 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
505 |
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} |
506 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
507 |
|
mkdir -p root/var/log/rsyncd |
508 |
|
|
509 |
perl createlinks |
perl createlinks |
510 |
|
|
514 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
515 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
516 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
517 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
518 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
519 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
520 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
521 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
522 |
|
|