1 |
# $Id: e-smith-samba.spec,v 1.56 2010/11/10 18:51:10 vip-ire Exp $ |
# $Id: e-smith-samba.spec,v 1.72 2013/01/23 03:23:38 wellsi 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 37 |
%define release 51 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
38 |
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
39 |
Patch27: e-smith-samba-2.2.0-usergroup-mapping.patch |
Patch27: e-smith-samba-2.2.0-usergroup-mapping.patch |
40 |
Patch28: e-smith-samba-2.2.0-fixe_create_machine_accounts.patch |
Patch28: e-smith-samba-2.2.0-fixe_create_machine_accounts.patch |
41 |
|
Patch29: e-smith-samba-2.2.0-force_uid_gid.patch |
42 |
|
Patch30: e-smith-samba-2.2.0-migrate_machine_uid.patch |
43 |
|
Patch31: e-smith-samba-2.2.0-create_samba_data_in_event.patch |
44 |
|
Patch32: e-smith-samba-2.2.0-FixVFS_ExcludeSyntax.patch |
45 |
|
Patch34: e-smith-samba-2.2.0-fix-separator.patch |
46 |
|
Patch35: e-smith-samba-2.2.0-tdbbackup12.patch |
47 |
|
Patch36: e-smith-samba-2.2.0-samba_audit.patch |
48 |
|
Patch37: e-smith-samba-2.2.0-samba_audit_log.patch |
49 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
62 |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
63 |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
64 |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
65 |
Requires: /usr/bin/tdbbackup |
# Obsolete SerNet packages |
66 |
|
Obsoletes: libsmbclient0 |
67 |
|
Obsoletes: libwbclient0 |
68 |
|
Obsoletes: samba3 |
69 |
|
Obsoletes: samba3-cifsmount |
70 |
|
Obsoletes: samba3-client |
71 |
|
Obsoletes: samba3-doc |
72 |
|
Obsoletes: samba3-utils |
73 |
|
Obsoletes: samba3-winbind |
74 |
|
Requires: /usr/bin/tdbbackup12 |
75 |
AutoReqProv: no |
AutoReqProv: no |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-51.sme |
79 |
|
- Remove samba_audit specific loglotate configuration [SME: 7335] |
80 |
|
|
81 |
|
* Mon Jan 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
82 |
|
- Enable smb auditing per ibay [SME: 6176] |
83 |
|
|
84 |
|
* Thu Jan 17 2013 Shad L. Lords <slords@mail.com> 2.2.0-49.sme |
85 |
|
- Update dependency to /usr/bin/tdbbackup12 [SME: 7210] |
86 |
|
|
87 |
|
* Sun Jan 29 2012 Ian Wells <esmith@wellsi.com> 2.2.0-48.sme |
88 |
|
- Obsolete only SerNet samba packages [SME: 6772] |
89 |
|
|
90 |
|
* Sat Jan 21 2012 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
91 |
|
- Obsolete SerNet samba packages, again [SME: 6772] |
92 |
|
|
93 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46.sme |
94 |
|
- Obsolete SerNet samba packages [SME: 6772] |
95 |
|
|
96 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-45.sme |
97 |
|
- Revert directory requirement from 2.2.0-43 [SME: 6571] |
98 |
|
|
99 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-44.sme |
100 |
|
- Revert changes made in 2.2.0-42 [SME: 6432] |
101 |
|
|
102 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-43.sme |
103 |
|
- Fix separator in general smb.conf section for recycle:exclude* [SME: 6571] |
104 |
|
|
105 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-42.sme |
106 |
|
- recycle:exclude_dir should contain directories [SME: 6432] |
107 |
|
|
108 |
|
* Sat Mar 12 2011 Gavin Weight <gweight@gmail.com> 2.2.0-41.sme |
109 |
|
- Fix Recycle Bin VFS Excludes syntax. [SME: 6432] |
110 |
|
|
111 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-40.sme |
112 |
|
- Create samba account during event for machine [SME: 6418] |
113 |
|
|
114 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-39.sme |
115 |
|
- Migrate existing machine uid in the DB (patch from Shad Lords) [SME: 6415] |
116 |
|
|
117 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-38.sme |
118 |
|
- Force uid/gid on machine accounts creation [SME: 6415] |
119 |
|
|
120 |
* Wed Nov 10 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-37.sme |
* Wed Nov 10 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-37.sme |
121 |
- Fix create-machine-accounts script [SME: 6358] |
- Fix create-machine-accounts script [SME: 6358] |
122 |
|
|
1219 |
%patch26 -p1 |
%patch26 -p1 |
1220 |
%patch27 -p1 |
%patch27 -p1 |
1221 |
%patch28 -p1 |
%patch28 -p1 |
1222 |
|
%patch29 -p1 |
1223 |
|
%patch30 -p1 |
1224 |
|
%patch31 -p1 |
1225 |
|
%patch32 -p1 |
1226 |
|
%patch34 -p1 |
1227 |
|
%patch35 -p1 |
1228 |
|
%patch36 -p1 |
1229 |
|
%patch37 -p1 |
1230 |
|
|
1231 |
%build |
%build |
1232 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1289 |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
1290 |
fi |
fi |
1291 |
|
|
1292 |
|
# Remove logrotate configuration for samba_audit |
1293 |
|
rm -f /etc/logrotate.d/samba_audit |
1294 |
|
|
1295 |
# Revert to canonical place for smb.conf |
# Revert to canonical place for smb.conf |
1296 |
if [ -f /etc/smb.conf ] |
if [ -f /etc/smb.conf ] |
1297 |
then |
then |