/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba.spec
ViewVC logotype

Diff of /rpms/e-smith-samba/sme8/e-smith-samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.15 by bytegw, Sat Apr 12 16:17:49 2008 UTC Revision 1.87 by stephdl, Wed Sep 9 20:17:24 2015 UTC
# Line 1  Line 1 
1    # $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 1.14.1  %define version 2.2.0
7  %define release 7  %define release 63
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Patch1: e-smith-samba-1.14.1-admingroup.patch  Patch1: e-smith-samba-2.2.0-sambaRole.patch
14  Patch2: e-smith-samba-1.14.1-browsable.patch  Patch2: e-smith-samba-2.2.0-migratefix.patch
15  Patch3: e-smith-samba-1.14.1-tags2general.patch  Patch3: e-smith-samba-2.2.0-fixwarnings.patch
16  Patch4: e-smith-samba-1.14.1-shadowfix.patch  Patch4: e-smith-samba-2.2.0-win7samba.patch
17  Patch5: e-smith-samba-1.14.1-hideprofile.patch  Patch5: e-smith-samba-2.2.0-recylebin_perms.patch
18  Patch6: e-smith-samba-1.14.1-unix_extensions.patch  Patch6: e-smith-samba-2.2.0-enable-bind-interfaces.patch
19    Patch7: e-smith-samba-2.2.0-profilev2.patch
20    Patch8: e-smith-samba-2.2.0-refactor-profilev2.patch
21    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
23    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    Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch
29    Patch17: e-smith-samba-2.2.0-anonymous_acls.patch
30    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    Patch21: e-smith-samba-2.2.0-fix_modify.patch
34    Patch22: e-smith-samba-2.2.0-enable-cpu.patch
35    Patch23: e-smith-samba-2.2.0-ldap-auth.patch
36    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
62  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
63  Obsoletes: e-smith-regedit  Obsoletes: e-smith-regedit
64  Requires: e-smith-lib >= 1.16.0-10  Requires: e-smith-lib >= 2.2.0-2
65  Requires: e-smith-formmagick >= 1.4.0-9  Requires: e-smith-formmagick >= 1.4.0-9
66  Requires: samba >= 3.0.25b  Requires: samba3x >= 3.3.8
67  Requires: samba-client >= 3.0.25b  Requires: samba3x-client >= 3.3.8
68  Requires: samba-common >= 3.0.25b  Requires: samba3x-common >= 3.3.8
69    Obsoletes: samba <= 3.1.0
70    Obsoletes: samba-client <= 3.1.0
71    Obsoletes: samba-common <= 3.1.0
72    Obsoletes: samba = 3.4.3-1.1.el5.sme
73    Obsoletes: samba-client = 3.4.3-1.1.el5.sme
74    Obsoletes: samba-common = 3.4.3-1.1.el5.sme
75    # 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
194    - Fix a typo in create-machine-account [SME: 6321]
195    
196    * Tue Nov 2 2010 Shad L. Lords <slords@mail.com> 2.2.0-29.sme
197    - Clean up old domain entries when using ldap [SME: 6322]
198    
199    * Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-28.sme
200    - Auth against ldap if it is master [SME: 6321]
201    
202    * Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-27.sme
203    - Change the way groups are modified on samba3x [SME: 6314]
204    
205    * Wed Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-26.sme
206    - Change the way groups are modified on samba3x [SME: 6314]
207    
208    * Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-25.sme
209    - Fix anonymous access [SME: 6254]
210    
211    * Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 2.2.0-24.sme
212    - Fix moving secrets.tdb file [SME: 6057]
213    
214    * Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme
215    - Empty output when listing sensible attribtues [SME: 6254]
216    
217    * Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme
218    - Add sambaSID to the list of sensible attributes [SME: 6254]
219    
220    * Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-21.sme
221    - Deny access to some attributes for anonymous users [SME: 6254]
222    
223    * Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-20.sme
224    - povide an option to enable lanman passwords [SME: 6229]
225    
226    * Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme
227    - Add slapd support [SME: 6228]
228    
229    * Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme
230    - Remove require strong key part of regedit file [SME: 6119]
231    
232    * Wed Jun 23 2010 Shad L. Lords <slords@mail.com> 2.2.0-17.sme
233    - Use samba3x package for windows 7 compatibility [SME: 5964]
234    
235    * Mon Jun 14 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 2.2.0-16.sme
236    - Backup all the tdb files (thanks Daniel) [SME: 5856]
237    - Post scriptlet fix [SME: 6057]
238    
239    * Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme
240    - Explicitly declare samba private dir [SME: 5857]
241    
242    * Fri Mar 26 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-14.sme
243    - Fix tdb file paths to backup in run script [SME: 5856]
244    
245    * Wed Mar 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-13.sme
246    - Add dependency /usr/bin/tdbbackup [SME: 5851]
247    
248    * Sat Mar 6 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-12.sme
249    - Add missing comma in previous patch [SME: 5821]
250    - Silently skip non-existent profile folder [SME: 5821]
251    
252    * Sat Mar 6 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-11.sme
253    - Properly quote the profile folders manually [SME: 5821]
254    
255    * Sat Mar 6 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme
256    - Rework V2 profile patch to fix error on user-delete event [SME: 5821]
257    
258    * Sun Feb 7 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme
259    - Create/remove V2 profile directories [SME: 3666]
260    
261    * Sun Jan 31 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8.sme
262    - Enable bindinterfaces by default [SME: 3325]
263    
264    * Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-7.sme
265    - Set recyle bin permissions [SME: 1734]
266    
267    * Sat Dec 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
268    - Add registry file to server-resources to allow windows 7 to
269      join Samba 3.x domains [SME: 5425]
270    
271    * Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
272    - Fix warnings in template expansion [SME: 5309]
273    
274    * Sun Nov 23 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
275    - Fix migrate fragments for samba [SME: 4777]
276    
277    * Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-3.sme
278    - Fix oslevel fragment for server roles [SME: 4730]
279    
280    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
281    - Add patch to support multiple samba roles [SME: 4172]
282    
283    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
284    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
285    
286    * Sun Aug  3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.1-8
287    - Fix oslevel template expansion. [SME: 4470]
288    
289  * Thu Apr  3 2008 Charlie Brady <charlieb@e-smith.com> 1.14.1-7  * Thu Apr  3 2008 Charlie Brady <charlieb@e-smith.com> 1.14.1-7
290  - Disable unix extensions. [SME: 4164]  - Disable unix extensions. [SME: 4164]
291    
# Line 990  Configuration files and templates for th Line 1249  Configuration files and templates for th
1249  %patch4 -p1  %patch4 -p1
1250  %patch5 -p1  %patch5 -p1
1251  %patch6 -p1  %patch6 -p1
1252    %patch7 -p1
1253    %patch8 -p1
1254    %patch9 -p1
1255    %patch10 -p1
1256    %patch11 -p1
1257    %patch12 -p1
1258    %patch13 -p1
1259    %patch14 -p1
1260    %patch15 -p1
1261    %patch16 -p1
1262    %patch17 -p1
1263    %patch18 -p1
1264    %patch19 -p1
1265    %patch20 -p1
1266    %patch21 -p1
1267    %patch22 -p1
1268    %patch23 -p1
1269    %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
# Line 1052  then Line 1351  then
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
# Line 1071  then Line 1373  then
1373     /bin/chown admin.root /etc/samba/smbpasswd     /bin/chown admin.root /etc/samba/smbpasswd
1374  fi  fi
1375  chown -R smelog.smelog /var/log/{smbd,nmbd}  chown -R smelog.smelog /var/log/{smbd,nmbd}
1376    # Move back secrets.tdb to private dir
1377    if [ -f /var/lib/samba/private/secrets.tdb ]
1378    then
1379        mv -f /var/lib/samba/private/secrets.tdb /etc/samba
1380    fi
1381    
1382  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
1383  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed