1 |
vip-ire |
1.35 |
# $Id: smeserver-shared-folders.spec,v 1.34 2010/12/10 12:53:33 vip-ire Exp $ |
2 |
slords |
1.2 |
# Authority: vip-ire |
3 |
|
|
# Name: Daniel Berteaud |
4 |
slords |
1.1 |
|
5 |
|
|
Summary: sme server shared folders module |
6 |
|
|
%define name smeserver-shared-folders |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 0.1 |
9 |
vip-ire |
1.35 |
%define release 32 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
|
16 |
|
|
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
17 |
|
|
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
18 |
vip-ire |
1.3 |
Patch2: smeserver-shared-folders-0.1-locale-2009-05-05.patch |
19 |
vip-ire |
1.4 |
Patch3: smeserver-shared-folders-0.1-optimize_permissions.patch |
20 |
|
|
Patch4: smeserver-shared-folders-0.1-extended_access.patch |
21 |
|
|
Patch5: smeserver-shared-folders-0.1-keep_versions_in_panel.patch |
22 |
|
|
Patch6: smeserver-shared-folders-0.1-locale_extended_access.patch |
23 |
|
|
Patch7: smeserver-shared-folders-0.1-locale_add_description.patch |
24 |
|
|
Patch8: smeserver-shared-folders-0.1-remove_desc.patch |
25 |
|
|
Patch9: smeserver-shared-folders-0.1-http_skip_wrong_values.patch |
26 |
slords |
1.5 |
Patch10: smeserver-shared-folders-0.1-locale-2009-05-20.patch |
27 |
vip-ire |
1.6 |
Patch11: smeserver-shared-folders-0.1-locale-2009-05-21.patch |
28 |
vip-ire |
1.7 |
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
29 |
|
|
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
30 |
vip-ire |
1.8 |
Patch14: smeserver-shared-folders-0.1-locale-2009-05-25.patch |
31 |
vip-ire |
1.9 |
Patch15: smeserver-shared-folders-0.1-external_ssl_as_local.patch |
32 |
vip-ire |
1.10 |
Patch16: smeserver-shared-folders-0.1-locale-2009-06-15.patch |
33 |
vip-ire |
1.11 |
Patch17: smeserver-shared-folders-0.1-locale-2009-07-22.patch |
34 |
slords |
1.12 |
Patch18: smeserver-shared-folders-0.1-locale-2009-08-24.patch |
35 |
vip-ire |
1.13 |
Patch19: smeserver-shared-folders-0.1-locale-2009-09-28.patch |
36 |
vip-ire |
1.14 |
Patch20: smeserver-shared-folders-0.1-locale-2009-10-20.patch |
37 |
vip-ire |
1.15 |
Patch21: smeserver-shared-folders-0.1-locale-2009-10-21.patch |
38 |
slords |
1.16 |
Patch22: smeserver-shared-folders-0.1-locale-2009-10-27.patch |
39 |
vip-ire |
1.17 |
Patch23: smeserver-shared-folders-0.1-locale-2009-11-17.patch |
40 |
slords |
1.18 |
Patch24: smeserver-shared-folders-0.1-locale-2010-03-02.patch |
41 |
vip-ire |
1.19 |
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
42 |
|
|
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
43 |
vip-ire |
1.21 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
vip-ire |
1.22 |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
slords |
1.23 |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
46 |
vip-ire |
1.24 |
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
|
|
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
vip-ire |
1.25 |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
vip-ire |
1.26 |
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
50 |
|
|
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
51 |
vip-ire |
1.27 |
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
|
|
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
53 |
vip-ire |
1.29 |
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
54 |
|
|
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
55 |
vip-ire |
1.32 |
Patch39: smeserver-shared-folders-0.1-locale-2010-11-30.patch |
56 |
vip-ire |
1.33 |
Patch40: smeserver-shared-folders-0.1-fix_purge_script.patch |
57 |
vip-ire |
1.34 |
Patch41: smeserver-shared-folders-0.1-prop_alias_on_primary.patch |
58 |
vip-ire |
1.35 |
Patch42: smeserver-shared-folders-0.1-print_group_table_with_manual_perms.patch |
59 |
|
|
Patch43: smeserver-shared-folders-0.1-update_manual_perms_warning.patch |
60 |
|
|
Patch44: smeserver-shared-folders-0.1-fix_warning_in_httpd_template.patch |
61 |
|
|
Patch45: smeserver-shared-folders-0.1-fix_www_access.patch |
62 |
slords |
1.1 |
|
63 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
64 |
|
|
BuildArchitectures: noarch |
65 |
|
|
Requires: e-smith-base >= 4.13.15-76 |
66 |
|
|
Requires: perl(CGI::FormMagick) |
67 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
68 |
vip-ire |
1.29 |
Requires: smeserver-mod_dav |
69 |
|
|
Requires: acl |
70 |
slords |
1.1 |
|
71 |
|
|
BuildRequires: perl |
72 |
|
|
BuildRequires: e-smith-devtools >= 1.11.0-03 |
73 |
|
|
|
74 |
|
|
|
75 |
|
|
%description |
76 |
vip-ire |
1.4 |
This module allows you to create network shares |
77 |
|
|
with more flexibility than ibays as it supports ACLs |
78 |
slords |
1.1 |
|
79 |
|
|
%changelog |
80 |
vip-ire |
1.35 |
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
81 |
|
|
- Print the group table when ManualPermissions is enabled |
82 |
|
|
- Fix a warning in httpd.conf templates |
83 |
|
|
- Use www as group owner of the root dir if httpAccess is enabled |
84 |
|
|
|
85 |
vip-ire |
1.34 |
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
86 |
|
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
87 |
|
|
|
88 |
vip-ire |
1.33 |
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
89 |
|
|
- Fix purge script |
90 |
|
|
|
91 |
vip-ire |
1.32 |
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
92 |
|
|
- apply locale 2010-11-30 patch |
93 |
|
|
|
94 |
slords |
1.31 |
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
95 |
|
|
- Fix orig file removal the correct way |
96 |
|
|
|
97 |
vip-ire |
1.30 |
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
98 |
|
|
- Remove .orig file |
99 |
|
|
|
100 |
vip-ire |
1.29 |
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
101 |
|
|
- Add webdav support |
102 |
|
|
- add recycle purge support (with configurable retention time) |
103 |
|
|
|
104 |
vip-ire |
1.27 |
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
105 |
|
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
106 |
|
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
107 |
|
|
- Create the recyle bin directory if enabled |
108 |
vip-ire |
1.28 |
- Fix defaults ACL on dir (fix issues with recycle bin) |
109 |
vip-ire |
1.27 |
|
110 |
vip-ire |
1.26 |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
111 |
|
|
- Fix permission on group delete |
112 |
|
|
- apply local 2010-10-20 patch |
113 |
|
|
|
114 |
vip-ire |
1.25 |
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
115 |
|
|
- apply locale 2010-07-19 patch |
116 |
|
|
|
117 |
vip-ire |
1.24 |
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
118 |
|
|
- correct typos in en-us locale [SME: 6103] |
119 |
|
|
- apply locale 2010-07-06 patch |
120 |
|
|
|
121 |
slords |
1.23 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
122 |
|
|
- apply locale 2010-05-23 patch |
123 |
|
|
|
124 |
vip-ire |
1.22 |
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
125 |
|
|
- apply locale 2010-03-26 patch (fix navigation-conf) |
126 |
|
|
|
127 |
vip-ire |
1.21 |
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
128 |
|
|
- apply locale 2010-03-25 patch |
129 |
|
|
|
130 |
vip-ire |
1.20 |
* Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme |
131 |
|
|
- really apply manual_permissions patch |
132 |
|
|
|
133 |
vip-ire |
1.19 |
* Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme |
134 |
|
|
- Add an option to allow manual permissions (ManualPermissions) |
135 |
|
|
- remove unused .orig file |
136 |
|
|
- Exec CGI in cgi-bin directories |
137 |
|
|
|
138 |
slords |
1.18 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme |
139 |
|
|
- apply locale 2010-03-02 patch |
140 |
|
|
|
141 |
vip-ire |
1.17 |
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
142 |
|
|
- apply locale 2009-11-17 patch |
143 |
|
|
|
144 |
slords |
1.16 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
145 |
|
|
- apply locale 2009-10-27 patch |
146 |
|
|
|
147 |
vip-ire |
1.15 |
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
148 |
|
|
- apply locale 2009-10-21 patch |
149 |
|
|
|
150 |
vip-ire |
1.14 |
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
151 |
|
|
- apply locale 2009-10-20 patch |
152 |
|
|
|
153 |
vip-ire |
1.13 |
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
154 |
|
|
- apply locale 2009-09-28 patch |
155 |
|
|
|
156 |
slords |
1.12 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
157 |
|
|
- apply locale 2009-08-24 patch |
158 |
|
|
|
159 |
vip-ire |
1.11 |
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
160 |
|
|
- Apply locale 2009-07-22 patch |
161 |
|
|
|
162 |
vip-ire |
1.10 |
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
163 |
|
|
- Apply locale 2009-06-15 patch |
164 |
|
|
|
165 |
vip-ire |
1.9 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
166 |
|
|
- Include hosts/networks defined in $externalSSLAccess for local access |
167 |
|
|
(httpAccess) |
168 |
|
|
|
169 |
vip-ire |
1.8 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
170 |
|
|
- Apply locale 2009-05-25 patch |
171 |
|
|
|
172 |
vip-ire |
1.7 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
173 |
|
|
- Add an empty template-begin for smb.conf template |
174 |
|
|
- Add locale 2009-05-21 patch (en-us) |
175 |
|
|
|
176 |
vip-ire |
1.6 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
177 |
|
|
- apply locale 2009-05-21 patch |
178 |
|
|
|
179 |
slords |
1.5 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme |
180 |
|
|
- apply locale 2009-05-20 patch |
181 |
|
|
|
182 |
vip-ire |
1.4 |
* Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2] |
183 |
|
|
- add http access, with some options in the panel |
184 |
|
|
- present the keepversion option of the recylcebin in the panel |
185 |
|
|
- changes in db keys |
186 |
|
|
- remove some descriptions in the panel |
187 |
vip-ire |
1.21 |
- optimization in share-modify to limit the time needed |
188 |
vip-ire |
1.4 |
to reset permissions |
189 |
|
|
|
190 |
vip-ire |
1.3 |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
191 |
|
|
- Add locale patch 2009-05-05 |
192 |
|
|
|
193 |
slords |
1.1 |
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3] |
194 |
|
|
- Add acl option in fstab via the template system |
195 |
|
|
(just like usrquota and grpquota) |
196 |
|
|
|
197 |
|
|
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2] |
198 |
|
|
- Rename spec file |
199 |
|
|
|
200 |
|
|
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1] |
201 |
|
|
- Rename maxIbayNameLength to maxShareNameLength |
202 |
|
|
|
203 |
|
|
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0] |
204 |
|
|
- Initial release. |
205 |
|
|
|
206 |
|
|
%prep |
207 |
|
|
%setup |
208 |
|
|
|
209 |
|
|
%patch0 -p1 |
210 |
|
|
%patch1 -p1 |
211 |
vip-ire |
1.3 |
%patch2 -p1 |
212 |
vip-ire |
1.4 |
%patch3 -p1 |
213 |
|
|
%patch4 -p1 |
214 |
|
|
%patch5 -p1 |
215 |
|
|
%patch6 -p1 |
216 |
|
|
%patch7 -p1 |
217 |
|
|
%patch8 -p1 |
218 |
|
|
%patch9 -p1 |
219 |
slords |
1.5 |
%patch10 -p1 |
220 |
vip-ire |
1.6 |
%patch11 -p1 |
221 |
vip-ire |
1.7 |
%patch12 -p1 |
222 |
|
|
%patch13 -p1 |
223 |
vip-ire |
1.8 |
%patch14 -p1 |
224 |
vip-ire |
1.9 |
%patch15 -p1 |
225 |
vip-ire |
1.10 |
%patch16 -p1 |
226 |
vip-ire |
1.11 |
%patch17 -p1 |
227 |
slords |
1.12 |
%patch18 -p1 |
228 |
vip-ire |
1.13 |
%patch19 -p1 |
229 |
vip-ire |
1.14 |
%patch20 -p1 |
230 |
vip-ire |
1.15 |
%patch21 -p1 |
231 |
slords |
1.16 |
%patch22 -p1 |
232 |
vip-ire |
1.17 |
%patch23 -p1 |
233 |
slords |
1.18 |
%patch24 -p1 |
234 |
vip-ire |
1.20 |
%patch25 -p1 |
235 |
vip-ire |
1.19 |
%patch26 -p1 |
236 |
vip-ire |
1.21 |
%patch27 -p1 |
237 |
vip-ire |
1.22 |
%patch28 -p1 |
238 |
slords |
1.23 |
%patch29 -p1 |
239 |
vip-ire |
1.24 |
%patch30 -p1 |
240 |
|
|
%patch31 -p1 |
241 |
vip-ire |
1.25 |
%patch32 -p1 |
242 |
vip-ire |
1.26 |
%patch33 -p1 |
243 |
|
|
%patch34 -p1 |
244 |
vip-ire |
1.27 |
%patch35 -p1 |
245 |
|
|
%patch36 -p1 |
246 |
vip-ire |
1.29 |
%patch37 -p1 |
247 |
|
|
%patch38 -p1 |
248 |
vip-ire |
1.32 |
%patch39 -p1 |
249 |
vip-ire |
1.33 |
%patch40 -p1 |
250 |
vip-ire |
1.34 |
%patch41 -p1 |
251 |
vip-ire |
1.35 |
%patch42 -p1 |
252 |
|
|
%patch43 -p1 |
253 |
|
|
%patch44 -p1 |
254 |
|
|
%patch45 -p1 |
255 |
slords |
1.1 |
|
256 |
|
|
%pre |
257 |
|
|
%post |
258 |
|
|
|
259 |
|
|
%build |
260 |
|
|
# Force creation of potentially empty directories |
261 |
|
|
mkdir -p root/etc/e-smith/web/{common,functions} |
262 |
|
|
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
263 |
|
|
mkdir -p root/home/e-smith/files/shares |
264 |
|
|
|
265 |
|
|
perl createlinks |
266 |
|
|
|
267 |
|
|
%install |
268 |
|
|
rm -rf $RPM_BUILD_ROOT |
269 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
270 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
271 |
vip-ire |
1.29 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
272 |
slords |
1.1 |
> %{name}-%{version}-%{release}-filelist |
273 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
274 |
|
|
|
275 |
|
|
%clean |
276 |
|
|
rm -rf $RPM_BUILD_ROOT |
277 |
|
|
|
278 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
279 |
|
|
%defattr(-,root,root) |