1 |
# $Id: smeserver-denyhosts-2.6.spec,v 1.2 2008/04/15 15:18:07 slords Exp $ |
# $Id: smeserver-denyhosts.spec,v 1.25 2009/08/24 17:58:13 slords 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 |
|
|
|
|
# Variable representing installation directories: |
|
|
%define installdir_denyhosts /etc/e-smith/web/functions |
|
|
%define installdir_denyhosts_python /usr/lib/python2.3/site-packages/DenyHosts |
|
|
|
|
|
Name: %{name} |
|
7 |
%define version 2.6 |
%define version 2.6 |
8 |
%define release 0.4 |
%define release 22 |
9 |
|
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Applications/System |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
15 |
|
Patch0: smeserver-denyhosts-2.6-locale-2008-04-22.patch |
16 |
|
Patch1: smeserver-denyhosts-2.6-locale-2008-04-23.patch |
17 |
|
Patch2: smeserver-denyhosts-2.6-patch2.patch |
18 |
|
Patch3: smeserver-denyhosts-2.6-patch3.patch |
19 |
|
Patch4: smeserver-denyhosts-2.6-add2general.patch |
20 |
|
Patch5: smeserver-denyhosts-2.6-locale-2008-05-05.patch |
21 |
|
Patch6: smeserver-denyhosts-2.6-locale-2008-05-21.patch |
22 |
|
Patch7: smeserver-denyhosts-2.6-locale-2008-06-25.patch |
23 |
|
Patch8: smeserver-denyhosts-2.6-locale-2008-07-01.patch |
24 |
|
Patch9: smeserver-denyhosts-2.6-locale-2008-10-15.patch |
25 |
|
Patch10: smeserver-denyhosts-2.6-locale-2008-11-05.patch |
26 |
|
Patch11: smeserver-denyhosts-2.6-locale-2009-01-31.patch |
27 |
|
Patch12: smeserver-denyhosts-2.6-fixTypo.patch |
28 |
|
Patch13: smeserver-denyhosts-2.6-locale-2009-03-01.patch |
29 |
|
Patch14: smeserver-denyhosts-2.6-locale-2009-03-03.patch |
30 |
|
Patch15: smeserver-denyhosts-2.6-locale-2009-04-27.patch |
31 |
|
Patch16: smeserver-denyhosts-2.6-locale-2009-05-20.patch |
32 |
|
Patch17: smeserver-denyhosts-2.6-locale-2009-08-24.patch |
33 |
|
Patch18: smeserver-denyhosts-2.6-locale-2009-10-27.patch |
34 |
Url: http://smeserver.pialasse.com/ |
Url: http://smeserver.pialasse.com/ |
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArch: noarch |
BuildArch: noarch |
37 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
38 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
39 |
|
Requires: denyhosts >= 2.6 |
40 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
41 |
|
|
42 |
%description |
%description |
43 |
DenyHosts is a Python script that analyzes the sshd server log |
Integration package to mesh denyhosts with SME Server. |
|
messages to determine which hosts are attempting to hack into your |
|
|
system. It also determines what user accounts are being targeted. It |
|
|
keeps track of the frequency of attempts from each host and, upon |
|
|
discovering a repeated attack host, updates the /etc/hosts.deny file |
|
|
to prevent future break-in attempts from that host. Email reports can |
|
|
be sent to a system admin. http://denyhosts.sourceforge.net/ |
|
44 |
|
|
45 |
%prep |
%prep |
46 |
%setup |
%setup |
47 |
|
%patch0 -p1 |
48 |
|
%patch1 -p1 |
49 |
|
%patch2 -p1 |
50 |
|
%patch3 -p1 |
51 |
|
%patch4 -p1 |
52 |
|
%patch5 -p1 |
53 |
|
%patch6 -p1 |
54 |
|
%patch7 -p1 |
55 |
|
%patch8 -p1 |
56 |
|
%patch9 -p1 |
57 |
|
%patch10 -p1 |
58 |
|
%patch11 -p1 |
59 |
|
%patch12 -p1 |
60 |
|
%patch13 -p1 |
61 |
|
%patch14 -p1 |
62 |
|
%patch15 -p1 |
63 |
|
%patch16 -p1 |
64 |
|
%patch17 -p1 |
65 |
|
%patch18 -p1 |
66 |
|
|
67 |
|
%build |
68 |
|
/usr/bin/perl createlinks |
69 |
|
|
70 |
%install |
%install |
71 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
75 |
|
|
76 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
77 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
|
%{installdir_denyhosts}/denyhosts |
|
78 |
|
|
79 |
%clean |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
81 |
|
|
82 |
|
%post |
83 |
|
touch /etc/hosts.deny_ssh |
84 |
|
|
85 |
%changelog |
%changelog |
86 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.6-22.sme |
87 |
|
- apply locale 2009-10-27 patch |
88 |
|
|
89 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.6-21.sme |
90 |
|
- apply locale 2009-08-24 patch |
91 |
|
|
92 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.6-20.sme |
93 |
|
- apply locale 2009-05-20 patch |
94 |
|
|
95 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.6-19.sme |
96 |
|
- apply locale 2009-04-27 patch |
97 |
|
|
98 |
|
* Tue Mar 03 2009 SME Translation Server |
99 |
|
- apply locale 2009-03-03 patch |
100 |
|
|
101 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-17 |
102 |
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
103 |
|
|
104 |
|
* Mon Feb 16 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-16 |
105 |
|
- Fix typo in en-us locale [SME: 4932] |
106 |
|
|
107 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-15 |
108 |
|
- Apply 31 Jan 2009 locale patch [SME: 4951] |
109 |
|
|
110 |
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-14 |
111 |
|
- Apply 5 Nov 2008 locale patch |
112 |
|
|
113 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-13 |
114 |
|
- Apply 15 Oct 2008 locale patch |
115 |
|
|
116 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-12 |
117 |
|
- Apply 1 July 2008 locale patch |
118 |
|
|
119 |
|
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-11 |
120 |
|
- Actually apply 25 Jun 2008 locale patch, forgot to commit patch |
121 |
|
|
122 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-10 |
123 |
|
- Apply 21 May 2008 locale patch |
124 |
|
|
125 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-9 |
126 |
|
- Apply 5 May 2008 locale patch |
127 |
|
|
128 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-8 |
129 |
|
- Add common <base> tags to e-smith-formmagick's general |
130 |
|
- Fix referrals to the SME Server Bug Tracker |
131 |
|
|
132 |
|
* Tue Apr 24 2008 JP PIALASSE <tests@pialasse.Com> 2.6-7 |
133 |
|
- stop when disable service [SME: 4528] |
134 |
|
- adding local |
135 |
|
|
136 |
|
* Wed Apr 23 2008 JP PIALASSE <tests@pialasse.com> 2.6-6 |
137 |
|
- Added 23 APril 2008 local patch |
138 |
|
- changed fragment SMTP_FROM to add domain name |
139 |
|
- changed fragment ADMIN_EMAIL |
140 |
|
- added some FM in local to translate |
141 |
|
|
142 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-5 |
143 |
|
- Added 22 April 2008 locale patch |
144 |
|
|
145 |
|
* Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 2.6-4.sme |
146 |
|
- Pull out all denyhosts stuff |
147 |
|
- Template needed files |
148 |
|
- Add database defaults |
149 |
|
- Split panel to use correct FormMagick style |
150 |
|
|
151 |
* Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 |
* Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3 |
152 |
- bug in install scriptlet corrected |
- bug in install scriptlet corrected |
153 |
- bug about XML error on install corrected |
- bug about XML error on install corrected |