1 |
# $Id: e-smith-samba.spec,v 1.47 2010/11/02 16:57:29 slords Exp $ |
# $Id: e-smith-samba.spec,v 1.86 2015/09/04 12:11:36 stephdl 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 30 |
%define release 63 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
34 |
Patch22: e-smith-samba-2.2.0-enable-cpu.patch |
Patch22: e-smith-samba-2.2.0-enable-cpu.patch |
35 |
Patch23: e-smith-samba-2.2.0-ldap-auth.patch |
Patch23: e-smith-samba-2.2.0-ldap-auth.patch |
36 |
Patch24: e-smith-samba-2.2.0-remove-domains.patch |
Patch24: e-smith-samba-2.2.0-remove-domains.patch |
37 |
|
Patch25: e-smith-samba-2.2.0-better-ldap.patch |
38 |
|
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
39 |
|
Patch27: e-smith-samba-2.2.0-usergroup-mapping.patch |
40 |
|
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 |
|
Patch38: e-smith-samba-2.2.0-WaitForNetwork.patch |
50 |
|
Patch39: e-smith-samba-2.2.0-maxProtocol.patch |
51 |
|
Patch40: e-smith-samba-2.2.0-WideLinks.patch |
52 |
|
Patch41: e-smith-samba-2.2.0-win8Samba.patch |
53 |
|
Patch42: e-smith-samba-2.2.0-shadow_copy.patch |
54 |
|
Patch43: e-smith-samba-2.2.0-workgroup.patch |
55 |
|
Patch44: e-smith-samba-2.2.0-smbServerName.patch |
56 |
|
Patch45: e-smith-samba-2.2.0-audit_param.patch |
57 |
|
Patch46: e-smith-samba-2.2.0.bz9028.W10_registry.patch |
58 |
|
Patch47: e-smith-samba-2.2.0.bz9049.RoamingProfileForW8.patch |
59 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
60 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
61 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
72 |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
73 |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
74 |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
75 |
Requires: /usr/bin/tdbbackup |
# Obsolete SerNet packages |
76 |
|
Obsoletes: libsmbclient0 |
77 |
|
Obsoletes: libwbclient0 |
78 |
|
Obsoletes: samba3 |
79 |
|
Obsoletes: samba3-cifsmount |
80 |
|
Obsoletes: samba3-client |
81 |
|
Obsoletes: samba3-doc |
82 |
|
Obsoletes: samba3-utils |
83 |
|
Obsoletes: samba3-winbind |
84 |
|
Requires: /usr/bin/tdbbackup12 |
85 |
AutoReqProv: no |
AutoReqProv: no |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
|
* Wed Sep 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-63.sme |
89 |
|
- Added e-smith-samba-2.2.0.bz9049.RoamingProfileForW8.patch |
90 |
|
- Modified the registry file for roaming profile with W8 [SME: 9049] |
91 |
|
- Roaming profiles follow Windows version (.V2,.V3,.V4,.V5) [SME: 9028] |
92 |
|
|
93 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-62.sme |
94 |
|
- added W10 support to SME Domain [SME: 9028] |
95 |
|
- e-smith-samba-2.2.0.bz9028.W10_registry.patch |
96 |
|
|
97 |
|
* Thu Sep 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-61.sme |
98 |
|
- Fix samba audit parameters [SME: 9026] |
99 |
|
Patch from Jorge Gonzalez |
100 |
|
|
101 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 2.2.0-60.sme |
102 |
|
- Update default ServerName in 30smbServerName, |
103 |
|
and change default Workgroup and Domain to sme-server [SME: 8131] |
104 |
|
|
105 |
|
* Thu Oct 10 2013 Greg Zartman <gzartman@koozali.org> 2.2.0-59.sme |
106 |
|
- Replace vfs_shadow_copy with vfs_shadow_copy2 for shadow snapshots [SME: 7739] |
107 |
|
|
108 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-58.sme |
109 |
|
- Add support for Windows 8 domain joining & user login [SME: 7172] |
110 |
|
|
111 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-57.sme |
112 |
|
- Add template for wide links [SME: 6858] |
113 |
|
|
114 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-56.sme |
115 |
|
- Add windows network performance enhancements registry file. [SME: 7332] |
116 |
|
Patch from Greg Zartman. |
117 |
|
|
118 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-55.sme |
119 |
|
- Add templates for max protocol [SME: 7341] |
120 |
|
|
121 |
|
* Fri Apr 26 2013 chris burnat <devlist@burnat.com> 2.2.0-54.sme |
122 |
|
- Add ability to configure waiting for network Win7 registry option, patch from Greg. [SME: 7332] |
123 |
|
|
124 |
|
* Wed Mar 19 2013 Ian Wells <esmith@wellsi.com> 2.2.0-53.sme |
125 |
|
- Revert previous change. [SME: 7332] |
126 |
|
|
127 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-52.sme |
128 |
|
- Add ability to configure waiting for network Win7 registry option [SME: 7332] |
129 |
|
|
130 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-51.sme |
131 |
|
- Remove samba_audit specific loglotate configuration [SME: 7335] |
132 |
|
|
133 |
|
* Mon Jan 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
134 |
|
- Enable smb auditing per ibay [SME: 6176] |
135 |
|
|
136 |
|
* Thu Jan 17 2013 Shad L. Lords <slords@mail.com> 2.2.0-49.sme |
137 |
|
- Update dependency to /usr/bin/tdbbackup12 [SME: 7210] |
138 |
|
|
139 |
|
* Sun Jan 29 2012 Ian Wells <esmith@wellsi.com> 2.2.0-48.sme |
140 |
|
- Obsolete only SerNet samba packages [SME: 6772] |
141 |
|
|
142 |
|
* Sat Jan 21 2012 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
143 |
|
- Obsolete SerNet samba packages, again [SME: 6772] |
144 |
|
|
145 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46.sme |
146 |
|
- Obsolete SerNet samba packages [SME: 6772] |
147 |
|
|
148 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-45.sme |
149 |
|
- Revert directory requirement from 2.2.0-43 [SME: 6571] |
150 |
|
|
151 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-44.sme |
152 |
|
- Revert changes made in 2.2.0-42 [SME: 6432] |
153 |
|
|
154 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-43.sme |
155 |
|
- Fix separator in general smb.conf section for recycle:exclude* [SME: 6571] |
156 |
|
|
157 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-42.sme |
158 |
|
- recycle:exclude_dir should contain directories [SME: 6432] |
159 |
|
|
160 |
|
* Sat Mar 12 2011 Gavin Weight <gweight@gmail.com> 2.2.0-41.sme |
161 |
|
- Fix Recycle Bin VFS Excludes syntax. [SME: 6432] |
162 |
|
|
163 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-40.sme |
164 |
|
- Create samba account during event for machine [SME: 6418] |
165 |
|
|
166 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-39.sme |
167 |
|
- Migrate existing machine uid in the DB (patch from Shad Lords) [SME: 6415] |
168 |
|
|
169 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-38.sme |
170 |
|
- Force uid/gid on machine accounts creation [SME: 6415] |
171 |
|
|
172 |
|
* Wed Nov 10 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-37.sme |
173 |
|
- Fix create-machine-accounts script [SME: 6358] |
174 |
|
|
175 |
|
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-36.sme |
176 |
|
- Call samba-group-mapping after user events too [SME: 6339] |
177 |
|
|
178 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-35.sme |
179 |
|
- Fix cpu critical patch missing ' [SME: 6330] |
180 |
|
|
181 |
|
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-34.sme |
182 |
|
- rename store-ldap-passwd and link it in other events [SME: 6332] |
183 |
|
|
184 |
|
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-33.sme |
185 |
|
- Store the ldap admin pw early in the bootstrap-ldap-save event [SME: 6332] |
186 |
|
|
187 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-32.sme |
188 |
|
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
189 |
|
|
190 |
|
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-31.sme |
191 |
|
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6321] |
192 |
|
|
193 |
* Tue Nov 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-30.sme |
* Tue Nov 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-30.sme |
194 |
- Fix a typo in create-machine-account [SME: 6321] |
- Fix a typo in create-machine-account [SME: 6321] |
195 |
|
|
1267 |
%patch22 -p1 |
%patch22 -p1 |
1268 |
%patch23 -p1 |
%patch23 -p1 |
1269 |
%patch24 -p1 |
%patch24 -p1 |
1270 |
|
%patch25 -p1 |
1271 |
|
%patch26 -p1 |
1272 |
|
%patch27 -p1 |
1273 |
|
%patch28 -p1 |
1274 |
|
%patch29 -p1 |
1275 |
|
%patch30 -p1 |
1276 |
|
%patch31 -p1 |
1277 |
|
%patch32 -p1 |
1278 |
|
%patch34 -p1 |
1279 |
|
%patch35 -p1 |
1280 |
|
%patch36 -p1 |
1281 |
|
%patch37 -p1 |
1282 |
|
%patch38 -p1 |
1283 |
|
%patch39 -p1 |
1284 |
|
%patch40 -p1 |
1285 |
|
%patch41 -p1 |
1286 |
|
%patch42 -p1 |
1287 |
|
%patch43 -p1 |
1288 |
|
%patch44 -p1 |
1289 |
|
%patch45 -p1 |
1290 |
|
%patch46 -p1 |
1291 |
|
%patch47 -p1 |
1292 |
|
|
1293 |
%build |
%build |
1294 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1351 |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
1352 |
fi |
fi |
1353 |
|
|
1354 |
|
# Remove logrotate configuration for samba_audit |
1355 |
|
rm -f /etc/logrotate.d/samba_audit |
1356 |
|
|
1357 |
# Revert to canonical place for smb.conf |
# Revert to canonical place for smb.conf |
1358 |
if [ -f /etc/smb.conf ] |
if [ -f /etc/smb.conf ] |
1359 |
then |
then |