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

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

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


Revision 1.1 - (show annotations) (download)
Mon Apr 21 17:25:59 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
Remove version from spec filename

1 # $Id: smeserver-denyhosts-2.6.spec,v 1.2 2008/04/15 15:18:07 slords Exp $
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 Url: http://smeserver.pialasse.com/
21 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22 BuildArch: noarch
23 BuildRequires: e-smith-devtools >= 1.13.1-03
24 Requires: smeserver-release >= 7.0
25
26 %description
27 DenyHosts is a Python script that analyzes the sshd server log
28 messages to determine which hosts are attempting to hack into your
29 system. It also determines what user accounts are being targeted. It
30 keeps track of the frequency of attempts from each host and, upon
31 discovering a repeated attack host, updates the /etc/hosts.deny file
32 to prevent future break-in attempts from that host. Email reports can
33 be sent to a system admin. http://denyhosts.sourceforge.net/
34
35 %prep
36 %setup
37
38 %install
39 /bin/rm -rf $RPM_BUILD_ROOT
40 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
41 /bin/rm -f %{name}-%{version}-filelist
42 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
43
44 %files -f %{name}-%{version}-filelist
45 %defattr(-,root,root,-)
46 %{installdir_denyhosts}/denyhosts
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %changelog
52 * Mon Mar 31 2008 JP PIALASSE tests@pialasse.com 2.6-0.3
53 - bug in install scriptlet corrected
54 - bug about XML error on install corrected
55
56 * Sun Mar 30 2008 JP PIALASSE tests@pialasse.com 2.6-0.2
57 - incorrect template name for hosts.allow corrected
58
59 * Sat Mar 29 2008 JP PIALASSE tests@pialasse.com 2.6-0.1
60 - first package for SME from denyhosts src rpm for fedora core 4
61 - panel for server-manager

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