1 |
jpp |
1.14 |
# $Id: smeserver-denyhosts.spec,v 1.13 2019/04/04 05:24:14 jpp Exp $ |
2 |
unnilennium |
1.1 |
# Authority: unnilennium |
3 |
|
|
# Name: Jean-Philippe Pialasse |
4 |
|
|
|
5 |
|
|
Summary: smeserver-denyhosts |
6 |
|
|
%define name smeserver-denyhosts |
7 |
unnilennium |
1.4 |
%define version 2.9 |
8 |
jpp |
1.14 |
%define release 11 |
9 |
unnilennium |
1.1 |
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Applications/System |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
unnilennium |
1.5 |
Patch0: smeserver-denyhosts-2.9-regexpatch.patch |
16 |
unnilennium |
1.10 |
Patch1: smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch |
17 |
jpp |
1.11 |
Patch2: smeserver-denyhosts-2.9-bz9458-ease_to_deban.patch |
18 |
jpp |
1.14 |
Patch3: smeserver-denyhosts-2.9-locale-2019-12-07.patch |
19 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
|
|
BuildArch: noarch |
21 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
|
|
Requires: smeserver-release >= 8.0 |
23 |
unnilennium |
1.5 |
Requires: denyhosts >= 2.6-20 |
24 |
unnilennium |
1.1 |
Requires: e-smith-formmagick >= 1.4.0-12 |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
Integration package to mesh denyhosts with SME Server. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup |
31 |
unnilennium |
1.5 |
%patch0 -p1 |
32 |
unnilennium |
1.10 |
%patch1 -p1 |
33 |
jpp |
1.11 |
%patch2 -p1 |
34 |
jpp |
1.14 |
%patch3 -p1 |
35 |
unnilennium |
1.1 |
|
36 |
|
|
%build |
37 |
|
|
/usr/bin/perl createlinks |
38 |
|
|
|
39 |
|
|
%install |
40 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
41 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
42 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
43 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
44 |
|
|
|
45 |
|
|
%files -f %{name}-%{version}-filelist |
46 |
|
|
%defattr(-,root,root,-) |
47 |
|
|
|
48 |
|
|
%clean |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
|
51 |
|
|
%post |
52 |
|
|
touch /etc/hosts.deny_ssh |
53 |
|
|
|
54 |
|
|
%changelog |
55 |
jpp |
1.14 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.9-11.sme |
56 |
|
|
- apply locale 2019-12-07 patch |
57 |
|
|
|
58 |
jpp |
1.13 |
* Sun Mar 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-10.sme |
59 |
jpp |
1.11 |
- ease unban [SME: 9458] |
60 |
|
|
|
61 |
unnilennium |
1.10 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme |
62 |
|
|
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] |
63 |
|
|
|
64 |
unnilennium |
1.9 |
* Mon Mar 30 2015 JP Pialasse <tests@pialasse.com> 2.9-6.sme |
65 |
unnilennium |
1.5 |
- fixed non working REGEX [SME: 8894] |
66 |
|
|
- fixed should isntall epel version not repoforge [SME: 8892] |
67 |
|
|
|
68 |
unnilennium |
1.4 |
* Sun Mar 29 2015 JP Pialasse <tests@pialasse.com> 2.9-1.sme |
69 |
|
|
- fixed path to perl modules |
70 |
|
|
|
71 |
unnilennium |
1.3 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme |
72 |
|
|
- initial import to SME9 contribs |
73 |
unnilennium |
1.2 |
|
74 |
unnilennium |
1.1 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme |
75 |
|
|
- apply locale 2013-07-14 patch |
76 |
|
|
|
77 |
|
|
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
78 |
|
|
- Initial version |