rpms/denyhosts/devel denyhosts.init, 1.7, 1.8 denyhosts.spec, 1.45, 1.46

Jason ティビツ (tibbs) fedora-extras-commits at redhat.com
Thu Jan 3 19:33:20 UTC 2008


Author: tibbs

Update of /cvs/extras/rpms/denyhosts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17736

Modified Files:
	denyhosts.init denyhosts.spec 
Log Message:
* Thu Jan 03 2008 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-8
- Include everything under %python_sitelib to pick up any egg-info files that
  might be generated.
- Silence file-not-utf8 rpmlint complaint.
- Silence missing-mandatory-lsb-keyword rpmlint complaint.



Index: denyhosts.init
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/denyhosts.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- denyhosts.init	24 Aug 2007 19:11:30 -0000	1.7
+++ denyhosts.init	3 Jan 2008 19:32:36 -0000	1.8
@@ -17,6 +17,14 @@
 # Provides:          denyhosts
 # Required-Start:    $syslog
 # Short-Description: Enable execution of denyhosts, an SSH log watcher
+# Description:       DenyHosts is a Python script that analyzes the sshd server
+#                    log 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.
 ### END INIT INFO
 
 # source function library


Index: denyhosts.spec
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/denyhosts.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- denyhosts.spec	24 Aug 2007 19:11:30 -0000	1.45
+++ denyhosts.spec	3 Jan 2008 19:32:36 -0000	1.46
@@ -1,25 +1,25 @@
-Name:           denyhosts
-Version:        2.6
-Release:	7%{?dist}
-Summary:        A script to help thwart ssh server attacks
-
-Group:          Applications/System
-License:        GPLv2
-URL:            http://denyhosts.sourceforge.net/
-Source0:        http://dl.sourceforge.net/denyhosts/DenyHosts-%{version}.tar.gz
-Source1:	denyhosts.cron
-Source2:	denyhosts.init
-Source3:	denyhosts-allowed-hosts
-Source4:	denyhosts.sysconfig
-Source5:	denyhosts.logrotate
-Source6:	README.fedora
-Patch0:		denyhosts-2.6-config.patch
-Patch1:		denyhosts-2.4-setup.patch
-Patch2:		denyhosts-2.2-daemon-control.patch
+Name:       denyhosts
+Version:    2.6
+Release:    8%{?dist}
+Summary:    A script to help thwart ssh server attacks
+
+Group:      Applications/System
+License:    GPLv2
+URL:        http://denyhosts.sourceforge.net/
+Source0:    http://dl.sourceforge.net/denyhosts/DenyHosts-%{version}.tar.gz
+Source1:    denyhosts.cron
+Source2:    denyhosts.init
+Source3:    denyhosts-allowed-hosts
+Source4:    denyhosts.sysconfig
+Source5:    denyhosts.logrotate
+Source6:    README.fedora
+Patch0:     denyhosts-2.6-config.patch
+Patch1:     denyhosts-2.4-setup.patch
+Patch2:     denyhosts-2.2-daemon-control.patch
 # Patch10 is a security fix
-Patch10:	denyhosts-2.6-regex.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
+Patch10:    denyhosts-2.6-regex.patch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:  noarch
 
 BuildRequires:  python-devel
 Requires:       openssh-server
@@ -46,6 +46,11 @@
 
 cp %{SOURCE6} .
 
+# Fix up non-utf8-ness
+for i in CHANGELOG.txt; do
+  iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i
+done
+
 # This must be moved before the Python build process runs so that we
 # can include it as documentation.
 mv plugins/README.contrib .
@@ -124,7 +129,7 @@
 
 %{_bindir}/denyhosts-control
 %{_datadir}/denyhosts
-%{python_sitelib}/DenyHosts/
+%{python_sitelib}/*
 
 %config(noreplace) %{_sysconfdir}/denyhosts.conf
 %config(noreplace) %{_sysconfdir}/cron.d/denyhosts
@@ -151,6 +156,12 @@
 
 
 %changelog
+* Thu Jan 03 2008 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-8
+- Include everything under %python_sitelib to pick up any egg-info files that
+  might be generated.
+- Silence file-not-utf8 rpmlint complaint.
+- Silence missing-mandatory-lsb-keyword rpmlint complaint.
+
 * Thu Aug 23 2007 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-7
 - Init file tweaks including patch from Jonathan Underwood
   (bug 188536).




More information about the fedora-extras-commits mailing list