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

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

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

Revision 1.1 by stephdl, Fri Feb 5 22:15:50 2016 UTC Revision 1.10 by jpp, Tue Mar 16 20:59:51 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-openssh.spec,v 1.7 2015/07/03 19:56:18 stephdl Exp $  # $Id: e-smith-openssh.spec,v 1.9 2021/02/19 06:07:13 jpp Exp $
2    
3  Summary: e-smith module to configure and enable ssh  Summary: e-smith module to configure and enable ssh
4  %define name e-smith-openssh  %define name e-smith-openssh
5  Name: %{name}  Name: %{name}
6  %define version 2.6.0  %define version 2.6.0
7  %define release 1  %define release 7
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-openssh-2.6.0-bz10621-bz10937.patch
14    Patch1: e-smith-openssh-2.6.0-bz9893-autoblock-whitelist.patch
15    Patch2: e-smith-openssh-2.6.0-bz10939-denyhosts.patch
16    Patch3: e-smith-openssh-2.6.0-bz11147-bz11109-systemd-update.patch
17    Patch4: e-smith-openssh-2.6.0-bz11359.patch
18    Patch5: e-smith-openssh-2.6.0-bz11256-logging.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
22  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 22  Requires: runit Line 29  Requires: runit
29  AutoReqProv: no  AutoReqProv: no
30    
31  %changelog  %changelog
32    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
33    - clean rsyslog syntax for sshd [SME: 11422]
34    
35    * Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
36    - increase default host key size [SME: 11359]
37    - redirect logging to /var/log/sshd/sshd.log and logrotate [SME: 11256]
38    
39    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
40    - add support for denyhost [SME: 10939]
41    - move sshd to systemd [SME: 11109]
42    - create -update event [SME: 11147]
43    - add ed25519 and ecdsa hostkeys [SME: 10940]
44    
45    * Sun May 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
46    - add Whitelist to AutoBlock using property sshd ValidFrom [SME: 9893]
47    
48    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
49    - update client ciphers to use [SME: 10621]
50    - add ciphers, macs and KexAlgorithms for server [SME: 10937]
51    
52  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
53  - Initial release to sme10  - Initial release to sme10
54    
# Line 611  e-smith server enhancement to configure Line 638  e-smith server enhancement to configure
638    
639  %prep  %prep
640  %setup  %setup
641    %patch0 -p1
642    %patch1 -p1
643    %patch2 -p1
644    %patch3 -p1
645    rm -rf  root/var/service root/service
646    %patch4 -p1
647    %patch5 -p1
648    
649  %build  %build
650  perl createlinks  perl createlinks
# Line 623  rm -rf $RPM_BUILD_ROOT Line 657  rm -rf $RPM_BUILD_ROOT
657  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
658    
659  /sbin/e-smith/genfilelist \  /sbin/e-smith/genfilelist \
660      --dir '/var/service/sshd' 'attr(1755,root,root)' \      --file '/sbin/e-smith/systemd/sshd-prepare' 'attr(0554,root,root)' \
661      --file '/var/service/sshd/down' 'attr(0644,root,root)' \      --dir '/var/log/sshd' 'attr(2750,root,root)' \
     --file '/var/service/sshd/run' 'attr(0755,root,root)' \  
     --dir '/var/service/sshd/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/sshd/log' 'attr(1755,root,root)' \  
     --dir '/var/service/sshd/log/supervise' 'attr(0700,root,root)' \  
     --file '/var/service/sshd/log/run' 'attr(0755,root,root)' \  
     --dir '/var/log/sshd' 'attr(2750,root,nofiles)' \  
662      --dir '/var/empty/sshd' 'attr(0711,root,root)' \      --dir '/var/empty/sshd' 'attr(0711,root,root)' \
663      $RPM_BUILD_ROOT \      $RPM_BUILD_ROOT \
664      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
# Line 642  rm -rf $RPM_BUILD_ROOT Line 670  rm -rf $RPM_BUILD_ROOT
670    
671  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
672  %defattr(-,root,root)  %defattr(-,root,root)
673    
674    %pre
675    if [ $1 -gt 1 ] ; then
676      if [ -e /var/service/sshd/run ] ; then
677           /usr/bin/sv d sshd
678           /usr/bin/sv d sshd/log
679      fi
680    fi


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