/[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.1 by slords, Mon Apr 21 17:25:59 2008 UTC Revision 1.5 by slords, Tue Apr 22 18:15:19 2008 UTC
# Line 1  Line 1 
1  # $Id: smeserver-denyhosts-2.6.spec,v 1.2 2008/04/15 15:18:07 slords Exp $  # $Id: smeserver-denyhosts.spec,v 1.4 2008/04/22 18:11:58 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 4
9    Name:                   %{name}
10  Version:                %{version}  Version:                %{version}
11  Release:                %{release}%{?dist}  Release:                %{release}%{?dist}
12  License:                GPL  License:                GPL
# Line 22  BuildRoot:              /var/tmp/%{name} Line 17  BuildRoot:              /var/tmp/%{name}
17  BuildArch:              noarch  BuildArch:              noarch
18  BuildRequires:          e-smith-devtools >= 1.13.1-03  BuildRequires:          e-smith-devtools >= 1.13.1-03
19  Requires:               smeserver-release >= 7.0  Requires:               smeserver-release >= 7.0
20    Requires:               denyhosts >= 2.6
21    
22  %description  %description
23  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/  
24    
25  %prep  %prep
26  %setup  %setup
27    
28    %build
29    /usr/bin/perl createlinks
30    
31  %install  %install
32  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
33  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
# Line 43  be sent to a system admin. http://denyho Line 36  be sent to a system admin. http://denyho
36    
37  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
38  %defattr(-,root,root,-)  %defattr(-,root,root,-)
 %{installdir_denyhosts}/denyhosts  
39    
40  %clean  %clean
41  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
42    
43    %post
44    touch /etc/hosts.deny_ssh
45    
46  %changelog  %changelog
47    * Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 2.6-4.sme
48    - Pull out all denyhosts stuff
49    - Template needed files
50    - Add database defaults
51    - Split panel to use correct FormMagick style
52    
53  * 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
54  - bug in install scriptlet corrected  - bug in install scriptlet corrected
55  - bug about XML error on install corrected  - bug about XML error on install 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