/[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.2 by unnilennium, Tue Apr 12 10:42:41 2016 UTC Revision 1.22 by jpp, Sat Apr 17 02:00:19 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-samba.spec,v 1.1 2016/02/05 17:16:29 stephdl Exp $  # $Id: e-smith-samba.spec,v 1.21 2021/04/17 01:32:01 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 2  %define release 21
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.xz  Source: %{name}-%{version}.tar.xz
13  Patch0: e-smith-samba-2.6.0-displayCharset.patch  Patch0: e-smith-samba-2.6.0-displayCharset.patch
14    Patch1: e-smith-samba-2.6.0.bz9398.DeprecatedRsyslogSyntaxSamba.patch
15    Patch2: e-smith-samba-2.6.0-bz9688.skipredirect.patch
16    Patch3: e-smith-samba-2.6.0.bz10169.outlook2016domainmember.patch
17    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    
27  Obsoletes: e-smith-netlogon  Obsoletes: e-smith-netlogon
28  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 39  Requires: /usr/bin/tdbbackup Line 52  Requires: /usr/bin/tdbbackup
52  AutoReqProv: no  AutoReqProv: no
53    
54  %changelog  %changelog
55    * Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-21.sme
56    - add possibility to reenable allow execute always on ibays homes or everywhere [SME: 11555]
57    
58    * Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-20.sme
59    - fix double entries for min protocol [SME: 11558]
60    
61    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-19.sme
62    - clean rsyslog syntax for smbd and nmbd [SME: 11422]
63    
64    * Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
65    - fix noise in message log from nmbd and smbd redirected to dedicated logs [SME: 11349]
66    
67    * Mon Feb 15 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
68    - allow using user-create-profiledir action with temp or package-update events  [SME: 11348]
69    
70    * Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
71    - fix log noise for smb.service [SME: 11157]
72    
73    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
74    - add Restart=always [SME: 11118]
75    - add Restart=always [SME: 11117]
76    
77    * Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
78    - migrate nmbd to systemd [SME: 11118]
79    - migrate smbd to systemd [SME: 11117]
80      create generik smb.service service
81    - create e-smith-samba-update event [SME: 11157]
82    
83    * Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-13.sme
84    - Fix mutex locking [SME: 11199]
85    
86    * Thu Nov 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-12.sme
87    - Fix pid directory [SME: 11198]
88    
89    * Mon Nov 16 2020 John Crisp <jcrisp@safeansoundit.co.uk> 2.6.0-11.sme
90    - Add /etc/krb5.conf as template using templates from smeserver-samba
91    - [SME: 11093]
92    
93    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
94    - remove win98pwdcache.reg from server-resources [SME: 9060]
95    
96    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
97    - set min server and client protocol SMB2 [SME: 10576]
98      add check so max always greater than min
99    - add port 445 if min server protocol is SMB2 or SMB3 [SME: 10963]
100    
101    * Fri Feb 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
102    - fix typo in  /server-resources/regedit/win10samba.reg  [SME: 10515]
103    
104    * Fri Mar 24 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
105    - fix outlook error code 0x8004011c [SME: 10169]
106    - when setting up and email account on a win10 computer joined to a domain (with roaming profiles)
107    
108    * Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
109    - add systemd skip redirect [SME: 9688]
110    
111    * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme
112    - Fix deprecated syntax '~' in rsyslog [SME: 9398]
113    - added e-smith-samba-2.6.0.bz9398.DeprecatedRsyslogSyntaxSamba.patch
114    
115    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
116    - Rebuild for [SME: 9393]
117    
118  * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme  * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
119  - dropped display charset option [SME: 9440]  - dropped display charset option [SME: 9440]
120    
# Line 1227  Configuration files and templates for th Line 1303  Configuration files and templates for th
1303  %prep  %prep
1304  %setup  %setup
1305  %patch0 -p1  %patch0 -p1
1306    %patch1 -p1
1307    %patch2 -p1
1308    %patch3 -p1
1309    %patch4 -p1
1310    %patch5 -p1
1311    %patch6 -p1
1312    %patch7 -p1
1313    %patch8 -p1
1314    %patch9 -p1
1315    rm -rf root/service root/var/service root/etc/rc.d
1316    %patch10 -p1
1317    %patch11 -p1
1318    %patch12 -p1
1319    
1320  %build  %build
1321  perl createlinks  perl createlinks
# Line 1236  perl createlinks Line 1324  perl createlinks
1324  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1325  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1326  /sbin/e-smith/genfilelist \  /sbin/e-smith/genfilelist \
1327      --dir '/var/service/smbd' 'attr(1755,root,root)' \      --file '/sbin/e-smith/systemd/nmbd-prepare' 'attr(0554,root,root)' \
1328      --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)' \  
1329      --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)' \  
1330      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \      --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \
1331      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \      --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \
1332      $RPM_BUILD_ROOT \      $RPM_BUILD_ROOT \
1333      > %{name}-%{version}-filelist      > %{name}-%{version}-filelist
1334  echo "%doc COPYING"          >> %{name}-%{version}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-filelist
1335    
1336    %pre
1337    if [ $1 -gt 1 ] ; then
1338      if [ -e /var/service/smbd/run ] ; then
1339           /usr/bin/sv d smbd
1340           /usr/bin/sv d smbd/log
1341      fi
1342    fi
1343    if [ $1 -gt 1 ] ; then
1344      if [ -e /var/service/nmbd/run ] ; then
1345           /usr/bin/sv d nmbd
1346           /usr/bin/sv d nmbd/log
1347      fi
1348    fi
1349    
1350    
1351  %clean  %clean
1352  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1353    


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