1 |
# $Id: e-smith-samba.spec,v 1.41 2010/10/02 09:52:20 vip-ire Exp $ |
# $Id: e-smith-samba.spec,v 1.44 2010/10/08 14:41:56 slords 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 22 |
%define release 25 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
28 |
Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch |
Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch |
29 |
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
30 |
Patch18: e-smith-samba-2.2.0-add_sambasid_to_sensible_attrs.patch |
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 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
AutoReqProv: no |
AutoReqProv: no |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-25.sme |
54 |
|
- Fix anonymous access [SME: 6254] |
55 |
|
|
56 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 2.2.0-24.sme |
57 |
|
- Fix moving secrets.tdb file [SME: 6057] |
58 |
|
|
59 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme |
60 |
|
- Empty output when listing sensible attribtues [SME: 6254] |
61 |
|
|
62 |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
63 |
- Add sambaSID to the list of sensible attributes [SME: 6254] |
- Add sambaSID to the list of sensible attributes [SME: 6254] |
64 |
|
|
1106 |
%patch16 -p1 |
%patch16 -p1 |
1107 |
%patch17 -p1 |
%patch17 -p1 |
1108 |
%patch18 -p1 |
%patch18 -p1 |
1109 |
|
%patch19 -p1 |
1110 |
|
%patch20 -p1 |
1111 |
|
|
1112 |
%build |
%build |
1113 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1190 |
fi |
fi |
1191 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1192 |
# Move back secrets.tdb to private dir |
# Move back secrets.tdb to private dir |
1193 |
[ -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 ] |
1194 |
|
then |
1195 |
|
mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
1196 |
|
fi |
1197 |
|
|
1198 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1199 |
%defattr(-,root,root) |
%defattr(-,root,root) |