1 |
# $Id: smeserver-shared-folders.spec,v 1.2 2013/10/13 15:29:46 unnilennium Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.9 2014/01/13 15:36:09 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Summary: sme server shared folders module |
Summary: sme server shared folders module |
6 |
%define name smeserver-shared-folders |
%define name smeserver-shared-folders |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.1 |
%define version 0.3 |
9 |
%define release 82 |
%define release 5 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.xz |
15 |
|
Patch0: smeserver-shared-folders-0.3-remove_fstab_expand_on_post_upgrade.patch |
16 |
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
Patch1: smeserver-shared-folders-0.3-dump_acl_and_xattr_for_manual_perm.patch |
17 |
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
Patch2: smeserver-shared-folders-0.3-fix_missing_cr_in_smb_template.patch |
18 |
Patch2: smeserver-shared-folders-0.1-locale-2009-05-05.patch |
Patch3: smeserver-shared-folders-0.3-fix_auth_basic.patch |
|
Patch3: smeserver-shared-folders-0.1-optimize_permissions.patch |
|
|
Patch4: smeserver-shared-folders-0.1-extended_access.patch |
|
|
Patch5: smeserver-shared-folders-0.1-keep_versions_in_panel.patch |
|
|
Patch6: smeserver-shared-folders-0.1-locale_extended_access.patch |
|
|
Patch7: smeserver-shared-folders-0.1-locale_add_description.patch |
|
|
Patch8: smeserver-shared-folders-0.1-remove_desc.patch |
|
|
Patch9: smeserver-shared-folders-0.1-http_skip_wrong_values.patch |
|
|
Patch10: smeserver-shared-folders-0.1-locale-2009-05-20.patch |
|
|
Patch11: smeserver-shared-folders-0.1-locale-2009-05-21.patch |
|
|
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
|
|
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
|
|
Patch14: smeserver-shared-folders-0.1-locale-2009-05-25.patch |
|
|
Patch15: smeserver-shared-folders-0.1-external_ssl_as_local.patch |
|
|
Patch16: smeserver-shared-folders-0.1-locale-2009-06-15.patch |
|
|
Patch17: smeserver-shared-folders-0.1-locale-2009-07-22.patch |
|
|
Patch18: smeserver-shared-folders-0.1-locale-2009-08-24.patch |
|
|
Patch19: smeserver-shared-folders-0.1-locale-2009-09-28.patch |
|
|
Patch20: smeserver-shared-folders-0.1-locale-2009-10-20.patch |
|
|
Patch21: smeserver-shared-folders-0.1-locale-2009-10-21.patch |
|
|
Patch22: smeserver-shared-folders-0.1-locale-2009-10-27.patch |
|
|
Patch23: smeserver-shared-folders-0.1-locale-2009-11-17.patch |
|
|
Patch24: smeserver-shared-folders-0.1-locale-2010-03-02.patch |
|
|
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
|
|
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
|
|
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
|
|
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
|
|
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
|
|
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
|
|
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
|
|
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
|
|
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
|
|
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
|
|
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
|
|
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
|
|
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
|
|
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
|
|
Patch39: smeserver-shared-folders-0.1-locale-2010-11-30.patch |
|
|
Patch40: smeserver-shared-folders-0.1-fix_purge_script.patch |
|
|
Patch41: smeserver-shared-folders-0.1-prop_alias_on_primary.patch |
|
|
Patch42: smeserver-shared-folders-0.1-print_group_table_with_manual_perms.patch |
|
|
Patch43: smeserver-shared-folders-0.1-update_manual_perms_warning.patch |
|
|
Patch44: smeserver-shared-folders-0.1-fix_warning_in_httpd_template.patch |
|
|
Patch45: smeserver-shared-folders-0.1-fix_www_access.patch |
|
|
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
|
|
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
|
|
Patch48: smeserver-shared-folders-0.1-fix_files_starting_with_dash.patch |
|
|
Patch49: smeserver-shared-folders-0.1-dedup_writers.patch |
|
|
Patch50: smeserver-shared-folders-0.1-expand_and_restart_http_on_group_mod.patch |
|
|
Patch51: smeserver-shared-folders-0.1-fix_recycle_purge_script.patch |
|
|
Patch52: smeserver-shared-folders-0.1-locale-2011-04-27.patch |
|
|
Patch53: smeserver-shared-folders-0.1-encfs.patch |
|
|
Patch54: smeserver-shared-folders-0.1-locale-2011-05-16.patch |
|
|
Patch55: smeserver-shared-folders-0.1-add_missing_inactivity_entry.patch |
|
|
Patch56: smeserver-shared-folders-0.1-locale-2011-05-17.patch |
|
|
Patch57: smeserver-shared-folders-0.1-dont_check_pass_if_enc_is_off.patch |
|
|
Patch58: smeserver-shared-folders-0.1-ro_on_top_dir.patch |
|
|
Patch59: smeserver-shared-folders-0.1-add_ajaxplorer_support.patch |
|
|
Patch60: smeserver-shared-folders-0.1-samba_audit.patch |
|
|
Patch61: smeserver-shared-folders-0.1-make_encfs_optional.patch |
|
|
Patch62: smeserver-shared-folders-0.1-locale-2011-07-05.patch |
|
|
Patch63: smeserver-shared-folders-0.1-fix_unencrypted_shares_modify.patch |
|
|
Patch64: smeserver-shared-folders-0.1-fix_when_ajaxplorer_is_not_installed.patch |
|
|
Patch65: smeserver-shared-folders-0.1-fix_encrypted_share_list.patch |
|
|
Patch66: smeserver-shared-folders-0.1-dont_check_passwd_if_encrypt_disabled.patch |
|
|
Patch67: smeserver-shared-folders-0.1-fix_creation_without_encfs.patch |
|
|
Patch68: smeserver-shared-folders-0.1-locale-2011-10-18.patch |
|
|
Patch69: smeserver-shared-folders-0.1-enable_followsymlinks_if_allowoverride_all.patch |
|
|
Patch70: smeserver-shared-folders-0.1-recursive_setfacl.patch |
|
|
Patch71: smeserver-shared-folders-0.1-samba_wide_links.patch |
|
|
Patch72: smeserver-shared-folders-0.1-setfacl_physical.patch |
|
|
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
|
|
Patch74: smeserver-shared-folders-0.1-hide_trash_if_disabled.patch |
|
|
Patch75: smeserver-shared-folders-0.1-users_acl.patch |
|
|
Patch76: smeserver-shared-folders-0.1-fixe_users_locale.patch |
|
|
Patch77: smeserver-shared-folders-0.1-http_remove_ro_from_rw.patch |
|
|
Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch |
|
|
Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch |
|
|
Patch80: smeserver-shared-folders-0.1-locale-2012-02-18.patch |
|
|
Patch81: smeserver-shared-folders-0.1-rsyncd.patch |
|
|
Patch82: smeserver-shared-folders-0.1-webdav_access_when_no_auth_required.patch |
|
|
Patch83: smeserver-shared-folders-0.1-locale-2012-03-20.patch |
|
|
Patch84: smeserver-shared-folders-0.1-mod_perm_after_create.patch |
|
|
Patch85: smeserver-shared-folders-0.1-name_and_desc_on_perm_form.patch |
|
|
Patch86: smeserver-shared-folders-0.1-stop_disabling_unix_in_share_scope.patch |
|
|
Patch87: smeserver-shared-folders-0.1-set_www_user_acls.patch |
|
|
Patch88: smeserver-shared-folders-0.1-locale-2012-07-20.patch |
|
|
Patch89: smeserver-shared-folders-0.1-ftp_access.patch |
|
|
Patch90: smeserver-shared-folders-0.1-hide_and_non_removable.patch |
|
|
Patch91: smeserver-shared-folders-0.1-enc_shares_user_acl.patch |
|
|
Patch92: smeserver-shared-folders-0.1-locale-2012-10-11.patch |
|
|
Patch93: smeserver-shared-folders-0.1-share_name_starting_with_a_num.patch |
|
|
Patch94: smeserver-shared-folders-0.1-name_ending_with_dollar.patch |
|
|
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
|
|
Patch96: smeserver-shared-folders-0.1-locale-2013-07-14.patch |
|
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
* Mon Nov 11 2013 JP Pialasse <tests@pialasse.com> 0.1-82.sme |
* Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-5.sme |
38 |
- first import to SME9 contribs |
- Fix basic auth on EL6 |
39 |
- fix patch tag |
|
40 |
|
* Mon Jan 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.3-4.sme |
41 |
|
- Add a missing CR in smb.conf templates |
42 |
|
|
43 |
|
* Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-3.sme |
44 |
|
- Dump ACL and extended attributes in /home/e-smith/db/shares if |
45 |
|
ManualPermissions is set |
46 |
|
|
47 |
|
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-2.sme |
48 |
|
- Remove expand link for fstab in post-upgrade |
49 |
|
|
50 |
|
* Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.3-1.sme |
51 |
|
- Rebuild for SME9 |
52 |
|
|
53 |
|
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme |
54 |
|
- apply locale 2013-10-29 patch |
55 |
|
|
56 |
|
* Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme |
57 |
|
- Rename ajaxplorer to pydio |
58 |
|
|
59 |
|
* Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-81.sme |
60 |
|
- Add NT ACL support |
61 |
|
|
62 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme |
63 |
- apply locale 2013-07-14 patch |
- apply locale 2013-07-14 patch |
346 |
|
|
347 |
%prep |
%prep |
348 |
%setup |
%setup |
|
|
|
349 |
%patch0 -p1 |
%patch0 -p1 |
350 |
%patch1 -p1 |
%patch1 -p1 |
351 |
%patch2 -p1 |
%patch2 -p1 |
352 |
%patch3 -p1 |
%patch3 -p1 |
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
|
%patch22 -p1 |
|
|
%patch23 -p1 |
|
|
%patch24 -p1 |
|
|
%patch25 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
%patch34 -p1 |
|
|
%patch35 -p1 |
|
|
%patch36 -p1 |
|
|
%patch37 -p1 |
|
|
%patch38 -p1 |
|
|
%patch39 -p1 |
|
|
%patch40 -p1 |
|
|
%patch41 -p1 |
|
|
%patch42 -p1 |
|
|
%patch43 -p1 |
|
|
%patch44 -p1 |
|
|
%patch45 -p1 |
|
|
%patch46 -p1 |
|
|
%patch47 -p1 |
|
|
%patch48 -p1 |
|
|
%patch49 -p1 |
|
|
%patch50 -p1 |
|
|
%patch51 -p1 |
|
|
%patch52 -p1 |
|
|
%patch53 -p1 |
|
|
%patch54 -p1 |
|
|
%patch55 -p1 |
|
|
%patch56 -p1 |
|
|
%patch57 -p1 |
|
|
%patch58 -p1 |
|
|
%patch59 -p1 |
|
|
%patch60 -p1 |
|
|
%patch61 -p1 |
|
|
%patch62 -p1 |
|
|
%patch63 -p1 |
|
|
%patch64 -p1 |
|
|
%patch65 -p1 |
|
|
%patch66 -p1 |
|
|
%patch67 -p1 |
|
|
%patch68 -p1 |
|
|
%patch69 -p1 |
|
|
%patch70 -p1 |
|
|
%patch71 -p1 |
|
|
%patch72 -p1 |
|
|
%patch73 -p1 |
|
|
%patch74 -p1 |
|
|
%patch75 -p1 |
|
|
%patch76 -p1 |
|
|
%patch77 -p1 |
|
|
%patch78 -p1 |
|
|
%patch79 -p1 |
|
|
%patch80 -p1 |
|
|
%patch81 -p1 |
|
|
%patch82 -p1 |
|
|
%patch83 -p1 |
|
|
%patch84 -p1 |
|
|
%patch85 -p1 |
|
|
%patch86 -p1 |
|
|
%patch87 -p1 |
|
|
%patch88 -p1 |
|
|
%patch89 -p1 |
|
|
%patch90 -p1 |
|
|
%patch91 -p1 |
|
|
%patch92 -p1 |
|
|
%patch93 -p1 |
|
|
%patch94 -p1 |
|
|
%patch95 -p1 |
|
|
%patch96 -p1 |
|
353 |
|
|
354 |
%pre |
%pre |
355 |
/usr/sbin/useradd -c "Rsyncd User" \ |
/usr/sbin/useradd -c "Rsyncd User" \ |
363 |
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} |
364 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
365 |
mkdir -p root/var/log/rsyncd |
mkdir -p root/var/log/rsyncd |
366 |
|
mkdir -p root/home/e-smith/db/shares |
367 |
|
|
368 |
perl createlinks |
perl createlinks |
369 |
|
|
376 |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
377 |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
378 |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
379 |
|
--dir /home/e-smith/db/shares 'attr(0750,root,root)' \ |
380 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
381 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
382 |
|
|