/[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.17 by jpp, Sun Jan 3 06:59:48 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.16 2021/01/02 05:41:40 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.6.0  %define version 2.6.0
7  %define release 8  %define release 16
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    
24  Obsoletes: e-smith-netlogon  Obsoletes: e-smith-netlogon
25  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
# Line 44  Requires: /usr/bin/tdbbackup Line 49  Requires: /usr/bin/tdbbackup
49  AutoReqProv: no  AutoReqProv: no
50    
51  %changelog  %changelog
52  * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme  * Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
53    - fix log noise for smb.service [SME: 11157]
54    
55    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
56    - add Restart=always [SME: 11118]
57    - add Restart=always [SME: 11117]
58    
59    * Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
60    - migrate nmbd to systemd [SME: 11118]
61    - migrate smbd to systemd [SME: 11117]
62      create generik smb.service service
63    - create e-smith-samba-update event [SME: 11157]
64    
65    * Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-13.sme
66    - Fix mutex locking [SME: 11199]
67    
68    * Thu Nov 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-12.sme
69    - Fix pid directory [SME: 11198]
70    
71    * Mon Nov 16 2020 John Crisp <jcrisp@safeansoundit.co.uk> 2.6.0-11.sme
72    - Add /etc/krb5.conf as template using templates from smeserver-samba
73    - [SME: 11093]
74    
75    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
76    - remove win98pwdcache.reg from server-resources [SME: 9060]
77    
78    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
79  - set min server and client protocol SMB2 [SME: 10576]  - set min server and client protocol SMB2 [SME: 10576]
80    add check so max always greater than min    add check so max always greater than min
81  - 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 1258  Configuration files and templates for th Line 1289  Configuration files and templates for th
1289  %patch2 -p1  %patch2 -p1
1290  %patch3 -p1  %patch3 -p1
1291  %patch4 -p1  %patch4 -p1
1292    %patch5 -p1
1293    %patch6 -p1
1294    %patch7 -p1
1295    %patch8 -p1
1296    %patch9 -p1
1297    rm -rf root/service root/var/service root/etc/rc.d
1298    
1299  %build  %build
1300  perl createlinks  perl createlinks
# Line 1266  perl createlinks Line 1303  perl createlinks
1303  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1304  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1305  /sbin/e-smith/genfilelist \  /sbin/e-smith/genfilelist \
1306      --dir '/var/service/smbd' 'attr(1755,root,root)' \      --file '/sbin/e-smith/systemd/nmbd-prepare' 'attr(0554,root,root)' \
1307      --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)' \  
1308      --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)' \  
1309      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \
1310      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \
1311      $RPM_BUILD_ROOT \      $RPM_BUILD_ROOT \
1312      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
1313  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
1314    
1315    %pre
1316    if [ $1 -gt 1 ] ; then
1317      if [ -e /var/service/smbd/run ] ; then
1318           /usr/bin/sv d smbd
1319           /usr/bin/sv d smbd/log
1320      fi
1321    fi
1322    if [ $1 -gt 1 ] ; then
1323      if [ -e /var/service/nmbd/run ] ; then
1324           /usr/bin/sv d nmbd
1325           /usr/bin/sv d nmbd/log
1326      fi
1327    fi
1328    
1329    
1330  %clean  %clean
1331  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1332    


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