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