/[smecontribs]/rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec
ViewVC logotype

Diff of /rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by unnilennium, Tue Apr 22 02:07:45 2008 UTC Revision 1.27 by slords, Wed Mar 3 04:01:42 2010 UTC
# Line 1  Line 1 
1  # $Id: smeserver-denyhosts.spec,v 1.1 2008/04/21 17:25:59 slords Exp $  # $Id: smeserver-denyhosts.spec,v 1.26 2009/10/27 17:43:51 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.5  %define release 23
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    Patch19: smeserver-denyhosts-2.6-locale-2010-03-02.patch
35  Url:                    http://smeserver.pialasse.com/  Url:                    http://smeserver.pialasse.com/
36  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot
37  BuildArch:              noarch  BuildArch:              noarch
 Patch1:                 smeserver-denyhosts-2.6-patch1.patch  
38  BuildRequires:          e-smith-devtools >= 1.13.1-03  BuildRequires:          e-smith-devtools >= 1.13.1-03
39  Requires:               smeserver-release >= 7.0  Requires:               smeserver-release >= 7.0
40    Requires:               denyhosts >= 2.6
41    Requires:               e-smith-formmagick >= 1.4.0-12
42    
43  %description  %description
44  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/  
45    
46  %prep  %prep
47  %setup  %setup
48    %patch0 -p1
49  %patch1 -p1  %patch1 -p1
50    %patch2 -p1
51    %patch3 -p1
52    %patch4 -p1
53    %patch5 -p1
54    %patch6 -p1
55    %patch7 -p1
56    %patch8 -p1
57    %patch9 -p1
58    %patch10 -p1
59    %patch11 -p1
60    %patch12 -p1
61    %patch13 -p1
62    %patch14 -p1
63    %patch15 -p1
64    %patch16 -p1
65    %patch17 -p1
66    %patch18 -p1
67    %patch19 -p1
68    
69  %build  %build
70  perl createlinks  /usr/bin/perl createlinks
   
 mkdir -p          root/share/denyhosts/data  
 mkdir -p          root/etc/e-smith/db/configuration/defaults/denyhosts  
 echo "service"  > root/etc/e-smith/db/configuration/defaults/denyhosts/type  
 echo "disabled"  > root/etc/e-smith/db/configuration/defaults/denyhosts/status  
   
71    
72  %install  %install
73  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
# Line 55  echo "disabled"  > root/etc/e-smith/db/c Line 77  echo "disabled"  > root/etc/e-smith/db/c
77    
78  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
79  %defattr(-,root,root,-)  %defattr(-,root,root,-)
 %defattr(-,root,root)  
 %attr(0644,root,root) %config(noreplace) /etc/hosts.evil  
 %attr(0644,root,root) %config(noreplace) /usr/share/denyhosts/data/allowed-hosts  
 %{installdir_denyhosts}/denyhosts  
80    
81  %clean  %clean
82  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
83    
84    %post
85    touch /etc/hosts.deny_ssh
86    
87  %changelog  %changelog
88  * Mon Apr 21 2008 JP PIALASSE tests@pialasse.com 2.6-05  * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.6-23.sme
89  - corrections to be added on contribs.org  - apply locale 2010-03-02 patch
90  - bug for whiteliste, file is moved to /usr/share/denyhosts/data/ [SME 4200]  
91  - HTML bug corrected in the server-manager  * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.6-22.sme
92    - apply locale 2009-10-27 patch
93    
94    * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.6-21.sme
95    - apply locale 2009-08-24 patch
96    
97    * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.6-20.sme
98    - apply locale 2009-05-20 patch
99    
100    * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.6-19.sme
101    - apply locale 2009-04-27 patch
102    
103    * Tue Mar 03 2009 SME Translation Server
104    - apply locale 2009-03-03 patch
105    
106    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-17
107    - Apply  1 Mar 2009 locale patch [SME: 5018]
108    
109    * Mon Feb 16 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-16
110    - Fix typo in en-us locale [SME: 4932]
111    
112    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-15
113    - Apply 31 Jan 2009 locale patch [SME: 4951]
114    
115    * Wed Nov  5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-14
116    - Apply  5 Nov 2008 locale patch
117    
118    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-13
119    - Apply 15 Oct 2008 locale patch
120    
121    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-12
122    - Apply 1 July 2008 locale patch
123    
124    * Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-11
125    - Actually apply 25 Jun 2008 locale patch, forgot to commit patch
126    
127    * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-10
128    - Apply 21 May 2008 locale patch
129    
130    * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-9
131    - Apply 5 May 2008 locale patch
132    
133    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-8
134    - Add common <base> tags to e-smith-formmagick's general
135    - Fix referrals to the SME Server Bug Tracker
136    
137    * Tue Apr 24 2008 JP PIALASSE <tests@pialasse.Com> 2.6-7
138    - stop when disable service [SME: 4528]
139    - adding local
140    
141    * Wed Apr 23 2008 JP PIALASSE <tests@pialasse.com> 2.6-6
142    - Added 23 APril 2008 local patch
143    - changed fragment SMTP_FROM to add domain name
144    - changed fragment ADMIN_EMAIL
145    - added some FM in local to translate
146    
147    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-5
148    - Added 22 April 2008 locale patch
149    
150  * Wed Apr 02 2008 JP PIALASSE tests@pialasse.com 2.6-04  * Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 2.6-4.sme
151  - minor bug changes  - Pull out all denyhosts stuff
152    - Template needed files
153    - Add database defaults
154    - Split panel to use correct FormMagick style
155    
156  * 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
157  - bug in install scriptlet corrected  - bug in install scriptlet corrected


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed