/[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.3 by unnilennium, Tue Apr 22 05:19:37 2008 UTC Revision 1.14 by snetram, Tue Jul 1 19:47:42 2008 UTC
# Line 1  Line 1 
1  # $Id: smeserver-denyhosts.spec,v 1.2 2008/04/22 02:07:45 unnilennium Exp $  # $Id: smeserver-denyhosts.spec,v 1.13 2008/06/25 19:58:54 snetram 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.6  %define release 12
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  Url:                    http://smeserver.pialasse.com/  Url:                    http://smeserver.pialasse.com/
25  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:              /var/tmp/%{name}-%{version}-%{release}-buildroot
26  BuildArch:              noarch  BuildArch:              noarch
 Patch1:                 smeserver-denyhosts-2.6-patch1.patch  
 Patch2:                 smeserver-denyhosts-2.6-patch2.patch  
27  BuildRequires:          e-smith-devtools >= 1.13.1-03  BuildRequires:          e-smith-devtools >= 1.13.1-03
28  Requires:               smeserver-release >= 7.0  Requires:               smeserver-release >= 7.0
29    Requires:               denyhosts >= 2.6
30    Requires:               e-smith-formmagick >= 1.4.0-12
31    
32  %description  %description
33  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/  
34    
35  %prep  %prep
36  %setup  %setup
37    %patch0 -p1
38  %patch1 -p1  %patch1 -p1
39  %patch2 -p1  %patch2 -p1
40    %patch3 -p1
41    %patch4 -p1
42    %patch5 -p1
43    %patch6 -p1
44    %patch7 -p1
45    %patch8 -p1
46    
47  %build  %build
48  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  
   
49    
50  %install  %install
51  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
# Line 57  echo "disabled"  > root/etc/e-smith/db/c Line 55  echo "disabled"  > root/etc/e-smith/db/c
55    
56  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
57  %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  
58    
59  %clean  %clean
60  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
61    
62    %post
63    touch /etc/hosts.deny_ssh
64    
65  %changelog  %changelog
66  * Tue Apr 22 2008 JP PIALASSE tests@pialasse.com 2.6-06  * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-12
67  - tranlsation of comments into server-manager fucntion  - Apply 1 July 2008 locale patch
68  - correction  of  expand template  /usr/share/denyhosts/data/ [SME 4200]  
69    * Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-11
70  * Mon Apr 21 2008 JP PIALASSE tests@pialasse.com 2.6-05  - Actually apply 25 Jun 2008 locale patch, forgot to commit patch
71  - corrections to be added on contribs.org  
72  - bug for whiteliste, file is moved to /usr/share/denyhosts/data/ [SME 4200]  * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-10
73  - HTML bug corrected in the server-manager  - Apply 21 May 2008 locale patch
74    
75  * Wed Apr 02 2008 JP PIALASSE tests@pialasse.com 2.6-04  * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-9
76  - minor bug changes  - Apply 5 May 2008 locale patch
77    
78    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-8
79    - Add common <base> tags to e-smith-formmagick's general
80    - Fix referrals to the SME Server Bug Tracker
81    
82    * Tue Apr 24 2008 JP PIALASSE <tests@pialasse.Com> 2.6-7
83    - stop when disable service [SME: 4528]
84    - adding local
85    
86    * Wed Apr 23 2008 JP PIALASSE <tests@pialasse.com> 2.6-6
87    - Added 23 APril 2008 local patch
88    - changed fragment SMTP_FROM to add domain name
89    - changed fragment ADMIN_EMAIL
90    - added some FM in local to translate
91    
92    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.6-5
93    - Added 22 April 2008 locale patch
94    
95    * Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 2.6-4.sme
96    - Pull out all denyhosts stuff
97    - Template needed files
98    - Add database defaults
99    - Split panel to use correct FormMagick style
100    
101  * 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
102  - 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