--- rpms/e-smith-openssh/sme10/e-smith-openssh.spec 2016/02/05 22:15:50 1.1 +++ rpms/e-smith-openssh/sme10/e-smith-openssh.spec 2020/12/11 20:41:42 1.5 @@ -1,15 +1,20 @@ -# $Id: e-smith-openssh.spec,v 1.7 2015/07/03 19:56:18 stephdl Exp $ +# $Id: e-smith-openssh.spec,v 1.4 2020/12/11 19:42:15 jpp Exp $ Summary: e-smith module to configure and enable ssh %define name e-smith-openssh Name: %{name} %define version 2.6.0 -%define release 1 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz +Patch0: e-smith-openssh-2.6.0-bz10621-bz10937.patch +Patch1: e-smith-openssh-2.6.0-bz9893-autoblock-whitelist.patch +Patch2: e-smith-openssh-2.6.0-bz10939-denyhosts.patch +Patch3: e-smith-openssh-2.6.0-bz11147-bz11109-systemd-update.patch + BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch @@ -22,6 +27,19 @@ Requires: runit AutoReqProv: no %changelog +* Fri Dec 11 2020 Jean-Philipe Pialasse 2.6.0-4.sme +- add support for denyhost [SME: 10939] +- move sshd to systemd [SME: 11109] +- create -update event [SME: 11147] +- add ed25519 and ecdsa hostkeys [SME: 10940] + +* Sun May 03 2020 Jean-Philipe Pialasse 2.6.0-3.sme +- add Whitelist to AutoBlock using property sshd ValidFrom [SME: 9893] + +* Sat May 02 2020 Jean-Philipe Pialasse 2.6.0-2.sme +- update client ciphers to use [SME: 10621] +- add ciphers, macs and KexAlgorithms for server [SME: 10937] + * Fri Feb 05 2016 stephane de Labrusse 2.6.0-1.sme - Initial release to sme10 @@ -611,6 +629,11 @@ e-smith server enhancement to configure %prep %setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +rm -rf root/var/service root/service %build perl createlinks @@ -623,13 +646,7 @@ rm -rf $RPM_BUILD_ROOT rm -f %{name}-%{version}-%{release}-filelist /sbin/e-smith/genfilelist \ - --dir '/var/service/sshd' 'attr(1755,root,root)' \ - --file '/var/service/sshd/down' 'attr(0644,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)' \ + --file '/sbin/e-smith/systemd/sshd-prepare' 'attr(0554,root,root)' \ --dir '/var/log/sshd' 'attr(2750,root,nofiles)' \ --dir '/var/empty/sshd' 'attr(0711,root,root)' \ $RPM_BUILD_ROOT \