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

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

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

Revision 1.9 by jpp, Tue Jun 23 18:03:15 2020 UTC Revision 1.26 by terryfage, Mon Nov 1 01:31:20 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-samba.spec,v 1.8 2018/02/10 03:51:05 jpp Exp $  # $Id: e-smith-samba.spec,v 1.25 2021/11/01 01:08:54 terryfage 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.6.0  %define version 2.6.0
7  %define release 8  %define release 24
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 15  Patch1: e-smith-samba-2.6.0.bz9398.Depre Line 15  Patch1: e-smith-samba-2.6.0.bz9398.Depre
15  Patch2: e-smith-samba-2.6.0-bz9688.skipredirect.patch  Patch2: e-smith-samba-2.6.0-bz9688.skipredirect.patch
16  Patch3: e-smith-samba-2.6.0.bz10169.outlook2016domainmember.patch  Patch3: e-smith-samba-2.6.0.bz10169.outlook2016domainmember.patch
17  Patch4: e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch  Patch4: e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch
18    Patch5: e-smith-samba-2.6.0-bz9060-remove-win98-reg.patch
19    Patch6: e-smith-samba-2.6.0-bz11093-add-krb5-template.patch
20    Patch7: e-smith-samba-2.6.0-bz11198-fix-pid-dir.patch
21    Patch8: e-smith-samba-2.6.0-bz11199-fix-mutex-locking.patch
22    Patch9: e-smith-samba-2.6.0-bz11118-bz11117-bz11157-systemd-update.patch
23    Patch10: e-smith-samba-2.6.0-bz11348-user-create-profiledir.patch
24    Patch11: e-smith-samba-2.6.0-bz11349-logging.patch
25    Patch12: e-smith-samba-2.6.0-bz11555.patch
26    Patch13: e-smith-samba-2.6.0.bz11725.create_v6_profile_dir.patch
27    
28  Obsoletes: e-smith-netlogon  Obsoletes: e-smith-netlogon
29  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
# Line 44  Requires: /usr/bin/tdbbackup Line 53  Requires: /usr/bin/tdbbackup
53  AutoReqProv: no  AutoReqProv: no
54    
55  %changelog  %changelog
56  * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme  * Mon Nov 01 2021 Terry Fage <terry@fage.id.au> 2.6.0-24.sme
57    - samba create v6 profile dir win10 [SME: 11725]
58    
59    * Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-23.sme
60    - netlogon.bat +x [SME: 11566]
61    
62    * Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-21.sme
63    - add possibility to reenable allow execute always on ibays homes or everywhere [SME: 11555]
64    
65    * Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-20.sme
66    - fix double entries for min protocol [SME: 11558]
67    
68    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-19.sme
69    - clean rsyslog syntax for smbd and nmbd [SME: 11422]
70    
71    * Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
72    - fix noise in message log from nmbd and smbd redirected to dedicated logs [SME: 11349]
73    
74    * Mon Feb 15 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
75    - allow using user-create-profiledir action with temp or package-update events  [SME: 11348]
76    
77    * Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
78    - fix log noise for smb.service [SME: 11157]
79    
80    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
81    - add Restart=always [SME: 11118]
82    - add Restart=always [SME: 11117]
83    
84    * Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
85    - migrate nmbd to systemd [SME: 11118]
86    - migrate smbd to systemd [SME: 11117]
87      create generik smb.service service
88    - create e-smith-samba-update event [SME: 11157]
89    
90    * Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-13.sme
91    - Fix mutex locking [SME: 11199]
92    
93    * Thu Nov 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-12.sme
94    - Fix pid directory [SME: 11198]
95    
96    * Mon Nov 16 2020 John Crisp <jcrisp@safeansoundit.co.uk> 2.6.0-11.sme
97    - Add /etc/krb5.conf as template using templates from smeserver-samba
98    - [SME: 11093]
99    
100    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
101    - remove win98pwdcache.reg from server-resources [SME: 9060]
102    
103    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
104  - set min server and client protocol SMB2 [SME: 10576]  - set min server and client protocol SMB2 [SME: 10576]
105    add check so max always greater than min    add check so max always greater than min
106  - add port 445 if min server protocol is SMB2 or SMB3 [SME: 10963]  - add port 445 if min server protocol is SMB2 or SMB3 [SME: 10963]
# Line 236  AutoReqProv: no Line 292  AutoReqProv: no
292  * Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme  * Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme
293  - Add slapd support [SME: 6228]  - Add slapd support [SME: 6228]
294    
295  * Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme  * Thu Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme
296  - Remove require strong key part of regedit file [SME: 6119]  - Remove require strong key part of regedit file [SME: 6119]
297    
298  * Wed Jun 23 2010 Shad L. Lords <slords@mail.com> 2.2.0-17.sme  * Wed Jun 23 2010 Shad L. Lords <slords@mail.com> 2.2.0-17.sme
# Line 337  AutoReqProv: no Line 393  AutoReqProv: no
393  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-31  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-31
394  - Delete printer tdb file on printer delete. [SME: 3336]  - Delete printer tdb file on printer delete. [SME: 3336]
395    
396  * Thu Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-30  * Sat Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-30
397  - revert last change.  Breaks sme8 and is caught by pass check lib.  - revert last change.  Breaks sme8 and is caught by pass check lib.
398    
399  * Sat Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-29  * Sat Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-29
# Line 1258  Configuration files and templates for th Line 1314  Configuration files and templates for th
1314  %patch2 -p1  %patch2 -p1
1315  %patch3 -p1  %patch3 -p1
1316  %patch4 -p1  %patch4 -p1
1317    %patch5 -p1
1318    %patch6 -p1
1319    %patch7 -p1
1320    %patch8 -p1
1321    %patch9 -p1
1322    rm -rf root/service root/var/service root/etc/rc.d
1323    %patch10 -p1
1324    %patch11 -p1
1325    %patch12 -p1
1326    %patch13 -p1
1327    
1328  %build  %build
1329  perl createlinks  perl createlinks
# Line 1266  perl createlinks Line 1332  perl createlinks
1332  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1333  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1334  /sbin/e-smith/genfilelist \  /sbin/e-smith/genfilelist \
1335      --dir '/var/service/smbd' 'attr(1755,root,root)' \      --file '/sbin/e-smith/systemd/nmbd-prepare' 'attr(0554,root,root)' \
1336      --file '/var/service/smbd/down' 'attr(0644,root,root)' \      --file '/sbin/e-smith/systemd/smbd-prepare' 'attr(0554,root,root)' \
     --file '/var/service/smbd/run' 'attr(0755,root,root)' \  
     --dir '/var/service/smbd/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/smbd/log' 'attr(1755,root,root)' \  
     --file '/var/service/smbd/log/run' 'attr(0755,root,root)' \  
