1 |
# $Id: smeserver-shared-folders.spec,v 1.64 2011/12/15 15:14:13 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.80 2012/10/17 14:44:23 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 62 |
%define release 78 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
89 |
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
90 |
Patch74: smeserver-shared-folders-0.1-hide_trash_if_disabled.patch |
Patch74: smeserver-shared-folders-0.1-hide_trash_if_disabled.patch |
91 |
Patch75: smeserver-shared-folders-0.1-users_acl.patch |
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 |
|
|
112 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
113 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
126 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
127 |
|
|
128 |
%changelog |
%changelog |
129 |
|
* Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-78.sme |
130 |
|
- Allow share names ending with dollar |
131 |
|
(windows can, and it might be needed for migrations) |
132 |
|
|
133 |
|
* Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-77.sme |
134 |
|
- Allow share names starting with numbers (there's no reason to deny it) |
135 |
|
|
136 |
|
* Thu Oct 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-76.sme |
137 |
|
- Look at users ACL for encrypted shares list |
138 |
|
- Apply locale 2012-10-11 patch |
139 |
|
|
140 |
|
* Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-75.sme |
141 |
|
- add possibility to hide shares and to mark them non removable |
142 |
|
|
143 |
|
* Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-74.sme |
144 |
|
- Enable FTP access |
145 |
|
|
146 |
|
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-73.sme |
147 |
|
- Apply locale 2012-07-20 patch |
148 |
|
|
149 |
|
* Tue Jun 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-72.sme |
150 |
|
- Explicitly set www acl so web access works even when only individual users |
151 |
|
have ACLs |
152 |
|
|
153 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
154 |
|
- Don't disable unix extension in share scope |
155 |
|
|
156 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
157 |
|
- Display permission form after creation |
158 |
|
- Display share name and desc in permission form |
159 |
|
|
160 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
161 |
|
- apply locale 2012-03-20 patch |
162 |
|
|
163 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
164 |
|
- Enable webdav even when no auth is required |
165 |
|
(but auth will still be required for write operations) |
166 |
|
|
167 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
168 |
|
- Add rsyncd support |
169 |
|
|
170 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
171 |
|
- Fix bg locale |
172 |
|
|
173 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
174 |
|
- Fix root ACL for users |
175 |
|
- Apply locale 2012-02-18 patch |
176 |
|
|
177 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
178 |
|
- In http access, remove ro users from rw list |
179 |
|
- templates cleanup |
180 |
|
|
181 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
182 |
|
- Replace fr with correct en-us locale for USERS entry |
183 |
|
|
184 |
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
185 |
- Code cleanup |
- Code cleanup |
186 |
- Move ACL configuration in a separated page |
- Move ACL configuration in a separated page |
484 |
%patch73 -p1 |
%patch73 -p1 |
485 |
%patch74 -p1 |
%patch74 -p1 |
486 |
%patch75 -p1 |
%patch75 -p1 |
487 |
|
%patch76 -p1 |
488 |
|
%patch77 -p1 |
489 |
|
%patch78 -p1 |
490 |
|
%patch79 -p1 |
491 |
|
%patch80 -p1 |
492 |
|
%patch81 -p1 |
493 |
|
%patch82 -p1 |
494 |
|
%patch83 -p1 |
495 |
|
%patch84 -p1 |
496 |
|
%patch85 -p1 |
497 |
|
%patch86 -p1 |
498 |
|
%patch87 -p1 |
499 |
|
%patch88 -p1 |
500 |
|
%patch89 -p1 |
501 |
|
%patch90 -p1 |
502 |
|
%patch91 -p1 |
503 |
|
%patch92 -p1 |
504 |
|
%patch93 -p1 |
505 |
|
%patch94 -p1 |
506 |
|
|
507 |
%pre |
%pre |
508 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
509 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
510 |
|
|
511 |
%post |
%post |
512 |
|
|
513 |
%build |
%build |
515 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
516 |
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} |
517 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
518 |
|
mkdir -p root/var/log/rsyncd |
519 |
|
|
520 |
perl createlinks |
perl createlinks |
521 |
|
|
525 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
526 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
527 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
528 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
529 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
530 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
531 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
532 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
533 |
|
|