1 |
# $Id: e-smith-openssh.spec,v 1.6 2020/12/11 20:42:24 jpp 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 5 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: e-smith-openssh-2.6.0-bz10939-denyhosts.patch |
Patch2: e-smith-openssh-2.6.0-bz10939-denyhosts.patch |
16 |
Patch3: e-smith-openssh-2.6.0-bz11147-bz11109-systemd-update.patch |
Patch3: e-smith-openssh-2.6.0-bz11147-bz11109-systemd-update.patch |
17 |
Patch4: e-smith-openssh-2.6.0-bz11359.patch |
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 |
29 |
AutoReqProv: no |
AutoReqProv: no |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
* 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] |
- 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 |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
40 |
- add support for denyhost [SME: 10939] |
- add support for denyhost [SME: 10939] |
644 |
%patch3 -p1 |
%patch3 -p1 |
645 |
rm -rf root/var/service root/service |
rm -rf root/var/service root/service |
646 |
%patch4 -p1 |
%patch4 -p1 |
647 |
|
%patch5 -p1 |
648 |
|
|
649 |
%build |
%build |
650 |
perl createlinks |
perl createlinks |
658 |
|
|
659 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
660 |
--file '/sbin/e-smith/systemd/sshd-prepare' 'attr(0554,root,root)' \ |
--file '/sbin/e-smith/systemd/sshd-prepare' 'attr(0554,root,root)' \ |
661 |
--dir '/var/log/sshd' 'attr(2750,root,nofiles)' \ |
--dir '/var/log/sshd' 'attr(2750,root,root)' \ |
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 |