1 |
# $Id: smeserver-shared-folders.spec,v 1.20 2010/03/15 09:08:11 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.46 2011/06/14 07:03:45 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 19 |
%define release 44 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
41 |
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
42 |
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
43 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
|
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
|
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
46 |
|
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
|
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
|
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
|
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 |
|
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
|
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
53 |
|
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
54 |
|
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
55 |
|
Patch39: smeserver-shared-folders-0.1-locale-2010-11-30.patch |
56 |
|
Patch40: smeserver-shared-folders-0.1-fix_purge_script.patch |
57 |
|
Patch41: smeserver-shared-folders-0.1-prop_alias_on_primary.patch |
58 |
|
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 |
|
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
63 |
|
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
64 |
|
Patch48: smeserver-shared-folders-0.1-fix_files_starting_with_dash.patch |
65 |
|
Patch49: smeserver-shared-folders-0.1-dedup_writers.patch |
66 |
|
Patch50: smeserver-shared-folders-0.1-expand_and_restart_http_on_group_mod.patch |
67 |
|
Patch51: smeserver-shared-folders-0.1-fix_recycle_purge_script.patch |
68 |
|
Patch52: smeserver-shared-folders-0.1-locale-2011-04-27.patch |
69 |
|
Patch53: smeserver-shared-folders-0.1-encfs.patch |
70 |
|
Patch54: smeserver-shared-folders-0.1-locale-2011-05-16.patch |
71 |
|
Patch55: smeserver-shared-folders-0.1-add_missing_inactivity_entry.patch |
72 |
|
Patch56: smeserver-shared-folders-0.1-locale-2011-05-17.patch |
73 |
|
Patch57: smeserver-shared-folders-0.1-dont_check_pass_if_enc_is_off.patch |
74 |
|
Patch58: smeserver-shared-folders-0.1-ro_on_top_dir.patch |
75 |
|
|
76 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
77 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
78 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
79 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
80 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
81 |
|
Requires: smeserver-mod_dav |
82 |
Requires: acl |
Requires: acl |
83 |
|
Requires: fuse-encfs |
84 |
|
|
85 |
BuildRequires: perl |
BuildRequires: perl |
86 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
87 |
|
|
91 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
92 |
|
|
93 |
%changelog |
%changelog |
94 |
|
* Wed Jun 22 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-44.sme |
95 |
|
- Set read only permissions on top dir of each share |
96 |
|
|
97 |
|
* Tue Jun 14 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-43.sme |
98 |
|
- Don't check password field if encryption is disabled |
99 |
|
|
100 |
|
* Tue May 17 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-42.sme |
101 |
|
- Add missing INACTIVITY entry in locale |
102 |
|
- Apply locale 2011-05-17 patch |
103 |
|
|
104 |
|
* Mon May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
105 |
|
- apply locale 2011-05-16 patch |
106 |
|
|
107 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
108 |
|
- Support encryption using EncFS |
109 |
|
|
110 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
111 |
|
- apply locale 2011-04-27 patch |
112 |
|
|
113 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
114 |
|
- Fix removing empty directories in recycles |
115 |
|
|
116 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
117 |
|
- expand httpd.conf and restart apache on group-modify |
118 |
|
|
119 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
120 |
|
- Deduplicate writer user list in apache configuration |
121 |
|
- Always grant web access to user admin |
122 |
|
|
123 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
124 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
125 |
|
|
126 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
127 |
|
- Apply locale 2011-01-03 patch |
128 |
|
|
129 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
130 |
|
- New prop PHPAllowUrlFopen |
131 |
|
|
132 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
133 |
|
- Print the group table when ManualPermissions is enabled |
134 |
|
- Fix a warning in httpd.conf templates |
135 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
136 |
|
|
137 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
138 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
139 |
|
|
140 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
141 |
|
- Fix purge script |
142 |
|
|
143 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
144 |
|
- apply locale 2010-11-30 patch |
145 |
|
|
146 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
147 |
|
- Fix orig file removal the correct way |
148 |
|
|
149 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
150 |
|
- Remove .orig file |
151 |
|
|
152 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
153 |
|
- Add webdav support |
154 |
|
- add recycle purge support (with configurable retention time) |
155 |
|
|
156 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
157 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
158 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
159 |
|
- Create the recyle bin directory if enabled |
160 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
161 |
|
|
162 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
163 |
|
- Fix permission on group delete |
164 |
|
- apply local 2010-10-20 patch |
165 |
|
|
166 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
167 |
|
- apply locale 2010-07-19 patch |
168 |
|
|
169 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
170 |
|
- correct typos in en-us locale [SME: 6103] |
171 |
|
- apply locale 2010-07-06 patch |
172 |
|
|
173 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
174 |
|
- apply locale 2010-05-23 patch |
175 |
|
|
176 |
|
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
177 |
|
- apply locale 2010-03-26 patch (fix navigation-conf) |
178 |
|
|
179 |
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
180 |
- apply locale 2010-03-25 patch |
- apply locale 2010-03-25 patch |
181 |
|
|
283 |
%patch22 -p1 |
%patch22 -p1 |
284 |
%patch23 -p1 |
%patch23 -p1 |
285 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
286 |
%patch25 -p1 |
%patch25 -p1 |
287 |
%patch26 -p1 |
%patch26 -p1 |
288 |
%patch27 -p1 |
%patch27 -p1 |
289 |
|
%patch28 -p1 |
290 |
|
%patch29 -p1 |
291 |
|
%patch30 -p1 |
292 |
|
%patch31 -p1 |
293 |
|
%patch32 -p1 |
294 |
|
%patch33 -p1 |
295 |
|
%patch34 -p1 |
296 |
|
%patch35 -p1 |
297 |
|
%patch36 -p1 |
298 |
|
%patch37 -p1 |
299 |
|
%patch38 -p1 |
300 |
|
%patch39 -p1 |
301 |
|
%patch40 -p1 |
302 |
|
%patch41 -p1 |
303 |
|
%patch42 -p1 |
304 |
|
%patch43 -p1 |
305 |
|
%patch44 -p1 |
306 |
|
%patch45 -p1 |
307 |
|
%patch46 -p1 |
308 |
|
%patch47 -p1 |
309 |
|
%patch48 -p1 |
310 |
|
%patch49 -p1 |
311 |
|
%patch50 -p1 |
312 |
|
%patch51 -p1 |
313 |
|
%patch52 -p1 |
314 |
|
%patch53 -p1 |
315 |
|
%patch54 -p1 |
316 |
|
%patch55 -p1 |
317 |
|
%patch56 -p1 |
318 |
|
%patch57 -p1 |
319 |
|
%patch58 -p1 |
320 |
|
|
321 |
%pre |
%pre |
322 |
%post |
%post |
333 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
334 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
335 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
336 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
337 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
338 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
339 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
340 |
|
|