File DenyHosts-2.6-FHS.patch of Package denyhosts

Index: DenyHosts-2.6/DenyHosts/constants.py
===================================================================
--- DenyHosts-2.6.orig/DenyHosts/constants.py
+++ DenyHosts-2.6/DenyHosts/constants.py
@@ -36,7 +36,7 @@ PURGE_HISTORY = "purge-history"
 #                           Miscellaneous constants                             #
 #################################################################################
 
-CONFIG_FILE = "denyhosts.cfg"  # default can be overridden on cmd line
+CONFIG_FILE = "/etc/denyhosts.conf"  # default can be overridden on cmd line
 
 DENY_DELIMITER = "# DenyHosts:"
 ENTRY_DELIMITER = " | "
Index: DenyHosts-2.6/daemon-control-dist
===================================================================
--- DenyHosts-2.6.orig/daemon-control-dist
+++ DenyHosts-2.6/daemon-control-dist
@@ -11,11 +11,11 @@
 #### Edit these to suit your configuration ####
 ###############################################
 
-DENYHOSTS_BIN   = "/usr/bin/denyhosts.py"
-DENYHOSTS_LOCK  = "/var/lock/subsys/denyhosts"
-DENYHOSTS_CFG   = "/usr/share/denyhosts/denyhosts.cfg"
+DENYHOSTS_BIN   = "/usr/sbin/denyhosts.py"
+DENYHOSTS_LOCK  = "/var/run/denyhosts.pid"
+DENYHOSTS_CFG   = "/etc/denyhosts.conf"
 
-PYTHON_BIN      = "/usr/bin/env python"
+PYTHON_BIN      = "/usr/bin/python"
 
 ###############################################
 ####         Do not edit below             ####
openSUSE Build Service is sponsored by