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