1 |
# $Id: smeserver-shared-folders.spec,v 1.82 2012/10/20 11:01:16 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.5 2013/10/29 16:04:59 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 79 |
%define release 84 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
109 |
Patch93: smeserver-shared-folders-0.1-share_name_starting_with_a_num.patch |
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 |
Patch94: smeserver-shared-folders-0.1-name_ending_with_dollar.patch |
111 |
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
112 |
|
Patch96: smeserver-shared-folders-0.1-locale-2013-07-14.patch |
113 |
|
Patch97: smeserver-shared-folders-0.1-ntacl.patch |
114 |
|
Patch98: smeserver-shared-folders-0.1-ajaxplorer2pydio.patch |
115 |
|
Patch99: smeserver-shared-folders-0.1-locale-2013-10-29.patch |
116 |
|
Patch100: smeserver-shared-folders-0.1-dump_acl_and_xattr_for_manual_perm.patch |
117 |
|
|
118 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
119 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
132 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
133 |
|
|
134 |
%changelog |
%changelog |
135 |
|
* Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-84.sme |
136 |
|
- Dump ACL and extended attributes in /home/e-smith/db/shares if |
137 |
|
ManualPermissions is set |
138 |
|
|
139 |
|
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme |
140 |
|
- apply locale 2013-10-29 patch |
141 |
|
|
142 |
|
* Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme |
143 |
|
- Rename ajaxplorer to pydio |
144 |
|
|
145 |
|
* Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-81.sme |
146 |
|
- Add NT ACL support |
147 |
|
|
148 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme |
149 |
|
- apply locale 2013-07-14 patch |
150 |
|
|
151 |
* Sat Oct 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-79.sme |
* Sat Oct 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-79.sme |
152 |
- Enhance samba audit |
- Enhance samba audit |
153 |
|
|
529 |
%patch93 -p1 |
%patch93 -p1 |
530 |
%patch94 -p1 |
%patch94 -p1 |
531 |
%patch95 -p1 |
%patch95 -p1 |
532 |
|
%patch96 -p1 |
533 |
|
%patch97 -p1 |
534 |
|
%patch98 -p1 |
535 |
|
%patch99 -p1 |
536 |
|
%patch100 -p1 |
537 |
|
|
538 |
%pre |
%pre |
539 |
/usr/sbin/useradd -c "Rsyncd User" \ |
/usr/sbin/useradd -c "Rsyncd User" \ |
547 |
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} |
548 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
549 |
mkdir -p root/var/log/rsyncd |
mkdir -p root/var/log/rsyncd |
550 |
|
mkdir -p root/home/e-smith/db/shares |
551 |
|
|
552 |
perl createlinks |
perl createlinks |
553 |
|
|
560 |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
561 |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
562 |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
563 |
|
--dir /home/e-smith/db/shares 'attr(0750,root,root)' \ |
564 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
565 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
566 |
|
|