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

Annotation of /rpms/smeserver-denyhosts/contribs7/smeserver-denyhosts-2.6.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Apr 15 15:06:18 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package smeserver-denyhosts-2.6-0.4.el4.sme.src.rpm

1 slords 1.1 # $Id$
2     # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse
4    
5     Summary: smeserver-denyhosts
6     %define name smeserver-denyhosts
7    
8     # Variable representing installation directories:
9     %define installdir_denyhosts /etc/e-smith/web/functions
10     %define installdir_denyhosts_python /usr/lib/python2.3/site-packages/DenyHosts
11    
12     Name: %{name}
13     %define version 2.6
14     %define release 0.4
15     Version: %{version}
16     Release: %{release}%{?dist}
17     License: GPL
18     Group: Applications/System
19     Source: %{name}-%{version}.tgz
20     Packager: Unnilennium aka JP Pialasse
21     Url: http://smeserver.pialasse.com/
22     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23     BuildArch: noarch
24     BuildRequires: e-smith-devtools >= 1.13.1-03
25     Requires: smeserver-release >= 7.0
26    
27     %description
28     DenyHosts is a Python script that analyzes the sshd server log
29     messages to determine which hosts are attempting to hack into your
30     system. It also determines what user accounts are being targeted. It
31     keeps track of the frequency of attempts from each host and, upon
32     discovering a repeated attack host, updates the /etc/hosts.deny file
33     to prevent future break-in attempts from that host. Email reports can
34     be sent to a system admin. http://denyhosts.sourceforge.net/
35    
36     %prep
37     %setup
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     %{installdir_denyhosts}/denyhosts
48    
49     %clean
50     rm -rf $RPM_BUILD_ROOT
51    
52     %changelog
53     * Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3
54     - bug in install scriptlet corrected
55     - bug about XML error on install corrected
56    
57     * Sun Mar 30 2008 JP PIALASSE tests@pialasse.com 2.6-0.2
58     - incorrect template name for hosts.allow corrected
59    
60     * Sat Mar 29 2008 JP PIALASSE tests@pialasse.com 2.6-0.1
61     - first package for SME from denyhosts src rpm for fedora core 4
62     - panel for server-manager

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