1 |
# $Id: smeserver-shared-folders.spec,v 1.25 2010/07/19 08:18:01 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.37 2011/01/03 08:41:13 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 24 |
%define release 35 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
48 |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
50 |
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
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 |
|
|
66 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
67 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
68 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
69 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
70 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
71 |
|
Requires: smeserver-mod_dav |
72 |
Requires: acl |
Requires: acl |
73 |
|
|
74 |
BuildRequires: perl |
BuildRequires: perl |
75 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
76 |
|
|
80 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
81 |
|
|
82 |
%changelog |
%changelog |
83 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
84 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
85 |
|
|
86 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
87 |
|
- Apply locale 2011-01-03 patch |
88 |
|
|
89 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
90 |
|
- New prop PHPAllowUrlFopen |
91 |
|
|
92 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
93 |
|
- Print the group table when ManualPermissions is enabled |
94 |
|
- Fix a warning in httpd.conf templates |
95 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
96 |
|
|
97 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
98 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
99 |
|
|
100 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
101 |
|
- Fix purge script |
102 |
|
|
103 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
104 |
|
- apply locale 2010-11-30 patch |
105 |
|
|
106 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
107 |
|
- Fix orig file removal the correct way |
108 |
|
|
109 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
110 |
|
- Remove .orig file |
111 |
|
|
112 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
113 |
|
- Add webdav support |
114 |
|
- add recycle purge support (with configurable retention time) |
115 |
|
|
116 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
117 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
118 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
119 |
|
- Create the recyle bin directory if enabled |
120 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
121 |
|
|
122 |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
123 |
- Fix permission on group delete |
- Fix permission on group delete |
124 |
- apply local 2010-10-20 patch |
- apply local 2010-10-20 patch |
243 |
%patch22 -p1 |
%patch22 -p1 |
244 |
%patch23 -p1 |
%patch23 -p1 |
245 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
246 |
%patch25 -p1 |
%patch25 -p1 |
247 |
%patch26 -p1 |
%patch26 -p1 |
248 |
%patch27 -p1 |
%patch27 -p1 |
253 |
%patch32 -p1 |
%patch32 -p1 |
254 |
%patch33 -p1 |
%patch33 -p1 |
255 |
%patch34 -p1 |
%patch34 -p1 |
256 |
|
%patch35 -p1 |
257 |
|
%patch36 -p1 |
258 |
|
%patch37 -p1 |
259 |
|
%patch38 -p1 |
260 |
|
%patch39 -p1 |
261 |
|
%patch40 -p1 |
262 |
|
%patch41 -p1 |
263 |
|
%patch42 -p1 |
264 |
|
%patch43 -p1 |
265 |
|
%patch44 -p1 |
266 |
|
%patch45 -p1 |
267 |
|
%patch46 -p1 |
268 |
|
%patch47 -p1 |
269 |
|
%patch48 -p1 |
270 |
|
|
271 |
%pre |
%pre |
272 |
%post |
%post |
283 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
284 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
285 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
286 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
287 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
288 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
289 |
|
|