1 |
# $Id: e-smith-samba.spec,v 1.34 2010/03/26 16:09:17 filippocarletti Exp $ |
# $Id: e-smith-samba.spec,v 1.45 2010/10/14 20:45:34 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith specific Samba configuration files and templates |
Summary: e-smith specific Samba configuration files and templates |
4 |
%define name e-smith-samba |
%define name e-smith-samba |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 15 |
%define release 26 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
22 |
Patch10: e-smith-samba-2.2.0-fail-silently-on-non-existent-folder.patch |
Patch10: e-smith-samba-2.2.0-fail-silently-on-non-existent-folder.patch |
23 |
Patch11: e-smith-samba-2.2.0-tdb_backup.patch |
Patch11: e-smith-samba-2.2.0-tdb_backup.patch |
24 |
Patch12: e-smith-samba-2.2.0-private_dir.patch |
Patch12: e-smith-samba-2.2.0-private_dir.patch |
25 |
|
Patch13: e-smith-samba-2.2.0-backup-all-tdb-files.patch |
26 |
|
Patch14: e-smith-samba-2.2.0-strongkey.patch |
27 |
|
Patch15: e-smith-samba-2.2.0-slapd_support.patch |
28 |
|
Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch |
29 |
|
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
30 |
|
Patch18: e-smith-samba-2.2.0-add_sambasid_to_sensible_attrs.patch |
31 |
|
Patch19: e-smith-samba-2.2.0-samba_attr_no_output.patch |
32 |
|
Patch20: e-smith-samba-2.2.0-fix_limited_anon_access.patch |
33 |
|
Patch21: e-smith-samba-2.2.0-fix_modify.patch |
34 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
Obsoletes: e-smith-regedit |
Obsoletes: e-smith-regedit |
39 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
40 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
41 |
Requires: samba >= 3.4.3 |
Requires: samba3x >= 3.3.8 |
42 |
Requires: samba-client >= 3.4.3 |
Requires: samba3x-client >= 3.3.8 |
43 |
Requires: samba-common >= 3.4.3 |
Requires: samba3x-common >= 3.3.8 |
44 |
|
Obsoletes: samba <= 3.1.0 |
45 |
|
Obsoletes: samba-client <= 3.1.0 |
46 |
|
Obsoletes: samba-common <= 3.1.0 |
47 |
|
Obsoletes: samba = 3.4.3-1.1.el5.sme |
48 |
|
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
49 |
|
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
50 |
Requires: /usr/bin/tdbbackup |
Requires: /usr/bin/tdbbackup |
51 |
AutoReqProv: no |
AutoReqProv: no |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Wed Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-26.sme |
55 |
|
- Change the way groups are modified on samba3x [SME: 6314] |
56 |
|
|
57 |
|
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-25.sme |
58 |
|
- Fix anonymous access [SME: 6254] |
59 |
|
|
60 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 2.2.0-24.sme |
61 |
|
- Fix moving secrets.tdb file [SME: 6057] |
62 |
|
|
63 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme |
64 |
|
- Empty output when listing sensible attribtues [SME: 6254] |
65 |
|
|
66 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
67 |
|
- Add sambaSID to the list of sensible attributes [SME: 6254] |
68 |
|
|
69 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-21.sme |
70 |
|
- Deny access to some attributes for anonymous users [SME: 6254] |
71 |
|
|
72 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-20.sme |
73 |
|
- povide an option to enable lanman passwords [SME: 6229] |
74 |
|
|
75 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme |
76 |
|
- Add slapd support [SME: 6228] |
77 |
|
|
78 |
|
* Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme |
79 |
|
- Remove require strong key part of regedit file [SME: 6119] |
80 |
|
|
81 |
|
* Wed Jun 23 2010 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
82 |
|
- Use samba3x package for windows 7 compatibility [SME: 5964] |
83 |
|
|
84 |
|
* Mon Jun 14 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 2.2.0-16.sme |
85 |
|
- Backup all the tdb files (thanks Daniel) [SME: 5856] |
86 |
|
- Post scriptlet fix [SME: 6057] |
87 |
|
|
88 |
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
89 |
- Explicitly declare samba private dir [SME: 5857] |
- Explicitly declare samba private dir [SME: 5857] |
90 |
|
|
1104 |
%patch10 -p1 |
%patch10 -p1 |
1105 |
%patch11 -p1 |
%patch11 -p1 |
1106 |
%patch12 -p1 |
%patch12 -p1 |
1107 |
|
%patch13 -p1 |
1108 |
|
%patch14 -p1 |
1109 |
|
%patch15 -p1 |
1110 |
|
%patch16 -p1 |
1111 |
|
%patch17 -p1 |
1112 |
|
%patch18 -p1 |
1113 |
|
%patch19 -p1 |
1114 |
|
%patch20 -p1 |
1115 |
|
%patch21 -p1 |
1116 |
|
|
1117 |
%build |
%build |
1118 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1195 |
fi |
fi |
1196 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1197 |
# Move back secrets.tdb to private dir |
# Move back secrets.tdb to private dir |
1198 |
[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
if [ -f /var/lib/samba/private/secrets.tdb ] |
1199 |
|
then |
1200 |
|
mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
1201 |
|
fi |
1202 |
|
|
1203 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1204 |
%defattr(-,root,root) |
%defattr(-,root,root) |