1 |
# $Id: smeserver-denyhosts.spec,v 1.5 2021/08/21 21:22:08 terryfage Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
7 |
%define version 2.9 |
8 |
%define release 16 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-denyhosts-2.9-regexpatch.patch |
16 |
Patch1: smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch |
17 |
Patch2: smeserver-denyhosts-2.9-bz9458-ease_to_deban.patch |
18 |
Patch3: smeserver-denyhosts-2.9-locale-2019-12-07.patch |
19 |
Patch4: smeserver-denyhosts-2.9-sme10Initial.patch |
20 |
Patch5: smeserver-denyhosts-2.9-locale-2021-08-21.patch |
21 |
Patch6: smeserver-denyhosts-2.9-bz11804.patch |
22 |
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArch: noarch |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
Requires: smeserver-release >= 8.0 |
27 |
Requires: denyhosts >= 2.6-20 |
28 |
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
Requires: e-smith-openssh >= 2.6.0-4 |
30 |
|
31 |
%description |
32 |
Integration package to mesh denyhosts with SME Server. |
33 |
|
34 |
%prep |
35 |
%setup |
36 |
%patch0 -p1 |
37 |
%patch1 -p1 |
38 |
%patch2 -p1 |
39 |
%patch3 -p1 |
40 |
%patch4 -p1 |
41 |
%patch5 -p1 |
42 |
%patch6 -p1 |
43 |
|
44 |
%build |
45 |
/usr/bin/perl createlinks |
46 |
|
47 |
%install |
48 |
/bin/rm -rf $RPM_BUILD_ROOT |
49 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
50 |
/bin/rm -f %{name}-%{version}-filelist |
51 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
52 |
|
53 |
%files -f %{name}-%{version}-filelist |
54 |
%defattr(-,root,root,-) |
55 |
|
56 |
%clean |
57 |
rm -rf $RPM_BUILD_ROOT |
58 |
|
59 |
%post |
60 |
touch /etc/hosts.deny_ssh |
61 |
|
62 |
%changelog |
63 |
* Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-16.sme |
64 |
- fix log path [SME: 11804] |
65 |
- fix multiple rpm owner [SME: 11677] |
66 |
|
67 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.9-15.sme |
68 |
- apply locale 2021-08-21 patch |
69 |
|
70 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-14.sme |
71 |
- change pid file reference [SME: 11254] |
72 |
- increase timeout for the service file and restart always |
73 |
|
74 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.9-12.sme |
75 |
- import to SME10 [SME: 11459] |
76 |
- remove template-custom as integrated in core [SME: 11254] |
77 |
|
78 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.9-11.sme |
79 |
- apply locale 2019-12-07 patch |
80 |
|
81 |
* Sun Mar 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-10.sme |
82 |
- ease unban [SME: 9458] |
83 |
|
84 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme |
85 |
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
86 |
|
87 |
* Mon Mar 30 2015 JP Pialasse <tests@pialasse.com> 2.9-6.sme |
88 |
- fixed non working REGEX [SME: 8894] |
89 |
- fixed should isntall epel version not repoforge [SME: 8892] |
90 |
|
91 |
* Sun Mar 29 2015 JP Pialasse <tests@pialasse.com> 2.9-1.sme |
92 |
- fixed path to perl modules |
93 |
|
94 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme |
95 |
- initial import to SME9 contribs |
96 |
|
97 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme |
98 |
- apply locale 2013-07-14 patch |
99 |
|
100 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
101 |
- Initial version |