1 |
# $Id: e-smith-samba.spec,v 1.8 2013/05/25 04:07:40 wellsi Exp $ |
# $Id: e-smith-samba.spec,v 1.28 2018/05/02 17:13:27 jpp 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.4.0 |
%define version 2.4.0 |
7 |
%define release 8 |
%define release 27 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
Patch4: e-smith-samba-2.4.0-WaitForNetwork.patch |
Patch4: e-smith-samba-2.4.0-WaitForNetwork.patch |
17 |
Patch5: e-smith-samba-2.4.0-smbServerName.patch |
Patch5: e-smith-samba-2.4.0-smbServerName.patch |
18 |
Patch6: e-smith-samba-2.4.0-40MachineUid.patch |
Patch6: e-smith-samba-2.4.0-40MachineUid.patch |
19 |
|
Patch7: e-smith-samba-2.4.0-win8Samba.patch |
20 |
|
Patch8: e-smith-samba-2.4.0-maxProtocol.patch |
21 |
|
Patch9: e-smith-samba-2.4.0-WideLinks.patch |
22 |
|
Patch10: e-smith-samba-2.4.0-shadow_copy.patch |
23 |
|
Patch11: e-smith-samba-2.4.0-20smb.patch |
24 |
|
Patch12: e-smith-samba-2.4.0-audit_param.patch |
25 |
|
Patch13: e-smith-samba-2.4.0.bz9038.W10_registry.patch |
26 |
|
Patch14: e-smith-samba-2.4.0-smbaudit_rsyslog.patch |
27 |
|
Patch15: e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch |
28 |
|
Patch16: e-smith-samba-2.4.0-create_v6_profile_dir.patch |
29 |
|
Patch17: e-smith-samba-2.4.0.bz10106.outlook2016domainmember.patch |
30 |
|
Patch18: e-smith-samba-2.4.0.bz10575.FixMaxProtocol.patch |
31 |
|
|
32 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
Obsoletes: e-smith-regedit |
Obsoletes: e-smith-regedit |
37 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
38 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
39 |
Requires: samba >= 3.5.10 |
Requires: samba4 |
40 |
Requires: samba-client >= 3.5.10 |
Requires: samba4-client |
41 |
Requires: samba-common >= 3.5.10 |
Requires: samba4-common |
42 |
|
Requires: samba4-winbind |
43 |
|
Requires: samba4-winbind-clients |
44 |
|
Requires: samba4-libs |
45 |
|
# the previous provides what gives libsmbclient. |
46 |
|
# need to create symlink |
47 |
|
# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 |
48 |
|
# /usr/lib64/ |
49 |
|
# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 |
50 |
|
# ?? /usr/lib64/libsmbsharemodes.so.0 |
51 |
|
# Obsoletes: libsmbclient |
52 |
|
Obsoletes: samba < 4 |
53 |
|
Obsoletes: samba-client < 4 |
54 |
|
Obsoletes: samba-common < 4 |
55 |
|
Obsoletes: samba-winbind < 4 |
56 |
|
Obsoletes: samba-winbind-clients < 4 |
57 |
|
#Requires: samba >= 3.5.10 |
58 |
|
#Requires: samba-client >= 3.5.10 |
59 |
|
#Requires: samba-common >= 3.5.10 |
60 |
Obsoletes: samba3x |
Obsoletes: samba3x |
61 |
Obsoletes: samba3x-client |
Obsoletes: samba3x-client |
62 |
Obsoletes: samba3x-common |
Obsoletes: samba3x-common |
75 |
AutoReqProv: no |
AutoReqProv: no |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-27.sme |
79 |
|
- build for samba4 support [SME: 10580] |
80 |
|
|
81 |
|
* Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme |
82 |
|
- fix wrong syntax for max protocol for current samba version [SME: 10575] |
83 |
|
- removed client max protocol option as not available for current samba version |
84 |
|
- added min protocol option |
85 |
|
|
86 |
|
* Fri Feb 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-25.sme |
87 |
|
- fix Missing letter in /server-resources/regedit/win10samba.reg [SME: 10492] |
88 |
|
|
89 |
|
* Fri Mar 24 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-24.sme |
90 |
|
- fix outlook error code 0x8004011c [SME: 10106] |
91 |
|
- when setting up and email account on a win10 computer joined to a domain (with roaming profiles) |
92 |
|
|
93 |
|
* Wed Sep 21 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
94 |
|
- Create V6 profile dir (for Win10 roaming profiles) [SME: 9772] |
95 |
|
|
96 |
|
* Wed Sep 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-22.sme |
97 |
|
- The samba performance registry is now added in the win10samba.reg [SME: 9038] |
98 |
|
|
99 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-20.sme |
100 |
|
- Corrected typo in patch of bad character '“', relative to roaming profile |
101 |
|
- e-smith-samba-2.4.0.bz9038.W10_registry.patch [SME: 9038] |
102 |
|
- e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch [SME: 9048] |
103 |
|
|
104 |
|
* Wed Sep 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-18.sme |
105 |
|
- Added e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch |
106 |
|
- Modified the registry file for roaming profile with W8 [SME: 9048] |
107 |
|
- Roaming profiles follow Windows version (.V2,.V3,.V4,.V5) [SME: 9038] |
108 |
|
|
109 |
|
* Fri Sep 4 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
110 |
|
- Replace syslog template to rsyslog so samba audits are logged in the correct |
111 |
|
file [SME: 9037] |
112 |
|
|
113 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-16.sme |
114 |
|
- added W10 support to SME Domain [SME: 9038] |
115 |
|
- e-smith-samba-2.4.0.bz9038.W10_registry.patch |
116 |
|
|
117 |
|
* Thu Sep 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
118 |
|
- Fix samba audit parameters [SME: 9037] |
119 |
|
Patch from Jorge Gonzalez |
120 |
|
|
121 |
|
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-14.sme |
122 |
|
- Remove 20smb as migrating from pre-SME7 is not supported [SME: 7486] |
123 |
|
|
124 |
|
* Thu Oct 10 2013 Greg Zartman <gzartman@koozali.org> 2.4.0-13.sme |
125 |
|
- Replace vfs_shadow_copy with vfs_shadow_copy2 for shadow snapshots [SME:7894] |
126 |
|
|
127 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-12.sme |
128 |
|
- Add template for wide links [SME: 7752] |
129 |
|
|
130 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-11.sme |
131 |
|
- Add templates for max protocol [SME: 7753] |
132 |
|
|
133 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-10.sme |
134 |
|
- Add support for Windows 8 domain joining & user login [SME: 7751] |
135 |
|
|
136 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme |
137 |
|
- Add windows network performance enhancements registry file. [SME: 7566] |
138 |
|
Patch from Greg Zartman. |
139 |
|
|
140 |
* Fri May 24 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
* Fri May 24 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
141 |
- Remove 40MachineUID as not needed after e-smith-samba-2.2.0-38 [SME: 7608] |
- Remove 40MachineUID as not needed after e-smith-samba-2.2.0-38 [SME: 7608] |
142 |
|
|
1280 |
%patch4 -p1 |
%patch4 -p1 |
1281 |
%patch5 -p1 |
%patch5 -p1 |
1282 |
%patch6 -p1 |
%patch6 -p1 |
1283 |
|
%patch7 -p1 |
1284 |
|
%patch8 -p1 |
1285 |
|
%patch9 -p1 |
1286 |
|
%patch10 -p1 |
1287 |
|
%patch11 -p1 |
1288 |
|
%patch12 -p1 |
1289 |
|
%patch13 -p1 |
1290 |
|
%patch14 -p1 |
1291 |
|
%patch15 -p1 |
1292 |
|
%patch16 -p1 |
1293 |
|
%patch17 -p1 |
1294 |
|
%patch18 -p1 |
1295 |
|
|
1296 |
|
|
1297 |
%build |
%build |
1298 |
|
# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 |
1299 |
|
# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 |
1300 |
|
echo 'safe_symlink("/usr/lib64/samba/libwbclient.so.0", "root/usr/lib64/libwbclient.so.0");' >> createlinks |
1301 |
|
echo 'safe_symlink("/usr/lib64/samba/libsmbclient.so.0", "root/usr/lib64/libsmbclient.so.0");' >> createlinks |
1302 |
perl createlinks |
perl createlinks |
1303 |
|
|
1304 |
%install |
%install |