1 |
# $Id: smeserver-denyhosts.spec,v 1.9 2015/03/31 13:40:22 unnilennium Exp $ |
# $Id: smeserver-denyhosts.spec,v 1.10 2017/02/06 17:01:42 unnilennium Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
5 |
Summary: smeserver-denyhosts |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
%define name smeserver-denyhosts |
7 |
%define version 2.9 |
%define version 2.9 |
8 |
%define release 7 |
%define release 8 |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
14 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-denyhosts-2.9-regexpatch.patch |
Patch0: smeserver-denyhosts-2.9-regexpatch.patch |
16 |
Patch1: smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch |
Patch1: smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch |
17 |
|
Patch2: smeserver-denyhosts-2.9-bz9458-ease_to_deban.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
29 |
%setup |
%setup |
30 |
%patch0 -p1 |
%patch0 -p1 |
31 |
%patch1 -p1 |
%patch1 -p1 |
32 |
|
%patch2 -p1 |
33 |
|
|
34 |
%build |
%build |
35 |
/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
50 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Sun Mar 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-8.sme |
54 |
|
- ease unban [SME: 9458] |
55 |
|
|
56 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme |
57 |
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
58 |
|
|