1 |
# $Id: smeserver-shared-folders.spec,v 1.52 2011/07/05 16:28:25 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.72 2012/03/20 15:39:06 slords 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 50 |
%define release 70 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
76 |
Patch60: smeserver-shared-folders-0.1-samba_audit.patch |
Patch60: smeserver-shared-folders-0.1-samba_audit.patch |
77 |
Patch61: smeserver-shared-folders-0.1-make_encfs_optional.patch |
Patch61: smeserver-shared-folders-0.1-make_encfs_optional.patch |
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 |
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 |
|
|
103 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
104 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
117 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
118 |
|
|
119 |
%changelog |
%changelog |
120 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
121 |
|
- Display permission form after creation |
122 |
|
- Display share name and desc in permission form |
123 |
|
|
124 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
125 |
|
- apply locale 2012-03-20 patch |
126 |
|
|
127 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
128 |
|
- Enable webdav even when no auth is required |
129 |
|
(but auth will still be required for write operations) |
130 |
|
|
131 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
132 |
|
- Add rsyncd support |
133 |
|
|
134 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
135 |
|
- Fix bg locale |
136 |
|
|
137 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
138 |
|
- Fix root ACL for users |
139 |
|
- Apply locale 2012-02-18 patch |
140 |
|
|
141 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
142 |
|
- In http access, remove ro users from rw list |
143 |
|
- templates cleanup |
144 |
|
|
145 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
146 |
|
- Replace fr with correct en-us locale for USERS entry |
147 |
|
|
148 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
149 |
|
- Code cleanup |
150 |
|
- Move ACL configuration in a separated page |
151 |
|
- User level ACL support |
152 |
|
|
153 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
154 |
|
- Hide Recycle Bin dir if recycle is disabled |
155 |
|
|
156 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
157 |
|
- Fix Ajaxplorer field display when the form has an error |
158 |
|
|
159 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
160 |
|
- Stop removing exec perm |
161 |
|
- use --physical for setfacl (don't follow symlinks) |
162 |
|
|
163 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
164 |
|
- Add wide links samba option |
165 |
|
|
166 |
|
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
167 |
|
- Use recursive setfacl command (should greatly speedup share modification) |
168 |
|
|
169 |
|
* Tue Oct 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-56.sme |
170 |
|
- Apply locale 2011-10-18 patch |
171 |
|
- Enable FollowSymLinks if AllowOverride is set to All |
172 |
|
|
173 |
|
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-55.sme |
174 |
|
- Fix share creation when encfs is not installed |
175 |
|
|
176 |
|
* Thu Aug 04 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-54.sme |
177 |
|
- Don't check password length when encryption is disabled |
178 |
|
|
179 |
|
* Mon Jul 18 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-53.sme |
180 |
|
- Fix encrypted share list |
181 |
|
|
182 |
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-52.sme |
183 |
|
- Fix panel when ajaxplorer is not installed |
184 |
|
|
185 |
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme |
186 |
|
- Fix modification of unencrypted shares |
187 |
|
|
188 |
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
* Tue Jul 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-50.sme |
189 |
- Apply locale 2011-07-05 patch |
- Apply locale 2011-07-05 patch |
190 |
|
|
435 |
%patch60 -p1 |
%patch60 -p1 |
436 |
%patch61 -p1 |
%patch61 -p1 |
437 |
%patch62 -p1 |
%patch62 -p1 |
438 |
|
%patch63 -p1 |
439 |
|
%patch64 -p1 |
440 |
|
%patch65 -p1 |
441 |
|
%patch66 -p1 |
442 |
|
%patch67 -p1 |
443 |
|
%patch68 -p1 |
444 |
|
%patch69 -p1 |
445 |
|
%patch70 -p1 |
446 |
|
%patch71 -p1 |
447 |
|
%patch72 -p1 |
448 |
|
%patch73 -p1 |
449 |
|
%patch74 -p1 |
450 |
|
%patch75 -p1 |
451 |
|
%patch76 -p1 |
452 |
|
%patch77 -p1 |
453 |
|
%patch78 -p1 |
454 |
|
%patch79 -p1 |
455 |
|
%patch80 -p1 |
456 |
|
%patch81 -p1 |
457 |
|
%patch82 -p1 |
458 |
|
%patch83 -p1 |
459 |
|
%patch84 -p1 |
460 |
|
%patch85 -p1 |
461 |
|
|
462 |
%pre |
%pre |
463 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
464 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
465 |
|
|
466 |
%post |
%post |
467 |
|
|
468 |
%build |
%build |
470 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
471 |
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} |
472 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
473 |
|
mkdir -p root/var/log/rsyncd |
474 |
|
|
475 |
perl createlinks |
perl createlinks |
476 |
|
|
480 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
481 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
482 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
483 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
484 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
485 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
486 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
487 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
488 |
|
|