1 |
# $Id: smeserver-shared-folders.spec,v 1.60 2011/11/03 13:04:56 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.74 2012/05/18 16:39:15 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 58 |
%define release 72 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
85 |
Patch69: smeserver-shared-folders-0.1-enable_followsymlinks_if_allowoverride_all.patch |
Patch69: smeserver-shared-folders-0.1-enable_followsymlinks_if_allowoverride_all.patch |
86 |
Patch70: smeserver-shared-folders-0.1-recursive_setfacl.patch |
Patch70: smeserver-shared-folders-0.1-recursive_setfacl.patch |
87 |
Patch71: smeserver-shared-folders-0.1-samba_wide_links.patch |
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 |
|
|
105 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
106 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
119 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
120 |
|
|
121 |
%changelog |
%changelog |
122 |
* Tue Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
123 |
|
- Explicitly set www acl so web access works even when only individual users |
124 |
|
have ACLs |
125 |
|
|
126 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
127 |
|
- Don't disable unix extension in share scope |
128 |
|
|
129 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
130 |
|
- Display permission form after creation |
131 |
|
- Display share name and desc in permission form |
132 |
|
|
133 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
134 |
|
- apply locale 2012-03-20 patch |
135 |
|
|
136 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
137 |
|
- Enable webdav even when no auth is required |
138 |
|
(but auth will still be required for write operations) |
139 |
|
|
140 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
141 |
|
- Add rsyncd support |
142 |
|
|
143 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
144 |
|
- Fix bg locale |
145 |
|
|
146 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
147 |
|
- Fix root ACL for users |
148 |
|
- Apply locale 2012-02-18 patch |
149 |
|
|
150 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
151 |
|
- In http access, remove ro users from rw list |
152 |
|
- templates cleanup |
153 |
|
|
154 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
155 |
|
- Replace fr with correct en-us locale for USERS entry |
156 |
|
|
157 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
158 |
|
- Code cleanup |
159 |
|
- Move ACL configuration in a separated page |
160 |
|
- User level ACL support |
161 |
|
|
162 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
163 |
|
- Hide Recycle Bin dir if recycle is disabled |
164 |
|
|
165 |
|
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
166 |
|
- Fix Ajaxplorer field display when the form has an error |
167 |
|
|
168 |
|
* Tue Nov 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-59.sme |
169 |
|
- Stop removing exec perm |
170 |
|
- use --physical for setfacl (don't follow symlinks) |
171 |
|
|
172 |
|
* Mon Nov 07 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-58.sme |
173 |
- Add wide links samba option |
- Add wide links samba option |
174 |
|
|
175 |
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-57.sme |
453 |
%patch69 -p1 |
%patch69 -p1 |
454 |
%patch70 -p1 |
%patch70 -p1 |
455 |
%patch71 -p1 |
%patch71 -p1 |
456 |
|
%patch72 -p1 |
457 |
|
%patch73 -p1 |
458 |
|
%patch74 -p1 |
459 |
|
%patch75 -p1 |
460 |
|
%patch76 -p1 |
461 |
|
%patch77 -p1 |
462 |
|
%patch78 -p1 |
463 |
|
%patch79 -p1 |
464 |
|
%patch80 -p1 |
465 |
|
%patch81 -p1 |
466 |
|
%patch82 -p1 |
467 |
|
%patch83 -p1 |
468 |
|
%patch84 -p1 |
469 |
|
%patch85 -p1 |
470 |
|
%patch86 -p1 |
471 |
|
%patch87 -p1 |
472 |
|
|
473 |
%pre |
%pre |
474 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
475 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
476 |
|
|
477 |
%post |
%post |
478 |
|
|
479 |
%build |
%build |
481 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
482 |
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} |
483 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
484 |
|
mkdir -p root/var/log/rsyncd |
485 |
|
|
486 |
perl createlinks |
perl createlinks |
487 |
|
|
491 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
492 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
493 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
494 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
495 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
496 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
497 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
498 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
499 |
|
|