1 |
# $Id: e-smith-samba.spec,v 1.33 2010/03/17 17:39:47 snetram Exp $ |
# $Id: e-smith-samba.spec,v 1.38 2010/07/08 19:12:07 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 14 |
%define release 19 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
21 |
Patch9: e-smith-samba-2.2.0-quote-manually.patch |
Patch9: e-smith-samba-2.2.0-quote-manually.patch |
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 |
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 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
29 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
Obsoletes: e-smith-regedit |
Obsoletes: e-smith-regedit |
33 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
34 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
35 |
Requires: samba >= 3.4.3 |
Requires: samba3x >= 3.3.8 |
36 |
Requires: samba-client >= 3.4.3 |
Requires: samba3x-client >= 3.3.8 |
37 |
Requires: samba-common >= 3.4.3 |
Requires: samba3x-common >= 3.3.8 |
38 |
|
Obsoletes: samba <= 3.1.0 |
39 |
|
Obsoletes: samba-client <= 3.1.0 |
40 |
|
Obsoletes: samba-common <= 3.1.0 |
41 |
|
Obsoletes: samba = 3.4.3-1.1.el5.sme |
42 |
|
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
43 |
|
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
44 |
Requires: /usr/bin/tdbbackup |
Requires: /usr/bin/tdbbackup |
45 |
AutoReqProv: no |
AutoReqProv: no |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme |
49 |
|
- Add slapd support [SME: 6228] |
50 |
|
|
51 |
|
* Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme |
52 |
|
- Remove require strong key part of regedit file [SME: 6119] |
53 |
|
|
54 |
|
* Wed Jun 23 2010 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
55 |
|
- Use samba3x package for windows 7 compatibility [SME: 5964] |
56 |
|
|
57 |
|
* Mon Jun 14 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 2.2.0-16.sme |
58 |
|
- Backup all the tdb files (thanks Daniel) [SME: 5856] |
59 |
|
- Post scriptlet fix [SME: 6057] |
60 |
|
|
61 |
|
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
62 |
|
- Explicitly declare samba private dir [SME: 5857] |
63 |
|
|
64 |
* Fri Mar 26 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-14.sme |
* Fri Mar 26 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-14.sme |
65 |
- Fix tdb file paths to backup in run script [SME: 5856] |
- Fix tdb file paths to backup in run script [SME: 5856] |
66 |
|
|
1076 |
%patch9 -p1 |
%patch9 -p1 |
1077 |
%patch10 -p1 |
%patch10 -p1 |
1078 |
%patch11 -p1 |
%patch11 -p1 |
1079 |
|
%patch12 -p1 |
1080 |
|
%patch13 -p1 |
1081 |
|
%patch14 -p1 |
1082 |
|
%patch15 -p1 |
1083 |
|
|
1084 |
%build |
%build |
1085 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1161 |
/bin/chown admin.root /etc/samba/smbpasswd |
/bin/chown admin.root /etc/samba/smbpasswd |
1162 |
fi |
fi |
1163 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1164 |
|
# Move back secrets.tdb to private dir |
1165 |
|
[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba || : |
1166 |
|
|
1167 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1168 |
%defattr(-,root,root) |
%defattr(-,root,root) |