rpms/denyhosts/devel denyhosts.spec,1.19,1.20

Jason Tibbitts (tibbs) fedora-extras-commits at redhat.com
Sat Jan 14 17:49:50 UTC 2006


Author: tibbs

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

Modified Files:
	denyhosts.spec 
Log Message:
* Fri Jan 13 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-2
- Clean up %post script; just call condrestart and don't bother with
  the call to --upgrade099.



Index: denyhosts.spec
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/devel/denyhosts.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- denyhosts.spec	13 Jan 2006 16:58:26 -0000	1.19
+++ denyhosts.spec	14 Jan 2006 17:49:50 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           denyhosts
 Version:        1.1.4
-release:	1%{?dist}
+release:	2%{?dist}
 Summary:        A script to help thwart ssh server attacks
 
 Group:          Applications/System
@@ -82,13 +82,7 @@
 # sure that all of the hosts.deny entries were created by denyhosts
 %post
 /sbin/chkconfig --add denyhosts
-
-RUNNING=`/sbin/service denyhosts status | grep "is running"`
-/sbin/service denyhosts stop > /dev/null 2>&1 || :
-%{_bindir}/denyhosts.py -c /etc/denyhosts.conf --upgrade099 > /dev/null 2>&1 || :
-if [ -n "$RUNNING" ]; then
-  /sbin/service denyhosts start > /dev/null 2>&1
-fi
+/sbin/service denyhosts condrestart
 exit 0
 
 
@@ -125,6 +119,10 @@
 %{_bindir}/denyhosts-control
 
 %changelog
+* Fri Jan 13 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-2
+- Clean up %post script; just call condrestart and don't bother with
+  the call to --upgrade099.
+
 * Fri Jan 13 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.1.4-1
 - Update to 1.1.4.
 




More information about the fedora-extras-commits mailing list