rpms/denyhosts/devel .cvsignore, 1.3, 1.4 denyhosts.spec, 1.2, 1.3 sources, 1.3, 1.4 denyhosts-0.5.5-workdir.patch, 1.1, NONE denyhosts-0.6.0-version.patch, 1.1, NONE

Jason Tibbitts (tibbs) fedora-extras-commits at redhat.com
Thu Jul 21 16:43:28 UTC 2005


Author: tibbs

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

Modified Files:
	.cvsignore denyhosts.spec sources 
Removed Files:
	denyhosts-0.5.5-workdir.patch denyhosts-0.6.0-version.patch 
Log Message:
* Thu Jul 21 2005 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.8.0-1
- Update to 0.8.0
- Use proper Python installation mechanism.
- Drop denyhosts-0.6.0-version.patch as it's no longer necessary.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	2 Jul 2005 21:37:55 -0000	1.3
+++ .cvsignore	21 Jul 2005 16:43:26 -0000	1.4
@@ -1 +1 @@
-DenyHosts-0.6.0.tar.gz
+DenyHosts-0.8.0.tar.gz


Index: denyhosts.spec
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/denyhosts.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- denyhosts.spec	2 Jul 2005 21:37:55 -0000	1.2
+++ denyhosts.spec	21 Jul 2005 16:43:26 -0000	1.3
@@ -1,5 +1,5 @@
 Name:           denyhosts
-Version:        0.6.0
+Version:        0.8.0
 Release:	1%{?dist}
 Summary:        A script to help thwart ssh server attacks
 
@@ -10,12 +10,11 @@
 Source1:	denyhosts.cron
 Source2:	denyhosts.init
 Source3:	denyhosts-allowed-hosts
-Patch0:		denyhosts-0.5.5-workdir.patch
-Patch1:		denyhosts-0.6.0-version.patch
+Patch0:		denyhosts-0.8.0-workdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArchitectures: noarch
 
-#BuildRequires:  
+BuildRequires:  python-devel
 Requires:       openssh-server
 
 %description
@@ -30,18 +29,19 @@
 %prep
 %setup -q -n DenyHosts-%{version}
 %patch0 -p0
-%patch1 -p0
+
+%build
+python ./setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+python ./setup.py install --root=$RPM_BUILD_ROOT --record=%{name}.files
 
-install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT%{_initrddir}
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.d
 
 install -d -m 700 $RPM_BUILD_ROOT%{_localstatedir}/lib/denyhosts
 
-install -p -m 755 denyhosts.py $RPM_BUILD_ROOT%{_bindir}
 install -p -m 600 denyhosts.cfg-dist $RPM_BUILD_ROOT%{_sysconfdir}/denyhosts.conf
 install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/denyhosts
 install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/denyhosts
@@ -56,11 +56,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+
 %post
 /sbin/chkconfig --add denyhosts
 /sbin/service denyhosts condrestart >> /dev/null
 exit 0
 
+
 %preun
 if [ $1 = 0 ]; then
   /sbin/chkconfig --del denyhosts
@@ -68,7 +70,8 @@
 fi
 exit 0
 
-%files
+
+%files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE.txt README.txt setup.py
 %config(noreplace) %{_sysconfdir}/denyhosts.conf
@@ -85,10 +88,15 @@
 
 %dir %{_localstatedir}/lib/denyhosts
 
-%{_bindir}/denyhosts.py
 %{_initrddir}/denyhosts
 
+
 %changelog
+* Thu Jul 21 2005 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.8.0-1
+- Update to 0.8.0
+- Use proper Python installation mechanism.
+- Drop denyhosts-0.6.0-version.patch as it's no longer necessary.
+
 * Sat Jul  2 2005 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.6.0-1
 - Update to 0.6.0
 - Add fix for "from version import VERSION" issue.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	2 Jul 2005 21:37:55 -0000	1.3
+++ sources	21 Jul 2005 16:43:26 -0000	1.4
@@ -1 +1 @@
-6d65457ed9c31c548160e2aa74e5a80e  DenyHosts-0.6.0.tar.gz
+951bfb51b045f12281d114594115878a  DenyHosts-0.8.0.tar.gz


--- denyhosts-0.5.5-workdir.patch DELETED ---


--- denyhosts-0.6.0-version.patch DELETED ---




More information about the fedora-extras-commits mailing list