1337      --dir '/var/log/smbd' 'attr(2750,smelog,smelog)' \      --dir '/var/log/smbd' 'attr(2750,smelog,smelog)' \
     --dir '/var/service/nmbd' 'attr(1755,root,root)' \  
     --file '/var/service/nmbd/down' 'attr(0644,root,root)' \  
     --file '/var/service/nmbd/run' 'attr(0755,root,root)' \  
     --dir '/var/service/nmbd/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/nmbd/log' 'attr(1755,root,root)' \  
     --file '/var/service/nmbd/log/run' 'attr(0755,root,root)' \  
1338      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \
1339      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \
1340      $RPM_BUILD_ROOT \      $RPM_BUILD_ROOT \
1341      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
1342  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
1343    
1344    %pre
1345    if [ $1 -gt 1 ] ; then
1346      if [ -e /var/service/smbd/run ] ; then
1347           /usr/bin/sv d smbd
1348           /usr/bin/sv d smbd/log
1349      fi
1350    fi
1351    if [ $1 -gt 1 ] ; then
1352      if [ -e /var/service/nmbd/run ] ; then
1353           /usr/bin/sv d nmbd
1354           /usr/bin/sv d nmbd/log
1355      fi
1356    fi
1357    
1358    
1359  %clean  %clean
1360  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1361    


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