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